The value of variance in function imnoise in case of gaussian is a bit confusing
이전 댓글 표시
Hi Everyone,
I am trying to add gaussian noise to image with some variance and mean, generally variance of 50 is considerable, but the function imnoise make image so much noisy even for a variance of 0.1,
image = rgb2gray(imread('pepper.jpg')); noisy_image = imnoise(image,'gaussian',0,0.1);
I just wanna ask that is this variance normalized using any specific scale, if yes, then with what factor do I need to multiply it to get the original one.
댓글 수: 1
Xiao Ling
2021년 3월 6일
So what will 0.1 variance be after rescale to unit8?
채택된 답변
추가 답변 (1개)
Sajid Khan
2013년 4월 9일
0 개 추천
댓글 수: 1
Image Analyst
2013년 4월 9일
That would be 255. Actually you can add anything but whenever the sum would exceed 255 it will get clipped at 255 because it's uint8. The most you can add without clipping is 255, which would only happen when added to a value of 0.
카테고리
도움말 센터 및 File Exchange에서 Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!