Skip to main content

postprocess

Function postprocess 

Source
pub fn postprocess(
    output: &Array4<f32>,
    original_lab_l: &[f32],
    orig_width: u32,
    orig_height: u32,
) -> Result<DynamicImage>
Expand description

Convert model output back to an image, merging original luminance with predicted chrominance.