Adds noise (Kanungo's) to a binary 2D object.
Usage: imgAddNoise [input] [output]
Allowed options are:
-h [ --help ] display this message
-i [ --input ] arg input image file name (any 2D image format accepted
-o [ --output ] arg output image file name (any 2D image format
-n [ --noise ] arg (=0.5) Kanungo noise level in ]0,1[ (default 0.5)
resulting volumetric file.
Example:
$ imgAddNoise -i ${
DGtal}/examples/samples/klokan.pgm -o noise.pgm
You will obtain such image:
Resulting image.
- See also
- imgAddNoise.cpp