[Insight-users] How to create a LabelMap or Label object

Anja Ende anja.ende at googlemail.com
Fri May 2 02:43:57 EDT 2008


Hi Xabi,

Thanks for the reply. However, is it not possible to create a label
simply based on the points. When the user delineates the object, I
usually have the connected points and it would be much more efficient
for me to use these points.

Cheers,
Anja

2008/5/1 Xabier Artaechevarria Artieda <xabiarta at unav.es>:
> Hi Anja,
>  Look at section 5.1 of the article. The easiest thing is to convert a label
> image or binary image (maybe this is your case) into a itk::LabelMap using
> itk::BinaryImageToLabelMapFilter or itk::LabelImageToLabelMapFilter.
>  Then, in your case, you will need to convert your image into a binary
> image.
>  And last, use the mentioned filter to convert it to a LabelMap.
>  Regards,
>  Xabi
>
>  --
>  Xabier Artaechevarria
>  Cancer Imaging Laboratory
>  Centre for Applied Medical Research
>  www.cima.es
>
>
>
>  Anja Ende <anja.ende at googlemail.com> ha escrito:
>
>
> >
> >
> >
> > Hi everyone,
> >
> > I had a question a few days back where I needed to perform some
> > statistics an irregular region of an image. Someone had pointed me to
> > the following submission:
> >
> >
> http://www.insight-journal.org/InsightJournalManager/view_reviews.php?back=index.php&pubid=176
> >
> > However, I am a bit confused on how to use it. So, if I understand
> > correctly, I need to create a LabelMap object.
> >
> > What I do have is the set of connected points (in image coordinates)
> > that make up my region and basically represents a closed 2D polygon or
> > surface. How can I use that information to create this LabelMap class?
> >
> > Any help would be really appreciated.
> >
> > Cheers,
> >
> > Anja
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
>
>
>
>  ----------------------------------------------------------------
>  Este mensaje ha sido enviado desde https://webmail.unav.es
>
>



-- 
Cheers,

Anja


More information about the Insight-users mailing list