[vtkusers] extract curvatures from cloud points

David Doria daviddoria+vtk at gmail.com
Mon Nov 9 16:45:38 EST 2009


On Mon, Nov 9, 2009 at 4:29 PM, sara shafaei <sara_shafaei at yahoo.com> wrote:

> Hey Guys,
>
> 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.
>
> Thank you,
> Sara
>

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:
1) find all points in some specified radius
2) fit a plane through those points
3) compute the average distance of all the points in the radius to the plane

This will give you a reasonable sense if the point is on a flat surface or a
non-flat surface.

Does this sound like a reasonable approach to anyone else? Should I make a
vtkPointCloudCurvatureEstimation class?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091109/daa1a169/attachment.htm>


More information about the vtkusers mailing list