undistortImagePoints
import { undistortImagePoints } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, dst, cameraMatrix, distCoeffs
FUNCTIONundistortImagePoints
RETURN TYPEvoid
Compute undistorted image points position
undistortImagePoints(src: Mat, dst: Mat, cameraMatrix: Mat, distCoeffs: Mat, arg1: TermCriteria): void;2 available overloads
undistortImagePoints(src: Mat, dst: Mat, cameraMatrix: Mat, distCoeffs: Mat): void;undistortImagePoints(src: Mat, dst: Mat, cameraMatrix: Mat, distCoeffs: Mat, arg1: TermCriteria): void;srcObserved points position, 2xN/Nx2 1-channel or 1xN/Nx1 2-channel (CV_32FC2 or CV_64FC2) (or vector<Point2f> ).
dstOutput destination, filled by the native operation. Output undistorted points position (1xN/Nx1 2-channel or vector<Point2f> ).
cameraMatrixCamera matrix
\vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}.distCoeffsDistortion coefficients
arg1arg1 argument (TermCriteria).
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.