kopia lustrzana https://gitlab.com/sane-project/website
120 wiersze
4.5 KiB
HTML
120 wiersze
4.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Re: SnapScan</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Schwartz (Oliver.Schwartz@gmx.de)">
|
|
<META NAME="Subject" CONTENT="Re: SnapScan">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: SnapScan</H1>
|
|
<!-- received="Fri May 5 07:31:16 2000" -->
|
|
<!-- isoreceived="20000505143116" -->
|
|
<!-- sent="Fri, 5 May 2000 16:26:25 +0200" -->
|
|
<!-- isosent="20000505142625" -->
|
|
<!-- name="Oliver Schwartz" -->
|
|
<!-- email="Oliver.Schwartz@gmx.de" -->
|
|
<!-- subject="Re: SnapScan" -->
|
|
<!-- id="00050516432200.00358@oliverspc" -->
|
|
<!-- inreplyto="20000504180035.B7849@khk.net" -->
|
|
<STRONG>From:</STRONG> Oliver Schwartz (<A HREF="mailto:Oliver.Schwartz@gmx.de?Subject=Re:%20SnapScan&In-Reply-To=<00050516432200.00358@oliverspc>"><EM>Oliver.Schwartz@gmx.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Fri May 05 2000 - 07:26:25 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0042.html">Steve Underwood: "Re: SnapScan"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0040.html">Louis van Dompselaar: "Re: SnapScan"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0038.html">Karl Heinz Kremer: "Re: SnapScan"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0042.html">Steve Underwood: "Re: SnapScan"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0007.html">Petter Reinholdtsen: "Re: SnapScan"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#41">[ date ]</A>
|
|
<A HREF="index.html#41">[ thread ]</A>
|
|
<A HREF="subject.html#41">[ subject ]</A>
|
|
<A HREF="author.html#41">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi,
|
|
<BR>
|
|
<P><EM>> > However, the RGB offsets as I understand them are not an offset in value but a
|
|
</EM><BR>
|
|
<EM>> > spatial offset. E. g. if you scan a black square on white background in
|
|
</EM><BR>
|
|
<EM>> > color mode it doesn't have sharp edges but maybe a blue edge on one side and an
|
|
</EM><BR>
|
|
<EM>> > orange edge on the other. Just try it.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> This is interesting. Is there a solution/fix for this? I'm asking because I'm
|
|
</EM><BR>
|
|
<EM>> in the process of implementing a correction for the same "feature" in the
|
|
</EM><BR>
|
|
<EM>> EPSON Perfection 610 scanner.
|
|
</EM><BR>
|
|
<P>Obviously some effort has been made in the current snapscan backend, but for
|
|
<BR>
|
|
some reason the code is now marked as obsolete and #ifdef'ed. Most of it can
|
|
<BR>
|
|
be found in snapscan-310.c. If I understand the solution correctly it works as
|
|
<BR>
|
|
follows:
|
|
<BR>
|
|
<P>The offset values are retrieved from the scanner using the inquiry command.
|
|
<BR>
|
|
Then every scanned line is stored in a ring buffer (with r, g and b value).
|
|
<BR>
|
|
Once there are enough lines in the ring buffer to synchronize r, g and b the
|
|
<BR>
|
|
lines can be read out again.
|
|
<BR>
|
|
<P>There are some comments in the code that suggest that there is a RGBRouter
|
|
<BR>
|
|
somewhere that should replace the old sync routines but I haven't found any
|
|
<BR>
|
|
implementation for it.
|
|
<BR>
|
|
<P>Another problem is that the inquiry command says that all offsets are 0 for my
|
|
<BR>
|
|
scanner...
|
|
<BR>
|
|
<P>Oliver
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20SnapScan&In-Reply-To=<00050516432200.00358@oliverspc>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0042.html">Steve Underwood: "Re: SnapScan"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0040.html">Louis van Dompselaar: "Re: SnapScan"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0038.html">Karl Heinz Kremer: "Re: SnapScan"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0042.html">Steve Underwood: "Re: SnapScan"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0007.html">Petter Reinholdtsen: "Re: SnapScan"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#41">[ date ]</A>
|
|
<A HREF="index.html#41">[ thread ]</A>
|
|
<A HREF="subject.html#41">[ subject ]</A>
|
|
<A HREF="author.html#41">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Fri May 05 2000 - 07:33:14 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|