Abstract

Lungs are one of the most important parts of the human body. They are very susceptible to various disorders and diseases. For this reason, it is necessary to detect or diagnose the lungs. In this study, we present a method for lung segmentation using the CNN method U-Net architecture. The initial stage was pre-processed did a 1-1 correspondence to equalize the amount of training data and testing data and resized the image so all images have the same size. The process continued with the CLAHE (Contrast Limited Adaptive Histogram Equalization), and after that, the segmentation process was carried out according to the method. This study used a dataset from the Kaggle website. The results used the CNN method of the U-Net architecture in data get an average accuracy of 91.68%, sensitivity 92.80%, and specificity 89.15%, precision 95.07, and F1-Score 93. 92%. Based on the performance evaluation results, it was concluded that the method proposed in the study is great and valid in the lungs segmentation on X-Ray Thorax images.