[sane-devel] Scan Correction Program! :)

m. allan noah kitno455 at gmail.com
Sun May 11 17:42:20 UTC 2008

what scanner did you use that produces such poor calibration?


On 5/11/08, Ekkehard Morgenstern <ekkehard at ekkehardmorgenstern.de> wrote:
>  Hi guys,
>  today I wrote a small program to auto-correct color scans made by SANE.
>  It is especially useful for scanning paper.
>  Have a look at it here:
>  http://www.ekkehardmorgenstern.de/scancorrect-0.1.tar.gz
>  The archive file contains ANSI C source code that works with libpng,
>  description (readme.txt) and BSD license (license.txt), as well as a
>  binary for OpenBSD 4.3 and a simple makefile. Size-reduced sample images
>  are also included to see how it works.
>  The program works like this:
>  - First, you scan a blank sheet of paper, using a SANE frontend, like
>   XSane (with default gamma correction!). This gives you a file that
>   contains the data for a white sheet.
>  - Then, you scan the sheet of paper you want to correct, also with the
>   default gamma correction.
>  - After that, you run the scancorrect program. It creates a new image
>   based on the two input files.
>  It's a very simple idea, but the concept could be integrated into a SANE
>  driver, SANE itself, or a SANE frontend. :)
>  Greetings,
>  Ekkehard.
>  --
>  sane-devel mailing list: sane-devel at lists.alioth.debian.org
>  http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>  Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org

"The truth is an offense, but not a sin"

More information about the sane-devel mailing list