pub struct WaveletComponent {
pub index: u16,
pub rect: WaveletRect,
pub precision: u8,
pub signed: bool,
pub sampling: (u8, u8),
pub transform: WaveletTransform,
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: WaveletRectComponent 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: WaveletTransformReversible 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