Euclid
Geometry Processing and Shape Analysis in C++
View Selection

View selection. More...

Classes

class  Euclid::ViewSphere< Mesh >
 View sphere around a mesh. More...
 
template<typename Mesh , typename T >
void Euclid::proxy_view (const Mesh &mesh, const ViewSphere< Mesh > &view_sphere, std::vector< T > &view_scores, float weight=0.5f)
 View selection using proxy information. More...
 
template<typename Mesh , typename T >
void Euclid::view_entropy (const Mesh &mesh, const ViewSphere< Mesh > &view_sphere, std::vector< T > &view_scores)
 View selection using view entropy. More...
 

Detailed Description

View selection methods try to find a proper viewpoint to observe the shape.

Function Documentation

template<typename Mesh , typename T >
void Euclid::proxy_view ( const Mesh &  mesh,
const ViewSphere< Mesh > &  view_sphere,
std::vector< T > &  view_scores,
float  weight = 0.5f 
)

Using the object oriented bounding box as proxies to measure view saliency and interpolate results to other view samples, which is very fast.

Parameters
meshThe target mesh model.
view_sphereThe viewing sphere.
view_scoresThe corresponding view scores.
weightThe weighting of the projected area term, (1 - weight) is the weighting for the visible ratio term.

Reference

Gao T, Wang W, Han H. Efficient view selection by measuring proxy information[J]. Computer Animation and Virtual Worlds, 2016, 27(3-4): 351-357.

template<typename Mesh , typename T >
void Euclid::view_entropy ( const Mesh &  mesh,
const ViewSphere< Mesh > &  view_sphere,
std::vector< T > &  view_scores 
)

View entropy uses the solid angle of each face as the probability of its visibility and computes entropy based on it. It encourages all faces to have the same projected area.

Parameters
meshThe target mesh model.
view_sphereThe viewing sphere.
view_scoresThe corresponding view scores.

Reference

Vazquez P, Feixas M, Sbert M, and Heidrich W. Viewpoint Selection using View Entropy. Proceedings of the Vision Modeling and Visualization Conference 2001.