Added the searching of the brightest point.

Added the darkest point of the image and the average value.