computeFeatures static method

Mat computeFeatures(
  1. Mat img, {
  2. Mat? features,
})

static method for computing image features used by the BRISQUE algorithm

https://docs.opencv.org/4.x/d8/d99/classcv_1_1quality_1_1QualityBRISQUE.html#a71931f138fa9b2db5109e2b50f3a8a74

Implementation

static Mat computeFeatures(Mat img, {Mat? features}) {
  features ??= Mat.empty();
  cvRun(
    () => ccontrib.cv_quality_QualityBRISQUE_computeFeatures_static(img.ref, features!.ref, ffi.nullptr),
  );
  return features;
}