Implements equidistant distortion.  
 More...
#include <EquidistantDistortion.hpp>
|  | 
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | EquidistantDistortion () | 
|  | The default constructor with all zero ki.  More... 
 | 
|  | 
|  | EquidistantDistortion (double k1, double k2, double k3, double k4) | 
|  | 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... 
 | 
|  | 
Implements equidistant distortion. 
  
  | 
        
          | okvis::cameras::EquidistantDistortion::EquidistantDistortion | ( |  | ) |  |  | inline | 
 
The default constructor with all zero ki. 
 
 
  
  | 
        
          | okvis::cameras::EquidistantDistortion::EquidistantDistortion | ( | double | k1, |  
          |  |  | double | k2, |  
          |  |  | double | k3, |  
          |  |  | double | k4 |  
          |  | ) |  |  |  | inline | 
 
Constructor initialising ki. 
- Parameters
- 
  
    | [in] | k1 | equidistant parameter 1 |  | [in] | k2 | equidistant parameter 2 |  | [in] | k3 | equidistant parameter 3 |  | [in] | k4 | equidistant parameter 4 |  
 
 
 
  
  | 
        
          | static std::shared_ptr<DistortionBase> okvis::cameras::EquidistantDistortion::createTestObject | ( |  | ) |  |  | inlinestatic | 
 
Unit test support – create a test distortion object. 
 
 
  
  | 
        
          | bool okvis::cameras::EquidistantDistortion::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::EquidistantDistortion::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::EquidistantDistortion::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::EquidistantDistortion::getParameters | ( | Eigen::VectorXd & | parameters | ) | const |  | inlinevirtual | 
 
 
  
  | 
        
          | int okvis::cameras::EquidistantDistortion::numDistortionIntrinsics | ( |  | ) | const |  | inlinevirtual | 
 
 
  
  | 
        
          | bool okvis::cameras::EquidistantDistortion::setParameters | ( | const Eigen::VectorXd & | parameters | ) |  |  | inlinevirtual | 
 
 
Unit test support – create a test distortion object. 
 
 
  
  | 
        
          | std::string okvis::cameras::EquidistantDistortion::type | ( |  | ) | const |  | inlinevirtual | 
 
 
  
  | 
        
          | bool okvis::cameras::EquidistantDistortion::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::EquidistantDistortion::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::EquidistantDistortion::k1_ |  | protected | 
 
 
  
  | 
        
          | double okvis::cameras::EquidistantDistortion::k2_ |  | protected | 
 
 
  
  | 
        
          | double okvis::cameras::EquidistantDistortion::k3_ |  | protected | 
 
 
  
  | 
        
          | double okvis::cameras::EquidistantDistortion::k4_ |  | protected | 
 
 
  
  | 
        
          | const int okvis::cameras::EquidistantDistortion::NumDistortionIntrinsics = 4 |  | static | 
 
The Number of distortion parameters. 
 
 
all distortion parameters 
 
 
The documentation for this class was generated from the following file: