Utilities¶
This package provides some useful functions for diverse purposes, including type hint, image manipulation and computation, etc.
Creating grid¶
Image manipulation¶
|
Crop an image with given cropping width. |
|
Pad an image with given padding width. |
|
Resize an image to given size by padding or cropping around its edges. |
|
Partition an image into patches, either overlapping or not. |
|
Partition an image into patches, each of which is padded with pixels from neighbouring patches. |
|
Merge a set of patches into an image. |
External parameters¶
|
A decorator to mark a method as having external parameters. |
Variable hook¶
Computation¶
|
|
|
|
|