Skip to content

Add_noise

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

Add noise

Purpose

This utility adds noise to an image, volume, or images and volumes inside selection files. Noise can be uniformly distributed or distributed after a gaussian. The output can be redirected to other files or the same input ones can be rewritten.

Usage


$ add_noise -i [image in] ...


Parameters

  • __OR__ Add noise to a single file

  • __OR__ If no output file is given, then the input one is rewritten

  • `` Add noise to a bunch of files

  • `` If no output extension is given, then the input ones are rewritten

  • `` Do not produce on screen information

  • [avg0] = Add gaussian noise with this standard deviation (power of noise) and average (bias)

  • `` Add uniform noise within this minimum and maximum values

Examples and notes

Add noise to a single image, overwriting input image


$ add_noise -i g0ta0001.xmp -gaussian 0.1


Add uniform noise to a volume, writing in a different volume


$ add_noise -i g0ta.vol -uniform -0.1 0.1


--Main.AlfredoSolano - 29 Jan 2007

Clone this wiki locally