vidaug icon indicating copy to clipboard operation
vidaug copied to clipboard

RandomRotate does not preserve range

Open dermahax opened this issue 1 year ago • 0 comments

Hey,

when using RandomRotate with numpy arrays, the images are normalized. For most use cases it might be preferable to prevent the range of input imgs. Skikit.transform.rotate has the flag preserver_range (default False).

https://scikit-image.org/docs/stable/api/skimage.transform.html#skimage.transform.rotate

It could be a good idea to forward it to the user or set it to True in the va.RandomRotate class.

Cheers, Max.

dermahax avatar Jan 02 '23 11:01 dermahax