<br>Hi Paul,<br><br>Nope, ITK does not have an implementation of this filter.<br><br>Note that this is not really a median filter, it is rather a <br>selective mean filter.<br><br>You may want to try the traditional Median filter, which has 
<br>already some edge preserving properties.<br><br><br>You will also find a list of edge-preserving smoothing filters<br>in the ITK Software Guide:<br><br>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.itk.org/ItkSoftwareGuide.pdf">http://www.itk.org/ItkSoftwareGuide.pdf
</a><br><br>In section 6.7.3, &quot;Edge Preserving Smoothing&quot; in pdf-page 226.<br><br><br>If you really want to implement the kuwahara filter, it may be <br>easy to put together a couple of ITK filters in a mini-pipeline 
<br>to achieve a similar effect. <br><br>The only tricky part of the code will be to visit the means of <br>the quadrants, since it will require to set the list of neighbors<br>of a Neighborhood iterator.<br><br>Please let us know if you want to implement the filter and
<br>would like to have details or suggestions on how to do it.<br><br><br>&nbsp;&nbsp; Regards,<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luis<br><br><br><br>-------------------------------------------------------------------------------------<br><div><span class="gmail_quote">
On 4/2/07, <b class="gmail_sendername">Paul M. Wallace</b> &lt;<a href="mailto:pwallace@janscientific.com">pwallace@janscientific.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All:<br><br>Is there an implementation (or alternative) for the Kuwahara edge<br>preserving median filter in the itk toolkit?<br><br>Filter as implemented in ImageJ:<br><a href="http://rsb.info.nih.gov/ij/plugins/kuwahara.html">
http://rsb.info.nih.gov/ij/plugins/kuwahara.html</a><br><br>-Paul<br><br>--<br>JAN Scientific, Inc.<br>123 NW 36th St., Ste 235<br>Seattle, WA 98107<br>206.632.1814<br><br>_______________________________________________<br>
Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></blockquote>
</div><br>