PROJ_SPHERICAL_ORTHO top-level constant

int const PROJ_SPHERICAL_ORTHO

validates disparity using the left-right check. The matrix "cost" should be computed by the stereo correspondence algorithm

https://docs.opencv.org/4.11.0/d9/d0c/group__calib3d.html#ga214b498b8d01d0417e0d08be64c54eb5 TODO: add Stereo matchers

Implementation

// void validateDisparity(
//   InputOutputArray disparity,
//   InputArray cost,
//   int minDisparity,
//   int numberOfDisparities, {
//   int disp12MaxDisp = 1,
// }) {
//   return cvRun(
//     () => ccalib3d.cv_validateDisparity(
//       disparity.ref,
//       cost.ref,
//       minDisparity,
//       numberOfDisparities,
//       disp12MaxDisp,
//       ffi.nullptr,
//     ),
//   );
// }

// constants
const int PROJ_SPHERICAL_ORTHO = 0;