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