On the ratios and the logarithms of dark colors in image processing