calculate_contrast

Function calculate_contrast 

Source
pub fn calculate_contrast(image: &ImageBuffer<Luma<u8>, Vec<u8>>) -> f32
Expand description

Calculate the contrast between two regions