[SciPy-User] scipy.misc.imrotate() for float datatype

Stéfan van der Walt stefan@sun.ac...
Sun Apr 18 10:17:09 CDT 2010


Hi Andreas

On 17 April 2010 19:28, Andreas <lists@hilboll.de> wrote:
> I have a 2d array of float values. Now, I would like to use an
> imrotate() function on these data, like the one provided by
> scipy.misc.imrotate.pilutil.imrotate(). However, this function
> automatically converts my data to uint8.
>
> Is there any way to 'rotate' my 2d data in an easy way, without having
> to code everything myself? Performance is not an issue.

We've got code to do this in scikits.image (http://scikits.appspot.com/image).

See http://stefanv.github.com/scikits.image/api/scikits.image.transform.html#homography

Regards
Stéfan


More information about the SciPy-User mailing list