Histogram measures the gray value of pixels in an image taken on the right