pub struct WaveletBand {
pub kind: WaveletBandKind,
pub resolution: u8,
pub rect: WaveletRect,
pub quantization_step: f32,
pub samples: WaveletSamples,
}Expand description
One band in component coordinates, before inverse wavelet reconstruction.
Fields§
§kind: WaveletBandKindLow/high filtering along x, followed by y.
resolution: u8Codestream resolution index: 0 is LL; larger indices are finer detail.
rect: WaveletRectBand coordinates, including nonzero origins and odd-size geometry.
quantization_step: f32Dequantization multiplier already applied to the returned coefficients. This is 1 for reversible output. Values are not normalized for a model.
samples: WaveletSamplesSamples in rows of rect.width() elements.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaveletBand
impl RefUnwindSafe for WaveletBand
impl Send for WaveletBand
impl Sync for WaveletBand
impl Unpin for WaveletBand
impl UnsafeUnpin for WaveletBand
impl UnwindSafe for WaveletBand
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