vis4d.data.transforms.normalize

Normalize Transform.

Classes

NormalizeImages(*[, in_keys, out_keys, ...])

Normalize a list of image tensor with given mean and std.

class NormalizeImages(*, in_keys=['images'], out_keys=['images'], sensors=None, same_on_batch=True, **kwargs)[source]

Normalize a list of image tensor with given mean and std.

Image tensor is of shape [N, H, W, C] and range (0, 255).

__call__(images)[source]

Normalize image tensor.

Return type:

list[ndarray[Any, dtype[float32]]]