Package ai.djl.modality.cv.transform
Class RandomHue
java.lang.Object
ai.djl.modality.cv.transform.RandomHue
- All Implemented Interfaces:
Transform
A
Transform
that randomly jitters image hue with a factor chosen from [max(0, 1 - hue), 1
+ hue].-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RandomHue
public RandomHue(float hue) Creates aRandomHue
Transform
.- Parameters:
hue
- the hue factor from 0 to 1
-
-
Method Details