|
gtsam
3.2.1
gtsam
|
Inheritance diagram for gtsam::Cal3Unified:Manifold | |
| Cal3Unified | retract (const Vector &d) const |
| Given delta vector, update calibration. | |
| Vector | localCoordinates (const Cal3Unified &T2) const |
| Given a different calibration, calculate update to obtain it. | |
| virtual size_t | dim () const |
| Return dimensions of calibration manifold object. | |
| static size_t | Dim () |
| Return dimensions of calibration manifold object. | |
Advanced Interface | |
| class | boost::serialization::access |
| Serialization function. | |
Public Member Functions | |
| Vector | vector () const |
Standard Constructors | |
| Cal3Unified () | |
| Default Constructor with only unit focal length. | |
| Cal3Unified (double fx, double fy, double s, double u0, double v0, double k1, double k2, double p1=0.0, double p2=0.0, double xi=0.0) | |
Advanced Constructors | |
| Cal3Unified (const Vector &v) | |
Testable | |
| void | print (const std::string &s="") const |
| print with optional string | |
| bool | equals (const Cal3Unified &K, double tol=10e-9) const |
| assert equality up to a tolerance | |
Standard Interface | |
| double | xi () const |
| mirror parameter | |
| Point2 | uncalibrate (const Point2 &p, boost::optional< Matrix & > Dcal=boost::none, boost::optional< Matrix & > Dp=boost::none) const |
| convert intrinsic coordinates xy to image coordinates uv More... | |
| Point2 | calibrate (const Point2 &p, const double tol=1e-5) const |
| Conver a pixel coordinate to ideal coordinate. | |
| Point2 | spaceToNPlane (const Point2 &p) const |
| Convert a 3D point to normalized unit plane. | |
| Point2 | nPlaneToSpace (const Point2 &p) const |
| Convert a normalized unit plane point to 3D space. | |
Public Member Functions inherited from gtsam::Cal3DS2_Base | |
| Matrix | K () const |
| Eigen::Vector4d | k () const |
| Vector | vector () const |
| Cal3DS2_Base () | |
| Default Constructor with only unit focal length. | |
| Cal3DS2_Base (double fx, double fy, double s, double u0, double v0, double k1, double k2, double p1=0.0, double p2=0.0) | |
| Cal3DS2_Base (const Vector &v) | |
| void | print (const std::string &s="") const |
| print with optional string | |
| bool | equals (const Cal3DS2_Base &K, double tol=10e-9) const |
| assert equality up to a tolerance | |
| double | fx () const |
| focal length x | |
| double | fy () const |
| focal length x | |
| double | skew () const |
| skew | |
| double | px () const |
| image center in x | |
| double | py () const |
| image center in y | |
| double | k1 () const |
| First distortion coefficient. | |
| double | k2 () const |
| Second distortion coefficient. | |
| double | p1 () const |
| First tangential distortion coefficient. | |
| double | p2 () const |
| Second tangential distortion coefficient. | |
| Point2 | uncalibrate (const Point2 &p, boost::optional< Matrix & > Dcal=boost::none, boost::optional< Matrix & > Dp=boost::none) const |
| convert intrinsic coordinates xy to (distorted) image coordinates uv More... | |
| Point2 | calibrate (const Point2 &p, const double tol=1e-5) const |
| Convert (distorted) image coordinates uv to intrinsic coordinates xy. | |
| Matrix | D2d_intrinsic (const Point2 &p) const |
| Derivative of uncalibrate wrpt intrinsic coordinates. | |
| Matrix | D2d_calibration (const Point2 &p) const |
| Derivative of uncalibrate wrpt the calibration parameters. | |
Public Member Functions inherited from gtsam::DerivedValue< Cal3Unified > | |
| virtual Value * | clone_ () const |
| Create a duplicate object returned as a pointer to the generic Value interface. More... | |
| virtual void | deallocate_ () const |
| Destroy and deallocate this object, only if it was originally allocated using clone_(). | |
| virtual boost::shared_ptr< Value > | clone () const |
| Clone this value (normal clone on the heap, delete with 'delete' operator) | |
| virtual bool | equals_ (const Value &p, double tol=1e-9) const |
| equals implementing generic Value interface | |
| virtual Value * | retract_ (const Vector &delta) const |
| Generic Value interface version of retract. | |
| virtual Vector | localCoordinates_ (const Value &value2) const |
| Generic Value interface version of localCoordinates. | |
| virtual Value & | operator= (const Value &rhs) |
| Assignment operator. | |
| operator const Cal3Unified & () const | |
| Conversion to the derived class. | |
| operator Cal3Unified & () | |
| Conversion to the derived class. | |
Public Member Functions inherited from gtsam::Value | |
| virtual | ~Value () |
| Virutal destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from gtsam::DerivedValue< Cal3Unified > | |
| DerivedValue< Cal3Unified > & | operator= (const DerivedValue< Cal3Unified > &rhs) |
| Assignment operator, protected because only the Value or DERIVED assignment operators should be used. More... | |
Protected Attributes inherited from gtsam::Cal3DS2_Base | |
| double | fx_ |
| double | fy_ |
| double | s_ |
| double | u0_ |
| double | v0_ |
| double | k1_ |
| double | k2_ |
| double | p1_ |
| double | p2_ |
| Point2 gtsam::Cal3Unified::uncalibrate | ( | const Point2 & | p, |
| boost::optional< Matrix & > | Dcal = boost::none, |
||
| boost::optional< Matrix & > | Dp = boost::none |
||
| ) | const |
convert intrinsic coordinates xy to image coordinates uv
| p | point in intrinsic coordinates |
| Dcal | optional 2*10 Jacobian wrpt Cal3Unified parameters |
| Dp | optional 2*2 Jacobian wrpt intrinsic coordinates |