multiplicative noise generate using randn

조회 수: 1 (최근 30일)
vipul utsav
vipul utsav 2013년 3월 17일
댓글: Image Analyst 2018년 5월 18일
I add additive '0' mean Gaussian noise to original image using
n=0+(sd)*randn(size(original image)) and i apply noise estimation algorithm to noisy image and i found additive noise.
If i needs to simulate noise estimation algorithm using multiplicative noise,how i generate noisy image with multiplicative noise? (only using 'randn' function, not using imnoise)

채택된 답변

Image Analyst
Image Analyst 2013년 3월 17일
편집: Image Analyst 2013년 3월 17일
noiseOnlyImage = sd * randn(size(noiseFreeImage));
noisyImage = noiseFreeImage .* noiseOnlyImage;
% Cast to uint8 if you want.
imshow(noisyImage, []); % Use [] if it's a double image.
  댓글 수: 8
Saija Bhumireddy
Saija Bhumireddy 2018년 5월 18일
what does sd mean? I see that it is not an inbuilt function. can someone explain this plss
Image Analyst
Image Analyst 2018년 5월 18일
sd is a variable that represents the standard deviation. It's something you assign a desired value to.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by