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

82 wiersze
3.0 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Mon Apr 5 06:00:17 1999 PDT" -->
<!-- sent="Mon, 05 Apr 1999 14:01:11 +0200" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: 16 bit per sample support" -->
<!-- id="" -->
<!-- inreplyto="16 bit per sample support" -->
<title>sane-devel: Re: 16 bit per sample support</title>
<h1>Re: 16 bit per sample support</h1>
<b>Oliver Rauch</b> (<a href="mailto:oliver.rauch@Wolfsburg.DE"><i>oliver.rauch@Wolfsburg.DE</i></a>)<br>
<i>Mon, 05 Apr 1999 14:01:11 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#79">[ date ]</a><a href="index.html#79">[ thread ]</a><a href="subject.html#79">[ subject ]</a><a href="author.html#79">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0080.html">Oliver Rauch: "Re: Sane drivers"</a>
<li> <b>Previous message:</b> <a href="0078.html">Milon Firikis: "Re: Sane drivers"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Jonathan A. Buzzard wrote:<br>
<p>
<i>&gt;</i><br>
<i>&gt;</i><br>
<i>&gt; For example I might have three Xrays of an object, that after some sort</i><br>
<i>&gt; of registration I wish to stack on top of one another. The Xrays have</i><br>
<i>&gt; been scanned say at 12 bits, now if you have stretched them though to</i><br>
<i>&gt; the full dynamic range of 16 bits adding the pixel values together</i><br>
<i>&gt; will result in loss of information. If they had stayed as 12 bits inside</i><br>
<i>&gt; a 16 bit value there is no problem.</i><br>
<i>&gt;</i><br>
<i>&gt; These are dozens of similar cases where stretching the values is simply</i><br>
<i>&gt; not acceptable. A little check button somewhere which can be unchecked</i><br>
<i>&gt; for those that don't want stretching would suffice.</i><br>
<i>&gt;</i><br>
<p>
Hi Jonathan,<br>
<p>
there is no real problem with that.<br>
<p>
If the 12 bits are streched to a 16 bit range, the lower 4 bits are simply not<br>
used.<br>
If you want to add two images, you have to dived the values by two before you<br>
add<br>
the values.<br>
<p>
In 8 bit mode it is the same, you get more than 8 bits if you add two 8 bit<br>
values.<br>
<p>
It is not the sense of SANE to deal with such special features.<br>
SANE is for scanning, we don`t want to make a new pixelgraphic program like gimp<br>
<p>
or a program to evaluate any measurements.<br>
<p>
Bye<br>
Oliver<br>
<p>
<p>
<pre>
--
EMAIL: <a href="mailto:Oliver.Rauch@Wolfsburg.DE">Oliver.Rauch@Wolfsburg.DE</a>
WWW: <a href="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</a>
<p>
<p>
<p>
<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="0080.html">Oliver Rauch: "Re: Sane drivers"</a>
<li> <b>Previous message:</b> <a href="0078.html">Milon Firikis: "Re: Sane drivers"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>