<div dir="ltr">Luis,<br><br>Worked!
<br>
<br> Thank you very much.<br><br><br>Regards and Happy New Year</div>Paulo Amorim<br><br><br><br><br><div class="gmail_quote">2008/12/27 Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi Paulo,<br><br>If what you want is to get the original grayscale intensity values inside the segmented region,<br>
then you may want to use the MaskImageFilter:<br><br> <a href="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1MaskImageFilter.html" target="_blank">http://public.kitware.com/Insight/Doxygen/html/classitk_1_1MaskImageFilter.html</a><br>
<br>and pass to it as inputs:<br><br> a) the original image<br> b) the output of the ConnectedThresholdImageFilter<br><br><br>Regards,<br><br><br> Luis<br><br><br>---------<div><div></div><div><br><div class="gmail_quote">
On Fri, Dec 26, 2008 at 8:54 PM, Paulo Henrique Junqueira Amorim <span dir="ltr"><<a href="mailto:paulojamorim@gmail.com" target="_blank">paulojamorim@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi All,<br><br>I'm segment CT images with the ConnectedThresholdImageFilter filter.
<br>
<br> Is there a way to return the region segmented in gray scale ?<br><br>I implemented return the region segmented in a color which was set in the <i>SetReplaceValue() </i>method .<br><br><br>Regards and Happy new year.,<br>
Paulo Amorim<br></div>
</blockquote></div><br>
</div></div></blockquote></div><br>