icevision_CropNonEmptyMaskIfExists: CropNonEmptyMaskIfExists

Description Usage Arguments Value Targets Image types

View source: R/icevision_albumentations.R

Description

Crop area with mask if mask is non-empty, else make random crop.

Usage

1
2
3
4
5
6
7
8
icevision_CropNonEmptyMaskIfExists(
  height,
  width,
  ignore_values = NULL,
  ignore_channels = NULL,
  always_apply = FALSE,
  p = 1
)

Arguments

height

height

width

width

ignore_values

ignore_values

ignore_channels

ignore_channels

always_apply

always_apply

p

p

Value

None

Targets

image, mask, bboxes, keypoints

Image types

uint8, float32


fastai documentation built on Oct. 25, 2021, 5:08 p.m.