Classes | Public Member Functions | Public Attributes | Private Types
vcg::RansacFramework< MeshType, FeatureSetType > Class Template Reference

#include <ransac_matching.h>

List of all members.

Classes

class  Candidate
class  Param

Public Member Functions

void DumpInlier (MeshType &m, Candidate &c, Param &pp)
void EvaluateFeature (int testSize, const char *filename, Param &pp)
void EvaluateMatrix (Candidate &c, Param &pp)
 EvaluateMatrix.
bool FindPermutation (int d01, int d02, int d12, int m01, int m02, int m12, int nm[], Param &pp)
Matrix44f GenerateMatchingMatrix (Candidate &c, Param pp)
void Init (MeshType &fixM, MeshType &movM, Param &pp, FeatureParam &fpp)
void Process_SearchEvaluateTriple (vector< Candidate > &cVec, Param &pp)

Public Attributes

KdTree< ScalarType > * consensusTree
std::vector< Point3ffixConsensusVec
FeatureSetType FS
std::vector< Point3fmovConsensusVec

Private Types

typedef MeshType::BoxType BoxType
typedef MeshType::CoordType CoordType
typedef MeshType::EdgeIterator EdgeIterator
typedef MeshType::EdgeType EdgeType
typedef MeshType::FaceContainer FaceContainer
typedef MeshType::FaceIterator FaceIterator
typedef MeshType::FacePointer FacePointer
typedef MeshType::FaceType FaceType
typedef FeatureSetType::Param FeatureParam
typedef FeatureSetType::FeatureType FeatureType
typedef Matrix44< ScalarTypeMatrix44Type
typedef MeshType::ScalarType ScalarType
typedef MeshType::VertexIterator VertexIterator
typedef MeshType::VertexPointer VertexPointer
typedef MeshType::VertexType VertexType

Detailed Description

template<class MeshType, class FeatureSetType>
class vcg::RansacFramework< MeshType, FeatureSetType >

Ransac Framework

A ransac framework for mesh-mesh rough alignment. Templated on the featureSet

A feature set must expose

The framework, given two meshes (fix and mov), will search for a triplet of matching features that brings mov onto fix.

Validity of a transformation is checked by mean of two poisson disk sampling of the input meshes.

Definition at line 240 of file ransac_matching.h.


Member Typedef Documentation

template<class MeshType, class FeatureSetType>
typedef MeshType::BoxType vcg::RansacFramework< MeshType, FeatureSetType >::BoxType [private]

Definition at line 246 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::CoordType vcg::RansacFramework< MeshType, FeatureSetType >::CoordType [private]

Definition at line 245 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::EdgeIterator vcg::RansacFramework< MeshType, FeatureSetType >::EdgeIterator [private]

Definition at line 252 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::EdgeType vcg::RansacFramework< MeshType, FeatureSetType >::EdgeType [private]

Definition at line 251 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::FaceContainer vcg::RansacFramework< MeshType, FeatureSetType >::FaceContainer [private]

Definition at line 256 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::FaceIterator vcg::RansacFramework< MeshType, FeatureSetType >::FaceIterator [private]

Definition at line 255 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::FacePointer vcg::RansacFramework< MeshType, FeatureSetType >::FacePointer [private]

Definition at line 254 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::FaceType vcg::RansacFramework< MeshType, FeatureSetType >::FaceType [private]

Definition at line 253 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef FeatureSetType::Param vcg::RansacFramework< MeshType, FeatureSetType >::FeatureParam [private]

Definition at line 243 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef FeatureSetType::FeatureType vcg::RansacFramework< MeshType, FeatureSetType >::FeatureType [private]

Definition at line 242 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef Matrix44<ScalarType> vcg::RansacFramework< MeshType, FeatureSetType >::Matrix44Type [private]

Definition at line 257 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::ScalarType vcg::RansacFramework< MeshType, FeatureSetType >::ScalarType [private]

Definition at line 247 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::VertexIterator vcg::RansacFramework< MeshType, FeatureSetType >::VertexIterator [private]

Definition at line 250 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::VertexPointer vcg::RansacFramework< MeshType, FeatureSetType >::VertexPointer [private]

Definition at line 249 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
typedef MeshType::VertexType vcg::RansacFramework< MeshType, FeatureSetType >::VertexType [private]

Definition at line 248 of file ransac_matching.h.


Member Function Documentation

template<class MeshType, class FeatureSetType>
void vcg::RansacFramework< MeshType, FeatureSetType >::DumpInlier ( MeshType &  m,
Candidate c,
Param pp 
) [inline]

Definition at line 542 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
void vcg::RansacFramework< MeshType, FeatureSetType >::EvaluateFeature ( int  testSize,
const char *  filename,
Param pp 
) [inline]

Definition at line 359 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
void vcg::RansacFramework< MeshType, FeatureSetType >::EvaluateMatrix ( Candidate c,
Param pp 
) [inline]

EvaluateMatrix.

Parameters:
c
ppEvaluate the matrix resulting from a candidate. Done using the poisson sampling using only evalSize samples

Definition at line 512 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
bool vcg::RansacFramework< MeshType, FeatureSetType >::FindPermutation ( int  d01,
int  d02,
int  d12,
int  m01,
int  m02,
int  m12,
int  nm[],
Param pp 
) [inline]

Definition at line 317 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
Matrix44f vcg::RansacFramework< MeshType, FeatureSetType >::GenerateMatchingMatrix ( Candidate c,
Param  pp 
) [inline]

Definition at line 560 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
void vcg::RansacFramework< MeshType, FeatureSetType >::Init ( MeshType &  fixM,
MeshType &  movM,
Param pp,
FeatureParam fpp 
) [inline]

Definition at line 590 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
void vcg::RansacFramework< MeshType, FeatureSetType >::Process_SearchEvaluateTriple ( vector< Candidate > &  cVec,
Param pp 
) [inline]

Definition at line 396 of file ransac_matching.h.


Member Data Documentation

template<class MeshType, class FeatureSetType>
KdTree<ScalarType>* vcg::RansacFramework< MeshType, FeatureSetType >::consensusTree

Definition at line 310 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
std::vector<Point3f> vcg::RansacFramework< MeshType, FeatureSetType >::fixConsensusVec

Definition at line 309 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
FeatureSetType vcg::RansacFramework< MeshType, FeatureSetType >::FS

Definition at line 308 of file ransac_matching.h.

template<class MeshType, class FeatureSetType>
std::vector<Point3f> vcg::RansacFramework< MeshType, FeatureSetType >::movConsensusVec

Definition at line 309 of file ransac_matching.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:20