This repository contains the source code for rough extrema estimation given a source human body point cloud/mesh. The following project is coded in C#/C++ and the build is facilitated using CMake.
To use this repository a version of Visual Studio (2019 and earlier), happly.h header, Point Cloud Library (PCL), and reference point clouds are required.
Requirements | Download |
---|---|
Visual Studio 2019 | https://visualstudio.microsoft.com/vs/older-downloads/ |
happly.h | https://github.com/nmwsharp/happly |
CMake | https://cmake.org/download/ |
Point Cloud Library | https://pointclouds.org/downloads/ |
Point Clouds | N/A |
Note: Before using custom meshes, the number of vertices must be declared in the #define Vtx line in mesh_shortest_path.cpp. To find the number of vertices of your desired mesh you can open the .PLY file in VS Code and the number can be seen at the top.
Additionally, be sure to replace the PLY and PCL reader lines with your desired mesh/point cloud's file location. Ex:
Lastly, when converting your desired PointCloud into a mesh be sure to alter the greedy triangulation values, as these vary pointcloud-to-pointcloud. For context, the exemplar implementation and an explanation of what each value means can be found here: https://pcl.readthedocs.io/projects/tutorials/en/latest/greedy_projection.html