Function imgproc_rs::util::generate_histogram_percentiles [−][src]
pub fn generate_histogram_percentiles(
input: &Image<f64>,
percentiles: &mut HashMap<i32, f64>,
precision: f64
)
A helper function for histogram equalization
Arguments
input
- a reference to a CIELABImage
percentiles
- a mutableHashMap
reference relating an L channel intensity to the number of times it occurs ininput
as a percentileprecision
- The range of possible L channel intensity values (used to convert the intensity value to an i32, which can be used as a key inHashMap
andBTreeMap
)