|
|
| GeometricCamera () |
| | Default constructor.
|
| | GeometricCamera (const Buffer< float > &_vParameters) |
| | Constructs with the given intrinsic parameters.
|
| virtual bool | epipolarConstrain (GeometricCamera *otherCamera, const cv::KeyPoint &kp1, const cv::KeyPoint &kp2, const Eigen::Matrix3f &R12, const Eigen::Vector3f &t12, const float sigmaLevel, const float unc)=0 |
| | Checks whether two keypoints satisfy the epipolar constraint.
|
|
uint04 | GetId () |
| | Returns the unique camera id.
|
|
float | getParameter (const int i) |
| | Returns the i-th intrinsic parameter.
|
|
virtual bool | isEqual (const GeometricCamera *pCam) const =0 |
| | Checks equality with another camera model.
|
|
virtual cv::Point2f | project (const cv::Point3f &p3D)=0 |
| | Projects a 3D point to 2D image coordinates (cv::Point3f overload).
|
|
virtual Eigen::Vector2d | project (const Eigen::Vector3d &v3D)=0 |
| | Projects a 3D point to 2D image coordinates (double precision).
|
|
virtual Eigen::Vector2f | project (const Eigen::Vector3f &v3D)=0 |
| | Projects a 3D point to 2D image coordinates (single precision).
|
| virtual Eigen::Matrix< g_type, 2, 3 > | projectJac (const Eigen::Vector3< g_type > &v3D)=0 |
| | Computes the 2x3 Jacobian of the projection function.
|
|
virtual Eigen::Vector2f | projectMat (const cv::Point3f &p3D)=0 |
| | Projects a cv::Point3f to 2D and returns as Eigen vector.
|
|
void | setParameter (const float p, const uint04 i) |
| | Sets the i-th intrinsic parameter.
|
|
uint04 | size () const |
| | Returns the number of intrinsic parameters.
|
|
virtual cv::Mat | toK ()=0 |
| | Returns the camera calibration matrix as a cv::Mat.
|
|
virtual Eigen::Matrix3f | toK_ ()=0 |
| | Returns the camera calibration matrix as an Eigen matrix.
|
|
uint04 | type () const |
| | Returns the camera type (CAM_PINHOLE or CAM_FISHEYE).
|
| virtual float | uncertainty2 (const Eigen::Matrix< g_type, 2, 1 > &p2D)=0 |
| | Computes the squared uncertainty at a 2D image point.
|
|
virtual cv::Point3f | unproject (const cv::Point2f &p2D)=0 |
| | Unprojects a 2D point to a 3D point.
|
|
virtual Eigen::Vector3f | unprojectEig (const cv::Point2f &p2D)=0 |
| | Unprojects a 2D point to a 3D ray as an Eigen vector.
|
Abstract interface for geometric camera models (pinhole, fisheye, etc.).
Definition at line 25 of file GeometricCamera.h.