Dihedral: Dihedral

View source: R/image_ops.R View source: R/vision_augment.R

DihedralR Documentation

Dihedral

Description

Apply a random dihedral transformation to a batch of images with a probability 'p'

Apply a random dihedral transformation to a batch of images with a probability 'p'

Usage

Dihedral(
  p = 0.5,
  draw = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  align_corners = NULL,
  batch = FALSE
)

Dihedral(
  p = 0.5,
  draw = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  align_corners = NULL,
  batch = FALSE
)

Arguments

p

probability

draw

draw

size

size

mode

mode

pad_mode

padding mode

align_corners

align corners

batch

batch

Value

None

None


fastai documentation built on March 31, 2023, 11:41 p.m.