nn::camera::CTR::GetStereoCameraCalibrationMatrix Function

Syntax

void GetStereoCameraCalibrationMatrix(
     nn::math::MTX34 * pDst,
     const StereoCameraCalibrationData & cal,
     const f32 translationByPixel,
     const bool isIncludeParallax = true
);

Arguments

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.

Return Values

None.

Description

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.

Revision History

2010/05/14
Added information on the elements included in the output transformation matrix.
2010/05/01
Initial version.

CONFIDENTIAL