| DevIL Documentation | Home | Previous | Next |
The iluNoisify function adds noise to an image.
ILboolean iluNoisify(
ILubyte Factor
);
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.
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.