Certain chest illnesses, such as TB, adenocarcinoma, squamous cell carcinoma, large cell carcinoma, atelectasis, etc., can be diagnosed in chest radiographs, and the development of a CAD system relies in part on accurate lung segmentation. In order to partition the lungs in chest radiographs, this work introduces an unsupervised learning approach based on a circular window and local thresholding. The procedure involves pre-processing, a preliminary estimate of the lung field, and the elimination of noise. Images are initially scaled down to 1024x1024 and enhanced using adaptive histogram equalization. Then chest radiographs are binarized using the proposed method. Based on the geometrical and special characteristics, lungs are separated from the chest radiographs. The final step in picture segmentation is the use of morphological processes. Local thresholding, omitting extraneous body parts, filling in gaps, and filtering regions based on their attributes all contribute to preliminary estimates of the lung field.
Morphological processes are used as a means of eliminating background noise. A public bone shadow eliminated JSRT dataset consisting of 247 chest x-rays is used to measure the performance of the proposed method. The effectiveness of the proposed method results’ performance is evaluated by comparing it with Active Shape Model (ASM) based lung segmentation for various performance metrics such as F-score, overlap percentage, accuracy rate, sensitivity, specificity, and precision rates. All the parameters for the proposed method are over and above 90%. Our investigations indicate that the suggested method is an unsupervised learning approach that does not require any training.