nn::camera::CTR::GetParallaxOnChart Function
f32 GetParallaxOnChart(
const StereoCameraCalibrationData & cal
);
| Name | Description | |
|---|---|---|
| in | cal | Specifies the calibration data. |
Calculates the parallax in the measurement chart when the stereo cameras' calibration data is measured.
In addition to the horizontal image shift caused by errors in the left and right camera placement, the translationX member variable of the StereoCameraCalibrationData structure includes the parallax caused by the separation of the left and right cameras.
By subtracting this function's return value from the translationX member variable, you get the horizontal shift in the measurement chart caused by camera placement errors.
CONFIDENTIAL