compute1 static method

(Scalar, Mat) compute1(
  1. Mat img,
  2. Mat cmp, {
  3. Mat? qualityMap,
})

Implementation

static (Scalar, Mat) compute1(Mat img, Mat cmp, {Mat? qualityMap}) {
  final p = calloc<cvg.Scalar>();
  qualityMap ??= Mat.empty();
  cvRun(
    () => ccontrib.cv_quality_QualityGMSD_compute_static(img.ref, cmp.ref, qualityMap!.ref, p, ffi.nullptr),
  );
  return (Scalar.fromPointer(p), qualityMap);
}