Function photon_rs::conv::noise_reduction
source · pub fn noise_reduction(photon_image: &mut PhotonImage)
Expand description
Noise reduction.
Arguments
img
- A PhotonImage.
Example
// For example, to noise reduct an image:
use photon_rs::conv::noise_reduction;
use photon_rs::native::open_image;
let mut img = open_image("img.jpg").expect("File should open");
noise_reduction(&mut img);
Adds a constant to a select R, G, or B channel’s value.