Function color

Source
fn color(
    img: &mut Frame,
    bright: f64,
    contrast: f64,
    sat: f64,
    hue_deg: f64,
    gamma: f64,
)
Expand description

Brightness/contrast/gamma via one LUT; saturation + hue via one combined 3×3 matrix (Rec.709 luma).