Elastic deformation of images as described in [Simard2003]_ (with modifications).

icevision_ElasticTransform(
  alpha = 1,
  sigma = 50,
  alpha_affine = 50,
  interpolation = 1,
  border_mode = 4,
  value = NULL,
  mask_value = NULL,
  always_apply = FALSE,
  approximate = FALSE,
  p = 0.5
)

Arguments

alpha

alpha

sigma

sigma

alpha_affine

alpha_affine

interpolation

interpolation

border_mode

border_mode

value

value

mask_value

mask_value

always_apply

always_apply

approximate

approximate

p

p

Value

None

Details

Based on https://gist.github.com/erniejunior/601cdf56d2b424757de5 .. [Simard2003] Simard, Steinkraus and Platt, "Best Practices for Convolutional Neural Networks applied to Visual Document Analysis", in Proc. of the International Conference on Document Analysis and Recognition, 2003.

Targets

image, mask

Image types

uint8, float32