pub fn find_extremes<T>(image: &Image<Luma<T>>) -> Extremes<T>where
T: Primitive,
Expand description
Finds the largest and smallest values in an image and their locations. If there are multiple such values then the lexicographically smallest is returned.