How to know the medium gray value of an image

asked 2019-03-06 09:20:36 -0600

AlmaBaro gravatar 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

edit retag flag offensive close merge delete

Comments

read doc : mean

LBerger gravatar imageLBerger ( 2019-03-06 09:53:11 -0600 )edit