[][src]Function photon::monochrome::decompose_min

pub fn decompose_min(photon_image: &mut PhotonImage)

Uses a min. decomposition algorithm to convert an image to greyscale.

Arguments

Example

// For example, to decompose an image with min decomposition:
monochrome::decompose_min(&mut img);