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.
More...
#include <FrameAbsolutePoseSacProblem.hpp>
|
typedef AbsolutePoseSacProblem | base_t |
|
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.
opengv::sac_problems::absolute_pose::FrameAbsolutePoseSacProblem::FrameAbsolutePoseSacProblem |
( |
adapter_t & |
adapter, |
|
|
algorithm_t |
algorithm |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | adapter | Visitor holding bearing vectors, world points, etc. |
[in] | algorithm | The algorithm we want to use. |
- Warning
- Only okvis::absolute_pose::FrameNoncentralAbsoluteAdapter supported.
opengv::sac_problems::absolute_pose::FrameAbsolutePoseSacProblem::FrameAbsolutePoseSacProblem |
( |
adapter_t & |
adapter, |
|
|
algorithm_t |
algorithm, |
|
|
const std::vector< int > & |
indices |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | adapter | Visitor holding bearing vectors, world points, etc. |
[in] | algorithm | The algorithm we want to use. |
[in] | indices | A vector of indices to be used from all available correspondences. |
- Warning
- Only okvis::absolute_pose::FrameNoncentralAbsoluteAdapter supported.
virtual opengv::sac_problems::absolute_pose::FrameAbsolutePoseSacProblem::~FrameAbsolutePoseSacProblem |
( |
| ) |
|
|
inlinevirtual |
virtual void opengv::sac_problems::absolute_pose::FrameAbsolutePoseSacProblem::getSelectedDistancesToModel |
( |
const model_t & |
model, |
|
|
const std::vector< int > & |
indices, |
|
|
std::vector< double > & |
scores |
|
) |
| const |
|
inlinevirtual |
Compute the distances of all samples whith respect to given model coefficients.
- Parameters
-
[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. |
The adapter holding the bearing, correspondences etc.
The documentation for this class was generated from the following file: