Segmentation Effect on Lungs X-Ray Image Classification Using Convolution Neural Network

The effect of segmentation on lung X-ray image classification has been analyzed in this study. The 150 lung x-ray images in this study were separated into 78 as training data, 30 as validation data, and 42 as testing in three categories: normal lungs, effusion lungs, and cancer lungs. In pre-processing, the images were modified by adaptive histogram equalization to improve image quality and increase image contrast. The segmentation aims to mark the image by contouring the lung area obtained from the thresholding and some morphological manipulation processes such as filling holes, area openings, and labelling. Image classification uses Convolutional Neural Network (CNN) with five convolution layers, an Adam optimizer, and 30 epochs. The segmentation effect is analyzed by comparing the classification performance of the segmented and unsegmented images. In the study, the unsegmented X-ray image dataset classification reached an overall accuracy of 59.52% in the network testing process. The segmented X-ray image dataset obtained greater accuracy, 73.81%. It indicated that the segmentation process could improve network performance because the input pattern of the segmented image is easier to classify. Furthermore, the segmentation technique in the study can be one of the alternatives to developing image classification technologies, especially for medical image diagnosis. Segmentation Effect on Lungs X-Ray Image Classification Using Convolution Neural Network.