Hi Miriam, <div><br><div>Try PushLabelObject instead. You probably </div><div>already have an object with the same label</div><div>in your labelmap making the addLabelObject</div><div>fail. You might find the following emails useful </div>
<div><br></div><div><a href="http://www.itk.org/pipermail/insight-users/2012-February/043953.html">http://www.itk.org/pipermail/insight-users/2012-February/043953.html</a></div><div><br></div><div>Cheers, </div><div>Cagatay<br>
<br><div class="gmail_quote">On Wed, Jul 25, 2012 at 9:27 AM, Miriam Pini <span dir="ltr">&lt;<a href="mailto:miriam3333@hotmail.it" target="_blank">miriam3333@hotmail.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
Hi guys,<br><br>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&#39;t work.<br><br>
<br>thank you in advance,<br><br>Miriam <br>                                               </div></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div></div>