That information is lost during the merge. <div>If you want to separate your labelmap into</div><div>several other labelmaps, you need to do that </div><div>manually by iterating on your label objects, </div><div>and adding them to the appropriate new labelmaps. <br>
<br>Cagatay</div><div><br><div class="gmail_quote">On Wed, Jul 11, 2012 at 5:46 PM, Xiaopeng Yang <span dir="ltr">&lt;<a href="mailto:yxp233@postech.ac.kr" target="_blank">yxp233@postech.ac.kr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Cagatay,<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thank you very much. That is what I need. Another question is after merging the label maps together, how to separate them again?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Xiaopeng<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Cagatay Bilgin [mailto:<a href="mailto:bilgincc@gmail.com" target="_blank">bilgincc@gmail.com</a>] <br>
<b>Sent:</b> Thursday, July 12, 2012 1:17 AM<br><b>To:</b> Xiaopeng Yang<br><b>Cc:</b> <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br><b>Subject:</b> Re: [Insight-users] How to create a label map from multiple binary images<u></u><u></u></span></p>
</div><div class="im"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi Xiaopeng, <u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">you can create a labelmap for each of the <u></u><u></u></p>
</div><div><p class="MsoNormal">binary images and use the MergeLabelMapFilter<u></u><u></u></p></div><div><p class="MsoNormal">to combine them all. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div>
</div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Cagatay<u></u><u></u></p><div><div class="im"><p class="MsoNormal">On Wed, Jul 11, 2012 at 7:47 AM, Xiaopeng Yang &lt;<a href="mailto:yxp233@postech.ac.kr" target="_blank">yxp233@postech.ac.kr</a>&gt; wrote:<u></u><u></u></p>
</div><div><div class="h5"><div><div><p class="MsoNormal">Dear All,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I have several binary images and would like to combine them into a label map. Do you know how to achieve this?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal">Xiaopeng<u></u><u></u></p></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br></p><div class="im">
_____________________________________<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><u></u><u></u></div>
<p></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></blockquote></div><br></div>