|
Algorithm 2. The algorithm of two convolutional stages of TL-CCANet. |
|
Input:
|
Raw Three-Lead Heartbeats
|
|
Output:
|
|
| 1: |
Form ECG matrix
|
| 2: |
for the first convolutional stage do
|
| 3: |
Form the three-lead pending matrices Xh
|
| 4: |
Compute the covariance matrix of and
|
| 5: |
Solve the CCA model by the Lagrange multiplier technique to obtain the three-lead project directions ah, h = 1, 2, 3 and bh, h = 1, 2, 3 |
| 6: |
Construct three-lead filter banks , h = 1,2, l = 1, 2, …, L1
|
| 7: |
Calculate the preliminary feature blocks of the first convolutional stage
|
| 8: |
end for
|
| 9: |
for the second convolutional stage do
|
| 10: |
Form the three-lead pending matrices |
| 11: |
Compute the covariance matrix of and
|
| 12: |
Solve the CCA model to obtain the three-lead project directions ch, h = 1, 2, 3 and dh, h = 1, 2, 3 |
| 13: |
Construct three-lead filter banks
|
| 14: |
Calculate the output of the second convolutional stage:
|
| 15: |
end for
|
| 16: |
Compute the binarized images , l = 1, 2, 3, …, L1
|
| 17: |
Compute the one decimal image
|
| 18: |
Construct the histogram vector fi
|