addCauchyNoise
Compute a sample image corrupted with a Cauchy noise.
Contents
Syntax.
[ Xnoisy ] = addCauchyNoise( X, gamma );
Definitions.
For , and a pixel image X, the Cauchy distribution is given by the following density:
Description.
[ Xnoisy ] = addCauchyNoise( X, gamma ) computes a sample image corrupted with a Cauchy noise with parameter gamma.
Example.
% Define gamma parameter gamma=5; % Load an image. input= imread('parrot.png'); % Corrupt the image. noisy = addCauchyNoise( input, gamma); % Display the objective function. figure, imshow(noisy), title('Cauchy noise on an image')
