mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-01 06:34:23 +08:00
9bccefbc5e
The line in `img_as_ubyte` needs correction; ubyte cannot hold negative data. From a quick experiment it seems like both `img_as_uint` and `img_as_ubyte` clip negative values (and not shift them to the positive domain).