Trait opencv::quality::QualityPSNRTraitConst [−][src]
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
fn as_raw_QualityPSNR(&self) -> *const c_void
Provided methods
fn get_max_pixel_value(&self) -> Result<f64>
fn get_max_pixel_value(&self) -> Result<f64>
return the maximum pixel value used for PSNR computation