[Insight-users] RelabelComponentImageFilter and objects analysis

Jens Eickmeyer eickmeyer at gmail.com
Tue Mar 8 07:14:40 EST 2005


Hi!

I had to do a similar task. I use a map with the label as key and a
struct as the value. The struct holds all the information which are
interesting for a certain object. I iterate over the label image and
use the corresponding pixel values in the original image to compute
the characteristics of each objects. This is pretty fast.

Jens

On Tue, 08 Mar 2005 11:09:45 +0100, Yann Gavet <gavet at emse.fr> wrote:
> Hello all,
> 
> I am trying to figure out how to use  itk::RelabelComponentImageFilter.
> I want to have some informations on zones defined by a skeleton. I see a
> method:
> GetNumberOfObjects () that gives the number of objects labelled, but I
> want information such centroid of object, elongation, etc.
> What is the easiest way to do it? Is there a method that could do a
> GetObject( i ); to give me a blob or something else ?
> 
> Thank you for your comments.
> 
> Yann
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list