from machinevisiontoolbox import Image
im = Image.Read('street.png')
hist = im.hist()
hist.plot() # standard frequency plot