[Insight-users] Label Map
Miriam Pini
miriam3333 at hotmail.it
Wed Jul 25 14:03:32 EDT 2012
Sounds great!!
Thank you so much for your help,
Miriam
Date: Wed, 25 Jul 2012 11:00:37 -0700
Subject: Re: [Insight-users] Label Map
From: bilgincc at gmail.com
To: miriam3333 at hotmail.it
CC: insight-users at itk.org
You can use the MergeLabelMapFilter. The following example should illustrate the usage http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/MergeLabelMapFilter
You can also create a new labelmap and add your objects using the PushLabelObjectmethod as well. The choice is yours :)
Cagatay
On Wed, Jul 25, 2012 at 10:40 AM, Miriam Pini <miriam3333 at hotmail.it> wrote:
Hi Cagatay,
that's perfect thank you. Sorry, one more question: how can I put together 2 different Label Maps? Do I have to use a for loop adding every single label or does exist a particular function?
Many thanks again,
Miriam
Date: Wed, 25 Jul 2012 10:03:50 -0700
Subject: Re: [Insight-users] Label Map
From: bilgincc at gmail.com
To: miriam3333 at hotmail.it
CC: insight-users at itk.org
Hi Miriam,
Try PushLabelObject instead. You probably already have an object with the same labelin your labelmap making the addLabelObjectfail. You might find the following emails useful
http://www.itk.org/pipermail/insight-users/2012-February/043953.html
Cheers,
Cagatay
On Wed, Jul 25, 2012 at 9:27 AM, Miriam Pini <miriam3333 at hotmail.it> wrote:
Hi guys,
Has anybody an idea of a way to add a new Label Object to a Label Map obtained as output of the BinaryImageToShapeLabelMapFilter? I tried using the function AddLabelObject, but it doesn't work.
thank you in advance,
Miriam
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120725/e9b61df5/attachment.htm>
More information about the Insight-users
mailing list