Hi Sila,<br><br>What kind of curvature are you looking for ?<br><br>Is it the Gauss curvature of an Iso-surface of intensity ?<br><br>Is your input image an image of grayscale values ?<br><br>--<br><br>You will find methods for computing curvature in the file:<br>
<br>    Insight/Code/Common/itkLevelSetFunction.txx<br><br>In:<br><ul><li>ComputeMinimalCurvature() line 55, and</li><li>ComputeMeanCurvature() line 160.</li></ul><br>Regards,<br><br><br>      Luis<br><br><br>-------------------------------------------------<br>
<div class="gmail_quote">On Fri, Aug 14, 2009 at 8:21 AM, Sıla Girgin <span dir="ltr">&lt;<a href="mailto:silagirgin@gmail.com">silagirgin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I am trying to calculate curvature value for each pixel in an image. <br>I could not find a function in ITK.<br>I used RecursiveGaussianImageFilter to find first and second derivatives. Then I put them in to this formula<br>

<br>k = (x&#39;y&#39;&#39; - y&#39;x&#39;&#39;) / (x&#39;2 + y&#39;2)3/2<br><br>but, results are not good.. <br>Do you have a function to calculate curvature by using ITK functions?<br>Or do you have any suggestion?<br><br>

Thanks <br><br>Sila Girgin<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-developers" target="_blank">http://www.itk.org/mailman/listinfo/insight-developers</a><br>
<br></blockquote></div><br>