Absolute error of a homogeneous point (landmark).
More...
#include <HomogeneousPointError.hpp>
|
typedef Eigen::Matrix< double, 3, 3 > | information_t |
| The information matrix type (3x3). More...
|
|
typedef Eigen::Matrix< double, 3, 3 > | covariance_t |
| The covariance matrix type (same as information). More...
|
|
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
typedef::ceres::SizedCostFunction< 3, 4 > | base_t |
| The base class type. More...
|
|
Absolute error of a homogeneous point (landmark).
The covariance matrix type (same as information).
The information matrix type (3x3).
okvis::ceres::HomogeneousPointError::HomogeneousPointError |
( |
| ) |
|
okvis::ceres::HomogeneousPointError::HomogeneousPointError |
( |
const Eigen::Vector4d & |
measurement, |
|
|
const information_t & |
information |
|
) |
| |
Construct with measurement and information matrix.
- Parameters
-
[in] | measurement | The measurement. |
[in] | information | The information (weight) matrix. |
okvis::ceres::HomogeneousPointError::HomogeneousPointError |
( |
const Eigen::Vector4d & |
measurement, |
|
|
double |
variance |
|
) |
| |
Construct with measurement and variance.
- Parameters
-
[in] | measurement | The measurement. |
[in] | variance | The variance of the measurement, i.e. information_ has variance in its diagonal. |
virtual okvis::ceres::HomogeneousPointError::~HomogeneousPointError |
( |
| ) |
|
|
inlinevirtual |
const information_t& okvis::ceres::HomogeneousPointError::covariance |
( |
| ) |
const |
|
inline |
Get the covariance matrix.
- Returns
- The inverse information (covariance) matrix.
bool okvis::ceres::HomogeneousPointError::Evaluate |
( |
double const *const * |
parameters, |
|
|
double * |
residuals, |
|
|
double ** |
jacobians |
|
) |
| const |
|
virtual |
This evaluates the error term and additionally computes the Jacobians.
- Parameters
-
parameters | Pointer to the parameters (see ceres) |
residuals | Pointer to the residual vector (see ceres) |
jacobians | Pointer to the Jacobians (see ceres) |
- Returns
- success of th evaluation.
bool okvis::ceres::HomogeneousPointError::EvaluateWithMinimalJacobians |
( |
double const *const * |
parameters, |
|
|
double * |
residuals, |
|
|
double ** |
jacobians, |
|
|
double ** |
jacobiansMinimal |
|
) |
| const |
|
virtual |
EvaluateWithMinimalJacobians This evaluates the error term and additionally computes the Jacobians in the minimal internal representation.
- Parameters
-
parameters | Pointer to the parameters (see ceres) |
residuals | Pointer to the residual vector (see ceres) |
jacobians | Pointer to the Jacobians (see ceres) |
jacobiansMinimal | Pointer to the minimal Jacobians (equivalent to jacobians). |
- Returns
- Success of the evaluation.
Implements okvis::ceres::ErrorInterface.
const information_t& okvis::ceres::HomogeneousPointError::information |
( |
| ) |
const |
|
inline |
Get the information matrix.
- Returns
- The information (weight) matrix.
const Eigen::Vector4d& okvis::ceres::HomogeneousPointError::measurement |
( |
| ) |
const |
|
inline |
Get the measurement.
- Returns
- The measurement vector.
size_t okvis::ceres::HomogeneousPointError::parameterBlockDim |
( |
size_t |
parameterBlockId | ) |
const |
|
inlinevirtual |
Dimension of an individual parameter block.
- Parameters
-
[in] | parameterBlockId | ID of the parameter block of interest. |
- Returns
- The dimension.
Implements okvis::ceres::ErrorInterface.
size_t okvis::ceres::HomogeneousPointError::parameterBlocks |
( |
| ) |
const |
|
inlinevirtual |
size_t okvis::ceres::HomogeneousPointError::residualDim |
( |
| ) |
const |
|
inlinevirtual |
void okvis::ceres::HomogeneousPointError::setInformation |
( |
const information_t & |
information | ) |
|
Set the information.
- Parameters
-
[in] | information | The information (weight) matrix. |
void okvis::ceres::HomogeneousPointError::setMeasurement |
( |
const Eigen::Vector4d & |
measurement | ) |
|
|
inline |
Set the measurement.
- Parameters
-
[in] | measurement | The measurement. |
virtual std::string okvis::ceres::HomogeneousPointError::typeInfo |
( |
| ) |
const |
|
inlinevirtual |
information_t okvis::ceres::HomogeneousPointError::_squareRootInformation |
|
protected |
The 4x4 square root information matrix.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ::ceres::SizedCostFunction<3, 4> okvis::ceres::HomogeneousPointError::base_t |
covariance_t okvis::ceres::HomogeneousPointError::covariance_ |
|
protected |
The 4x4 covariance matrix.
The 4x4 information matrix.
const int okvis::ceres::HomogeneousPointError::kNumResiduals = 3 |
|
static |
Eigen::Vector4d okvis::ceres::HomogeneousPointError::measurement_ |
|
protected |
The documentation for this class was generated from the following files: