Comparative Analysis of LSTM and BiLSTM in Image Detection Processing
Dr. Bob Subhan RizaFaculty of Engineering and Computer Science, University of Potensi Utama. bob.potensi@gmail.com0000-0001-6358-9412
Dr. Rina YunitaH Adam Malik Central RSU at the Diagnostic Laboratory Installation for the Clinical Microbiology Sub-unit. rina.yunita@usu.ac.id0000-0001-5426-064X
Dr. Rika RosnellyFaculty of Engineering and Computer Science, University of Potensi Utama. rikarosnelly@gmail.com0000-0002-0407-5160
Keywords: TBEP Detection, Global Thresholding, CFS, LSTM, BiLSTM.
Abstract
Tuberculosis is an infectious disease and requires serious treatment. Extrapulmonary Tuberculosis is detected using a microscope. Currently it will take a long time because the fluid preparations are viewed in a microscope one by one carefully and in the fluid preparations there are 150 fields of vision. Examination for Extra Pulmonary Tuberculosis by culture takes between 1-2 weeks or even more. Examination by biopsy will take a long time because the fluid preparations are looked at carefully under the microscope one by one. The image of Tuberculosis is expressed if in the image there is a bacillus object in red, and it turns out that apart from the bacillus object there are other objects also in red. So that examinations for tuberculosis can be more efficient, examinations using computer technology are needed. This research aims to compare the Long Short-Term Memory (LSTM) and Bidirectional Long Short-Term Memory (BiLSTM) classification methods in the detection of extra-pulmonary tuberculosis disease to obtain better accuracy results. This research carried out HSI color space transformation, segmentation using global thresholding, feature extraction using 13 features based on shape and texture using the Correlation Based Feature Selection (CFS) feature selection method. The results show that BiLSTM has the best accuracy with a value of 88.40% at the number of features = 3, namely Short Run High Gray-Level Emphasis, Run Length Nonuniformity, Minor axis length, while LSTM produces an accuracy of 63.19% at the number of features = 5. BiLSTM is capable of detecting opposite features, meaning that BiLSTM can detect opposite features in data sequences and BiLSTM's ability to understand multiple contexts, so it tends to provide more accurate results in some data classification tasks.