pub struct MiloOutcome {
pub raw_error: f64,
pub mos: f64,
pub mask: Vec<f32>,
pub error_map: Vec<f32>,
pub width: usize,
pub height: usize,
}Expand description
A score and the maps it was pooled from.
Fields§
§raw_error: f64Mean over pixels and channels of mask * |reference - distorted|.
Zero for identical images. This is the metric.
mos: f64raw_error on KADID-10k’s 1..5 mean-opinion-score scale, via the
learned scaler. About 4.35 for identical images, lower with damage.
mask: Vec<f32>The visibility mask, one value per pixel, row-major. Each pyramid
level adds a sigmoid in (0, 1), so the range is (0, 4).
error_map: Vec<f32>Per-pixel perceived error, row-major, in 0..1: the scaler applied to
each pixel’s masked error, minus its value at zero. The reference’s
MILO_map.
width: usize§height: usizeTrait Implementations§
Source§impl Clone for MiloOutcome
impl Clone for MiloOutcome
Auto Trait Implementations§
impl Freeze for MiloOutcome
impl RefUnwindSafe for MiloOutcome
impl Send for MiloOutcome
impl Sync for MiloOutcome
impl Unpin for MiloOutcome
impl UnsafeUnpin for MiloOutcome
impl UnwindSafe for MiloOutcome
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