compute1 static method
static method for computing quality
Implementation
static Scalar compute1(String modelFile, String rangeFile, Mat img) {
final p = calloc<cvg.Scalar>();
final cm = modelFile.toNativeUtf8().cast<ffi.Char>();
final cr = rangeFile.toNativeUtf8().cast<ffi.Char>();
cvRun(() => ccontrib.cv_quality_QualityBRISQUE_compute_static(img.ref, cm, cr, p, ffi.nullptr));
calloc.free(cm);
calloc.free(cr);
return Scalar.fromPointer(p);
}