ValueError: Images of type float must be between -1 and 1.

Christopher spagodo at gmail.com
Tue Feb 9 14:23:41 EST 2016


Hi! Thanks for the reply

The reason I wanted to use img_as_float is because I eventually plan to use 
many functions and I thought I should get the image into a format that 
scikit-image likes before proceeding. However, as you suggested, the 
function I want to use immediately is transform.rotate() which does have a 
preserve scale option, and that did fix my problem. Should I just use this 
on every function?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20160209/dbe830c2/attachment.html>


More information about the scikit-image mailing list