On 06/05/2012 10:14 AM, Kevin Hunter wrote:
> At 10:47pm -0400 Sun, 03 Jun 2012, Tom Dimiduk wrote:
>> Very few people outside my group use it at the moment, but that looks
>> to be changing at least a bit. I will hopefully get a paper out about
>> the code by the end of the
Excellent! That sped things up quite a bit. I can now flip through my
small images with no perceivable delay. I will look forward to trying
out the new interpolation setting when it gets here, since I have some
larger images that still lag slightly.
If others want, I can repost my code with
Here is how am solving this problem. It isn't terribly fast either, but
it works for me. I wrote something with pygame that was faster, but it
had its own set of problems.
Tom
---
import numpy as np
import pylab
class plotter:
def __init__(self, im, i=0):
self.im = im
The arrow keys were not being correctly detected in the Qt4 backend of
the matplotlib gui code, so I went in and hooked up keycodes for them.
I haven't submitted patches before, but I thought this was worth passing
on, so I have attached it. Is this something worth submitting? How
would I go
use
im[im.shape[1]-y, x] to get the pixel a user clicked on. Is that correct?
Thanks agaian,
Tom
On 03/15/2011 05:35 PM, Eric Firing wrote:
> On 03/15/2011 10:23 AM, Tom Dimiduk wrote:
>> It appears to me that when imshow tells you that the mouse cursor is at
>> x=50, y=100
>>
It appears to me that when imshow tells you that the mouse cursor is at
x=50, y=100
That corresponds to array element
im[100, 50]
Is there a reason imshow does not have x be the first coordinate of the
array as I would think of as conventional usage?
Tom
---
python still had a large
> portion of memory.
>
> -robert
>
> On 2/9/2011 3:52 PM, Tom Dimiduk wrote:
>> I am using matplotlib pylab in association with ipython -pylab to show
>> many large (~2000x2000 or larger) images. Each time I show another
>> image
I am using matplotlib pylab in association with ipython -pylab to show
many large (~2000x2000 or larger) images. Each time I show another
image it consumes more memory until eventually exhausting all system
memory and making my whole system unresponsive.
The easiest way to replicate this behav