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