<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><p>&#32;
                <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>