Table of Contents

Method Compute

Namespace
OpenCvSharp.Quality
Assembly
OpenCvSharp.dll

Compute(InputArray, string, string)

static method for computing quality

public static Scalar Compute(InputArray img, string modelFilePath, string rangeFilePath)

Parameters

img InputArray

image for which to compute quality

modelFilePath string

String which contains a path to the BRISQUE model data, eg. /path/to/brisque_model_live.yml

rangeFilePath string

cv::String which contains a path to the BRISQUE range data, eg. /path/to/brisque_range_live.yml

Returns

Scalar

cv::Scalar with the score in the first element. The score ranges from 0 (best quality) to 100 (worst quality)