pub struct IntensityComparisonMetrics {
pub reference_sum: f64,
pub estimate_sum: f64,
pub residual_l1: f64,
pub residual_l2: f64,
pub residual_mean: f64,
pub residual_std: f64,
pub residual_max_abs: f64,
pub normalized_l2: f64,
pub saturated_pixels: Option<usize>,
}Expand description
Aggregate residual statistics comparing an estimate with a reference image.
Fields§
§reference_sum: f64Sum of selected reference intensities.
estimate_sum: f64Sum of selected estimate intensities.
residual_l1: f64Sum of absolute signed residuals.
residual_l2: f64Euclidean norm of signed residuals.
residual_mean: f64Mean signed residual estimate - reference.
residual_std: f64Population standard deviation of signed residuals.
residual_max_abs: f64Maximum absolute residual.
normalized_l2: f64Residual L2 norm divided by reference L2 norm.
saturated_pixels: Option<usize>Selected reference pixels at or above the optional saturation threshold.
Trait Implementations§
Source§impl Clone for IntensityComparisonMetrics
impl Clone for IntensityComparisonMetrics
Source§fn clone(&self) -> IntensityComparisonMetrics
fn clone(&self) -> IntensityComparisonMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IntensityComparisonMetrics
impl Debug for IntensityComparisonMetrics
Source§impl<'de> Deserialize<'de> for IntensityComparisonMetrics
impl<'de> Deserialize<'de> for IntensityComparisonMetrics
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
Auto Trait Implementations§
impl Freeze for IntensityComparisonMetrics
impl RefUnwindSafe for IntensityComparisonMetrics
impl Send for IntensityComparisonMetrics
impl Sync for IntensityComparisonMetrics
impl Unpin for IntensityComparisonMetrics
impl UnsafeUnpin for IntensityComparisonMetrics
impl UnwindSafe for IntensityComparisonMetrics
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