pub struct ConvolutionResult<T = f32> {
pub image: Array2<T>,
pub scaling_factor: f64,
}Fields§
§image: Array2<T>Convolved image, with NaNs where the input’s NaNs spread to.
scaling_factor: f64√(Ω_new/Ω_old), the DC gain of the filter, already applied to image.
Auto Trait Implementations§
impl<T> Freeze for ConvolutionResult<T>
impl<T> RefUnwindSafe for ConvolutionResult<T>
impl<T> Send for ConvolutionResult<T>
impl<T> Sync for ConvolutionResult<T>
impl<T> Unpin for ConvolutionResult<T>
impl<T> UnsafeUnpin for ConvolutionResult<T>
impl<T> UnwindSafe for ConvolutionResult<T>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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