Euclid
Geometry Processing and Shape Analysis in C++
|
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... | |
View selection methods try to find a proper viewpoint to observe the shape.
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.
mesh | The target mesh model. |
view_sphere | The viewing sphere. |
view_scores | The corresponding view scores. |
weight | The 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.
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.
mesh | The target mesh model. |
view_sphere | The viewing sphere. |
view_scores | The 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.