albumentations icon indicating copy to clipboard operation
albumentations copied to clipboard

"clipped" transformations not documented as such

Open vedal opened this issue 2 years ago • 0 comments

📚 Documentation

The behavior of clipping values to [0,1] after GaussNoise and some other similar functions should be documented under each transform. In the current state of the library, the only way to know if values are clipped or not is by digging into source.

A better alternative would be allowing the user to control clipping through a kwarg, or a parameter like Normalize().max_pixel_value for when image isn't yet normalized

vedal avatar Feb 23 '22 15:02 vedal