fisheye_stereoCalibrate1
import { fisheye_stereoCalibrate1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Performs stereo calibration
fisheye_stereoCalibrate1(objectPoints: MatVector, imagePoints1: MatVector, imagePoints2: MatVector, K1: Mat, D1: Mat, K2: Mat, D2: Mat, imageSize: Size, R: Mat, T: Mat, flags: number, criteria: TermCriteria): number;3 available overloads
fisheye_stereoCalibrate1(objectPoints: MatVector, imagePoints1: MatVector, imagePoints2: MatVector, K1: Mat, D1: Mat, K2: Mat, D2: Mat, imageSize: Size, R: Mat, T: Mat): number;fisheye_stereoCalibrate1(objectPoints: MatVector, imagePoints1: MatVector, imagePoints2: MatVector, K1: Mat, D1: Mat, K2: Mat, D2: Mat, imageSize: Size, R: Mat, T: Mat, flags: number): number;fisheye_stereoCalibrate1(objectPoints: MatVector, imagePoints1: MatVector, imagePoints2: MatVector, K1: Mat, D1: Mat, K2: Mat, D2: Mat, imageSize: Size, R: Mat, T: Mat, flags: number, criteria: TermCriteria): number;objectPointsVector of vectors of the calibration pattern points.
imagePoints1Vector of vectors of the projections of the calibration pattern points, observed by the first camera.
imagePoints2Vector of vectors of the projections of the calibration pattern points, observed by the second camera.
K1Input/output value, modified by the native operation. Input/output first camera intrinsic matrix:
\vecthreethree{f_x^{(j)}}{0}{c_x^{(j)}}{0}{f_y^{(j)}}{c_y^{(j)}}{0}{0}{1},j = 0,\, 1. If any ofcv::CALIB_USE_INTRINSIC_GUESS,cv::CALIB_FIX_INTRINSICare specified, some or all of the matrix components must be initialized.D1Input/output value, modified by the native operation. Input/output vector of distortion coefficients
\distcoeffsfisheyeof 4 elements.K2Input/output value, modified by the native operation. Input/output second camera intrinsic matrix. The parameter is similar to K1 .
D2Input/output value, modified by the native operation. Input/output lens distortion coefficients for the second camera. The parameter is similar to D1 .
imageSizeSize of the image used only to initialize camera intrinsic matrix.
ROutput destination, filled by the native operation. Output rotation matrix between the 1st and the 2nd camera coordinate systems.
TOutput destination, filled by the native operation. Output translation vector between the coordinate systems of the cameras.
flagsDifferent flags that may be zero or a combination of the following values:
cv::CALIB_FIX_INTRINSICFix K1, K2? and D1, D2? so that only R, T matrices are estimated.cv::CALIB_USE_INTRINSIC_GUESSK1, K2 contains valid initial values of fx, fy, cx, cy that are optimized further. Otherwise, (cx, cy) is initially set to the image center (imageSize is used), and focal distances are computed in a least-squares fashion.cv::CALIB_RECOMPUTE_EXTRINSICExtrinsic will be recomputed after each iteration of intrinsic optimization.cv::CALIB_CHECK_CONDThe functions will check validity of condition number.cv::CALIB_FIX_SKEWSkew coefficient (alpha) is set to zero and stay zero.cv::CALIB_FIX_K1,...,cv::CALIB_FIX_K4Selected distortion coefficients are set to zeros and stay zero.
criteriaTermination criteria for the iterative optimization algorithm.
The number result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.