Re: [Numpy-discussion] NumPy trunk is frozen for upcoming 1.0.4 release

2007-11-05 Thread David Cournapeau
Emanuel Woiski wrote: > > > On Nov 4, 2007 6:18 PM, Jarrod Millman <[EMAIL PROTECTED] > > wrote: > > On Nov 4, 2007 11:53 AM, Emanuel Woiski <[EMAIL PROTECTED] > > wrote: > > I am havig a lot of trouble for quite some time wih numpy -

[Numpy-discussion] boolean masks & lists

2007-11-05 Thread John Hunter
A colleague of mine just asked for help with a pesky bug that turned out to be caused by his use of a list of booleans rather than an array of booleans as his logical indexing mask. I assume this is a feature and not a bug, but it certainly surprised him: In [58]: mask = [True, False, False, Fals

Re: [Numpy-discussion] NumPy trunk is frozen for upcoming 1.0.4 release

2007-11-05 Thread Emanuel Woiski
On Nov 4, 2007 6:18 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > On Nov 4, 2007 11:53 AM, Emanuel Woiski <[EMAIL PROTECTED]> wrote: > > I am havig a lot of trouble for quite some time wih numpy - scipy > Windows > > binaries for old AMD (pre-XP) processors. Since I teach in a lab with > lots >

Re: [Numpy-discussion] how to convert btw rgb and pixel value

2007-11-05 Thread Nadav Horesh
If the image is in the form of a standard image format (png, bmp, jpeg...) you can use the PIL library. png file can be read by pylab's imread function. Nadav. On Sun, 2007-11-04 at 23:37 -0800, [EMAIL PROTECTED] wrote: > hi > i wish to convert an rgb image into an array of double values..is

Re: [Numpy-discussion] how to convert btw rgb and pixel value

2007-11-05 Thread Matthieu Brucher
It depends on the transformation you want to use, there is no method available in Numpy, but you can create your own in an instant. Matthieu 2007/11/5, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > hi > i wish to convert an rgb image into an array of double values..is > there a method for that in nu