[−][src]Trait opencv::quality::prelude::QualityBRISQUETrait
BRISQUE (Blind/Referenceless Image Spatial Quality Evaluator) is a No Reference Image Quality Assessment (NR-IQA) algorithm.
BRISQUE computes a score based on extracting Natural Scene Statistics (https://en.wikipedia.org/wiki/Scene_statistics) and calculating feature vectors. See Mittal et al. Mittal2 for original paper and original implementation Mittal2_software .
A trained model is provided in the /samples/ directory and is trained on the LIVE-R2 database Sheikh as in the original implementation. When evaluated against the TID2008 database Ponomarenko , the SROCC is -0.8424 versus the SROCC of -0.8354 in the original implementation. C++ code for the BRISQUE LIVE-R2 trainer and TID2008 evaluator are also provided in the /samples/ directory.
Required methods
pub fn as_raw_QualityBRISQUE(&self) -> *const c_void
[src]
pub fn as_raw_mut_QualityBRISQUE(&mut self) -> *mut c_void
[src]
Provided methods
pub fn compute(&mut self, img: &dyn ToInputArray) -> Result<Scalar>
[src]
Computes BRISQUE quality score for input image
Parameters
- img: Image for which to compute quality
Returns
cv::Scalar with the score in the first element. The score ranges from 0 (best quality) to 100 (worst quality)