OKVIS
|
Provides functions for fitting a relative-pose model to a set of bearing-vector to point correspondences, using different algorithms (only central case). Used in a sample-consenus paradigm for rejecting outlier correspondences. More...
#include <FrameRelativePoseSacProblem.hpp>
Public Types | |
typedef CentralRelativePoseSacProblem | base_t |
Public Member Functions | |
FrameRelativePoseSacProblem (adapter_t &adapter, algorithm_t algorithm) | |
FrameRelativePoseSacProblem. More... | |
FrameRelativePoseSacProblem (adapter_t &adapter, algorithm_t algorithm, const std::vector< int > &indices) | |
FrameRelativePoseSacProblem. More... | |
virtual | ~FrameRelativePoseSacProblem () |
virtual void | getSelectedDistancesToModel (const model_t &model, const std::vector< int > &indices, std::vector< double > &scores) const |
Compute the distances of all samples whith respect to given model coefficients. More... | |
Protected Attributes | |
opengv::relative_pose::FrameRelativeAdapter & | adapterDerived_ |
The adapter holding the bearing, correspondences etc. More... | |
Provides functions for fitting a relative-pose model to a set of bearing-vector to point correspondences, using different algorithms (only central case). Used in a sample-consenus paradigm for rejecting outlier correspondences.
typedef CentralRelativePoseSacProblem opengv::sac_problems::relative_pose::FrameRelativePoseSacProblem::base_t |
|
inline |
[in] | adapter | Visitor holding bearing vector correspondences etc. |
[in] | algorithm | The algorithm we want to use. |
|
inline |
[in] | adapter | Visitor holding bearing vector correspondences etc. |
[in] | algorithm | The algorithm we want to use. |
[in] | indices | A vector of indices to be used from all available correspondences. |
|
inlinevirtual |
|
inlinevirtual |
Compute the distances of all samples whith respect to given model coefficients.
[in] | model | The coefficients of the model hypothesis. |
[in] | indices | The indices of the samples of which we compute distances. |
[out] | scores | The resulting distances of the selected samples. Low distances mean a good fit. |
|
protected |
The adapter holding the bearing, correspondences etc.