[][src]Function photon::channels::remove_blue_channel

pub fn remove_blue_channel(img: &mut PhotonImage, min_filter: u8)

Remove the Blue channel's influence in an image.

Arguments

Example

// For example, to remove the blue channel for blue channel pixel values less than 50:
photon::channels::remove_blue_channel(&mut img, 50);