DevIL Documentation Home | Previous | Next

iluNoisify

The iluNoisify function adds noise to an image.


ILboolean iluNoisify(
  ILclampf 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 can range from 0.0f to 1.0f, with 1.0 being extreme noise and 0.0 being no noise.

Error Codes

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

See Also

ilGenImages, ilBindImage