Kris Kristensen , Logan Morgan Ward , Mads Lause Mogensen , Simon Lebech Cichosz
{"title":"Using image processing and automated classification models to classify microscopic gram stain images","authors":"Kris Kristensen , Logan Morgan Ward , Mads Lause Mogensen , Simon Lebech Cichosz","doi":"10.1016/j.cmpbup.2022.100091","DOIUrl":null,"url":null,"abstract":"<div><h3>Background and Objective</h3><p>Fast and correct classification of bacterial samples are important for accurate diagnostics and treatment. Manual microscopic interpretation of Gram stain samples is both time consuming and operator dependent. The aim of this study was to investigate the potential for developing an automated algorithm for the classification of microscopic Gram stain images.</p></div><div><h3>Methods</h3><p>We developed and tested two algorithms (using image processing an Casual Probabilistic Network (CPN) and a Random Forest (RF) classification) for the automated classification of Gram stain images. A dataset of 660 images including 33 microbial species (32 bacteria and one fungus) was split into training, validation, and test sets. The algorithms were evaluated based on their ability to correctly classify samples and general characteristics such as aggregation and morphology.</p></div><div><h3>Results</h3><p>The CPN correctly classified 633/792 images to achieve an overall accuracy of 80% compared to the RF which correctly classified 782/792 images to achieve an overall accuracy of 99% (<em>p</em> < 0.001). The CPN performed well when distinguishing between GN and GP, with an accuracy of 95% (731/768). The RF also performed well in distinguishing between GN and GP, achieving an accuracy of 99% (767/768) (<em>p</em> < 0.001).</p></div><div><h3>Conclusions</h3><p>The findings from this study show promising results regarding the potential for an automated algorithm for the classification of microscopic Gram stain images.</p></div>","PeriodicalId":72670,"journal":{"name":"Computer methods and programs in biomedicine update","volume":"3 ","pages":"Article 100091"},"PeriodicalIF":0.0000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer methods and programs in biomedicine update","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666990022000428","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
Abstract
Background and Objective
Fast and correct classification of bacterial samples are important for accurate diagnostics and treatment. Manual microscopic interpretation of Gram stain samples is both time consuming and operator dependent. The aim of this study was to investigate the potential for developing an automated algorithm for the classification of microscopic Gram stain images.
Methods
We developed and tested two algorithms (using image processing an Casual Probabilistic Network (CPN) and a Random Forest (RF) classification) for the automated classification of Gram stain images. A dataset of 660 images including 33 microbial species (32 bacteria and one fungus) was split into training, validation, and test sets. The algorithms were evaluated based on their ability to correctly classify samples and general characteristics such as aggregation and morphology.
Results
The CPN correctly classified 633/792 images to achieve an overall accuracy of 80% compared to the RF which correctly classified 782/792 images to achieve an overall accuracy of 99% (p < 0.001). The CPN performed well when distinguishing between GN and GP, with an accuracy of 95% (731/768). The RF also performed well in distinguishing between GN and GP, achieving an accuracy of 99% (767/768) (p < 0.001).
Conclusions
The findings from this study show promising results regarding the potential for an automated algorithm for the classification of microscopic Gram stain images.