An improved contrast enhancing approach for color-to-grayscale mappings