3.66667

3.7 | 6 ratings Rate this file 24 Downloads (last 30 days) File Size: 1002 Bytes File ID: #5229

Gaussian Curvature

by Ahmed Elnaggar

 

11 Jun 2004 (Updated 15 Jun 2004)

Given a surface of point cloud data (x,y,z), the output is a matrix containing gaussian curvature.

| Watch this File

File Information
Description

The input should be matrix containing points in (x,y,z). The output is the gaussian curvature at each point. The calculation is based on the first and second fundamental form. In order to calculate the k1 and k2, you need to use the first file 'mean curvature'.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
23 Jul 2004 Claude Gouédard

Matlab is teaching elementary school students
not to use loops !
From a teaching point of vue, again, I propose to modify your function in this way.

04 Mar 2005 lala conde

Thanks for your work.

22 Nov 2005 Daniel Claxton

Thankyou for this code. I was just thinking of writing it myself and was pleased to see someone had already done it. As for Claude's comment, I don't think he is being fair or constructive. So, with that said, I have done a bit of optimization and vectorized your code. It seems to be running about 65 times faster... I'll post it soon

06 Mar 2007 ali samer

its very good

04 Apr 2007 lin van

what is z standing for

11 Jun 2007 Dr R P GUPTA

Excellent

07 Mar 2008 S. D.

Poor loopy code...

10 Jun 2009 Atul Kumar

I am not able to run the code on point cloud data. Does x,y,z means three coordinates of the data or a meshgrid??

14 Dec 2010 Sokrates

I cannot understand how can we estimate the curvature without knowing how the topology between these points is (triangle mesh, connectivity etc). Any help?

Thanks

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gaussian curvature Ahmed Elnaggar 22 Oct 2008 07:23:30
mean curvature Ahmed Elnaggar 22 Oct 2008 07:23:30
first fundamental form Ahmed Elnaggar 22 Oct 2008 07:23:31
second Ahmed Elnaggar 22 Oct 2008 07:23:31
mean curvature Antti Niemistö 15 Jul 2009 14:41:50
first fundamental form Laura Shaw 10 Dec 2009 07:24:17

Contact us at files@mathworks.com