<div><SPAN style="COLOR: black"><FONT size=3><FONT face="Times New Roman">Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 14.4pt"><SPAN style="COLOR: black"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 14.4pt"><SPAN style="COLOR: black"><FONT size=3><FONT face="Times New Roman">still waiting for an answer related to the "BinaryErodeImage" filter that applied to a 3D binary image produces an output identical to the input.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 14.4pt"><SPAN style="COLOR: black"><FONT size=3><FONT face="Times New Roman">Is there a way to overcome this problem?<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT
 face="Times New Roman" size=3>&nbsp;</FONT></o:p></div>  <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Thanks,</FONT></div>  <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Dan</FONT></div>  <div>  <div><BR>&nbsp;</div></div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Date: Wed, 12 Jul 2006 09:21:01 -0700 (PDT)<BR>From: Dan Rico &lt;dan_rico_to@yahoo.com&gt;<BR>Subject: BinaryErodeImageFilter<BR>To: insight-users@itk.org<BR><BR>  <DIV>Hi,</DIV>  <DIV>&nbsp;</DIV>  <DIV>while testing the output of the "itkBinaryErodeImageFilter" on a 3D binary images I found out that the output is identical to the input.</DIV>  <DIV>Does anyone have&nbsp;experienced similar problems with the erosion filter?</DIV>  <DIV>&nbsp;</DIV>  <DIV>The tests have been performed on version 2.4.1.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Sample code:</DIV> 
 <DIV>&nbsp;</DIV>typedef unsigned char CharPixelType;   <DIV>typedef itk::Image &lt;CharPixelType, 3&gt; Input3DImageType;</DIV>  <DIV>typedef itk::BinaryBallStructuringElement&lt;CharPixelType, 3&gt; StructuringElementType3D;</DIV>  <DIV>typedef itk::BinaryErodeImageFilter&lt;Input3DImageType, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Input3DImageType,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;StructuringElementType3D&gt; ErodeFilterTypeInt2Int3D;<BR></DIV>  <DIV>....</DIV>  <DIV>&nbsp;</DIV>  <DIV>inputBinaryVolume = readerBinary-&gt;GetOutput(); </DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;unsigned char TubeRadiusSE = 2;<BR>&nbsp;StructuringElementType3D structuringElement;<BR>&nbsp;structuringElement.SetRadius(TubeRadiusSE);<BR>&nbsp;structuringElement.CreateStructuringElement();</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;ErodeFilterTypeInt2Int3D::Pointer binaryErode =
 ErodeFilterTypeInt2Int3D::New();<BR>&nbsp;binaryErode-&gt;SetKernel(structuringElement);<BR>&nbsp;binaryErode-&gt;SetInput(inputBinaryVolume);<BR>&nbsp;binaryErode-&gt;SetErodeValue(1);<BR>&nbsp;binaryErode-&gt;Update();&nbsp;&nbsp;<BR></DIV>  <DIV>&nbsp;</DIV>  <DIV>Thanks,</DIV>  <DIV>Dan</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <div>  <HR SIZE=1>  Yahoo! Music Unlimited - Access over 1 million songs. <A href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Try it free.</A> </BLOCKQUOTE><BR><p>&#32;
                <hr size=1>Do you Yahoo!?<br> Next-gen email? Have it all with the <a href="http://us.rd.yahoo.com/evt=42241/*http://advision.webevents.yahoo.com/handraisers"> all-new Yahoo! Mail Beta.</a>