On Sat, Jan 10, 2009 at 11:54 AM, Luiz Felipe Martins <[email protected]> wrote: > > 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
Cool! Can you post a worksheet or (if you did it in the notebook) of what you did so others could use your example to explore those ideas? > 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 <[email protected]> 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 <[email protected]> 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 > [email protected] > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en -~----------~----~----~----~------~----~------~--~---
