pub struct MotionSearch {
pub blksize: u32,
pub overlap: u32,
pub search_radius: u32,
pub pyramid_levels: u32,
pub estimation: MotionEstimation,
}Expand description
The motion search’s tuning, for a denoiser that always tracks motion.
MotionCompensationMode::Mvtools carries the same five values for
a denoiser that can also turn motion compensation off.
Fields§
§blksize: u32The side length of each motion-search block, in pixels at the finest pyramid level.
overlap: u32How many pixels neighbouring blocks overlap.
This has to be strictly below blksize, so the step between
blocks stays positive.
search_radius: u32The search radius in pixels at the finest pyramid level.
The coarse pass uses the same radius on a half-size image, so its real reach is twice as far.
pyramid_levels: u32How many levels the pyramid has.
1 means a single full-resolution search. 2 adds a half-size
coarse pass that seeds the fine one. The maximum is
[MAX_PYRAMID_LEVELS].
estimation: MotionEstimationHow motion toward each temporal neighbour is estimated.
Trait Implementations§
Source§impl Clone for MotionSearch
impl Clone for MotionSearch
Source§fn clone(&self) -> MotionSearch
fn clone(&self) -> MotionSearch
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more