diff --git a/src/gradients.rs b/src/gradients.rs index 01faac4d..5529cc34 100644 --- a/src/gradients.rs +++ b/src/gradients.rs @@ -7,9 +7,9 @@ use crate::map::{ChannelMap, WithChannel}; use image::{GenericImage, GenericImageView, GrayImage, Luma, Pixel}; use itertools::multizip; -/// A special version of `gradient()` function for grayscale images which doesn't require giving a +/// A special version of `gradient` function for grayscale images which doesn't require giving a /// pixel mapping function. -pub fn gradients_grayscale
(
+pub fn gradients_grayscale(
image: &GrayImage,
horizontal_kernel: Kernel