Randomly apply affine transforms: translate, scale and rotate the input.

Randomly apply affine transforms: translate, scale and rotate the input.

icevision_ShiftScaleRotate(
  shift_limit = 0.0625,
  scale_limit = 0.1,
  rotate_limit = 45,
  interpolation = 1,
  border_mode = 4,
  value = NULL,
  mask_value = NULL,
  shift_limit_x = NULL,
  shift_limit_y = NULL,
  always_apply = FALSE,
  p = 0.5
)

icevision_ShiftScaleRotate(
  shift_limit = 0.0625,
  scale_limit = 0.1,
  rotate_limit = 45,
  interpolation = 1,
  border_mode = 4,
  value = NULL,
  mask_value = NULL,
  shift_limit_x = NULL,
  shift_limit_y = NULL,
  always_apply = FALSE,
  p = 0.5
)

Arguments

shift_limit

shift_limit

scale_limit

scale_limit

rotate_limit

rotate_limit

interpolation

interpolation

border_mode

border_mode

value

value

mask_value

mask_value

shift_limit_x

shift_limit_x

shift_limit_y

shift_limit_y

always_apply

always_apply

p

p

Value

None

None

Targets

image, mask, keypoints

image, mask, keypoints

Image types

uint8, float32

uint8, float32