Abstract
Converting color images to grayscale while preserving visual contrast and detail is a fundamental challenge in image processing. Standard luminance-based methods often fail to distinguish between different colors with similar brightness levels, leading to a loss of information. This paper introduces a fast, saliency-guided decolorization algorithm that intelligently fuses luminance and chrominance information. By prioritizing contrast in visually significant regions, the method achieves perceptually superior results with linear computational complexity, making it suitable for real-time applications and video processing.
Introduction
The conversion of a 3D color space (RGB) into a 1D grayscale representation is a deceptively complex task. Standard grayscale conversions primarily rely on luminance, which can lead to significant loss of detail when two distinct colors share similar luminance values. In such cases, the original contrast and "discriminability" of the image are destroyed, resulting in flat, featureless regions.
Existing approaches to this problem generally fall into two categories: local operators and global optimization methods. Local operators are prone to "halo" artifacts, while global optimization methods are often computationally expensive, limiting their use in real-time or video applications. The authors propose a global operator that is fast, artifact-free, and perceptually accurate.
Methods
The proposed method utilizes a straightforward fusing strategy that augments the luminance channel ($L$) with information from the hue ($H$) and saturation ($S$) channels, guided by a saliency map. The output luminance ($\mathcal{L}$) is computed using the following formula:
$$\mathcal{L} = L(1 + \gamma \cos(H\kappa + \phi)S)$$
In this equation, $\gamma$ (Gamma) controls the impact of saturation, $\kappa$ (Kappa) is set to 2 to respect color opponency, and $\phi$ (Phi) is an offset angle that shifts the filter to the most salient parts of the color wheel.
Unlike previous methods that treat all pixels equally, this approach incorporates a saliency model to identify visually important regions. This ensures that contrast is prioritized where the human eye naturally gravitates. The algorithm also includes a normalization step to prevent highlight or shadow clipping and a final blending step with the original luminance to maintain the overall feel of the source image.
Key Results
The proposed algorithm demonstrates significant advantages in terms of both speed and perceptual quality. With a linear runtime, it can process a 640x480 image in approximately one second in a Matlab implementation, vastly outperforming optimization-based competitors.
In a user study involving 14 volunteers, the method was ranked as one of the most perceptually accurate, significantly outperforming standard Photoshop-style conversions. As shown in the comparison above, the proposed method successfully preserves features—such as the number "2" in the Ishihara plate—that completely disappear in standard grayscale. Furthermore, the method maintains temporal coherence in video by calculating a stable offset angle across frames, avoiding the flickering artifacts common in local operators.
Conclusion
This paper presents a robust and efficient solution for saliency-guided decolorization. By intelligently blending color information based on visual importance, the method preserves the "soul" of the original image while maintaining high computational efficiency. Its versatility extends beyond simple grayscale conversion to tasks like single-image dehazing and detail enhancement, making it a powerful tool for various image processing applications.
Summary updated