Documentation ¶
Overview ¶
Package noise provides functions to generate various types of image noise.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // NoiseFn is a noise function that will be called for each pixel // on the image being generated. NoiseFn Fn // Monochrome sets if the resulting image is grayscale or colored, // the latter meaning that each RGB channel was filled with different values. Monochrome bool }
Options to configure the noise generation.
Click to show internal directories.
Click to hide internal directories.