| 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
)
Public Shared Function Compute (
img As InputArray,
modelFilePath As String,
rangeFilePath As String
) As Scalar
public:
static Scalar Compute(
InputArray^ img,
String^ modelFilePath,
String^ rangeFilePath
)
static member Compute :
img : InputArray *
modelFilePath : string *
rangeFilePath : string -> Scalar
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:
Scalarcv::Scalar with the score in the first element. The score ranges from 0 (best quality) to 100 (worst quality)
See Also