[sane-devel] Re: Affordable film scanner supported by SANE
Karl Heinz Kremer
khk at khk.net
Sat Mar 22 15:57:44 GMT 2003
On Wed, Mar 19, 2003 at 08:44:51PM +0000, Major A wrote:
[ ... ]
>
> The rest is not that simple... ICC profiles work by applying a LUT to
> each channel, then transforming with a matrix, and finally applying
> another set of LUTs. This can all be done in the frontend, but it
> would be possible to optimize things a bit:
Not necessarily: It is possible to have ICC profiles that only contain
a matrix ("matrix shaper profile").
>
> 1. The first LUTs can be done in hardware by the scanner. This makes
> sense because most of the time they serve the purpose of
> linearizing the incoming data in terms of perceived colour -- that
> means, we could probably afford to only obtain 8-bit data from the
> scanner, which would speed up scanning.
This is correct: In order to accomplish this, we need to take the ICC
profile appart: We have to split it into a part that can be done in
the scanner via the hardware LUT, and a portion that is done in the
frontend.
>
> 2. Exposure can be incorporated into the first LUT. This would avoid a
> LUT that discards the top (bright) end of the scale, therefore not
> making ideal use of the CCD's noise performance.
That is if the scanner actually supports an exposure control. The scanners I
deal with (EPSON) don't expose this control.
[ ... ]
> As of programming, there are basically two choices if you want an
> open-source colour management system: lcms (which seems to have
> evolved into a standard library, it's part of Debian as well), and
> gcms, which nobody seems to actively use. The advantage of the latter
> is that the developer is on this list (me that is).
The advantage of the first one is that Marti is an expert as far as color,
color management and ICC profiles go. LCMS is part of all major Linux
distributions and is used by e.g. ImageMagick. This means that there is
quite a bit of testing done on the lcms code, which probably is not
true for gcms. My vote is for lcms, even though we have you on the list.
With your gcms background, you should be able to pick up the lcms
functionality without any problems (that is, if you want to get into
this CM stuff in Sane at all).
>
> To summarize, I think these changes are necessary:
>
> 1. new API function(s) for providing ICC profile data through the SANE
> protocol. This would be good because then a backend would have
> access to its own profiles and supply them to any frontend, even it
> the frontend runs on a different computer.
If we want to keep this compatible with the net frontend, this is a hard
requirement.
> 4. ideally, we also want a (SANE-independent) tool for creating
> profiles based on scans from calibrated targets.
This can be done with the lcms profiler, with Scarse and with Argyll.
Karl Heinz
--
Karl Heinz Kremer khk at khk.net
PGP Key at http://www.khk.net/download/khk.asc
EPSON Sane Backend: http://www.khk.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20030322/588d74c5/attachment.sig>
More information about the sane-devel
mailing list