Take an input array where all values should lie in the range [0, 1.0], multiply them by `max_value` and then

icevision_FromFloat(
  dtype = "uint16",
  max_value = NULL,
  always_apply = FALSE,
  p = 1
)

Arguments

dtype

dtype

max_value

max_value

always_apply

always_apply

p

p

Value

None

Details

cast the resulted value to a type specified by `dtype`. If `max_value` is NULL the transform will try to infer the maximum value for the data type from the `dtype` argument. This is the inverse transform for :class:`~albumentations.augmentations.transforms.ToFloat`.

Targets

image

Image types

float32