|
Euclid
Geometry Processing and Shape Analysis in C++
|
Shape segmentation. More...
| template<typename Mesh > | |
| void | Euclid::random_walk_segmentation (const Mesh &mesh, const std::vector< unsigned > &seeds, std::vector< unsigned > &segments) |
| Mesh segmentation using random walk. More... | |
This package contains algorithms to segment 3D shapes into geometric meaningful parts.
| void Euclid::random_walk_segmentation | ( | const Mesh & | mesh, |
| const std::vector< unsigned > & | seeds, | ||
| std::vector< unsigned > & | segments | ||
| ) |
| mesh | Input mesh. |
| seeds | The indices of seed faces. |
| segments | The output segments for each face. |
Reference
Lai Y K, Hu S M, Martin R R, et al. Rapid and effective segmentation of 3D models using random walks[J]. Computer Aided Geometric Design, 2009, 26(6): 665-679.