Function transform_pixel

Source
pub fn transform_pixel(
    original_pixel: u8,
    colorType: Pix,
    histogram: &Histogram,
) -> u8