GithubHelp home page GithubHelp logo

peterzs / ariadne_code Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sshanshans/ariadne_code

0.0 0.0 0.0 2.24 MB

a robustly implemented Algorithm for Dirichlet energy of the normal

License: GNU General Public License v3.0

MATLAB 98.36% M 1.64%

ariadne_code's Introduction

ariaDNE: a robustly implemented algorithm for Dirichlet Energy of the Normal

DOI

teaser

DNE background: Dirichlet Normal Energy (DNE) quantifies local curvature in 3D surfaces; a discretized version for 3D meshes is effective for biological studies of morphological surfaces. For a continuous 2D manifold embedded in 3D, DNE is defined by,

continuous

where K1, K2 are the principal curvatures. The discrete version is defined by suming local curvature of each vertex across a surface mesh, weighted by the area distributed to that vertex,

discrete

Unlike other shape metrics, DNE is landmark-free and independent of the surface’s initial position, orientation and scale. However, recent studies found that the currently published implementation of DNE is sensitive to various surface preparation procedures, raising concerns regarding comparability and objectivity of utilizing DNE in morphological research. This package provides a robustly implemented algorithm for DNE (ariaDNE).

ariaDNE algorithm: We leverage the observation that local curvature can be stably estimated via a weighted PCA approach. The procedure is outlined as follows:

  1. Apply a weighted PCA localized around the query point by means of the Gaussian kernel fucntion.
  2. Find the principal component that is cloest to the vertex normal, and estimate the local curvature by its principal score curvature
  3. Summing the local curvature across the mesh and obtain the glocal DNE.

For the exact procedure, see this document (pdf).

Code: The function 'ariaDNE.m' computes ariaDNE of a mesh surface.

Demos: This package includes a demo for computing ariaDNE on a 3D mesh representing a second mandibular tooth from Callicebus. Download the package and run example.m in Matlab.

Compatibility and dependencies:

  • Developed and tested with Matlab 2017b on Mac and Linux.

Disclaimer: The code is for acadmic use only. Please contact the author Shan Shan for any questions or bugs.

License: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

ariadne_code's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.