pub fn sharpen_gaussian(image: &GrayImage, sigma: f32, amount: f32) -> GrayImage
Expand description

Sharpens a grayscale image using a Gaussian as a low-pass filter.

  • sigma is the standard deviation of the Gaussian filter used.
  • amount controls the level of sharpening. output = input + amount * edges.