Class | Description |
---|---|
CenterCrop |
A
Transform that crops the center of an image. |
Crop |
A
Transform that crops the image to a given location and size. |
Normalize | |
RandomBrightness |
A
Transform that randomly jitters image brightness with a factor chosen from [max(0, 1 -
brightness), 1 + brightness]. |
RandomColorJitter |
A
Transform that randomly jitters the brightness, contrast, saturation, and hue of an
image. |
RandomFlipLeftRight |
A
Transform that randomly flip the input image left to right with a probability of 0.5. |
RandomFlipTopBottom |
A
Transform that randomly flip the input image top to bottom with a probability of 0.5. |
RandomHue |
A
Transform that randomly jitters image hue with a factor chosen from [max(0, 1 - hue), 1
+ hue]. |
RandomResizedCrop |
A
Transform that crop the input image with random scale and aspect ratio. |
Resize |
A
Transform that resizes the image. |
ToTensor |
Transform
s for working with Images.