sane-project-website/old-archive/1999-04/0346.html

66 wiersze
2.7 KiB
HTML

<!-- received="Sat Apr 24 10:33:15 1999 PDT" -->
<!-- sent="Sat, 24 Apr 1999 19:36:57 +0200 (MEST)" -->
<!-- name="becka@rz.uni-duesseldorf.de" -->
<!-- email="becka@rz.uni-duesseldorf.de" -->
<!-- subject="Re: Scanning and interpolation" -->
<!-- id="m10b6ML-000CEgC@hades.beck-sw.de" -->
<!-- inreplyto="m10akNr-000CEgC@hades.beck-sw.de" -->
<title>sane-devel: Re: Scanning and interpolation</title>
<h1>Re: Scanning and interpolation</h1>
<a href="mailto:becka@rz.uni-duesseldorf.de"><i>becka@rz.uni-duesseldorf.de</i></a><br>
<i>Sat, 24 Apr 1999 19:36:57 +0200 (MEST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#346">[ date ]</a><a href="index.html#346">[ thread ]</a><a href="subject.html#346">[ subject ]</a><a href="author.html#346">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0347.html">John Profic: "Re: WinSANE0.9 and WinSANE 0.0.1.0"</a>
<li> <b>Previous message:</b> <a href="0345.html">Faisal Nasim: "Re: Where is ScanImage in the RPM?"</a>
<li> <b>In reply to:</b> <a href="0334.html">becka@rz.uni-duesseldorf.de: "Re: Scanning and interpolation"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi !<br>
<p>
<i>&gt; &gt; Is the algorithms behind this [Interpolation] free ? </i><br>
<i>&gt; </i><br>
<i>&gt; I hope so. If someone patented this : </i><br>
<i>&gt; </i><br>
<i>&gt; interpolated_pixel(between_pixel_1_and_pixel_2)=</i><br>
<i>&gt; ( pixel_1*distance_to_1+</i><br>
<i>&gt; pixel_2*distance_to_2) /</i><br>
<i>&gt; ( distance_to_1+distance_to_2 )</i><br>
<i>&gt; </i><br>
<i>&gt; he is definitely insane.</i><br>
<p>
In deed. Just as me. Of course it must be:<br>
<p>
interpolated_pixel(between_pixel_1_and_pixel_2)=<br>
( pixel_1*distance_to_2+<br>
pixel_2*distance_to_1) /<br>
( distance_to_1+distance_to_2 )<br>
<p>
As otherwise you'd swap the direction of the gradient.<br>
<p>
CU, ANdy<br>
<p>
<pre>
--
= Andreas Beck | Email : &lt;<a href="mailto:andreas.beck@ggi-project.org">andreas.beck@ggi-project.org</a>&gt; =
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0347.html">John Profic: "Re: WinSANE0.9 and WinSANE 0.0.1.0"</a>
<li> <b>Previous message:</b> <a href="0345.html">Faisal Nasim: "Re: Where is ScanImage in the RPM?"</a>
<li> <b>In reply to:</b> <a href="0334.html">becka@rz.uni-duesseldorf.de: "Re: Scanning and interpolation"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>