icevision_IAAPiecewiseAffine: IAAPiecewiseAffine

View source: R/icevision_albumentations.R

icevision_IAAPiecewiseAffineR Documentation

IAAPiecewiseAffine

Description

Place a regular grid of points on the input and randomly move the neighbourhood of these point around

Usage

icevision_IAAPiecewiseAffine(
  scale = list(0.03, 0.05),
  nb_rows = 4,
  nb_cols = 4,
  order = 1,
  cval = 0,
  mode = "constant",
  always_apply = FALSE,
  p = 0.5
)

Arguments

scale

scale

nb_rows

nb_rows

nb_cols

nb_cols

order

order

cval

cval

mode

mode

always_apply

always_apply

p

p

Details

via affine transformations. Note: This class introduce interpolation artifacts to mask if it has values other than (0;1)

Value

None

Targets

image, mask


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