[Insight-users] Additive noise generator

Gavin Baker gavinb+xtk at cs.mu.OZ.AU
Mon Oct 4 01:33:41 EDT 2004


Hello,

I've written a little ImageToImageFilter that I call
AdditiveGaussianNoiseImageFilter, which uses a gausian normal variate
generator to add noise to an image.

Just take your clean input image, plug this fella into your pipeline, and -
voila! - an image as noisy as your Mom will let you.

This is particularly useful for testing filters and so on.  You can set the
alpha parameter to adjust the noise strength, and specify the seed to ensure
deterministic/repeatable testing.

Can someone please have a look over it and send me some feedback.  It is a
pretty simple class, but probably needs some cleanup.  I'm not sure if it is
structured the best, being a derivative of ImageToImageFilter and nesting
the functor.  If it is any use, I would like to contribute it.

Cheerio -

  :: Gavin

-- 
Gavin Baker                                      Complex Systems Group
http://www.cs.mu.oz.au/~gavinb             The University of Melbourne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noisy.zip
Type: application/x-zip-compressed
Size: 3701 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20041004/c7b061b5/noisy.bin


More information about the Insight-users mailing list