pub struct NlmeansOptions {
pub prefilter: PrefilterMode,
pub motion_compensation: MotionCompensationMode,
pub tuning: NlmTuning,
}Expand description
Settings for Algorithm::Nlmeans.
Fields§
§prefilter: PrefilterModeWhich reference image the NLM weights are computed against.
None, the default, compares patches on the noisy input
directly. Every other mode costs one extra GPU pass per frame.
motion_compensation: MotionCompensationModeWhether temporal denoising follows motion between frames.
None, the default, turns motion compensation off. Mvtools
warps temporal neighbours into line with the centre frame before
the NLM weighting runs.
Only has an effect when DenoiserOptions::mode is
Temporal { .. }.
tuning: NlmTuningOverrides for the NLM search radius, patch radius, strength, and self-weight.
Trait Implementations§
Source§impl Clone for NlmeansOptions
impl Clone for NlmeansOptions
Source§fn clone(&self) -> NlmeansOptions
fn clone(&self) -> NlmeansOptions
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 moreimpl Copy for NlmeansOptions
Source§impl Debug for NlmeansOptions
impl Debug for NlmeansOptions
Source§impl Default for NlmeansOptions
impl Default for NlmeansOptions
Source§fn default() -> NlmeansOptions
fn default() -> NlmeansOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for NlmeansOptions
impl PartialEq for NlmeansOptions
impl StructuralPartialEq for NlmeansOptions
Auto Trait Implementations§
impl Freeze for NlmeansOptions
impl RefUnwindSafe for NlmeansOptions
impl Send for NlmeansOptions
impl Sync for NlmeansOptions
impl Unpin for NlmeansOptions
impl UnsafeUnpin for NlmeansOptions
impl UnwindSafe for NlmeansOptions
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