BUGFIX:Illumination fix for log of 0 in the image levels estimation.