Skip to main content

prequantized_component_from_dwt97

Function prequantized_component_from_dwt97 

Source
pub fn prequantized_component_from_dwt97(
    dwt: &Dwt97TwoDimensional<f64>,
    options: Htj2k97CodeBlockOptions,
    x_rsiz: u8,
    y_rsiz: u8,
) -> PrequantizedHtj2k97Component
Expand description

Quantize one level of float 9/7 bands into a prequantized HTJ2K component.

Resolution nesting matches the native encoder for a single decomposition level: resolution 0 holds [LL], resolution 1 holds [HL, LH, HH].