Constructor
VipsImagegaussnoise
Declaration [src]
int
vips_gaussnoise (
VipsImage** out,
int width,
int height,
...
)
Description [src]
Make a one band float image of gaussian noise with the specified distribution.
The gaussian distribution is created by averaging 12 random numbers from a
linear generator, then weighting appropriately with mean and sigma.
::: tip “Optional arguments”
* mean: gdouble, mean of generated pixels
* sigma: gdouble, standard deviation of generated pixels
::: seealso
vips_black(), vips_xyz(), vips_text().
Parameters
out |
VipsImage |
Output image. |
|
| The argument will be set by the function. | |
| The called function takes ownership of the data, and is responsible for freeing it. | |
width |
int |
Output width. |
|
height |
int |
Output height. |
|
... |
none |
|