The most convenient way I used in the past where memory mapped files. Numpy 
supports memmapped arrays that (in most cases) behave just like regular 
ndarrays.
https://docs.scipy.org/doc/numpy-1.15.1/reference/generated/numpy.memmap.html

We used it to store raw video data with hundreds/thousands of frames and 
display them in an ImageView. Of course you're at the whims of your 
Operating system and numpy to handle the on-the-fly loading efficiently, 
but it's a quick and easy way to handle big amounts of data without 
additional libraries and self-made solutions.

Regards,
Sebastian

Am Montag, 29. Oktober 2018 05:50:41 UTC+1 schrieb Dennis Norton:
>
> I'm wondering if there is a convenient way to use the ImageView class to 
> display images either from a list of files in a directory or from a large 
> binary file consisting of multiple frames.
>
> Could we create a generator which yields the numpy arrays to display?
>
> Thanks.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/89b3e7c6-1542-440e-b2d8-661e8a9e7d57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to