| transform_color_jitter | R Documentation |
Randomly change the brightness, contrast and saturation of an image
transform_color_jitter(
img,
brightness = 0,
contrast = 0,
saturation = 0,
hue = 0
)
img |
A |
brightness |
(float or tuple of float (min, max)): How much to jitter
brightness. |
contrast |
(float or tuple of float (min, max)): How much to jitter
contrast. |
saturation |
(float or tuple of float (min, max)): How much to jitter
saturation. |
hue |
(float or tuple of float (min, max)): How much to jitter hue.
|
Other random_transforms:
transform_random_affine(),
transform_random_crop(),
transform_random_erasing(),
transform_random_grayscale(),
transform_random_horizontal_flip(),
transform_random_perspective(),
transform_random_resized_crop(),
transform_random_rotation(),
transform_random_vertical_flip()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.