[Image-SIG] matlab vs Python for Image Processing applications

Matthew Nuzum newz at bearfruit.org
Mon Feb 11 18:00:26 CET 2008

If there's something you want to do and you know how to do it in matlab and
you only need to do it once you may be best off using matlab. It will take 1
min to program and 10 min to run.

If you can't get the right visualization and want the flexibility and power
of writing the tool yourself there will be a steep learning curve but once
you get proficient it will take 10 min to write and will run in 1 min.

Also, you may want to investigate scilab.

Regarding your image, try it with something other than a gif, they have a
special color pallete and there's an extra step when working with them.

On Feb 11, 2008 2:46 AM, TAN TH <tanthiamhuat at yahoo.com> wrote:

> 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
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig

Matthew Nuzum
newz2000 on freenode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20080211/644eeab3/attachment-0001.htm 

More information about the Image-SIG mailing list