icevision_ElasticTransform: ElasticTransform

View source: R/icevision_albumentations.R

icevision_ElasticTransformR Documentation

ElasticTransform

Description

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

Usage

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

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.

Value

None

Targets

image, mask

Image types

uint8, float32


fastai documentation built on June 22, 2024, 11:15 a.m.