Abstract

Most of the images encountered in daily life are color images, yet grayscale remains prevalent in many fields due to its reduced data size and simplified operations. When reducing the dimensions of a three-channel color image to a single-channel grayscale, a portion of the original color information is inevitably lost. To yield high-quality grayscale images, this study introduces a color-to-gray conversion method based on chroma difference. This method defines a novel color distance metric for color-to-grayscale conversion, incorporating pixel chromaticity differences alongside brightness variations. The discrepancy in gray pixel values in the output grayscale image effectively mirrors the overall differences among input color image pixels. Optimization is conducted using the conjugate gradient method, ensuring appropriate reflection of luminance information from the input image and chromaticity data from the original color image within the grayscale rendering. Experimental validation confirms the efficacy of this approach. However, as the method accounts for all pixel pairs, it occasionally considers unnecessary pairs, leading to potential distortion in color differences between pixels and consequent inadequacies in chromaticity variation. To address this issue, a weighting factor is introduced, prioritizing color combinations with similar color differences. Experimental findings demonstrate that grayscale images produced using the proposed method outperform those generated by alternative approaches in preserving color differentials and retaining detailed features of the original image. The resulting output exhibits clear and natural outlines, as supported by both subjective and objective assessments.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call