nn::camera::CTR::GetStereoCameraCalibrationMatrix Function
void GetStereoCameraCalibrationMatrix(
nn::math::MTX34 * pDst,
const StereoCameraCalibrationData & cal,
const f32 translationByPixel,
const bool isIncludeParallax = true
);
| Name | Description | |
|---|---|---|
| out | pDst | Specifies the location where the correction matrix is stored. |
| in | cal | Specifies the calibration data. |
| in | translationByPixel | Specifies the required translation in 3D space to move the camera image by one pixel. |
| in | isIncludeParallax | Whether the horizontal translation includes the parallax in the measurement chart. |
Calculates a correction matrix used to make the left camera image match the right camera image in 3D space.
The output matrix is used to move the left camera image. This matrix is simply a three-dimensional extension of a two-dimensional matrix that expands and shrinks images, rotates around the light axis, and performs horizontal and vertical translations; it does not include three-dimensional transformations, such as rotations about the horizontal and vertical axes.
CONFIDENTIAL