[Insight-users] Methods of RelabelComponentImageFilter

gkaremore at scai.fraunhofer.de gkaremore at scai.fraunhofer.de
Mon Aug 20 13:34:58 EDT 2007


Dear Gaëtan Lehmann

Thanks! I will surely look at itk::LabelShapeOpeningImageFilter. And get
back to you if need any help.


Thanks!

Sincerely
Gopal


Gaëtan Lehmann wrote:
>
> Hi Gopal,
>
> For that problem also, you should look at the contribution I have
> posted last week on the insight journal.
>
>    http://insight-journal.org/InsightJournalManager/view_reviews.php?
> back=index.php&pubid=176
>
> It provides some classes for this kind of filtering.
> For your particular problem, itk::LabelShapeOpeningImageFilter will
> do exactely what you need.
>
> Gaëtan
>
>
>
> Le 20 août 07 à 19:03, gkaremore at scai.fraunhofer.de a écrit :
>
>> Dear All
>>
>> After processing an image through RelabelComponentImageFilter ,
>> there are
>> 22 classes (Components in an image). I want those component whose
>> physical
>> size is less than the threshold. In another words I want only smaller
>> component in the image. I know RelabelComponentImageFilter filter
>> gives
>> output in descending order of pixel count in lebels. But Is there any
>> method in RelabelComponentImageFilter where we can select perticular
>> component only on the size basis. I want all the larger component
>> whose
>> size > threshold to be relabeled to background color ie (Black 1).
>> How to
>> do this??
>>
>> In another words how to select perticular label and how to change its
>> color (1-255) to the background.
>>
>> Any help would be appreciated.
>>
>> Sincerely
>> Gopal Karemore
>>
>> Zimmer no: 332
>> The Department of Bioinformatics
>> The Fraunhofer Institute for Algorithm Developement  and Scientific
>> Computing
>> St. Augustin, Bonn
>> Germany 53754
>>
>>
>> Email : gkaremore at scai.fraunhofer.de
>>         gopal.karemore at gmail.com
>>
>> Contact: +49-2241-142537
>>
>> Internet : http://www.gopalrk.com
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>
> --
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr
>
>
>
>



More information about the Insight-users mailing list