A Binary classification model for autofocus determination in microscopic blood smear Images
| dc.contributor.author | Hewavitharana D.C. | |
| dc.contributor.author | Dassanayake V.P.C | |
| dc.contributor.author | Jayathilaka W.A.D.M | |
| dc.contributor.author | Amarasinghe Y.W.R | |
| dc.date.accessioned | 2025-12-18T04:42:52Z | |
| dc.date.issued | 2025 | |
| dc.description.abstract | In whole slide imaging and blood smear analysis, where high-throughput microscopy requires clear, focused images for an accurate diagnosis, accurate autofocus determination is essential. Though many images taken in flat samples, such as blood smears, are already in focus, contemporary autofocus techniques, including post-processing using generative models or real-time deep learning, are frequently applied to every image, making them needlessly computationally intensive and slow. In order to improve computational efficiency and lower processing overhead, this study presents a unique real-time binary classification framework that distinguishes between focused and unfocused microscopic blood smear images before autofocus correction. Custom CNNs, CNNs tuned with Keras Tuner, and pre-trained architectures with custom training models are the three modeling strategies that we assess. Utilizing a sizable publicly accessible multi-focus dataset with 257,730 image stacks, we employ stratified splits for reliable benchmarking after preprocessing the data with focus metrics and grayscale normalization. The accuracy of the Keras Tuner-optimized CNN was 91.57%, whereas the best manually adjusted CNN was 89.67%. With low false detection rates and quick inference, EfficientNetB0 outperformed other pre-trained architectures with custom training models, achieving a maximum accuracy of 96.89%. The findings point to a trade-off between accuracy, interpretability, and model complexity. Lightweight CNNs are ideal for real-time deployment in embedded devices, even though pre-trained models perform exceptionally well. With implications for improving hybrid focus correction pipelines, this study lays the foundation for effective autofocus screening in digital microscopy. | |
| dc.identifier.conference | Moratuwa Engineering Research Conference 2025 | |
| dc.identifier.department | Engineering Research Unit, University of Moratuwa | |
| dc.identifier.email | hewavitharanadc.24@uom.lk | |
| dc.identifier.email | palitha@uom.lk | |
| dc.identifier.email | dumithj@uom.lk | |
| dc.identifier.email | ranama@uom.lk | |
| dc.identifier.faculty | Engineering | |
| dc.identifier.isbn | 979-8-3315-6724-8 | |
| dc.identifier.pgnos | pp. 408-413 | |
| dc.identifier.proceeding | Proceedings of Moratuwa Engineering Research Conference 2025 | |
| dc.identifier.uri | https://dl.lib.uom.lk/handle/123/24615 | |
| dc.language.iso | en | |
| dc.publisher | IEEE | |
| dc.subject | Binary Classification | |
| dc.subject | Autofocus Detection | |
| dc.subject | CNN | |
| dc.subject | Blood Smear Analysis | |
| dc.subject | Image Focus Assessment | |
| dc.title | A Binary classification model for autofocus determination in microscopic blood smear Images | |
| dc.type | Conference-Full-text |
