[][src]Function photon_rs::conv::identity

pub fn identity(photon_image: &mut PhotonImage)

Apply an identity kernel convolution to an image.

Arguments

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

Example

// For example, to apply an identity kernel convolution:
use photon::channels;
photon::conv::identity(img);