title: How to Get an Average Pixel Value of a Gray Scale Image in Python Using PIL\Numpy?
body: <p>I have few gray scale images and I thought of calculating the average pixel value of the total image, so that I can represent each individual image using a single value. </p>
  
  <p><a href="https://i.stack.imgur.com/Y8UeF.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Y8UeF.jpg" alt="enter image description here"></a></p>