At 10:00 AM 2/29/2008, you 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
[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
> 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
__
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
hi
i came across a codebase by rice univ people..in that there are some
functions for conversion btw image and vectors
1.
def image_to_vector(self, filename):
try:
im = Image.open(filename)
except IOError:
print 'couldn\'t load ' + filename
sys.e