icevision_ToFloat: ToFloat

View source: R/icevision_albumentations.R

icevision_ToFloatR Documentation

ToFloat

Description

Divide pixel values by 'max_value' to get a float32 output array where all values lie in the range [0, 1.0].

Usage

icevision_ToFloat(max_value = NULL, always_apply = FALSE, p = 1)

Arguments

max_value

max_value

always_apply

always_apply

p

p

Details

If 'max_value' is NULL the transform will try to infer the maximum value by inspecting the data type of the input image. See Also: :class:'~albumentations.augmentations.transforms.FromFloat'

Value

None

See Also

:class:'~albumentations.augmentations.transforms.FromFloat'

Targets

image

Image types

any type


fastai documentation built on March 21, 2022, 9:07 a.m.