For distance use square error of luminance