Detailed Description
Structure to hold the parameters of a pinhole stereo camera model.
The parameters obtained for one camera resolution can be used for any other resolution by means of the method TCamera::scaleToResolution()
- See also:
- mrpt::vision::CCamModel, the application camera-calib-gui for calibrating a camera
Definition at line 230 of file TCamera.h.
#include <mrpt/utils/TCamera.h>
List of all members.
Member Typedef Documentation
A typedef for the associated smart pointer
Definition at line 232 of file TCamera.h.
Constructor & Destructor Documentation
mrpt::utils::TStereoCamera::TStereoCamera |
( |
) |
[inline] |
Member Function Documentation
Load all the params from a config source, in the format used in saveToConfigFile(), that is:
[SECTION]
resolution = [NCOLS NROWS]
cx = CX
cy = CY
fx = FX
fy = FY
dist = [K1 K2 T1 T2 K3]
focal_length = FOCAL_LENGTH [optional field]
- Exceptions:
-
std::exception | on missing fields |
Save as a config block:
[SECTION]
resolution = [NCOLS NROWS]
cx = CX
cy = CY
fx = FX
fy = FY
dist = [K1 K2 T1 T2 K3]
focal_length = FOCAL_LENGTH
Member Data Documentation