pub struct DenoiserOptions {
pub channel_mode: ChannelMode,
pub mode: DenoisingMode,
pub prefilter: PrefilterMode,
pub motion_compensation: MotionCompensationMode,
pub nlm: Option<NlmTuning>,
}Expand description
User-facing denoiser configuration. Build with DenoiserOptions::builder().
Fields§
§channel_mode: ChannelModeWhich channels of the frame to denoise.
mode: DenoisingModeSpatial-only or temporal denoising.
prefilter: PrefilterModeReference clip source for NLM weight computation.
motion_compensation: MotionCompensationModeMotion-compensation mode for temporal denoising. None
disables MC; Mvtools warps temporal neighbours into spatial
alignment with the centre frame before NLM weighting. Only
takes effect when mode is Temporal { .. }.
nlm: Option<NlmTuning>Override NLM tuning (search/patch radius, strength, self-weight).
None uses the defaults baked into [NlmParams].
Implementations§
Source§impl DenoiserOptions
impl DenoiserOptions
Sourcepub fn builder() -> DenoiserOptionsBuilder
pub fn builder() -> DenoiserOptionsBuilder
Create an instance of DenoiserOptions using the builder syntax
Trait Implementations§
Source§impl Clone for DenoiserOptions
impl Clone for DenoiserOptions
Source§fn clone(&self) -> DenoiserOptions
fn clone(&self) -> DenoiserOptions
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 moreAuto Trait Implementations§
impl Freeze for DenoiserOptions
impl RefUnwindSafe for DenoiserOptions
impl Send for DenoiserOptions
impl Sync for DenoiserOptions
impl Unpin for DenoiserOptions
impl UnsafeUnpin for DenoiserOptions
impl UnwindSafe for DenoiserOptions
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