pub struct Bm3dKernelConfig<F: Bm3dFloat> {
pub sigma_random: F,
pub threshold: F,
pub patch_size: usize,
pub step_size: usize,
pub search_window: usize,
pub max_matches: usize,
pub use_hadamard_fast_path: Option<bool>,
}Expand description
Shared BM3D kernel parameters used by both 2D and stack processing.
Fields§
§sigma_random: F§threshold: F§patch_size: usize§step_size: usize§search_window: usize§max_matches: usize§use_hadamard_fast_path: Option<bool>Optional per-call override for 8x8 Hadamard fast path.
Some(true/false) takes precedence over env/global defaults.
Trait Implementations§
Source§impl<F: Clone + Bm3dFloat> Clone for Bm3dKernelConfig<F>
impl<F: Clone + Bm3dFloat> Clone for Bm3dKernelConfig<F>
Source§fn clone(&self) -> Bm3dKernelConfig<F>
fn clone(&self) -> Bm3dKernelConfig<F>
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 moreimpl<F: Copy + Bm3dFloat> Copy for Bm3dKernelConfig<F>
Auto Trait Implementations§
impl<F> Freeze for Bm3dKernelConfig<F>where
F: Freeze,
impl<F> RefUnwindSafe for Bm3dKernelConfig<F>where
F: RefUnwindSafe,
impl<F> Send for Bm3dKernelConfig<F>
impl<F> Sync for Bm3dKernelConfig<F>
impl<F> Unpin for Bm3dKernelConfig<F>where
F: Unpin,
impl<F> UnsafeUnpin for Bm3dKernelConfig<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Bm3dKernelConfig<F>where
F: UnwindSafe,
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