Package ai.djl.modality.cv.transform
Class RandomHue
- java.lang.Object
-
- ai.djl.modality.cv.transform.RandomHue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NDArraytransform(NDArray array)Applies theTransformto the givenNDArray.
-
-
-
Constructor Detail
-
RandomHue
public RandomHue(float hue)
Creates aRandomHueTransform.- Parameters:
hue- the hue factor from 0 to 1
-
-