Re: Noise generation - salt and pepper



Add i.i.d. (independent and identically distributed) noise with a Cauchy
distribution of zero median to the image.

The Cauchy distribution is:

(1/PI)(1/(1+X^2)

and generated via

X = tan(PI*(U-0.5))

where

X is uniform on [0,1]

X should then be scaled by trial and error to give a visually acceptable
result.


.



Relevant Pages

  • Re: OT: Wealtn Moving Away From The USA
    ... If you flip a coin long enough, you can get "runs" of outcomes as ... distribution, but another distribution called the Cauchy. ... by the Cauchy distribution than the Gaussian/normal distribution ... Unka' George [George McDuffee] ...
    (rec.crafts.metalworking)
  • Re: Cauchy distribution questions
    ... measurements would follow a normal distribution centred around X. ... This would be better than taking the median as even though the expected ... The mean of a Cauchy distribution ...
    (sci.stat.math)
  • Re: Moments
    ... For example, for the Cauchy distribution ... distribution and are quite often declared to be undefined. ... automatically that the mean is at the point of symmetry. ... actually the statistical median of the Cauchy distribution. ...
    (comp.dsp)
  • Re: Moments
    ... distribution there exists no variance, ... (which is infinite). ... for Cauchy distribution and are quite often declared to be ... it follow automatically that the mean is at the point of symmetry. ...
    (comp.dsp)
  • Re: Moments
    ... All those "moments" with a name aren't really moments in anycase, ... For example, for the Cauchy distribution ... distribution and are quite often declared to be undefined. ... automatically that the mean is at the point of symmetry. ...
    (comp.dsp)

Quantcast