title: How extract contrast level of a photo - opencv
body: <p>I need to return the (average) contrast value of an image.
  Is this possible and if so, please show how?
  More than just the code, (obviously the code is welcome), in what color space should I work? Is HSV appropriate or best? Can the contrast value of a single pixel be computed?</p>