Jurnal Nasional Pendidikan Teknik Informatika (JANAPATI)
Vol. 15 No. 1 (2026)

Hybrid Residual UNet with Triplet Embedded Metric Learning for Low Light Tuberculosis Bacilli Segmentation

Sari Ayu Wulandari (Department of Electrical Engineering, Institut Teknologi Sepuluh Nopember, Surabaya, Indonesia)
I Ketut Eddy Purnama (Department of Computer Engineering, Institut Teknologi Sepuluh Nopember, Surabaya, Indonesia)
Eko Mulyanto Yuniarno (Department of Electrical Engineering, Institut Teknologi Sepuluh Nopember, Surabaya, Indonesia)
Mauridhi Hery Purnomo (Department of Electrical Engineering, Institut Teknologi Sepuluh Nopember, Surabaya, Indonesia)



Article Info

Publish Date
31 Mar 2026

Abstract

Automated segmentation of Mycobacterium tuberculosis bacilli in Ziehl Neelsen stained sputum smears is essential for scalable tuberculosis (TB) screening, particularly in low resource settings where heterogeneous staining and poor illumination degrade image quality. Most encoder and decoder models such as Unet rely on overlap based supervision and lack embedding level discrimination, leading to feature confusion between bacilli and staining artifacts under low light conditions. To address this limitation, we propose a Hybrid Residual Unet with Triplet Embedded Metric Learning (RTL), which incorporates margin based metric supervision at the residual bottleneck using structured anchor, positive, and negative sampling and a joint Dice, binary cross entropy, and triplet objective. Evaluated on the DDS1 dataset with illumination stratified analysis, RTL outperformed Unet, Resunet, triplet based baselines, and Transunet, achieving higher Dice and mIoU, lower margin violation rates, and significantly improved embedding separability (p < 0.05). RTL also showed reduced performance variance across illumination subsets, indicating improved robustness to domain shift and more reliable bacilli delineation, which can support downstream components of automated TB microscopy workflows (detection, counting and slide level grading).

Copyrights © 2026






Journal Info

Abbrev

janapati

Publisher

Subject

Computer Science & IT Education Engineering

Description

Jurnal Nasional Pendidikan Teknik Informatika (JANAPATI) is a collection of scientific articles in the field of Informatics / ICT Education widely and the field of Information Technology, published and managed by Jurusan Pendidikan Teknik Informatika, Fakultas Teknik dan Kejuruan, Universitas ...