Hi Luis/All,<br><br>I am using the original source code provided in the Insight/Examples/Filtering and Insight/Examples/Registration to read the (16 bit/Gray Scale) images. What is the PixelType for reading and writing 16 bit/Gray Scale Images? Please advise.
<br><br>Thanks,<br>Balaji<br><br><div><span class="gmail_quote">On 5/1/06, <b class="gmail_sendername">Luis Ibanez</b> &lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi Balaji,<br><br>What pixel type did you used for instantiating the ImageFileReader<br>in your ITK pipeline ?<br><br>It is likely that you are using &quot;unsigned char&quot; for that pixel type,<br>and therefore when you read the input image from a 16 bits/pixel file
<br>the pixel values get truncated to the highest byte and result in a noisy<br>field.<br><br><br><br>It will be *much easier* to help you if you post the source code<br>of your test to the mailing list....&nbsp;&nbsp; :-/<br><br><br>
Please do so,<br><br><br>&nbsp;&nbsp; Thanks<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Luis<br><br><br><br>========================<br>Balaji Gandhi wrote:<br>&gt; Hi Luis,<br>&gt;<br>&gt; I would like to add to my previous mail. The same noise is added when I
<br>&gt; perform Registration on the (16 bit/Gray scale) images. If I convert the<br>&gt; images to (8 bit/Indexed Color) images everything (Registration and<br>&gt; Sampling) is fine.<br>&gt;<br>&gt; Please let me know if there is a workaround for this or if my technique
<br>&gt; is wrong.<br>&gt;<br>&gt; Thanks,<br>&gt; Balaji<br>&gt;</blockquote><div><br></div></div>-- <br>===============================<br>Balaji Gandhi<br>Research Associate<br>Biomolecular Science Center<br>University of Central Florida
<br>Phone: 407-823-3387<br>Fax: 407-823-0956<br>Project: <a href="http://imgem.ucf.edu">imgem.ucf.edu</a><br>===============================