[Image-SIG] matlab vs Python for Image Processing applications
TAN TH
tanthiamhuat at yahoo.com
Mon Feb 11 09:46:17 CET 2008
which is more suitable software for Image Processing
applications, Matlab or Python?
I have tried something very simple in Python, which is
from the pdf,
http://www.pythonware.com/media/data/pil-handbook.pdf
however, it gives error. anyone able to help?
>>> import Image
>>> im = Image.open("D:/test.gif")
>>> print im.format, im.size, im.mode
GIF (409, 460) P
>>> r, g, b = im.split()
Traceback (most recent call last):
File "<pyshell#24>", line 1, in <module>
r, g, b = im.split()
ValueError: need more than 1 value to unpack
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
More information about the Image-SIG
mailing list