Pneumonia Detection Using Local Binary Pattern and Siamese Neural Network Architecture
Convolutional neural networks detect pneumonia by evaluating the complete chest radiograph as a single image. For pediatric cases, such methods tend to capture aspects of patient posture, rib position, or scanning variation, instead of lung-specific abnormality. Radiologists read radiographs in a different way, namely, by comparing the left lung to the right lung to find unilateral opacities, and by looking at parenchymal texture for consolidation. In this paper, we propose a dual-domain Siamese network that matches the clinical reading process. Each radiograph is divided into left and right hemithorax crops, for which we generate a uniform Local Binary Pattern (LBP) texture map (P = 8, R = 1) and stack it with the grayscale image itself, forming a two-channel input. We then feed twin DenseNet-121 branches (using the same weights, and adapted to two-channel inputs), mapping each lung to a 128-dimensional feature space. Finally, we analyze bilateral asymmetry by calcu-lating the cosine similarity of the embeddings and training with a margin-based cosine embedding loss (m = 0.5). On the test set of 624 images from the Kermany et al. dataset, our model achieves an accuracy of 81.25% and an ROC-AUC of 0.844, which is superior to the baseline DenseNet-121 (0.609 AUC) and CheXNet (76.00%), without the need for pixel-level lung segmentations or ensemble methods of multiple models.
Authors
- Vishesh Panghal
- Pratyusha Mishra
Institutions
- Poornima Institute of Engineering and Technology (IN)
Publication Details
- Journal
- Iconic Research and Engineering Journals
- Published
- 2026-11-17
- DOI
- https://doi.org/10.64388/ire1725320
- Primary Topic
- COVID-19 diagnosis using AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00