| 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 |
(numeric or numeric vector of length 2): How much to
jitter brightness. |
contrast |
(numeric or numeric vector of length 2): How much to jitter
contrast. |
saturation |
(numeric or numeric vector of length 2): How much to
jitter saturation. |
hue |
(numeric or numeric vector of length 2): 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.