<div dir="ltr"><div class="gmail_default" style="font-size:small"><span style="font-family:verdana,sans-serif">After </span><font face="monospace, monospace">radius1.Fill(r);</font><font face="verdana, sans-serif"> add </font><font face="monospace, monospace">radius1[2]=0;</font></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 30, 2016 at 11:34 AM, Timothee Evain <span dir="ltr"><<a href="mailto:tevain@telecom-paristech.fr" target="_blank">tevain@telecom-paristech.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
A structuring element is just a neighborhood in ITK, so you could design any arbitrary shape.<br>
I link a previous post that was the same question :<br>
<a href="https://cmake.org/pipermail/insight-users/2015-July/052243.html" rel="noreferrer" target="_blank">https://cmake.org/pipermail/<wbr>insight-users/2015-July/<wbr>052243.html</a><br>
<br>
HTH,<br>
<br>
Tim<br>
<br>
----- Mail original -----<br>
De: "Filippo Brogi" <<a href="mailto:filippo.brogi@topic.nl">filippo.brogi@topic.nl</a>><br>
À: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
Envoyé: Vendredi 30 Septembre 2016 15:35:49<br>
Objet: Re: [ITK] [ITK-users] zoom 3d image.<br>
<div><div class="h5"><br>
Hello,<br>
I'm using a 3D ball. How can I avoid the dilation along dimension[2].<br>
<br>
StructuringElement3DType::<wbr>RadiusType radius1;<br>
radius1.Fill(r);<br>
StructuringElement3DType structuringElement =<br>
StructuringElement3DType::<wbr>Ball( radius1, true );<br>
mpEndoMaskDilater->SetKernel(<wbr>structuringElement);<br>
<br>
<br>
Could you suggest a different structuring element?<br>
Thanks<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/zoom-3d-image-tp37617p37621.html" rel="noreferrer" target="_blank">http://itk-users.7.n7.nabble.<wbr>com/zoom-3d-image-<wbr>tp37617p37621.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<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>
</div></div>______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
<div class="HOEnZb"><div class="h5">______________________________<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>
</div></div></blockquote></div><br></div>