[sane-devel] gain/offset tables

Andre Herms aherms@cs.uni-magdeburg.de
Mon, 5 Nov 2001 23:42:32 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, 5. November 2001 22:33, you wrote:
> Thinking about the calibration routine for my scanner (Canon FB630U),
> seems to me this is probably a common issue.
>
> There's a black and a white scannable area inside the housing of my
> scanner.  It looks like I need to convert scans of these areas under 3
> different lighting conditions into the per-ccd-element gain/offset
> tables.  ("Looks like", because that's what the Windows driver seems to
> do.)
>
> Anyone's scanner do something similar?  Got code or math I can steal?

I think most scanners behave this way. My scanner too -  a primax colorado.
I didn't wrote the code but you could have a look at the source:

http://primax.sourceforge.net

The code is not really good for understanding how this is done. Maybe there 
are some other drivers with better code.
But if all fails, try it.

Bye
	Andre


- -- 
Andre Herms                   mailto:aherms@cs.uni-magdeburg.de
                              http://www.cs.uni-magdeburg.de/~aherms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE75xXZK/HaDUFBducRAj+NAJwP0hpc5SD3xfhkBFwgdfpW8nmA4ACfUFAt
y4uBA1R4ZFeuCZRtc1Iw0OU=
=TE8f
-----END PGP SIGNATURE-----