[Numpy-discussion] create a numpy array of images
Tue Feb 1 11:58:17 CST 2011
On 2/1/11 8:31 AM, Friedrich Romstedt wrote:
> In case you *have* to downsample:
> I also ran into this, with the example about my 5 images ...
> im.resize((newx newy), PIL.Image.ANTIALIAS) will be your friend.
If you want to downsample by a integer amount (i.e a factor of 2) in
each dimension, I have some Cython code that optimizes that. I'm happy
to send it along.
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the NumPy-Discussion