How to know the medium gray value of an image
Hi! I would like to know the medium gray value of an image. I know the method UCHAR, that access the gray value of a determined pixel, and then I can know the average of all of them, but is any other opcion a little faster?
Thank you in advance
read doc : mean