compute method
Compute the PSNR.
Implementation
Scalar compute(Mat cmp) {
final p = calloc<cvg.Scalar>();
cvRun(() => cffi.QualityPSNR_compute(ref, cmp.ref, p));
return Scalar.fromPointer(p);
}
Compute the PSNR.
Scalar compute(Mat cmp) {
final p = calloc<cvg.Scalar>();
cvRun(() => cffi.QualityPSNR_compute(ref, cmp.ref, p));
return Scalar.fromPointer(p);
}