compute1 static method
static method for computing quality
Implementation
static (Scalar, Mat) compute1(Mat ref, Mat cmp, {Mat? qualityMap}) {
final p = calloc<cvg.Scalar>();
qualityMap ??= Mat.empty();
cvRun(() => cffi.QualityGMSD_compute_static(ref.ref, cmp.ref, qualityMap!.ref, p));
return (Scalar.fromPointer(p), qualityMap);
}