![]() |
AliceVision
Photogrammetric Computer Vision Framework
|
Abstract class to model the distortion of a camera-lense couple using a set of parameters. More...
#include <Distortion.hpp>
Public Member Functions | |
| virtual EDISTORTION | getType () const =0 |
| virtual Distortion * | clone () const =0 |
| bool | operator== (const Distortion &other) const |
| void | setParameters (const std::vector< double > ¶ms) |
| std::vector< double > & | getParameters () |
| const std::vector< double > & | getParameters () const |
| std::size_t | getDistortionParametersCount () const |
| virtual Vec2 | addDistortion (const Vec2 &p) const |
| Add distortion to the point p (assume p is in the camera frame [normalized coordinates]) | |
| virtual Vec2 | removeDistortion (const Vec2 &p) const |
| Remove distortion (return p' such that disto(p') = p) | |
| virtual double | getUndistortedRadius (double r) const |
| virtual Eigen::Matrix2d | getDerivativeAddDistoWrtPt ([[maybe_unused]] const Vec2 &p) const |
| virtual Eigen::MatrixXd | getDerivativeAddDistoWrtDisto ([[maybe_unused]] const Vec2 &p) const |
| virtual Eigen::Matrix2d | getDerivativeRemoveDistoWrtPt ([[maybe_unused]] const Vec2 &p) const |
| virtual Eigen::MatrixXd | getDerivativeRemoveDistoWrtDisto ([[maybe_unused]] const Vec2 &p) const |
| void | setLocked (bool lock) |
| bool | isLocked () const |
Protected Attributes | |
| std::vector< double > | _distortionParams {} |
| bool | _isLocked {false} |
Abstract class to model the distortion of a camera-lense couple using a set of parameters.
1.8.17