Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

how to create noise manually to a color image without imnoise function explain with example?

Asked by ARUN SAI on 17 Apr 2013

how to create noise manually to a color image without imnoise function explain with example?

ARUN SAI

Tags

Products

No products are associated with this question.

1 Answer

Answer by Iman Ansari on 17 Apr 2013

Hi. For gaussian noise with standard deviation of S:

clear
S = 20;
I = imread('peppers.png');
J = double(I) + S.*randn(size(I));
figure;
subplot(121)
imshow(I)
title('Original Image')
subplot(122)
imshow(J./255)
title('Additive Gaussian Noise')

0 Comments

Iman Ansari

Contact us