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
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')
댓글 수: 0
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')
댓글 수: 0
참고 항목
카테고리
Help Center 및 File 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!