pub struct PlaneOptions {
pub accelerators: Vec<Accelerator>,
pub device: Device,
pub intent: ChannelIntent,
pub mode: DenoisingMode,
pub algorithm: Algorithm,
pub luma_strength: Option<f32>,
pub chroma_strength: Option<f32>,
pub luma_lambda_ht: Option<f32>,
pub chroma_lambda_ht: Option<f32>,
pub luma_mismatch_scale: Option<f32>,
pub chroma_mismatch_scale: Option<f32>,
}Expand description
The per-plane option set a caller resolves once and passes into
PlanarDenoiser::create.
Fields§
§accelerators: Vec<Accelerator>§device: Device§intent: ChannelIntent§mode: DenoisingMode§algorithm: AlgorithmWhich denoising algorithm to run, along with the settings only that algorithm reads.
luma_strength: Option<f32>Per-plane strength override for the luma denoiser. Takes
precedence over the algorithm’s own tuning.strength when set.
Only has an effect on the two NLM algorithms.
chroma_strength: Option<f32>Per-plane strength override for the chroma denoiser. Takes
precedence over the algorithm’s own tuning.strength when set.
Only has an effect on the two NLM algorithms.
luma_lambda_ht: Option<f32>Per-plane override for lambda_ht, luma. Takes precedence over
algorithm’s value when set, which itself falls back to a
calibrated per-plane default when nothing at all is set. Only
has an effect when algorithm is Algorithm::Nl4d, where it
pins the temporal grouping stage’s hard threshold.
chroma_lambda_ht: Option<f32>Per-plane override for lambda_ht, chroma. Takes precedence over
algorithm’s value when set, which itself falls back to a
calibrated per-plane default when nothing at all is set. Only
has an effect when algorithm is Algorithm::Nl4d, where it
pins the temporal grouping stage’s hard threshold.
luma_mismatch_scale: Option<f32>Per-plane override for mismatch_scale, luma. Takes precedence
over algorithm’s value when set. Only has an effect when
algorithm is Algorithm::Nl4d.
chroma_mismatch_scale: Option<f32>Per-plane override for mismatch_scale, chroma. Takes precedence
over algorithm’s value when set. Only has an effect when
algorithm is Algorithm::Nl4d.
Trait Implementations§
Source§impl Clone for PlaneOptions
impl Clone for PlaneOptions
Source§fn clone(&self) -> PlaneOptions
fn clone(&self) -> PlaneOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more