Click or drag to resize

QualityBRISQUECompute Method (InputArray, String, String)

static method for computing quality

Namespace:  OpenCvSharp.Quality
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Scalar Compute(
	InputArray img,
	string modelFilePath,
	string rangeFilePath
)

Parameters

img
Type: OpenCvSharpInputArray
image for which to compute quality
modelFilePath
Type: SystemString
String which contains a path to the BRISQUE model data, eg. /path/to/brisque_model_live.yml
rangeFilePath
Type: SystemString
cv::String which contains a path to the BRISQUE range data, eg. /path/to/brisque_range_live.yml

Return Value

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