image¶
tiatoolbox
.utils
.image
Miscellaneous utilities which operate on image data.
Module attributes
Constant array which when multiplied with padding and added to bounds, applies the padding to the bounds. |
Functions
Apply padding to areas of a region which are outside max dimensions. |
|
Find the part of a region which overlaps the image area. |
|
Find the correct padding to add when reading a region of an image. |
|
Make bounds have positive size and get horizontal/vertical flip flags. |
|
Normalizes padding to be length 4 (left, top, right, bottom). |
|
Read a region of a numpy array with padding applied to edges. |
|
Read and resize an image region with sub-pixel bounds. |