icevision_ToFloat {fastai} | R 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
[Package fastai version 2.2.2 Index]