{'fraction_non_alphanumeric': 0.013389121338912133, 'fraction_numerical': 0.0, 'mean_word_length': 5.39572192513369, '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}}
Partition-based weighted sum filters for image restoration

In this work, we develop the concept of partitioning the observation space to build a general class of filters referred to as partition-based weighted sum (PWS) filters. In the general framework, each observation vector is mapped to one of M partitions comprising the observation space, and each partition has an associated filtering function. We focus on partitioning the observation space utilizing vector quantization and restrict the filtering function within each partition to be linear. In this formulation, a weighted sum of the observation samples forms the estimate, where the weights are allowed to be unique within each partition. The partitions are selected and weights tuned by training on a representative set of data. It is shown that the proposed data adaptive processing allows for greater detail preservation when encountering nonstationarities in the data and yields superior results compared to several previously defined filters. Optimization of the PWS filters is addressed and experimental results are provided illustrating the performance of PWS filters in the restoration of images corrupted by Gaussian noise.