Skip to main content

luminance

Function luminance 

Source
pub fn luminance(rgb: [f32; 3]) -> f32
Expand description

Rec.709-Leuchtdichte eines linearen RGB-Werts (Gewichtssumme = 1).