fisheye_projectPoints
import { fisheye_projectPoints } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Projects points using fisheye model
fisheye_projectPoints(objectPoints: Mat, imagePoints: Mat, rvec: Mat, tvec: Mat, K: Mat, D: Mat, alpha: number, jacobian: Mat): void;3 available overloads
fisheye_projectPoints(objectPoints: Mat, imagePoints: Mat, rvec: Mat, tvec: Mat, K: Mat, D: Mat): void;fisheye_projectPoints(objectPoints: Mat, imagePoints: Mat, rvec: Mat, tvec: Mat, K: Mat, D: Mat, alpha: number): void;fisheye_projectPoints(objectPoints: Mat, imagePoints: Mat, rvec: Mat, tvec: Mat, K: Mat, D: Mat, alpha: number, jacobian: Mat): void;objectPointsArray of object points, 1xN/Nx1 3-channel (or vector<Point3f> ), where N is the number of points in the view.
imagePointsOutput destination, filled by the native operation. Output array of image points, 2xN/Nx2 1-channel or 1xN/Nx1 2-channel, or vector<Point2f>.
rvecrvec argument (Mat).
tvectvec argument (Mat).
Kk argument (Mat).
DInput vector of distortion coefficients
\distcoeffsfisheye.alphaThe skew coefficient.
jacobianOutput destination, filled by the native operation. Optional output 2Nx15 jacobian matrix of derivatives of image points with respect to components of the focal lengths, coordinates of the principal point, distortion coefficients, rotation vector, translation vector, and the skew. In the old interface different components of the jacobian are returned via different output parameters.
The function computes projections of 3D points to the image plane given intrinsic and extrinsic camera parameters. Optionally, the function computes Jacobians - matrices of partial derivatives of image points coordinates (as functions of all the input parameters) with respect to the particular parameters, intrinsic and/or extrinsic.
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.