QualityPSNR.create constructor
Create an object which calculates quality.
Implementation
factory QualityPSNR.create(Mat ref, {double maxPixelValue = 255}) {
final p = calloc<cvg.QualityPSNR>();
cvRun(() => cffi.QualityPSNR_create(ref.ref, maxPixelValue, p));
return QualityPSNR.fromPointer(p, false);
}