<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Dear all:<br><br>Anyone successfully used the itkBinaryPruningImageFilter? I searched the Insight-users but no solution about it.<br><br>My codes:<br><br>&nbsp; //Pruning the thinning image<br>&nbsp; typedef itk::BinaryPruningImageFilter&lt;ReaderImageType, ReaderImageType&gt; BinaryPruningImageFilterType;<br>&nbsp; BinaryPruningImageFilterType::Pointer binaryPruningFilter = BinaryPruningImageFilterType::New();<br>&nbsp; binaryPruningFilter-&gt;SetInput(binaryThinningFilter-&gt;GetOutput());<br>&nbsp; binaryPruningFilter-&gt;SetIteration(10);<br>&nbsp; binaryPruningFilter-&gt;Update();<br>&nbsp; binaryPruningFilter-&gt;Print(std::cout, 0);<br><br>imageWriter-&gt;SetInput(binaryPruningFilter-&gt;GetPruning());<br><br>My thinning image is a binary image (background = 0, thinning skeleton = 255).<br>But I didn't get any changes after put the thinning image through the pruning filter.<br><br>Did I understand wrongly to using the filter?<br><br>Thanks,<br><br>Di<br>                                               </body>
</html>