Auto-crop black margins dynamically of scanned images?
Posted
by
naxa
on Super User
See other posts from Super User
or by naxa
Published on 2013-06-29T21:57:25Z
Indexed on
2013/06/29
22:23 UTC
Read the original article
Hit count: 258
I have a notebook photocopied and the photocopy scanned, about 200 pages. For various reasons I need to print this material. There are large amounts of black areas at the sides of the page (after the page itself ends), "black margins".
The image looks like this:
I would like to remove the black places, but keeping all text. * The even and odd pages have the black part at different places. * Notably, there is a white edge outside the black one, too! * Most notably, the black areas has no fixed width (I've tried to overlay all the images for even and odd pages separately). It's width varies. The batch algorythm should be able to detect it.
Is there a way to remove these black-white margins automatically, keeping the text?
© Super User or respective owner