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> <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>> 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 "unsigned char" 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.... :-/<br><br><br>
Please do so,<br><br><br> Thanks<br><br><br> Luis<br><br><br><br>========================<br>Balaji Gandhi wrote:<br>> Hi Luis,<br>><br>> I would like to add to my previous mail. The same noise is added when I
<br>> perform Registration on the (16 bit/Gray scale) images. If I convert the<br>> images to (8 bit/Indexed Color) images everything (Registration and<br>> Sampling) is fine.<br>><br>> Please let me know if there is a workaround for this or if my technique
<br>> is wrong.<br>><br>> Thanks,<br>> Balaji<br>></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>===============================