39 #ifndef INCLUDE_OKVIS_CERES_HOMOGENEOUSPOINTLOCALPARAMETERIZATION_HPP_
40 #define INCLUDE_OKVIS_CERES_HOMOGENEOUSPOINTLOCALPARAMETERIZATION_HPP_
42 #include "ceres/ceres.h"
54 public ::ceres::LocalParameterization,
71 virtual bool Plus(
const double* x,
const double* delta,
72 double* x_plus_delta)
const;
79 virtual bool Minus(
const double* x,
const double* x_plus_delta,
101 static bool plus(
const double* x,
const double* delta,
double* x_plus_delta);
106 static bool plusJacobian(
const double* x,
double* jacobian);
113 static bool minus(
const double* x,
const double* x_plus_delta,
double* delta);
119 static bool liftJacobian(
const double* x,
double* jacobian);
static bool minus(const double *x, const double *x_plus_delta, double *delta)
Computes the minimal difference between a variable x and a perturbed variable x_plus_delta.
Definition: HomogeneousPointLocalParameterization.cpp:86
virtual int LocalSize() const
The parameter block local dimension.
Definition: HomogeneousPointLocalParameterization.hpp:128
Provides some additional interfaces to ceres' LocalParamization than are needed in the generic margin...
Definition: LocalParamizationAdditionalInterfaces.hpp:52
Header file for the LocalParamizationAdditionalInterfaces class.
virtual bool Plus(const double *x, const double *delta, double *x_plus_delta) const
Generalization of the addition operation, x_plus_delta = Plus(x, delta) with the condition that Plus(...
Definition: HomogeneousPointLocalParameterization.cpp:50
virtual bool ComputeJacobian(const double *x, double *jacobian) const
The jacobian of Plus(x, delta) w.r.t delta at delta = 0.
Definition: HomogeneousPointLocalParameterization.cpp:102
Local parameterisation of a homogeneous point [x,y,z,w]^T. We use a Euclidean-type perturbation...
Definition: HomogeneousPointLocalParameterization.hpp:53
virtual bool ComputeLiftJacobian(const double *x, double *jacobian) const
Computes the Jacobian from minimal space to naively overparameterised space as used by ceres...
Definition: HomogeneousPointLocalParameterization.cpp:80
#define OKVIS_DEFINE_EXCEPTION(exceptionName, exceptionParent)
Macro for defining an exception with a given parent.
Definition: assert_macros.hpp:52
This file contains some useful assert macros.
static bool plusJacobian(const double *x, double *jacobian)
The jacobian of Plus(x, delta) w.r.t delta at delta = 0.
Definition: HomogeneousPointLocalParameterization.cpp:109
virtual bool Minus(const double *x, const double *x_plus_delta, double *delta) const
Computes the minimal difference between a variable x and a perturbed variable x_plus_delta.
Definition: HomogeneousPointLocalParameterization.cpp:74
static bool liftJacobian(const double *x, double *jacobian)
Computes the Jacobian from minimal space to naively overparameterised space as used by ceres...
Definition: HomogeneousPointLocalParameterization.cpp:122
static bool plus(const double *x, const double *delta, double *x_plus_delta)
Generalization of the addition operation, x_plus_delta = Plus(x, delta) with the condition that Plus(...
Definition: HomogeneousPointLocalParameterization.cpp:59
virtual int GlobalSize() const
The parameter block dimension.
Definition: HomogeneousPointLocalParameterization.hpp:122