<div class="gmail_quote">On Mon, Nov 9, 2009 at 4:29 PM, sara shafaei <span dir="ltr"><<a href="mailto:sara_shafaei@yahoo.com">sara_shafaei@yahoo.com</a>></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;">
<table cellpadding="0" cellspacing="0" border="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hey Guys,<br><br>I am trying to extract curvatures from cloud points. I converted the cloud points to vtkpolydata format but vtkcurvatures didn't accept it, so I tried to use vtkTriangleFilter before vtkcurvature. it doesn't also accept vtkpolydata and vtkDelauny3D output. Any help would be appricited.<br>
<br>Thank you,<br>Sara <br></td></tr></tbody></table></blockquote><div><br>You need to create a mesh from the points before you can use the vtkCurvatures filter. This is typically not very easy to do. You may want to look at using some local information on the point cloud to estimate an indicator of the curvature - something like for each point:<br>
1) find all points in some specified radius<br>2) fit a plane through those points<br>3) compute the average distance of all the points in the radius to the plane<br><br>This will give you a reasonable sense if the point is on a flat surface or a non-flat surface.<br>
<br>Does this sound like a reasonable approach to anyone else? Should I make a vtkPointCloudCurvatureEstimation class?<br><br clear="all">Thanks,<br><br>David <br></div></div>