Module noise

Source
Expand description

Add noise to images.

Functionsยง

add_noise_rand
Add randomized noise to an image. This function adds a Gaussian Noise Sample to each pixel through incrementing each channel by a randomized offset. This randomized offset is generated by creating a randomized thread pool. [WASM SUPPORT IS AVAILABLE]: Randomized thread pools cannot be created with WASM, but a workaround using js_sys::Math::random works now.
pink_noise
Add pink-tinted noise to an image.