pub fn match_histogram(image: &GrayImage, target: &GrayImage) -> GrayImage {
    let mut out = image.clone();
    match_histogram_mut(&mut out, target);
    out
}
Adjusts contrast of an 8bpp grayscale image so that its
histogram is as close as possible to that of the target image.
src/contrast.rs