pub trait QualityBase: AlgorithmTrait + QualityBaseConst {
    fn as_raw_mut_QualityBase(&mut self) -> *mut c_void;

    fn compute(&mut self, img: &dyn ToInputArray) -> Result<Scalar> { ... }
    fn clear(&mut self) -> Result<()> { ... }
}

Required Methods§

Provided Methods§

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores

Parameters
  • img: comparison image, or image to evalute for no-reference quality algorithms

Implements Algorithm::clear()

Implementors§