how calculate the Background noise in an image?

Antworten (2)

Image Analyst
Image Analyst am 14 Jul. 2015

0 Stimmen

Take a picture of the background and compute the standard deviation of it. How about that? Or do the same to a smooth part of the image. Should work if you have additive Gaussian noise, but there are lots of different kinds of noise. Can you post an image and say what you want to do with this information?

13 Kommentare

dziri halima
dziri halima am 14 Jul. 2015
i do not understand what i need do to calculate in practic.
Image Analyst
Image Analyst am 14 Jul. 2015
Bearbeitet: Image Analyst am 14 Jul. 2015
stDev = std(backgroundImage(:));
dziri halima
dziri halima am 23 Jul. 2015
thank you sir; i used it but This result is obtained on Undefined variable backgroundImage.
Error in ==> algori at 94 stDev = std(backgroundImage(:))
Please give the error message. ALL OF IT. I need all the red text, not just a small chunk of it like you did. Maybe backgroundImage needs to be cast as double, or maybe you are not using that same name for the variable in your image. Maybe you used "grayImage" or the hated "I" or some other name. I won't know until you post the entire error.
dziri halima
dziri halima am 23 Jul. 2015
i work with scintigraphy image and to calculate the ejection fraction i need to calculate the background noice to remove it .
Did you see my latest comment??? I asked you for something in it.
dziri halima
dziri halima am 23 Jul. 2015
??? Undefined variable backgroundImage.
Error in ==> algori at 94 stDev = std(backgroundImage(:))
>> this is the all red text;
Exactly like I suggested before: "you are not using that same name for the variable in your image." What is your background image called?
dziri halima
dziri halima am 23 Jul. 2015
Bearbeitet: Image Analyst am 23 Jul. 2015
ok sir i defined bachgroundImage like this :
b = imread('image5.jpg');
b=b(:,:,1);
a=fspecial('average',[5 5]);
G=imfilter(b,a);
G1=imadjust(G);
backgroundImage=double(G1);
stDev = std(backgroundImage(:))
is it correct ?
then i obtained the result but I'm not sure if this result is correct or not. i want calculate the background noise in small region of the image how can i do it?
this is the image
That looks right. Perhaps in the code you misspelled backgroundImage as bachgroundImage or something????
dziri halima
dziri halima am 23 Jul. 2015
in your first comment you said that there are lots of different kinds of noise.please can you explain it and how can i know the kinds of noice in my image ? i want know if The method of calculating background noice changing with kinds of noice ?
There's additive Gaussian noise, Poisson noise, 1/f noise, shot noise, and other kind of stochastic noise. In addition there are systematic noises like fixed pattern noise, quantization noise, etc. The Internet is a better source of education for you than I am, so I encourage you to learn more about noise. I'm not able to give you a course on noise here in the Answers forum for many reasons.
dziri halima
dziri halima am 23 Jul. 2015
Thank you for your answers

Melden Sie sich an, um zu kommentieren.

Muhammad Usman Saleem
Muhammad Usman Saleem am 23 Jul. 2015

0 Stimmen

what kind of noise you are talking about?

4 Kommentare

i don't know the kind of noise in my image ,i want know it !!!!
share image please?
i am sharing with you my two lectures , please read it your solution is here. (if you resolve the matter please accept my answer)

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 14 Jul. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by