{'fraction_non_alphanumeric': 0.0215633423180593, 'fraction_numerical': 0.006738544474393531, 'mean_word_length': 5.243697478991597, '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}}
Comparison between Legendre moments and DCT in ECG compression

In this paper, a comparison is made between two techniques used in ECG (electrocardiogram) compression. These two techniques are Legendre moments that based on orthogonal polynomials and DCT (discrete cosine transform), one of the common used techniques in ECG compression. With sampling rate of 256 Hz and compression ratio 5:1, experimental results show that the reconstructed signals obtained by using Legendre moments has lower error than by using DCT. Besides that, compression using Legendre moments can filter out the noise in the original signals. The error between the original ECG signals and reconstructed ECG signals is measured using RMSE ( root mean square error).