Package ai.djl.modality.cv.transform
package ai.djl.modality.cv.transform
Contains
Transform
s for working with Images.-
ClassesClassDescriptionA
Transform
that crops the center of an image.ATransform
that crops the image to a given location and size.ATransform
that randomly jitters image brightness with a factor chosen from [max(0, 1 - brightness), 1 + brightness].ATransform
that randomly jitters the brightness, contrast, saturation, and hue of an image.ATransform
that randomly flip the input image left to right with a probability of 0.5.ATransform
that randomly flip the input image top to bottom with a probability of 0.5.ATransform
that randomly jitters image hue with a factor chosen from [max(0, 1 - hue), 1 + hue].ATransform
that crop the input image with random scale and aspect ratio.ATransform
that resizes the image.