[Insight-users] ConnectedThresholdImageFilter - GrayScale Output

Paulo Henrique Junqueira Amorim paulojamorim at gmail.com
Sat Dec 27 13:35:11 EST 2008


Luis,

Worked!

Thank you very much.


Regards and Happy New Year
Paulo Amorim




2008/12/27 Luis Ibanez <luis.ibanez at kitware.com>

>
> Hi Paulo,
>
> If what you want is to get the original grayscale intensity values inside
> the segmented region,
> then you may want to use the MaskImageFilter:
>
>
> http://public.kitware.com/Insight/Doxygen/html/classitk_1_1MaskImageFilter.html
>
> and pass to it as inputs:
>
>   a) the original image
>   b) the output of the ConnectedThresholdImageFilter
>
>
> Regards,
>
>
>      Luis
>
>
> ---------
>
> On Fri, Dec 26, 2008 at 8:54 PM, Paulo Henrique Junqueira Amorim <
> paulojamorim at gmail.com> wrote:
>
>> Hi All,
>>
>> I'm segment CT images with the ConnectedThresholdImageFilter filter.
>>
>> Is there a way to return the region segmented in gray scale ?
>>
>> I implemented return the region segmented in a color  which was set in the
>> *SetReplaceValue() *method .
>>
>>
>> Regards and Happy new year.,
>> Paulo Amorim
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081227/7fec3357/attachment-0001.htm>


More information about the Insight-users mailing list