pub trait QualityPSNRTraitConst: QualityBaseConst {
    fn as_raw_QualityPSNR(&self) -> *const c_void;

    fn empty(&self) -> Result<bool> { ... }
    fn get_max_pixel_value(&self) -> Result<f64> { ... }
}
Expand description

Full reference peak signal to noise ratio (PSNR) algorithm https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio

Required Methods

Provided Methods

Implements Algorithm::empty()

return the maximum pixel value used for PSNR computation

Implementors