brain-slam / slam

Surface anaLysis And Modeling
MIT License
13 stars 24 forks source link

1. c. Reproduce the matlab results : curvature #102

Closed alexpron closed 1 year ago

alexpron commented 1 year ago

In the matlab code, the Gauss-Bonnet scheme to estimate the curvature is used. It is a simplification of the formula found on page 3 for H http://kowon.dongseo.ac.kr/~lbg/web_lecture/grapprog/20122/cag2002.pdf

In the spangy paper of 2012 we used the method by Desbrun, Implicit fairing of irregular meshes using diffusion and curvature flow, 1999

GerardMJuan commented 1 year ago

The curvature results are not identical with the SLAM implemented method () and the SPANGY implemented method in matlab. When calculating the differences across the two curvatures, we find small differences:

Image Image

Histogram of differences:

Image

Mean diff 0.1895964980154496 Median diff 0.15392203522372663 Max 3.9165127822562016 Min 0.0004220763468907587

It also affects the spectrum results (see next issue)