Constructor and Description |
---|
RandomColorJitter(float brightness,
float contrast,
float saturation,
float hue)
Creates a
RandomColorJitter Transform . |
Modifier and Type | Method and Description |
---|---|
NDArray |
transform(NDArray array)
Applies the
Transform to the given NDArray . |
public RandomColorJitter(float brightness, float contrast, float saturation, float hue)
RandomColorJitter
Transform
.brightness
- the brightness factor from 0 to 1contrast
- the contrast factor from 0 to 1saturation
- the saturation factor from 0 to 1hue
- the hue factor from 0 to 1