Vote count:
0
I'd like to automatically clean up visible borders/shadows from scanned pages.
My idea for doing this is simple: detect a largest rectangle in the image in which all pixels are white or nearly white, then crop the image to that rectangle or floodfill the exterior with white.
I can write my own program for finding such a rectangle, but I'd prefer to use the existing ImageMagick utilities (which can also do the cropping or floodfilling), or other utilities readily available for Linux and Cygwin.
Can they do this? How?
asked 14 secs ago
Aucun commentaire:
Enregistrer un commentaire