compute method

Scalar compute(
  1. Mat cmp
)

Implementation

Scalar compute(Mat cmp) {
  final p = calloc<cvg.Scalar>();
  cvRun(() => ccontrib.cv_quality_QualityPSNR_compute(ref, cmp.ref, p, ffi.nullptr));
  return Scalar.fromPointer(p);
}