[][src]Function photon::conv::edge_detection

pub fn edge_detection(photon_image: &mut PhotonImage)

Apply edge detection to an image, to create a dark version with its edges highlighted.

Arguments

Example

// For example, to increase the Red channel for all pixels by 10:
use photon::channels;
photon::conv::edge_detection(img);