Lung infection or sickness is one of the most common acute ailments in humans. Pneumonia is one of the most common lung infections, and the annual global mortality rate from untreated pneumonia is increasing. Because of its rapid spread, pneumonia caused by the Coronavirus Disease (COVID-19) has emerged as a global danger as of December 2019. At the clinical level, the COVID-19 is frequently measured using a Computed Tomography Scan Slice (CTS) or a Chest X-ray. The goal of this study is to develop an image processing method for analysing COVID-19 infection in CT Scan patients. The images in this study were preprocessed using the Hybrid Swarm Intelligence and Fuzzy DPSO algorithms. According to extensive computer simulations, the persistent learning strategy for CT image segmentation using image enhancement is more efficient and adaptive than the Medical Image Segmentation (MIS) method. The findings suggest that the proposed method is more dependable, accurate, and simple than existing methods.