icevision_Normalize: Normalize

View source: R/icevision_albumentations.R

icevision_NormalizeR Documentation

Normalize

Description

Divide pixel values by 255 = 2**8 - 1, subtract mean per channel and divide by std per channel.

Usage

icevision_Normalize(
  mean = list(0.485, 0.456, 0.406),
  std = list(0.229, 0.224, 0.225),
  max_pixel_value = 255,
  always_apply = FALSE,
  p = 1
)

Arguments

mean

mean

std

std

max_pixel_value

max_pixel_value

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.