0
$\begingroup$

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

$\endgroup$

1 Answer 1

2
$\begingroup$

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.

$\endgroup$
4
  • $\begingroup$ I mostly agree... but what about for color images? :-) $\endgroup$
    – Peter K.
    Feb 14, 2013 at 16:12
  • $\begingroup$ Well, since this is a gray level variance, you would have to convert the image to grayscale first. :) $\endgroup$
    – Dima
    Feb 14, 2013 at 19:53
  • $\begingroup$ Yes, I figured that... just wondering whether the type of grayscale conversion matters. $\endgroup$
    – Peter K.
    Feb 15, 2013 at 3:32
  • 4
    $\begingroup$ @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. $\endgroup$
    – Dima
    Feb 15, 2013 at 5:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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