On Monday 31 July 2006 19:01, Tim Churches wrote:
> Compressing an existing image is no harder than:
>
> Import Image
> im = Image.open("/home/dguest/image.tif")
> im.save("/home/dguest/image.png")

... and you can even specify the compression factor as optional parameter, 
easily generate thumbnails etc.

> However PIL has methods to do image manipulation as well, such as edge

Tim, yo seem to have some experience with PIL: I am currently stuck trying to 
detect "blank" scanned pages. I am using a duplex scanner - some pages are 
printed on both sides, some aren't. Getting rid of the scanned "blanks" 
manually is tedious when scanning in huge stacks of old patient records.

Just median filtering for noise and discarding "empty" pages has too many 
false positives or false negatives depending on threshold settings.
Did you come across any reliable filter algorithm for "empty" pages? (that is 
those with only scanner noise on them)?

Horst
_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk

Reply via email to