![]() |
LibMultiSense
LibMultiSense Documentation
|
#include <MultiSenseTypes.hh>
Public Types | |
enum | DistortionType : uint8_t { DistortionType::NONE, DistortionType::PLUMBBOB, DistortionType::RATIONAL_POLYNOMIAL } |
Distortion type. More... | |
Public Member Functions | |
std::array< float, 3 > | rectified_translation () const |
Get the translation vector in meters which translates points in the current CameraCalibration frame to the origin left camera frame. More... | |
Public Attributes | |
std::array< std::array< float, 3 >, 3 > | K {{{0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}}} |
Unrectified camera projection matrix stored in row-major ordering. More... | |
std::array< std::array< float, 3 >, 3 > | R {{{0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}}} |
Rotation matrix which takes points in the unrectified camera frame and transform them in to the rectified coordinate frame. More... | |
std::array< std::array< float, 4 >, 3 > | P {{{0.0f, 0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f, 0.0f}}} |
Rectified projection matrix which takes points in the origin camera coordinate frame and projects them into the current camera. More... | |
DistortionType | distortion_type = DistortionType::NONE |
The type of the distortion model used for the unrectified camera. More... | |
std::vector< float > | D = {} |
Coefficients for the distortion model. More... | |
Definition at line 115 of file MultiSenseTypes.hh.
|
strong |
Distortion type.
Enumerator | |
---|---|
NONE | |
PLUMBBOB | |
RATIONAL_POLYNOMIAL |
Definition at line 120 of file MultiSenseTypes.hh.
|
inline |
Get the translation vector in meters which translates points in the current CameraCalibration frame to the origin left camera frame.
Definition at line 158 of file MultiSenseTypes.hh.
std::vector<float> multisense::CameraCalibration::D = {} |
Coefficients for the distortion model.
Definition at line 152 of file MultiSenseTypes.hh.
DistortionType multisense::CameraCalibration::distortion_type = DistortionType::NONE |
The type of the distortion model used for the unrectified camera.
Definition at line 147 of file MultiSenseTypes.hh.
std::array<std::array<float, 3>, 3> multisense::CameraCalibration::K {{{0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}}} |
Unrectified camera projection matrix stored in row-major ordering.
Definition at line 130 of file MultiSenseTypes.hh.
std::array<std::array<float, 4>, 3> multisense::CameraCalibration::P {{{0.0f, 0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f, 0.0f}}} |
Rectified projection matrix which takes points in the origin camera coordinate frame and projects them into the current camera.
Definition at line 142 of file MultiSenseTypes.hh.
std::array<std::array<float, 3>, 3> multisense::CameraCalibration::R {{{0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}}} |
Rotation matrix which takes points in the unrectified camera frame and transform them in to the rectified coordinate frame.
Definition at line 136 of file MultiSenseTypes.hh.