<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>[Insight-users] ITK release 2.2 : CVS Code Freeze August 15th</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText78483 dir=ltr>
<DIV dir=ltr><FONT face=Arial size=2>Dear ITK users/developers:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Can anyone explain how to repeatedly dilate
a binary image a fixed number of times? </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>If I set </FONT></DIV>
<DIV dir=ltr> BinImageType::Pointer bim=BinImageType::New();</DIV>
<DIV dir=ltr> Dilate::Pointer dilater = Dilate::New();</DIV>
<DIV dir=ltr>...</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>bim = dilater->GetOuptut();</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>dilater->SetInput(bim);</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>writer->SetInput(bim);</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>for (i=0;i<5;i++){</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>
writer->Update();</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>}</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>that doesn't work , at least I get a blank
image (I didn't think it would...) However I can't see how to get the output of
a filter into its own input? </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV></DIV>
</BODY>
</HTML>