{'fraction_non_alphanumeric': 0.02459893048128342, 'fraction_numerical': 0.0, 'mean_word_length': 5.281879194630872, '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 New Method for Contour Extraction and Image Compression in Spectral Domain

Three different algorithms of contour extraction and image compression using low-pass filter (LPF) and high-pass filter (HPF) are presented and compared with Sobel and Canny edge detectors in this paper. The proposed algorithms used periodic Haar piecewise-linear (PHL) transform, discrete cosine transform (DCT) and Haar transform (HT). Effectiveness of the contour extraction for different classes of images is evaluated. In the paper the main idea of the proposed procedure for both contour extraction and image compression are performed. To compare the results, the mean square error and signal-to-noise ratio criterions were used. Number of operations that is necessary to perform contour extraction and image compression procedures is also presented. The simplicity and the small number of operations are the main advantages of the proposed algorithms