To replicate some of the results presented in the article Stable and efficient differential estimators on oriented point clouds (PDF), please follow these 3 steps.
This project requires CMake, a C++ compiler, and Python (with matplotlib).
The only other required dependency is CGAL.
On Linux (Ubuntu or Debian), run this command to install it on the system
sudo apt-get install libcgal-dev
On macOS:
brew install cgal
Other dependencies like Eigen, DGtal, Ponca and CLI11 are directly included as git submodules.
Clone this project, download submodules, and go to the figures
directory
git clone --recurse-submodules https://github.com/STORM-IRIT/algebraic-shape-operator.git
cd algebraic-shape-operator/figures
If you have already cloned the main project, git submodule update --init --recursive
will set the submodules properly.
Note that OpenMP is optional but highly adviced for better performances.
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j
build
', which is required for the next step.
The following scripts are provided to generate data used in several figures:
Results are generated as colored PLY files in a subfolder called results
.
Example:
cd scripts/fig2_geometric-features
./generate.sh
ls results/
Tested with
- Fedora 31
- cmake 3.17.4
- g++ 9.3.1
- Ubuntu 20.04
- cmake 3.16.3
- g++ 9.3.0
- macOS
- clang / Monterey
- clang / Big Sur