PCAProject function

(Mat, Mat) PCAProject(
  1. Mat data,
  2. Mat mean,
  3. Mat eigenvectors, {
  4. OutputArray? result,
})

Implementation

(Mat mean, Mat result) PCAProject(Mat data, Mat mean, Mat eigenvectors, {OutputArray? result}) {
  result ??= Mat.empty();
  cvRun(() => ccore.cv_PCAProject(data.ref, mean.ref, eigenvectors.ref, result!.ref, ffi.nullptr));
  return (mean, result);
}