Harald Schilly wrote:
> Hi
> 
> A friend of mine want's to manipulate pictures (bitmap, in color).
> Basically, he want's to load and then represent them as a binary
> vector in Sage and then encode them using linear codes ->
> manipulations (errors) -> then back to an image and see how good the
> code worked.
> The one thing I don't know is what's the best and easiest way to get a
> binary representation of an image to be able to work with - a
> bijection from picture to binary vector in GF(2) and back. Maybe in
> different versions (each color channel separate or other methods).


There was a discussion recently about image processing in Sage; I can't 
find the discussion, though.  However, I do remember people pointing to 
scipy.image and PIL (the Python Imaging Library, or something like 
that).  Those resources might be useful here.

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to