[][src]Function photon::conv::prewitt_horizontal

pub fn prewitt_horizontal(photon_image: &mut PhotonImage)

Apply a horizontal Prewitt convolution to an image.

Arguments

Example

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