icevision_PadIfNeeded: PadIfNeeded

Description Usage Arguments Targets Image types

View source: R/icevision_albumentations.R

Description

Pad side of the image / max if side is less than desired number.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
icevision_PadIfNeeded(
  min_height = 1024,
  min_width = 1024,
  pad_height_divisor = NULL,
  pad_width_divisor = NULL,
  border_mode = 4,
  value = NULL,
  mask_value = NULL,
  always_apply = FALSE,
  p = 1
)

Arguments

min_height

min_height

min_width

min_width

pad_height_divisor

pad_height_divisor

pad_width_divisor

pad_width_divisor

border_mode

border_mode

value

value

mask_value

mask_value

always_apply

always_apply

p

p

Targets

image, mask, bbox, keypoints

Image types

uint8, float32


fastai documentation built on July 28, 2021, 5:06 p.m.