DevIL Documentation Home | Previous | Next

iluNoisify

The iluNoisify function adds noise to an image.


ILboolean iluNoisify(
  ILubyte Factor
);

Parameters

Factor
Specifies the amount of noise to add. Higher values mean more noise.

Remarks

iluNoisify adds Factor amount of random noise to an image. Factor is split in half, and up to Factor/2 units of brightness/darkness can be applied to any given pixel.

Error Codes

ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.

See Also

ilGenImages, ilBindImage