#include <RadialTangentialDistortion.hpp>
|  | 
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | RadialTangentialDistortion () | 
|  | The default constructor with all zero ki.  More... 
 | 
|  | 
|  | RadialTangentialDistortion (double k1, double k2, double p1, double p2) | 
|  | 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::RadialTangentialDistortion::RadialTangentialDistortion | ( |  | ) |  |  | inline | 
 
The default constructor with all zero ki. 
 
 
  
  | 
        
          | okvis::cameras::RadialTangentialDistortion::RadialTangentialDistortion | ( | double | k1, |  
          |  |  | double | k2, |  
          |  |  | double | p1, |  
          |  |  | double | p2 |  
          |  | ) |  |  |  | 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 |  
 
 
 
  
  | 
        
          | static std::shared_ptr<DistortionBase> okvis::cameras::RadialTangentialDistortion::createTestObject | ( |  | ) |  |  | inlinestatic | 
 
Unit test support – create a test distortion object. 
 
 
  
  | 
        
          | bool okvis::cameras::RadialTangentialDistortion::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::RadialTangentialDistortion::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::RadialTangentialDistortion::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::RadialTangentialDistortion::getParameters | ( | Eigen::VectorXd & | parameters | ) | const |  | inlinevirtual | 
 
 
  
  | 
        
          | int okvis::cameras::RadialTangentialDistortion::numDistortionIntrinsics | ( |  | ) | const |  | inlinevirtual | 
 
 
  
  | 
        
          | bool okvis::cameras::RadialTangentialDistortion::setParameters | ( | const Eigen::VectorXd & | parameters | ) |  |  | inlinevirtual | 
 
 
Unit test support – create a test distortion object. 
 
 
  
  | 
        
          | std::string okvis::cameras::RadialTangentialDistortion::type | ( |  | ) | const |  | inlinevirtual | 
 
 
  
  | 
        
          | bool okvis::cameras::RadialTangentialDistortion::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::RadialTangentialDistortion::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::RadialTangentialDistortion::k1_ |  | protected | 
 
 
  
  | 
        
          | double okvis::cameras::RadialTangentialDistortion::k2_ |  | protected | 
 
 
  
  | 
        
          | const int okvis::cameras::RadialTangentialDistortion::NumDistortionIntrinsics = 4 |  | static | 
 
The Number of distortion parameters. 
 
 
  
  | 
        
          | double okvis::cameras::RadialTangentialDistortion::p1_ |  | protected | 
 
 
  
  | 
        
          | double okvis::cameras::RadialTangentialDistortion::p2_ |  | protected | 
 
 
all distortion parameters 
 
 
The documentation for this class was generated from the following file: