<div dir="ltr"><div><div>Hi Abdelkhalek,<br></div>examples exist both for binary [1] or grayscale [2] images. As ITK filters are templated over the input image, the examples are still valid for N-D images making the appropriate dimensionality change for the image type.<br><br></div><div>HTH,<br></div>JON HAITZ<br><br>[1] <a href="https://itk.org/ITKExamples/src/Filtering/BinaryMathematicalMorphology/index.html">https://itk.org/ITKExamples/src/Filtering/BinaryMathematicalMorphology/index.html</a><br>[2] <a href="https://itk.org/ITKExamples/src/Filtering/MathematicalMorphology/index.html">https://itk.org/ITKExamples/src/Filtering/MathematicalMorphology/index.html</a><br><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><table style="color:rgb(0,0,0);font-family:"times new roman";font-size:medium" cellspacing="0" cellpadding="0" border="0" align="center"><tbody><tr><td></td></tr></tbody></table><pre style="color:rgb(0,0,0);white-space:pre-wrap">--<br><br></pre><div><div dir="ltr"></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 11 March 2017 at 12:12, Abdelkhalek Bakkari <span dir="ltr"><<a href="mailto:bakkari.abdelkhalek@hotmail.fr" target="_blank">bakkari.abdelkhalek@hotmail.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_4786338817678571059divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:"times new roman",times,serif" dir="ltr">
<p>Dear Insight users,</p>
<p><br>
</p>
<p>Is there any code example of Erosion the largest region in a 3D image, please ?</p>
<p><br>
</p>
<p>Thank you in advance.</p>
<p><br>
</p>
<p>Kind regards,</p>
<p><br>
</p>
<div id="gmail-m_4786338817678571059Signature"><font size="3" face="Garamond">Abdelkhalek Bakkari</font>
<div><span style="line-height:14px"><font size="3" face="Garamond">Ph.D candidate in Computer Science</font></span></div>
<div><span style="line-height:20.8267px;background-color:rgb(255,255,255)"><font size="3" face="Garamond">Institute of Applied Computer Science</font></span></div>
<div><span style="line-height:18.4px"><font size="3" face="Garamond">Lodz University of Technology, Poland</font></span></div>
<div><span style="line-height:18.4px"><font size="3" face="Garamond"><br>
</font></span></div>
<div><br>
</div>
</div>
</div>
</div>
<br>______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div></div>