GithubHelp home page GithubHelp logo

peterzhousz / correctednormalcurrent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dcoeurjo/correctednormalcurrent

0.0 0.0 0.0 11.83 MB

Interpolated corrected curvature measures for polygonal surfaces

CMake 0.64% C++ 99.36%

correctednormalcurrent's Introduction

Interpolated corrected curvature measures for polygonal surfaces

This repository is a demo of the paper:

Interpolated corrected curvature measures for polygonal surfaces, Jacques-Olivier Lachaud, Pascal Romon, Boris Thibert, David Coeurjolly, Symposium on Geometry Processing, Computer Graphics Forum, 2020.

@article{cnc2020,
  author  =    {Jacques-Olivier Lachaud, Pascal Romon, Boris Thibert and David
Coeurjolly},
  title   =    {Interpolated corrected curvature measures for polygonal surfaces},
  journal =    {Computer Graphics Forum (Proceedings of Symposium on Geometry Processing 2020)},
  year    =    {2020},
  volume  =    {39},
  number  =    {5},
}

In this project, we compare our stable curvature measure with existing approaches (Normal Cycles, Rusinkiewicz's formula, polynomial fitting via Jet Fitting). Our closed form formulas are given in the CorrectedNormalCurrentFormula.h file. We rely on CGAL for the Monge form via Jet Fitting approach. This project also relies on the DGtal library for basic linear algebra. The project heavily uses polyscope for the visualization and UI.

If you would like to include our CNC estimators in your project, you would just need to copy the CorrectedNormalCurrentFormula.h header and provide your own RealVector and 3x3 matrix operation implementations.

As an example, we also provide a stand-alone implementation (BSD License 2.0) of some formulas using eigen in CorrectedNormalCurrentFormulaEigen.h.

To use this project, just clone it (with submodule):

git clone --recursive https://github.com/dcoeurjo/CorrectedNormalCurrent.git

Then you can compile the example file using:

mkdir build
cd build
cmake ..  -DCMAKE_BUILD_TYPE=Release
make

Note: to compile DGtal, you would need boost (only headers) and zlib.

Once the code has been built, just run simpleTest on a triangulated OBJ file:

simpleTest ../spot.obj

Authors

License

GNU LGPL (see header files)

correctednormalcurrent's People

Contributors

dcoeurjo avatar jacquesolivierlachaud avatar

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.