- apply_transform(transform: BasicTransform, **kwargs) dict #
Apply Albumentations transform to possibly batched images.
In case of batched images, the same transform is applied to all of them. This is useful for when the images represent a time-series.
transform (A.BasicTransform) – An albumentations transform.
**kwargs – Extra args for
transform. If ndim == 4, the transformed image in the dict is also 4-dimensional.
- Return type