| Algorithm 2: Pseudo Code of Proposed CapsNet with IELMs |
| Input Parameters: Input Image = Iinput; No. of iteration = Niterations; Capsule = C; Image Features = Fimage; Threshold = Tthreshold; IELMs = EIELM; Output Image = Ooutput; Disease = D. |
| Output: Classification of COVID-19-infected CT scans |
| 1. For n =1: |
| 2. Fimage = C (Iinput) |
| 3. Execute Algorithm 1 |
| 4. Ooutput = EIELM (Fimage) // see Equation (12) |
| 5. If Ooutput == Tthreshold |
| 6. D is True // COVID-19 detected |
| 7. Else |
| 8. D is False // Normal |
| 9. End |