Functions for fitting a rotation-only model to a set of bearing-vector correspondences (using twopt_rotationOnly). The viewpoints are assumed to be separated by rotation only. Used within a random-sample paradigm for rejecting outlier correspondences.
More...
#include <FrameRotationOnlySacProblem.hpp>
|
typedef RotationOnlySacProblem | base_t |
|
Functions for fitting a rotation-only model to a set of bearing-vector correspondences (using twopt_rotationOnly). The viewpoints are assumed to be separated by rotation only. Used within a random-sample paradigm for rejecting outlier correspondences.
opengv::sac_problems::relative_pose::FrameRotationOnlySacProblem::FrameRotationOnlySacProblem |
( |
adapter_t & |
adapter | ) |
|
|
inline |
Constructor.
- Parameters
-
[in] | adapter | Visitor holding bearing vector correspondences etc. |
- Warning
- Only okvis::relative_pose::FrameRelativeAdapter supported.
opengv::sac_problems::relative_pose::FrameRotationOnlySacProblem::FrameRotationOnlySacProblem |
( |
adapter_t & |
adapter, |
|
|
const std::vector< int > & |
indices |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | adapter | Visitor holding bearing vector correspondences etc. |
[in] | indices | A vector of indices to be used from all available correspondences. |
- Warning
- Only okvis::relative_pose::FrameRelativeAdapter supported.
virtual opengv::sac_problems::relative_pose::FrameRotationOnlySacProblem::~FrameRotationOnlySacProblem |
( |
| ) |
|
|
inlinevirtual |
virtual void opengv::sac_problems::relative_pose::FrameRotationOnlySacProblem::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: