Skip to main content

extract_gain_map_only

Function extract_gain_map_only 

Source
pub fn extract_gain_map_only(
    base_src: &PixelView<'_>,
    alternate_src: &PixelView<'_>,
    config: &GainMapExtractConfig,
    pulse: Option<&dyn Pulse>,
) -> Result<(PixelBuf, GainMapMetadata), At<ConvertError>>
Expand description

Extract only the numeric gain-map PixelBuf and exact GainMapMetadata from borrowed base_src and alternate_src views without duplicating the base raster, observing optional cooperative cancellation and progress via pulse (pass None when not needed).