compute method
Compute the PSNR.
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);
}
Compute the PSNR.
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);
}