Euclid
Geometry Processing and Shape Analysis in C++
Segmentation

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...
 

Detailed Description

This package contains algorithms to segment 3D shapes into geometric meaningful parts.

Function Documentation

template<typename Mesh >
void Euclid::random_walk_segmentation ( const Mesh &  mesh,
const std::vector< unsigned > &  seeds,
std::vector< unsigned > &  segments 
)
Parameters
meshInput mesh.
seedsThe indices of seed faces.
segmentsThe 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.