calibrationMatrixValues
import { calibrationMatrixValues } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Computes useful camera characteristics from the camera intrinsic matrix.
Note: Do keep in mind that the unity measure 'mm' stands for whatever unit of measure one chooses for the chessboard pitch (it can thus be any value).
calibrationMatrixValues(cameraMatrix: Mat, imageSize: Size, apertureWidth: number, apertureHeight: number): calibrationMatrixValuesResult;cameraMatrixInput camera intrinsic matrix that can be estimated by #calibrateCamera or #stereoCalibrate .
imageSizeInput image size in pixels.
apertureWidthPhysical width in mm of the sensor.
apertureHeightPhysical height in mm of the sensor.
The calibrationMatrixValuesResult result. Scalar output parameters are returned as named fields in this object. Release returned native handles with using or delete(), including handles nested in results.
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.