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

조회 수: 6 (최근 30일)
how to create noise manually to a color image without imnoise function explain with example?

답변 (2개)

Iman Ansari
Iman Ansari 2013년 4월 17일
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')

muhammad khatib
muhammad khatib 2020년 11월 3일
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')

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by