|
| MultiNoncentralAbsolutePoseSacProblem (adapter_t &adapter, bool asCentral=false) |
| Constructor. More...
|
|
| MultiNoncentralAbsolutePoseSacProblem (adapter_t &adapter, const std::vector< std::vector< int > > &indices, bool asCentral=false) |
| Constructor. More...
|
|
virtual | ~MultiNoncentralAbsolutePoseSacProblem () |
|
virtual bool | computeModelCoefficients (const std::vector< std::vector< int > > &indices, model_t &outModel) const |
| See parent-class.
|
|
virtual void | getSelectedDistancesToModel (const model_t &model, const std::vector< std::vector< int > > &indices, std::vector< std::vector< double > > &scores) const |
| See parent-class.
|
|
virtual void | optimizeModelCoefficients (const std::vector< std::vector< int > > &inliers, const model_t &model, model_t &optimized_model) |
| See parent-class.
|
|
virtual std::vector< int > | getSampleSizes () const |
| See parent-class.
|
|
| MultiSampleConsensusProblem (bool randomSeed=true) |
| Contructor. More...
|
|
virtual | ~MultiSampleConsensusProblem () |
| Destructor.
|
|
virtual void | getSamples (int &iterations, std::vector< std::vector< int > > &samples) |
| Get samples for hypothesis generation. More...
|
|
virtual bool | isSampleGood (const std::vector< std::vector< int > > &sample) const |
| Check if a set of samples for model generation is degenerate. More...
|
|
std::shared_ptr< std::vector< std::vector< int > > > | getIndices () const |
| Get a pointer to the vector of multi-indices used. More...
|
|
void | drawIndexSample (std::vector< std::vector< int > > &sample) |
| Sub-function for getting samples for hypothesis generation. More...
|
|
virtual void | getDistancesToModel (const model_t &model_coefficients, std::vector< std::vector< double > > &distances) |
| Compute the distances of all samples which respect to given model coefficients. More...
|
|
virtual void | selectWithinDistance (const model_t &model_coefficients, const double threshold, std::vector< std::vector< int > > &inliers) |
| Select all the inlier samples whith respect to given model coefficients. More...
|
|
virtual int | countWithinDistance (const model_t &model_coefficients, const double threshold) |
| Count all the inlier samples whith respect to given model coefficients. More...
|
|
void | setIndices (const std::vector< std::vector< int > > &indices) |
| Set the indices_ variable (see member-description). More...
|
|
void | setUniformIndices (std::vector< int > N) |
| Use this method if you want to use all samples. More...
|
|
int | rnd () |
| Get a random number. More...
|
|
Provides functions for fitting an absolute-pose model to a set of bearing-vector to point correspondences, using different algorithms (central and non-central ones). Used in a sample-consenus paradigm for rejecting outlier correspondences.