[Insight-users] Labels and itk::image

Anja Ende anja.ende at googlemail.com
Mon May 19 11:20:32 EDT 2008


Hi everyone,

I have been trying this for weeks but am having no luck with this.

I have a 2D point collection that represents a polygon on a 2D gray
level image slice and I want to obtain the statistics out of it.

People suggested that I convert this to an itk::LabelImage but I am
having absolutely no luck in figuring out how to do this! Apparantly,
this is part of itk::image but I do not see any obvious way on how to
do this.

So, what I would like to do is specify the points (preferably in image
coordinates) which will specify the closed polygon boundaries and be
able to get some statistics on the pixels that are contained in that
boundary.

Is this "LabelImage" an additional add-on class? I do not see it in
the itk classes list as well.

Any help would be really appreciated!

-- 
Cheers,

Anja


More information about the Insight-users mailing list