[Insight-users] to label continuous parts

Joshua Cates cates at sci.utah.edu
Tue, 6 Apr 2004 10:48:33 -0600 (MDT)


Hi,

Are you looking for a connected-component labeling?  There are several
such algorithms in ITK you might try, for example

http://www.itk.org/Doxygen/html/classitk_1_1ConnectedComponentImageFilter.html

See the software guide for simple examples of using connected component 
filters: http://www.itk.org/ItkSoftwareGuide.pdf

Josh.


On Mon, 5 Apr 2004, David Llanos wrote:

> Hi all,
> 
> I have to label the different continuous parts of an gray image, for later to be able to process them and to differentiate them for blocks.
> 
> I am studying the class "watershed" of ITK, but I think that the code examples are too intricate for what I look for. I need only a simple labeled.
> 
> would you be able to help me with an example but simple or concise?
> 
> Thanks in advange and regards,
> 
> David.
> 
>