pub struct TileQualityMetrics {
pub col: u32,
pub row: u32,
pub psnr_db: f64,
pub ssim: f64,
pub mse: f64,
}Expand description
Per-tile quality metrics.
Fields§
§col: u32Tile column index.
row: u32Tile row index.
psnr_db: f64Estimated PSNR in dB (peak signal-to-noise ratio).
ssim: f64Estimated SSIM (structural similarity) in [0.0, 1.0].
mse: f64Mean squared error.
Trait Implementations§
Source§impl Clone for TileQualityMetrics
impl Clone for TileQualityMetrics
Source§fn clone(&self) -> TileQualityMetrics
fn clone(&self) -> TileQualityMetrics
Returns a duplicate 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 TileQualityMetrics
impl Debug for TileQualityMetrics
Source§impl PartialEq for TileQualityMetrics
impl PartialEq for TileQualityMetrics
impl StructuralPartialEq for TileQualityMetrics
Auto Trait Implementations§
impl Freeze for TileQualityMetrics
impl RefUnwindSafe for TileQualityMetrics
impl Send for TileQualityMetrics
impl Sync for TileQualityMetrics
impl Unpin for TileQualityMetrics
impl UnsafeUnpin for TileQualityMetrics
impl UnwindSafe for TileQualityMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more