Function imgproc_rs::util::generate_lookup_table [−][src]
pub fn generate_lookup_table<T: Number, F>(table: &mut [T; 256], f: F) where
F: Fn(u8) -> T,
Populates table
with the appropriate values based on function f