{'fraction_non_alphanumeric': 0.02079722703639515, 'fraction_numerical': 0.0, 'mean_word_length': 5.3812154696132595, '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}}
A Hybrid Color Quantization Algorithm That Combines the Greedy Orthogonal Bi-Partitioning Method With Artificial Ants

A color quantization technique that combines the operations of two existing methods is proposed. The first method considered is the Greedy orthogonal bi-partitioning method. This is a very popular technique in the color quantization field that can obtain a solution quickly. The second method, called Ant-tree for color quantization, was recently proposed and can obtain better images than some other color quantization techniques. The solution described in this article combines both methods to obtain images with good quality at a low computational cost. The resulting images are always better than those generated by each method applied separately. In addition, the results also improve those obtained by other well-known color quantization methods, such as Octree, Median-cut, Neuquant, Binary splitting or Variance-based methods. The features of the proposed method make it suitable for real-time image processing applications, which are related to many practical problems in diverse disciplines, such as medicine and engineering.