[][src]Function photon_rs::conv::prewitt_horizontal

pub fn prewitt_horizontal(photon_image: &mut PhotonImage)

Apply a horizontal Prewitt convolution to an image.

Arguments

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

Example

// For example, to apply a horizontal Prewitt convolution effect:
use photon::conv;
photon::conv::prewitt_horizontal(img);