QualitySSIM.create constructor

QualitySSIM.create(
  1. Mat img
)

Implementation

factory QualitySSIM.create(Mat img) {
  final p = calloc<cvg.QualitySSIM>();
  cvRun(() => ccontrib.cv_quality_QualitySSIM_create(img.ref, p, ffi.nullptr));
  return QualitySSIM.fromPointer(p);
}