|
SLIP
1.4
|
Define a DistortionCamera class. More...
#include <DistortionCamera.hpp>

Public Member Functions | |
Constructors & Destructors | |
| DistortionCamera () | |
| Default constructor of DistortionCamera. More... | |
| DistortionCamera (slip::DistStruct< Type > *dist_struct) | |
| Constructor of DistortionCamera. More... | |
| DistortionCamera (const self &rhs) | |
| Constructs a copy of the DistortionCamera rhs. More... | |
| ~DistortionCamera () | |
| Destructor of the DistortionCamera. More... | |
input/output methods | |
| void | read (const std::string &file) |
| Read a calibration matrix from an ASCII file. More... | |
| void | write (const std::string &file) |
| Write a calibration matrix to an ASCII file. More... | |
Assignment operators and methods | |
| self & | operator= (const self &rhs) |
| Assign a DistortionCamera. More... | |
Projection methods | |
| slip::Point2d< Type > | projection (const slip::Point3d< Type > &p) |
| Computes the projection of a 3d world point onto the image plane. More... | |
| slip::Point3d< Type > | backprojection (const slip::Point2d< Type > &p2, const Type &z) |
| Computes the 3d world point corresponding to the backprojection of an image point. More... | |
Computation methods | |
| void | compute (const slip::Matrix< Type > &P) |
| Computes the parameters of the distortion camera model. More... | |
| void | undistort (const slip::Matrix< Type > &P, slip::Matrix< Type > &Q) |
| undistorts a vector list using the parameters of the distortion camera model More... | |
| void | distort (const slip::Point2d< Type > &p, slip::Point2d< Type > &pd) |
| Distorts a image point using the parameters of the distortion camera model. More... | |
Public Attributes | |
| slip::Matrix< Type > * | calibration_matrix_ |
| slip::DistStruct< Type > * | calibration_distortions_ |
| slip::Vector< Type > * | calibration_vector_ |
Friends | |
| class | boost::serialization::access |
i/o operators | |
| std::ostream & | operator<< (std::ostream &out, const self &c) |
| Write the PinholeCamera to the ouput stream. More... | |
Define a DistortionCamera class.
| Type | Type of the coordinates of the DistortionCamera |
Definition at line 147 of file DistortionCamera.hpp.
|
inline |
Default constructor of DistortionCamera.
Definition at line 177 of file DistortionCamera.hpp.
|
inline |
Constructor of DistortionCamera.
| dist_struct | slip::DistStruct<Type> pointer |
Definition at line 187 of file DistortionCamera.hpp.
|
inline |
Constructs a copy of the DistortionCamera rhs.
| rhs | An other DistorsionCamera. |
Definition at line 197 of file DistortionCamera.hpp.
|
inline |
Destructor of the DistortionCamera.
Definition at line 207 of file DistortionCamera.hpp.
|
inlinevirtual |
Computes the 3d world point corresponding to the backprojection of an image point.
| p | Point2d. |
| z | Depth coordinate. |
Implements slip::CameraModel< Type >.
Definition at line 343 of file DistortionCamera.hpp.
|
inlinevirtual |
Computes the parameters of the distortion camera model.
| P | Matrix containing the input data. are the image coordinates, are the world coordinates.
|
Implements slip::CameraModel< Type >.
Definition at line 382 of file DistortionCamera.hpp.
|
inline |
Distorts a image point using the parameters of the distortion camera model.
| p | input point. |
| pd | output distort point. |
Definition at line 523 of file DistortionCamera.hpp.
|
inline |
Assign a DistortionCamera.
Assign elements of DistortionCamera in other
| other | DistortionCamera to get the values from. |
Definition at line 271 of file DistortionCamera.hpp.
|
inlinevirtual |
Computes the projection of a 3d world point onto the image plane.
| p | Point3d. |
Implements slip::CameraModel< Type >.
Definition at line 308 of file DistortionCamera.hpp.
|
inlinevirtual |
Read a calibration matrix from an ASCII file.
| file | File path name. |
Implements slip::CameraModel< Type >.
Definition at line 240 of file DistortionCamera.hpp.
|
inline |
undistorts a vector list using the parameters of the distortion camera model
are the image coordinates,
are the world coordinates.
Definition at line 498 of file DistortionCamera.hpp.
|
inlinevirtual |
Write a calibration matrix to an ASCII file.
| file | File path name. |
Implements slip::CameraModel< Type >.
Definition at line 252 of file DistortionCamera.hpp.
|
friend |
Definition at line 555 of file DistortionCamera.hpp.
|
friend |
Write the PinholeCamera to the ouput stream.
| out | output stream. |
| c | PinholeCamera to write to the output stream. |
Definition at line 582 of file DistortionCamera.hpp.
| slip::DistStruct<Type>* slip::DistortionCamera< Type >::calibration_distortions_ |
Definition at line 551 of file DistortionCamera.hpp.
| slip::Matrix<Type>* slip::DistortionCamera< Type >::calibration_matrix_ |
Definition at line 550 of file DistortionCamera.hpp.
| slip::Vector<Type>* slip::DistortionCamera< Type >::calibration_vector_ |
Definition at line 552 of file DistortionCamera.hpp.
1.8.6