class
Normalize
extends
_NoParamsPhotometricTransform[Empty]Normalize(mean: tuple[float, ...], std: tuple[float, ...], max_pixel_value: float = 255.0, p: float = 1.0)Normalize an image (Albumentations Normalize).
Computes (img - mean * max_pixel_value) / (std * max_pixel_value)
— i.e. scales by max_pixel_value then standardizes per channel.
Parameters
meantuple of floatPer-channel statistics.
stdtuple of floatPer-channel statistics.
max_pixel_valuefloat= 255.0Value the inputs are divided by (
1.0 for [0, 1] inputs).pfloat= 1.0No description.