{'fraction_non_alphanumeric': 0.049160671462829736, 'fraction_numerical': 0.0, 'mean_word_length': 4.529801324503311, '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}}
On the optimal choice of quality metric in image compression

There exist many, different lossy compression methods, and most of these methods have several tunable parameters. In different situations, different methods lead to different quality reconstruction, so it is important to select, in each situation, the best compression method. A natural idea is to select the compression method for which the average value of some metric d(I, I/spl tilde/) is the smallest possible. The question is then: which quality metric should we choose? In this paper, we show that under certain reasonable symmetry conditions, L/sup p/ metrics d(I, I/spl tilde/) = /spl int/ |I(x)-I/spl tilde/(x)|/sup p/dx are the best, and that the optimal value of p can be selected depending on the expected relative size r of the informative part of the image.