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 NDArray
transform(NDArray array)
Applies theTransform
to the givenNDArray
.
-
-
-
Constructor Detail
-
RandomHue
public RandomHue(float hue)
Creates aRandomHue
Transform
.- Parameters:
hue
- the hue factor from 0 to 1
-
-