| transform_rotate | R Documentation |
Angular rotation of an image
transform_rotate(
img,
angle,
interpolation = 0,
expand = FALSE,
center = NULL,
fill = NULL,
resample
)
img |
A |
angle |
(numeric): Rotation angle value in degrees, counter-clockwise. |
interpolation |
(integer, optional): Interpolation mode. |
expand |
(logical, optional): Optional expansion flag. If |
center |
(numeric vector of length 2, optional): Optional center of
rotation, |
fill |
(numeric vector or numeric): Pixel fill value for area outside
the rotated image. If a single numeric value, the value is used for all
channels. Defaults to |
resample |
Deprecated. Use |
Other unitary_transforms:
transform_adjust_brightness(),
transform_adjust_contrast(),
transform_adjust_gamma(),
transform_adjust_hue(),
transform_adjust_saturation(),
transform_affine(),
transform_center_crop(),
transform_convert_image_dtype(),
transform_crop(),
transform_grayscale(),
transform_hflip(),
transform_linear_transformation(),
transform_normalize(),
transform_pad(),
transform_perspective(),
transform_resize(),
transform_rgb_to_grayscale(),
transform_to_tensor(),
transform_vflip()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.