Take the 2-minute tour ×
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It's 100% free, no registration required.

Tell me how do I find out gray level variance of the image? Is it any different from the normal variance of the image.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

I would think that it is indeed the "normal" variance of the image. You look at the distribution of the pixel values (i. e. gray levels), and compute its variance.

share|improve this answer
    
I mostly agree... but what about for color images? :-) –  Peter K. Feb 14 '13 at 16:12
    
Well, since this is a gray level variance, you would have to convert the image to grayscale first. :) –  Dima Feb 14 '13 at 19:53
    
Yes, I figured that... just wondering whether the type of grayscale conversion matters. –  Peter K. Feb 15 '13 at 3:32
4  
@PeterK., depends on what you need this for. And, of course, you can also look at the variance of each color channel, or at the covariance of the joint distribution of the color values. –  Dima Feb 15 '13 at 5:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.