Yes, that's octave.  As far as I know it only uses ImageMagick for
reading and writing files, and it may well be able to read and write
PBM/PGM/PPM natively.  But if you're using linux, then you'll have
ImageMagick available.  I don't know if there's a windows port.

-Alasdair

On Jan 11, 12:20 am, "David Joyner" <wdjoy...@gmail.com> wrote:
> On Sat, Jan 10, 2009 at 5:13 AM, Alasdair <amc...@gmail.com> wrote:
>
> > Why not use octave for image processing?  It can be run from within
> > Sage, and its image processing toolbox is very mature and functional.
> > From what I've seen of PIL, its functionality is outstripped by
> > octave.
>
> > -Alasdair
>
> I don't know Octave that well. Are you talking 
> abouthttp://octave.sourceforge.net/image/index.html?
> If so, this does require an interface to imagemagick,
> which I gather is quite a powerful program itself.
> Thoughts?
>
>
>
> > On Jan 10, 1:11 am, lfmartins <luizfelipe.mart...@gmail.com> wrote:
> >> I'm trying to do image processing in Sage, and so far I have been able
> >> to do something like this:
>
> >> import sympy.thirdparty
> >> pyglet = sympy.thirdparty.import_thirdparty('pyglet')
> >> from pyglet import image
> >> fimg = open('<path omitted>.jpg','rb')
> >> img = image.load('hint.jpg',fimg)
> >> w,h = img.width, img.height;
> >> w,h
>
> >> I don't want to display the images in Sage, just be able to manipulate
> >> them (add noise, etc.)
>
> >> Is there another way, like importing pil directly?
>
> >> Felipe Martins
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to