Decreases image quality by downscaling and upscaling back.

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