nn::camera::CTR::GetParallax Function
f32 GetParallax(
const StereoCameraCalibrationData & cal,
f32 distance
);
| Name | Description | |
|---|---|---|
| in | cal | Specifies the calibration data. |
| in | distance | Specifies the distance from the stereo camera. This is measured in meters. |
Calculates the parallax at a specific distance from the stereo camera.
It uses the angles of view information stored in the nn::camera::CTR::StereoCameraCalibrationData structure to calculate the parallax at distance away from the camera. There is a slight level of error in the parallax calculated by this function, due to errors in the angles of view information.
CONFIDENTIAL