mmcv.transforms¶
Base class for all transformations. |
|
Test-time augmentation transform. |
Loading¶
Load and process the |
|
Load an image from file. |
Processing¶
Crop the center of the image, segmentation masks, bounding boxes and key points. |
|
Test-time augmentation with multiple scales and flipping. |
|
Normalize the image. |
|
Pad the image & segmentation map. |
|
Resize images & bbox & mask from a list of multiple scales. |
|
Flip the image & bbox & keypoints & segmentation map. |
|
Randomly convert image to grayscale with a probability. |
|
Random resize images & bbox & keypoints. |
|
Resize images & bbox & seg & keypoints. |
|
Convert some results to |
|
Convert image to |
Wrapper¶
Compose multiple transforms sequentially. |
|
A transform wrapper to map and reorganize the input/output of the wrapped transforms (or sub-pipeline). |
|
Apply transforms randomly with a given probability. |
|
Process data with a randomly chosen transform from given candidates. |
|
A transform wrapper to apply the wrapped transforms to multiple data items. |