[Insight-users] Label Image question again...

Anja Ende anja.ende at googlemail.com
Tue May 20 04:55:40 EDT 2008


Hi all,

I am really frustrated at my inability to achieve this and hope
someone can help me with a few lines of code on how to achieve this:

- I have an itk::Image object and a set of points in the image
coordinates that represent a ROI.
- I cannot for saving my life figure out how to generate a LabelObject
based on this.... I have had some help when I asked this question
before but there seems to be a disconnect somewhere and I am missing a
step.

I guess I have to figure out a way to render the region defined by
these points into another image and somehow use this image as a mask
on the original image. However, I just do not know how to achieve this
with the ITK classes. The document entitled "Label Object
representation and manipulation with ITK" somehow (I think) assumes
that the LabelImage is easily created, but I am finding it very
difficult to actually create this LabelImage!

Is there any documentation on how one can create a LabelImage based on
a user defined contour???

Please help!

-- 
Cheers,

Anja


More information about the Insight-users mailing list