[][src]Function photon_rs::conv::sobel_horizontal

pub fn sobel_horizontal(photon_image: &mut PhotonImage)

Apply a horizontal Sobel filter to an image.

Arguments

  • img - A DynamicImage that contains a view into the image.

Example

// For example, to apply a horizontal Sobel filter:
use photon::conv;
photon::conv::sobel_horizontal(img);