Re: Simplest way to resize an image-like array

2011-10-06 Thread John Ladasky
On Oct 1, 2:22 am, John Ladasky wrote: > On Sep 30, 1:51 pm, Jon Clements wrote: > > > Is something like > >http://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imresi... > > any use? > > There we go!  That's the kind of method I was seeking.  I didn't think > to look outside of scipy.i

Re: Simplest way to resize an image-like array

2011-10-01 Thread John Ladasky
On Sep 30, 1:51 pm, Jon Clements wrote: > Is something like > http://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imresize.html > any use? There we go! That's the kind of method I was seeking. I didn't think to look outside of scipy.interpolate. Thanks, Jon. -- http://mail.python.

Re: Simplest way to resize an image-like array

2011-10-01 Thread John Ladasky
On Sep 30, 11:54 pm, Dennis Lee Bieber wrote: >         How difficult would it be to convert the "array" to a PIL image? I'm > fairly certain PIL has operations to rescale images. Yes, I considered this approach -- but I have a lot of arrays to resample, and I didn't want to further slow what is

Re: Simplest way to resize an image-like array

2011-09-30 Thread Jon Clements
On Sep 30, 5:40 pm, John Ladasky wrote: > Hi folks, > > I have 500 x 500 arrays of floats, representing 2D "grayscale" images, > that I need to resample at a lower spatial resolution, say, 120 x 120 > (details to follow, if you feel they are relevant). > > I've got the numpy, and scipy, and matplo

Simplest way to resize an image-like array

2011-09-30 Thread John Ladasky
Hi folks, I have 500 x 500 arrays of floats, representing 2D "grayscale" images, that I need to resample at a lower spatial resolution, say, 120 x 120 (details to follow, if you feel they are relevant). I've got the numpy, and scipy, and matplotlib. All of these packages hint at the fact that the