fisheye_distortPoints1
import { fisheye_distortPoints1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Overload of distortPoints function to handle cases when undistorted points are got with non-identity camera matrix, e.g. output of #estimateNewCameraMatrixForUndistortRectify.
See: estimateNewCameraMatrixForUndistortRectify
fisheye_distortPoints1(undistorted: Mat, distorted: Mat, Kundistorted: Mat, K: Mat, D: Mat, alpha: number): void;2 available overloads
fisheye_distortPoints1(undistorted: Mat, distorted: Mat, Kundistorted: Mat, K: Mat, D: Mat): void;fisheye_distortPoints1(undistorted: Mat, distorted: Mat, Kundistorted: Mat, K: Mat, D: Mat, alpha: number): void;undistortedArray of object points, 1xN/Nx1 2-channel (or vector<Point2f> ), where N is the number of points in the view.
distortedOutput destination, filled by the native operation. Output array of image points, 1xN/Nx1 2-channel, or vector<Point2f> .
KundistortedCamera intrinsic matrix used as new camera matrix for undistortion.
KCamera intrinsic matrix
cameramatrix{K}.DInput vector of distortion coefficients
\distcoeffsfisheye.alphaThe skew coefficient.
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.