projectPoints static method

(Mat, Mat) projectPoints(
  1. InputArray objectPoints,
  2. InputArray rvec,
  3. InputArray tvec,
  4. InputArray K,
  5. InputArray D, {
  6. OutputArray? imagePoints,
  7. double alpha = 0,
  8. OutputArray? jacobian,
})

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);
}