<div>Hi Ella, </div><div><br></div>"<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; ">Now i was trying to use LabelImageToLabelMapFilter but i don't know how to create this LabelImage."</span><div>
<font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">To clear up any potential confusion, t</font><span class="Apple-style-span" style="font-family: arial, sans-serif; ">he LabelImage is a regular itkImage with the expectation that objects within the LabelImage are uniquely labeled. Correcting the typedef as Brad suggested should work since the output image of RelabelComponentImageFilter satisfies this expectation.</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font><br><div class="gmail_quote">On Mon, Mar 28, 2011 at 10:34 AM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im">On Mon, Mar 28, 2011 at 10:20 AM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello Ella,<div><br></div><div>After a quick read, I suggest the following:</div><div>
<br></div><div>typedef itk::LabelImageToLabelMapFilter< LabelImageType, LableMapType> I2Type;</div><div><br></div><div>hope this helps,</div><div>Brad</div></div></blockquote><div><br></div></div><div>Ella,</div><div>
<br>
We don't have any examples of the LabelImage classes here:</div><a href="http://www.itk.org/Wiki/ITK/Examples" target="_blank">http://www.itk.org/Wiki/ITK/Examples</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><a href="http://www.itk.org/Wiki/ITK/Examples" target="_blank"></a>As you figure these things out, if you could add simple examples it would be tremendously helpful!<br>
<br></div>
<div class="gmail_quote">Let me know if you have any trouble.</div><div class="gmail_quote"><br><font color="#888888"><div>David </div></font></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.html" target="_blank">http://www.kitware.com/products/protraining.html</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>