projectPoints static method
(Mat, Mat)
projectPoints(
- InputArray objectPoints,
- InputArray rvec,
- InputArray tvec,
- InputArray K,
- InputArray D, {
- OutputArray? imagePoints,
- double alpha = 0,
- OutputArray? jacobian,
Projects points using fisheye model.
Implementation
static (Mat imagePoints, Mat jacobian) projectPoints(
InputArray objectPoints,
InputArray rvec,
InputArray tvec,
InputArray K,
InputArray D, {
OutputArray? imagePoints,
double alpha = 0,
OutputArray? jacobian,
}) {
imagePoints ??= Mat.empty();
jacobian ??= Mat.empty();
cvRun(
() => ccalib3d.cv_fisheye_projectPoints(
objectPoints.ref,
imagePoints!.ref,
rvec.ref,
tvec.ref,
K.ref,
D.ref,
alpha,
jacobian!.ref,
ffi.nullptr,
),
);
return (imagePoints, jacobian);
}