pub struct ParamAtk {
pub latk: u16,
pub satk: u16,
pub katk: f32,
pub natk: u8,
pub steps: Vec<LiftingStep>,
}Expand description
Arbitrary Transformation Kernel parameters.
Stores the lifting steps for one wavelet kernel (e.g., the standard 5/3 or 9/7 filter).
Fields§
§latk: u16ATK marker segment length.
satk: u16Satk — carries filter type information.
katk: f32Scaling factor K (irreversible only).
natk: u8Number of lifting steps.
steps: Vec<LiftingStep>The lifting step coefficients.
Implementations§
Source§impl ParamAtk
impl ParamAtk
Sourcepub fn get_num_steps(&self) -> u32
pub fn get_num_steps(&self) -> u32
Returns the number of lifting steps.
Sourcepub fn get_step(&self, s: u32) -> &LiftingStep
pub fn get_step(&self, s: u32) -> &LiftingStep
Returns a reference to the s-th lifting step.
Sourcepub fn init_irv97(&mut self)
pub fn init_irv97(&mut self)
Initializes for the standard irreversible 9/7 wavelet.
Sourcepub fn init_rev53(&mut self)
pub fn init_rev53(&mut self)
Initializes for the standard reversible 5/3 wavelet.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParamAtk
impl RefUnwindSafe for ParamAtk
impl Send for ParamAtk
impl Sync for ParamAtk
impl Unpin for ParamAtk
impl UnsafeUnpin for ParamAtk
impl UnwindSafe for ParamAtk
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