icevision_Downscale: Downscale

View source: R/icevision_albumentations.R

icevision_DownscaleR Documentation

Downscale

Description

Decreases image quality by downscaling and upscaling back.

Usage

icevision_Downscale(
  scale_min = 0.25,
  scale_max = 0.25,
  interpolation = 0,
  always_apply = FALSE,
  p = 0.5
)

Arguments

scale_min

scale_min

scale_max

scale_max

interpolation

cv2 interpolation method. cv2.INTER_NEAREST by default

always_apply

always_apply

p

p

Value

None

Targets

image

Image types

uint8, float32


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