This trivially doesn't do anything in terms of distortion. This is useful for testing, or working with pre-undistorted images.
More...
#include <NoDistortion.hpp>
|
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ~NoDistortion () |
| | Destructor, not doing anything. 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...
|
| |
This trivially doesn't do anything in terms of distortion. This is useful for testing, or working with pre-undistorted images.
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW okvis::cameras::NoDistortion::~NoDistortion |
( |
| ) |
|
|
inline |
Destructor, not doing anything.
| static std::shared_ptr<DistortionBase> okvis::cameras::NoDistortion::createTestObject |
( |
| ) |
|
|
inlinestatic |
Unit test support – create a test distortion object.
| bool okvis::cameras::NoDistortion::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::NoDistortion::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::NoDistortion::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::NoDistortion::getParameters |
( |
Eigen::VectorXd & |
parameters | ) |
const |
|
inlinevirtual |
| int okvis::cameras::NoDistortion::numDistortionIntrinsics |
( |
| ) |
const |
|
inlinevirtual |
| bool okvis::cameras::NoDistortion::setParameters |
( |
const Eigen::VectorXd & |
parameters | ) |
|
|
inlinevirtual |
| static NoDistortion okvis::cameras::NoDistortion::testObject |
( |
| ) |
|
|
inlinestatic |
Unit test support – create a test distortion object.
| std::string okvis::cameras::NoDistortion::type |
( |
| ) |
const |
|
inlinevirtual |
| bool okvis::cameras::NoDistortion::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::NoDistortion::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.
| const int okvis::cameras::NoDistortion::NumDistortionIntrinsics = 0 |
|
static |
THis class does not contain any distortion intrinsics.
The documentation for this class was generated from the following file: