Thanks, I will try it.

What I want do is pretty simple, simply open an image, add noise to it
and try error-correcting codes. I was able to do it easily with PIL. I
am actually thinking of what to use for bit operations, etc. My plan
is to simply use Numpy, but octave may be an alternative.

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
>
> 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
>
> >
>



-- 
"The main things which seem to me important on their own account, and
not merely as means to other things, are knowledge, art, instinctive
happiness, and relations of friendship or affection."
   -Bertrand Russell

L. Felipe Martins
Department of Mathematics
Cleveland State University
luizfelipe.mart...@gmail.com

--~--~---------~--~----~------------~-------~--~----~
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