pub struct WaveletComponent {
pub index: u16,
pub rect: J2kRect,
pub precision: u8,
pub signed: bool,
pub sampling: (u8, u8),
pub transform: J2kWaveletTransform,
pub decomposition_levels: u8,
pub bands: Vec<WaveletBand>,
}Expand description
Selected bands from one codestream component in one tile.
Fields§
§index: u16Original codestream component index.
rect: J2kRectComponent tile rectangle at full component resolution.
precision: u8Source component precision in bits.
signed: boolWhether source samples are signed, before unsigned level shifting.
sampling: (u8, u8)Horizontal and vertical sample spacing in the image reference grid.
transform: J2kWaveletTransformReversible 5/3 or irreversible 9/7 transformation.
decomposition_levels: u8Number of wavelet decomposition levels in this component tile.
bands: Vec<WaveletBand>Selected bands in resolution order, with HL, LH, HH within each level.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaveletComponent
impl RefUnwindSafe for WaveletComponent
impl Send for WaveletComponent
impl Sync for WaveletComponent
impl Unpin for WaveletComponent
impl UnsafeUnpin for WaveletComponent
impl UnwindSafe for WaveletComponent
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