Gaussian Noise

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Gaussian Noise

Gregory James-2
Dear ImageJ community,


Can anyone give me the details of how the Gaussian noise is calculated with 'Process > Noise > Add Specified Noise...'? Can anyone reference a paper or give me the basic principle?


I'm asking because I want to add Gaussian noise to an array of numbers. I would prefer not to export my data to another platform e.g. Excel or R. If I know the details of how the Gaussian noise is added in an image then I could have a go at writing an algorithm that will do this to an array of numbers. Failing that, I suppose I could do the reverse and turn my array of numbers into an image - then use 'Process > Noise > Add Specified Noise...'.


I welcome your thoughts or comments,


Thanks,


Greg.


__________________________________________
Gregory James
Clinical Scientist (Nuclear Medicine)
Department of Physics and Nuclear Medicine
City Hospital
Dudley Road
Birmingham
B18 7QH

0121 507 4043


********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.

For more information and to find out how you can switch, https://portal.nhs.net/help/joiningnhsmail


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Gaussian Noise

Herbie
Good day Greg,

I'm not perfectly sure but most probable the Java approach is used:

Random ran = new Random();
double gRan = ran.nextGaussian();

For ImageJ you can find the Java method here:
<https://imagej.nih.gov/ij/developer/api/ij/process/ImageProcessor.html>

HTH a bit

Herbie

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Am 05.11.18 um 13:21 schrieb JAMES, gregory (SANDWELL AND WEST
BIRMINGHAM HOSPITALS NHS TRUST):

> Dear ImageJ community,
>
>
> Can anyone give me the details of how the Gaussian noise is calculated with 'Process > Noise > Add Specified Noise...'? Can anyone reference a paper or give me the basic principle?
>
>
> I'm asking because I want to add Gaussian noise to an array of numbers. I would prefer not to export my data to another platform e.g. Excel or R. If I know the details of how the Gaussian noise is added in an image then I could have a go at writing an algorithm that will do this to an array of numbers. Failing that, I suppose I could do the reverse and turn my array of numbers into an image - then use 'Process > Noise > Add Specified Noise...'.
>
>
> I welcome your thoughts or comments,
>
>
> Thanks,
>
>
> Greg.
>
>
> __________________________________________
> Gregory James
> Clinical Scientist (Nuclear Medicine)
> Department of Physics and Nuclear Medicine
> City Hospital
> Dudley Road
> Birmingham
> B18 7QH
>
> 0121 507 4043
>
>
> ********************************************************************************************************************
>
> This message may contain confidential information. If you are not the intended recipient please inform the
> sender that you have received the message in error before deleting it.
> Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.
>
> NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.
>
> For more information and to find out how you can switch, https://portal.nhs.net/help/joiningnhsmail
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Gaussian Noise

Gabriel Landini
In reply to this post by Gregory James-2
Hi Greg, search for "noise" in these files, depending what type of image you
are adding noise to:

https://github.com/imagej/imagej1/blob/master/ij/process/ShortProcessor.java
https://github.com/imagej/imagej1/blob/master/ij/process/FloatProcessor.java
https://github.com/imagej/imagej1/blob/master/ij/process/ByteProcessor.java

Cheers

Gabriel



On Monday, 5 November 2018 12:21:32 GMT you wrote:

> Dear ImageJ community,
>
>
> Can anyone give me the details of how the Gaussian noise is calculated with
> 'Process > Noise > Add Specified Noise...'? Can anyone reference a paper or
> give me the basic principle?
>
>
> I'm asking because I want to add Gaussian noise to an array of numbers. I
> would prefer not to export my data to another platform e.g. Excel or R. If
> I know the details of how the Gaussian noise is added in an image then I
> could have a go at writing an algorithm that will do this to an array of
> numbers. Failing that, I suppose I could do the reverse and turn my array
> of numbers into an image - then use 'Process > Noise > Add Specified
> Noise...'.
>
>
> I welcome your thoughts or comments,
>
>
> Thanks,
>
>
> Greg.
>
>
> __________________________________________
> Gregory James
> Clinical Scientist (Nuclear Medicine)
> Department of Physics and Nuclear Medicine
> City Hospital
> Dudley Road
> Birmingham
> B18 7QH
>
> 0121 507 4043
>
>
> ****************************************************************************
> ****************************************
>
> This message may contain confidential information. If you are not the
> intended recipient please inform the sender that you have received the
> message in error before deleting it. Please do not disclose, copy or
> distribute information in this e-mail or take any action in relation to its
> contents. To do so is strictly prohibited and may be unlawful. Thank you
> for your co-operation.
>
> NHSmail is the secure email and directory service available for all NHS
> staff in England and Scotland. NHSmail is approved for exchanging patient
> data and other sensitive information with NHSmail and other accredited
> email services.
>
> For more information and to find out how you can switch,
> https://portal.nhs.net/help/joiningnhsmail
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html