| Literature DB >> 35323416 |
Monica Fira1, Hariton-Nicolae Costin1, Liviu Goraș1,2.
Abstract
The paper proposes a comparative analysis of the projection matrices and dictionaries used for compressive sensing (CS) of electrocardiographic signals (ECG), highlighting the compromises between the complexity of preprocessing and the accuracy of reconstruction. Starting from the basic notions of CS theory, this paper proposes the construction of dictionaries (constructed directly by cardiac patterns with R-waves, centered or not-centered) specific to the application and the results of their testing. Several types of projection matrices are also analyzed and discussed. The reconstructed signals are analyzed quantitatively and qualitatively by standard distortion measures and by the classification of the reconstructed signals. We used a k-nearest neighbors (KNN) classifier to evaluate the reconstructed models. The KNN module was trained with the models from the mega-dictionary used in the classification block and tested with the models reconstructed with class-specific dictionaries. In addition to the KNN classifier, a neural network was used to test the reconstructed signals. The neural network was a multilayer perceptron (MLP). Moreover, the results are compared with those obtained with other compression methods, and ours proved to be superior.Entities:
Keywords: ECG signal; compressed sensing; projection matrices; reconstruction dictionaries; signal classifications
Mesh:
Year: 2022 PMID: 35323416 PMCID: PMC8946021 DOI: 10.3390/bios12030146
Source DB: PubMed Journal: Biosensors (Basel) ISSN: 2079-6374
Figure 1Examples of cardiac patterns obtained by centered or non-centered R-wave: (a) Cardiac patterns with a centered R-wave; (b) Cardiac patterns without a centered R-wave.
Figure 2Principle of the PSCCS method.
Figure 3Block diagram of the CSCP method, using the mega-dictionary and/or a pathology-specific dictionary.
Average results for 24 ECG records processed with the PSCCS method.
| Projection Matrix and Its Size | CR | AVG. PRD | AVG. PRDN | QS |
|---|---|---|---|---|
| Gaussian distribution Random * Dict † | 4:1 | 0.31 | 6.47 | 12.9 |
| Bernoulli with 0 and 1 (75 × 300) | 4:1 | 0.41 | 7.96 | 9.75 |
| Gaussian distribution Random (75 × 300) | 4:1 | 0.43 | 8.56 | 9.30 |
| Gaussian distribution Random * Dict † | 10:1 | 0.67 | 13.42 | 14.92 |
| Bernoulli with 0 and 1 (30 × 300) | 10:1 | 0.81 | 15.49 | 12.34 |
| Gaussian distribution Random (30 × 300) | 10:1 | 0.82 | 16.48 | 12.19 |
| Gaussian distribution Random * Dict † | 15:1 | 0.97 | 21.31 | 15.46 |
| Bernoulli with 0 and 1 (20 × 300) | 15:1 | 1.31 | 23.28 | 11.45 |
| Gaussian distribution Random (20 × 300) | 15:1 | 1.13 | 25.37 | 13.27 |
Results for the 117 records processed with the PSCCS method.
| Projection Matrix and Its Size | CR | AVG. PRD | AVG. PRDN | QS |
|---|---|---|---|---|
| Gaussian distribution Random * Dict † | 4:1 | 0.19 | 4.69 | 21.05 |
| Bernoulli with 0 and 1 (75 × 300) | 4:1 | 0.40 | 7.20 | 10 |
| Gaussian distribution Random (75 × 300) | 4:1 | 0.45 | 8.12 | 8.88 |
| Gaussian distribution Random * Dict † | 10:1 | 0.45 | 11.19 | 22.22 |
| Bernoulli with 0 and 1 (30 × 300) | 10:1 | 0.70 | 12.67 | 14.28 |
| Gaussian distribution Random (30 × 300) | 10:1 | 0.73 | 13.21 | 13.69 |
| Gaussian distribution Random * Dict † | 15:1 | 0.63 | 15.61 | 23.80 |
| Bernoulli with 0 and 1 (20 × 300) | 15:1 | 0.96 | 17.28 | 15.62 |
| Gaussian distribution Random (20 × 300) | 15:1 | 1.01 | 18.24 | 14.85 |
Figure 4Original (blue) and reconstruct (red) ECG signal with PSCCS method (registration no. 117): (a) for CR 4:1, 10:1 and 15:1 with a Bernoulli projection matrix; (b) for CR 10:1 with random projection (Gaussian distribution).
Average results for 14 ECG records with the PSCCS method.
| Projection Matrix and Its Size | CR | AVG. PRD | AVG. PRDN | Classif. Rate with KNN | Classif. Rate with MLP |
|---|---|---|---|---|---|
|
| |||||
| Gaussian distribution Random * Dict † (20 × 301) | 15:1 | 0.78 | 11.98 | 92.24% | 93.7% |
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 0.94 | 16.06 | 84.71% | 86.2% |
| Gaussian distribution Random (20 × 301) | 15:1 | 0.82 | 13.82 | 91.14% | 93.4% |
|
| |||||
| Gaussian distribution Random * Dict † (20 × 301) | 15:1 | 0.51 | 9 | 93.41% | 95.2% |
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 0.71 | 12.4 | 88.06% | 90.3% |
| Gaussian distribution Random (20 × 301) | 15:1 | 0.72 | 12.51 | 89.70% | 91.6% |
Average results for 24 ECG records processed with the CSCP method with the mega-dictionary.
| Projection matrix and Its Size | CR | AVG. PRD | AVG. PRDN | QS |
|---|---|---|---|---|
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.88 | 13.67 | 17.04 |
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 1.44 | 21.43 | 10.41 |
| Gaussian distribution Random (20 × 301) | 15:1 | 1.62 | 24.33 | 9.25 |
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.67 | 9.99 | 22.38 |
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 1.08 | 15.47 | 13.88 |
| Gaussian distribution Random (20 × 301) | 15:1 | 1.19 | 17.18 | 12.60 |
Average results for 24 ECG records for CSCP method with a specific dictionary and classification based on the largest coefficient of the sparsest decomposition for the mega-dictionary.
| Projection Matrix and Its Size | CR | AVG. PRD | AVG. PRDN | QS |
|---|---|---|---|---|
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.77 | 11.76 | 19.48 |
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 1.23 | 17.90 | 12.19 |
| Gaussian distribution Random (20 × 301) | 15:1 | 1.37 | 20.25 | 10.94 |
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.62 | 6.14 | 24.19 |
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 0.97 | 13.93 | 15.46 |
| Gaussian distribution Random (20 × 301) | 15:1 | 1.04 | 14.80 | 14.42 |
Figure 5Original and reconstructed signals with pathology-specific dictionaries.
Results summary for dictionaries with a centered R-wave.
| Dictionary with a Centered R-Wave | Compression Rate | AVG. PRD | AVG. PRDN | KNN Classif. Rate | MLP |
|---|---|---|---|---|---|
| mega-dictionary | 10:1 | 0.47 | 6.24 | 93.2% | 93.8% |
| mega-dictionary | 15:1 | 0.67 | 9.99 | 92.5% | 93.1% |
| specific dictionaries | 10:1 | 0.43 | 6.02 | 95.2% | 96% |
| specific dictionaries | 15:1 | 0.62 | 6.14 | 95.5% | 96.2% |
| KNN classification results with original patterns | 95.5% | 96% | |||
| PRDN and KNN classification rate for the case with correct identification (100%) of the specific dictionary | 0.55 | 8.53 | 93% | 93.7% | |
Confusion matrix for KNN classification of the reconstructed patterns with a mega-dictionary.
| Class1 | Class2 | Class3 | Class4 | Class5 | Class6 | Class7 | Class8 | |
|---|---|---|---|---|---|---|---|---|
|
|
| 10 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 20 |
| 0 | 0 | 0 | 10 | 0 | 0 |
|
| 0 | 0 |
| 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 0 |
| 0 | 0 | 0 | 0 |
|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 0 |
|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 |
|
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 |
|
| 0 | 10 | 0 | 0 | 0 | 0 | 10 |
|
Average results for 24 ECG Records for the CSCP method with a patient-specific dictionary built from the first 700 cardiac cycles.
| Projection Matrix and Its Size | CR | AVG. PRD | AVG. PRDN | QS |
|---|---|---|---|---|
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.78 | 11.98 | 19.23 |
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 0.94 | 16.06 | 15.87 |
| Gaussian distribution Random (20 × 301) | 15:1 | 0.82 | 13.82 | 18.29 |
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 |
|
| 29.13 |
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 0.71 | 12.4 | 20.98 |
| Gaussian distribution Random (20 × 301) | 15:1 | 0.72 | 12.51 | 20.59 |
Figure 6Histogram of PRD and PRDN for 24 ECG records for the CSCP method with a patient-specific dictionary with projection matrix by type of Gaussian distribution Random * Dict †.
Results summary for CR = 15:1.
| Projection Matrix and Its Size | CR | AVG. PRD | AVG. PRDN | QS |
|---|---|---|---|---|
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.97 | 21.31 |
|
| Bernoulli with 0 and 1 (20 × 300) | 15:1 | 1.31 | 23.28 | 11.45 |
| Gaussian distribution Random (20 × 300) | 15:1 | 1.13 | 25.37 | 13.27 |
|
| ||||
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.88 | 13.67 |
|
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 1.44 | 21.43 | 10.41 |
| Gaussian distribution Random (20 × 301) | 15:1 | 1.62 | 24.33 | 9.25 |
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.67 | 9.99 |
|
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 1.08 | 15.47 | 13.88 |
| Gaussian distribution Random (20 × 301) | 15:1 | 1.19 | 17.18 | 12.60 |
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.77 | 11.76 |
|
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 1.23 | 17.90 | 12.19 |
| Gaussian distribution Random (20 × 301) | 15:1 | 1.37 | 20.25 | 10.94 |
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.62 | 6.14 |
|
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 0.97 | 13.93 | 15.46 |
| Gaussian distribution Random (20 × 301) | 15:1 | 1.04 | 14.80 | 14.42 |
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.78 | 11.98 |
|
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 0.94 | 16.06 | 15.87 |
| Gaussian distribution Random (20 × 301) | 15:1 | 0.82 | 13.82 | 18.29 |
|
| ||||
| Gaussian distribution Random * Dict † | 15:1 | 0.51 | 9 |
|
| Bernoulli with 0 and 1 (20 × 301) | 15:1 | 0.71 | 12.4 | 20.98 |
| Gaussian distribution Random (20 × 301) | 15:1 | 0.72 | 12.51 | 20.59 |
Average values for 24 records and 117 record for other compression algorithms.
| Record/Ave. | CR | AVG. PRD | AVG. PRDN | |
|---|---|---|---|---|
| Other Compression Algorithms | ||||
| Polania [ | 117 | 8:1 | 2.18 | Notspec. |
| Polania [ | 117 | 10:1 | 2.5 | Notspec. |
| Mamaghanian [ | Ave. for 24 records | 4:1 (75) | Before Huffman 35 | |
| After Huffman 15 | ||||
| 10:1 (90) | Before Huffman >45 | |||
| After Huffman >45 | ||||
| 15:1 (93) | Before Huffman >45 | |||
| After Huffman >45 | ||||
Quality score for compression algorithms for average values for 24 records.
| Algorithm | Average of Errors (PRD or RMS) | Average of CR | QS |
|---|---|---|---|
| Wavelet [ | 18.2 RMS | 21.4:1 | |
| SPHIT [ | 3.57 PRD | 12:1 | 3.39 |
| 4.85 PRD | 16:1 | 3.29 | |
| 6.49 PRD | 20:1 | 3.08 | |
| JPEG2000 [ | 2.19 PRD | 12:1 | 5.47 |
| 2.74 PRD | 16:1 | 5.8 | |
| 3.26 PRD | 20:1 | 6.1 | |
| QLV–Skeleton–Huffman * [ | 0.641 PRD * | 16.9:1 * | 29.36 * |
| Skeleton [ | 1.17 PRD | 18.27:1 | 15.61 |
|
|
|
|
|
|
|
|
|
|
NOTE: The results reported in [26] marked with * in Table 11 were obtained using a combined ECG compression method consisting of a preprocessing stage with quad level vector (QLV) for the extraction of the ECG skeleton achieving an 8.4:1 compression and a coding block (consisting of delta and Huffman Coding). The results referenced in Table 3 are the final one, improved by the Huffman coding stage.