<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"> <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> </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> </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 <dan_rico_to@yahoo.com><BR>Subject: BinaryErodeImageFilter<BR>To: insight-users@itk.org<BR><BR> <DIV>Hi,</DIV> <DIV> </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 experienced similar problems with the erosion filter?</DIV> <DIV> </DIV> <DIV>The tests have been performed on version 2.4.1.</DIV> <DIV> </DIV> <DIV>Sample code:</DIV>
<DIV> </DIV>typedef unsigned char CharPixelType; <DIV>typedef itk::Image <CharPixelType, 3> Input3DImageType;</DIV> <DIV>typedef itk::BinaryBallStructuringElement<CharPixelType, 3> StructuringElementType3D;</DIV> <DIV>typedef itk::BinaryErodeImageFilter<Input3DImageType, <BR> Input3DImageType,<BR> StructuringElementType3D> ErodeFilterTypeInt2Int3D;<BR></DIV> <DIV>....</DIV> <DIV> </DIV> <DIV>inputBinaryVolume = readerBinary->GetOutput(); </DIV> <DIV> </DIV> <DIV> unsigned char TubeRadiusSE = 2;<BR> StructuringElementType3D structuringElement;<BR> structuringElement.SetRadius(TubeRadiusSE);<BR> structuringElement.CreateStructuringElement();</DIV> <DIV> </DIV> <DIV> ErodeFilterTypeInt2Int3D::Pointer binaryErode =
ErodeFilterTypeInt2Int3D::New();<BR> binaryErode->SetKernel(structuringElement);<BR> binaryErode->SetInput(inputBinaryVolume);<BR> binaryErode->SetErodeValue(1);<BR> binaryErode->Update(); <BR></DIV> <DIV> </DIV> <DIV>Thanks,</DIV> <DIV>Dan</DIV> <DIV> </DIV> <DIV> </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> 
                <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>