Re: [Numpy-discussion] image to array doubt

2008-02-29 Thread Andrew Straw
[EMAIL PROTECTED] wrote: >> Robin wrote >> I'm not sure why they would be doing this - to me it looks they might >> be using Image as a convenient way to store some other kind of data... > > thanks Robin, > I am wondering if there is a more straightforward way to do these.. > especially the vector

Re: [Numpy-discussion] image to array doubt

2008-02-29 Thread [EMAIL PROTECTED]
> Robin wrote > I'm not sure why they would be doing this - to me it looks they might > be using Image as a convenient way to store some other kind of data... thanks Robin, I am wondering if there is a more straightforward way to do these.. especially the vector to image function D __

Re: [Numpy-discussion] image to array doubt

2008-02-29 Thread Robin
On Fri, Feb 29, 2008 at 2:54 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > hi > i came across a codebase by rice univ people..in that there are some > functions for conversion btw image and vectors I'm not an expert by any means but I thought I'd try and help... > 1. > def image_to_vecto