{'fraction_non_alphanumeric': 0.026455026455026454, 'fraction_numerical': 0.0021164021164021165, 'mean_word_length': 5.661971830985915, '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}}
Colour quantisation using self-organizing migrating algorithm

Colour quantisation is a common image processing technique to reduce the number of distinct colours in an image. Selecting these colour, which comprise a colour palette, is a challenging task since they determine the resulting image quality. In this paper, we propose a novel colour quantisation algorithm based on the Self-Organizing Migrating Algorithm (SOMA), in particular, SOMA Team To Team Adaptive (SOMA T3A), a recent variant of SOMA. SOMA T3A works, iteratively in three phases, namely organization, migration, and update, and performs adaptive parameter definition. Migrants are selected from the population and move towards a leader during the organization process. Experimental results on a benchmark set of images show excellent colour quantisation performance and our approach to outperform several conventional and soft-computing-based colour quantisation algorithms.