{'fraction_non_alphanumeric': 0.012642225031605562, 'fraction_numerical': 0.0, 'mean_word_length': 5.2362204724409445, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Towards optimal color image coding using demosaicing

We introduce an optimal approach to color image compression using demosaicing. Accordingly, we propose an efficient algorithm for color image coding. In the encoder, a mosaic of the primary colors is encoded instead of the full color image. This mosaic is considered as four different color channels that are compressed using subband transform coders. In the decoder, a demosaicing algorithm is applied to the decompressed channels to reconstruct the full image. We use optimized color transforms both in the encoding stage and in the decoding stage. Our experimental results show that the proposed method outperforms currently available techniques with regard to visual and quantitative measures and is efficient for color image coding.