Struct adder_codec_rs::utils::cv::QualityMetrics
source · pub struct QualityMetrics {
pub psnr: Option<f64>,
pub mse: Option<f64>,
pub ssim: Option<f64>,
}
Expand description
Container for quality metric results
Fields§
§psnr: Option<f64>
Peak signal-to-noise ratio
mse: Option<f64>
Mean squared error
ssim: Option<f64>
Structural similarity index measure
Trait Implementations§
source§impl Clone for QualityMetrics
impl Clone for QualityMetrics
source§fn clone(&self) -> QualityMetrics
fn clone(&self) -> QualityMetrics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QualityMetrics
impl Debug for QualityMetrics
source§impl Default for QualityMetrics
impl Default for QualityMetrics
source§impl<'de> Deserialize<'de> for QualityMetrics
impl<'de> Deserialize<'de> for QualityMetrics
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for QualityMetrics
impl Serialize for QualityMetrics
impl Copy for QualityMetrics
Auto Trait Implementations§
impl RefUnwindSafe for QualityMetrics
impl Send for QualityMetrics
impl Sync for QualityMetrics
impl Unpin for QualityMetrics
impl UnwindSafe for QualityMetrics
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more