PCACompute3Async function
Future<(Mat, Mat, Mat)>
PCACompute3Async(
- InputArray data,
- InputOutputArray mean, {
- double retainedVariance = 0,
Implementation
Future<(Mat mean, Mat eigenvalues, Mat eigenvectors)> PCACompute3Async(
InputArray data,
InputOutputArray mean, {
double retainedVariance = 0,
}) async =>
cvRunAsync2(
(callback) => cffi.core_PCACompute_2_Async(data.ref, mean.ref, retainedVariance, callback),
(completer, p, p1) =>
completer.complete((mean, Mat.fromPointer(p.cast<cvg.Mat>()), Mat.fromPointer(p1.cast<cvg.Mat>()))),
);