What is the fastest way to scale and display an image in Python?

Posted by Knut Eldhuset on Stack Overflow See other posts from Stack Overflow or by Knut Eldhuset
Published on 2008-09-22T12:36:53Z Indexed on 2010/03/22 17:11 UTC
Read the original article Hit count: 332

Filed under:
|
|

I am required to display a two dimensional numpy.array of int16 at 20fps or so. Using Matplotlib's imshow chokes on anything above 10fps. There obviously are some issues with scaling and interpolation. I should add that the dimensions of the array are not known, but will probably be around thirty by four hundred.

These are data from a sensor that are supposed to have a real-time display, so the data has to be re-sampled on the fly.

© Stack Overflow or respective owner

Related posts about python

Related posts about animation