Hi!
I wonder if it is possible to do something like the following with the Python 
Imaging library:

for pixel in image:
    get how close to black it is
register what would be the darkest shade found in the image
delete pixels lighter than the darkest.

I'm asking because I scanned a bunch of pages from a book to .jpg. The images 
are in grayscale, and some pages have tables with gray background "underneath" 
black text, and I wanted to get rid of the background.

Thanks,

Eduardo

_________________________________________________________________
Descubra seu lado desconhecido com o novo Windows Live!
http://www.windowslive.com.br
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to