Adds Kanungo noise to a binary object with 0 values as background points and values >0 for the foreground ones.
Usage: volAddNoise [input] [output]
Allowed options are: 
-h [ --help ]             display this message
-i [ --input ] arg        input image file name (any 3D image format accepted
                          by DGtal::GenericReader)
-o [ --output ] arg       output image file name (any 3D image format 
                          accepted by DGtal::GenericWriter)
-n [ --noise ] arg (=0.5) Kanungo noise level in ]0,1[ (default 0.5)
Example: 
$ volAddNoise -i $DGtal/examples/samples/Al.100.vol -o AlNoisy0.4.vol  -n 0.4
# Converting in sdp to display:
$ vol2sdp -i AlNoisy0.4.vol -o AlNoisy0.4.sdp 
# displaying sequence of points:
$ 3dSDPViewer -i tmp.sdp
You should obtain such a visualization:
Resuling visualisation with 3dSDPViewer.
 
- See also
 - volAddNoise.cpp