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