pub struct IntensityStats {
pub mean: f64,
pub std: f64,
pub min: f64,
pub max: f64,
pub sum: f64,
pub saturated_pixels: usize,
pub zero_pixels: usize,
}Expand description
Summary statistics calculated from one intensity image.
Fields§
§mean: f64Arithmetic mean intensity.
std: f64Population standard deviation of intensity.
min: f64Minimum intensity.
max: f64Maximum intensity.
sum: f64Sum of intensities.
saturated_pixels: usizePixels at or above the optional saturation threshold, or zero when absent.
zero_pixels: usizePixels exactly equal to zero.
Trait Implementations§
Source§impl Clone for IntensityStats
impl Clone for IntensityStats
Source§fn clone(&self) -> IntensityStats
fn clone(&self) -> IntensityStats
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 IntensityStats
impl Debug for IntensityStats
Source§impl<'de> Deserialize<'de> for IntensityStats
impl<'de> Deserialize<'de> for IntensityStats
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 IntensityStats
impl RefUnwindSafe for IntensityStats
impl Send for IntensityStats
impl Sync for IntensityStats
impl Unpin for IntensityStats
impl UnsafeUnpin for IntensityStats
impl UnwindSafe for IntensityStats
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