#include <RadialTangentialDistortion8.hpp>
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | RadialTangentialDistortion8 () |
| The default constructor with all zero ki. More...
|
|
| RadialTangentialDistortion8 (double k1, double k2, double p1, double p2, double k3, double k4, double k5, double k6) |
| Constructor initialising ki. More...
|
|
|
bool | distort (const Eigen::Vector2d &pointUndistorted, Eigen::Vector2d *pointDistorted) const |
| Distortion only. More...
|
|
bool | distort (const Eigen::Vector2d &pointUndistorted, Eigen::Vector2d *pointDistorted, Eigen::Matrix2d *pointJacobian, Eigen::Matrix2Xd *parameterJacobian=NULL) const |
| Distortion and Jacobians. More...
|
|
bool | distortWithExternalParameters (const Eigen::Vector2d &pointUndistorted, const Eigen::VectorXd ¶meters, Eigen::Vector2d *pointDistorted, Eigen::Matrix2d *pointJacobian=NULL, Eigen::Matrix2Xd *parameterJacobian=NULL) const |
| Distortion and Jacobians using external distortion intrinsics parameters. More...
|
|
|
bool | undistort (const Eigen::Vector2d &pointDistorted, Eigen::Vector2d *pointUndistorted) const |
| Undistortion only. More...
|
|
bool | undistort (const Eigen::Vector2d &pointDistorted, Eigen::Vector2d *pointUndistorted, Eigen::Matrix2d *pointJacobian) const |
| Undistortion only. More...
|
|
virtual
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ~DistortionBase () |
| Destructor – not doing anything. More...
|
|
okvis::cameras::RadialTangentialDistortion8::RadialTangentialDistortion8 |
( |
| ) |
|
|
inline |
The default constructor with all zero ki.
okvis::cameras::RadialTangentialDistortion8::RadialTangentialDistortion8 |
( |
double |
k1, |
|
|
double |
k2, |
|
|
double |
p1, |
|
|
double |
p2, |
|
|
double |
k3, |
|
|
double |
k4, |
|
|
double |
k5, |
|
|
double |
k6 |
|
) |
| |
|
inline |
Constructor initialising ki.
- Parameters
-
[in] | k1 | radial parameter 1 |
[in] | k2 | radial parameter 2 |
[in] | p1 | tangential parameter 1 |
[in] | p2 | tangential parameter 2 |
[in] | k3 | radial parameter 3 |
[in] | k4 | radial parameter 4 |
[in] | k5 | radial parameter 5 |
[in] | k6 | radial parameter 6 |
static std::shared_ptr<DistortionBase> okvis::cameras::RadialTangentialDistortion8::createTestObject |
( |
| ) |
|
|
inlinestatic |
Unit test support – create a test distortion object.
bool okvis::cameras::RadialTangentialDistortion8::distort |
( |
const Eigen::Vector2d & |
pointUndistorted, |
|
|
Eigen::Vector2d * |
pointDistorted |
|
) |
| const |
|
inlinevirtual |
Distortion only.
- Parameters
-
[in] | pointUndistorted | The undistorted normalised (!) image point. |
[out] | pointDistorted | The distorted normalised (!) image point. |
- Returns
- True on success (no singularity)
Implements okvis::cameras::DistortionBase.
bool okvis::cameras::RadialTangentialDistortion8::distort |
( |
const Eigen::Vector2d & |
pointUndistorted, |
|
|
Eigen::Vector2d * |
pointDistorted, |
|
|
Eigen::Matrix2d * |
pointJacobian, |
|
|
Eigen::Matrix2Xd * |
parameterJacobian = NULL |
|
) |
| const |
|
inlinevirtual |
Distortion and Jacobians.
- Parameters
-
[in] | pointUndistorted | The undistorted normalised (!) image point. |
[out] | pointDistorted | The distorted normalised (!) image point. |
[out] | pointJacobian | The Jacobian w.r.t. changes on the image point. |
[out] | parameterJacobian | The Jacobian w.r.t. changes on the intrinsics vector. |
- Returns
- True on success (no singularity)
Implements okvis::cameras::DistortionBase.
bool okvis::cameras::RadialTangentialDistortion8::distortWithExternalParameters |
( |
const Eigen::Vector2d & |
pointUndistorted, |
|
|
const Eigen::VectorXd & |
parameters, |
|
|
Eigen::Vector2d * |
pointDistorted, |
|
|
Eigen::Matrix2d * |
pointJacobian = NULL , |
|
|
Eigen::Matrix2Xd * |
parameterJacobian = NULL |
|
) |
| const |
|
inlinevirtual |
Distortion and Jacobians using external distortion intrinsics parameters.
- Parameters
-
[in] | pointUndistorted | The undistorted normalised (!) image point. |
[in] | parameters | The distortion intrinsics vector. |
[out] | pointDistorted | The distorted normalised (!) image point. |
[out] | pointJacobian | The Jacobian w.r.t. changes on the image point. |
[out] | parameterJacobian | The Jacobian w.r.t. changes on the intrinsics vector. |
- Returns
- True on success (no singularity)
Implements okvis::cameras::DistortionBase.
bool okvis::cameras::RadialTangentialDistortion8::getParameters |
( |
Eigen::VectorXd & |
parameters | ) |
const |
|
inlinevirtual |
int okvis::cameras::RadialTangentialDistortion8::numDistortionIntrinsics |
( |
| ) |
const |
|
inlinevirtual |
bool okvis::cameras::RadialTangentialDistortion8::setParameters |
( |
const Eigen::VectorXd & |
parameters | ) |
|
|
inlinevirtual |
Unit test support – create a test distortion object.
std::string okvis::cameras::RadialTangentialDistortion8::type |
( |
| ) |
const |
|
inlinevirtual |
bool okvis::cameras::RadialTangentialDistortion8::undistort |
( |
const Eigen::Vector2d & |
pointDistorted, |
|
|
Eigen::Vector2d * |
pointUndistorted |
|
) |
| const |
|
inlinevirtual |
Undistortion only.
- Parameters
-
[in] | pointDistorted | The distorted normalised (!) image point. |
[out] | pointUndistorted | The undistorted normalised (!) image point. |
- Returns
- True on success (no singularity)
Implements okvis::cameras::DistortionBase.
bool okvis::cameras::RadialTangentialDistortion8::undistort |
( |
const Eigen::Vector2d & |
pointDistorted, |
|
|
Eigen::Vector2d * |
pointUndistorted, |
|
|
Eigen::Matrix2d * |
pointJacobian |
|
) |
| const |
|
inlinevirtual |
Undistortion only.
- Parameters
-
[in] | pointDistorted | The distorted normalised (!) image point. |
[out] | pointUndistorted | The undistorted normalised (!) image point. |
[out] | pointJacobian | The Jacobian w.r.t. changes on the image point. |
- Returns
- True on success (no singularity)
Implements okvis::cameras::DistortionBase.
double okvis::cameras::RadialTangentialDistortion8::k1_ |
|
protected |
double okvis::cameras::RadialTangentialDistortion8::k2_ |
|
protected |
double okvis::cameras::RadialTangentialDistortion8::k3_ |
|
protected |
double okvis::cameras::RadialTangentialDistortion8::k4_ |
|
protected |
double okvis::cameras::RadialTangentialDistortion8::k5_ |
|
protected |
double okvis::cameras::RadialTangentialDistortion8::k6_ |
|
protected |
const int okvis::cameras::RadialTangentialDistortion8::NumDistortionIntrinsics = 8 |
|
static |
The Number of distortion parameters.
double okvis::cameras::RadialTangentialDistortion8::p1_ |
|
protected |
double okvis::cameras::RadialTangentialDistortion8::p2_ |
|
protected |
all distortion parameters
The documentation for this class was generated from the following file: