downscaling float32 image to uint12 via scikits.img_as_uint()

Sigmund siggin at gmail.com
Sat Feb 25 11:15:47 EST 2012


Hi!
its me again... 
I'm using the scikits.img_as_uint() function for downscaling a float32 gray 
scale image. The downscaling is needed to use the 
mahotas.thresholding.otsu() function.
I noticed that the img_as_uint() function is not scaling the intensity.  It 
looks like that in areas where the intensity is exceeding the uint16 space, 
it shows wrong values. Does it show 0+the exceeding part?
Is the behavior volitional ?

Siggi 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20120225/27ec9845/attachment.html>


More information about the scikit-image mailing list