pub struct WaveletBand {
pub kind: J2kSubBandType,
pub resolution: u8,
pub rect: J2kRect,
pub quantization_step: f32,
pub samples: WaveletSamples,
}Expand description
One band in component coordinates, before inverse wavelet reconstruction.
Fields§
§kind: J2kSubBandTypeLow/high filtering along x, followed by y.
resolution: u8Codestream resolution index: 0 is LL; larger indices are finer detail.
rect: J2kRectBand 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more