Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Julius Bamwenda has a total of 4 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Detection-Guided ROI-Constrained Diffusion for Weakly Supervised White Blood Cell Segmentation: A Retrospective Internal and External Dataset Evaluation

    by Julius Bamwenda, Mehmet Siraç Özerdem, Orhan Ayyildiz, Veysi Akpolat, İrem Akpolat

    Background: Accurate white blood cell (WBC) segmentation is important for quantitative microscopic image analysis, but conventional supervised approaches depend on labor-intensive pixel-level annotations and may exhibit reduced robustness across datasets. This study proposes a detector-guided, region of interest (ROI)-constrained framework that combines automatic localization, pseudo-mask-based weak supervision, and diffusion-assisted segmentation. Methods: You Only Look Once version 13 Nano (YOLOv13-N) was used to localize WBCs and define ROIs, within which segmentation was performed using the proposed diffusion-assisted model. Automatically generated pseudo-masks served as segmentation-training targets, while expert masks were retained for reference evaluation. Experiments used a verified Dicle cohort of 14,721 records, partitioned into 10,305 training, 2208 validation, and 2208 held-out test records. Performance was evaluated separately at ROI-conditional and end-to-end levels. Generalization was assessed on 11,200 Raabin-WBC records using the frozen framework without external tuning. Results: The automatically generated pseudo-masks achieved a mean Dice score of approximately 0.702, demonstrating usable but imperfect weak supervision. On the held-out Dicle test set, the proposed framework achieved a Dice score of 0.7188, intersection over union (IoU) of 0.5796, precision of 0.8966, and recall of 0.6422 under ROI-conditional evaluation. End-to-end performance was 0.6705 Dice, 0.5408 IoU, 0.8378 precision, and 0.5986 recall, demonstrating the influence of localization on overall performance. Comparison with reference segmentation architectures showed that the proposed framework did not maximize internal Dice, while achieving the highest reported ROI-conditional precision. Frozen external evaluation on Raabin-WBC revealed further degradation under dataset shift, with failure analysis identifying detector/ROI transfer as an important end-to-end bottleneck. Conclusions: The proposed framework demonstrates the feasibility of WBC segmentation using detector-guided ROI processing and pseudo-mask-based weak supervision, reducing reliance on expert pixel-level segmentation targets. The findings further show that robust cross-dataset localization is critical to end-to-end generalization and provide a clear direction for improving weakly supervised WBC segmentation across heterogeneous microscopy datasets.

  • Open Access

    TransNet–SAM2: A Transformer–Foundation Model Framework for Prompt-Free Segmentation of White Blood Cells in Microscopic Blood Smear Images

    by Julius Bamwenda, Mehmet Siraç Özerdem, Orhan Ayyildiz, Veysi Akpolat, İrem Akpolat

    Background: Accurate segmentation of white blood cells (WBCs) in peripheral blood smear images is a fundamental step in computational hematology, enabling downstream tasks such as classification, morphological assessment, and quantitative analysis. However, reliable segmentation remains challenging due to staining variability, complex cellular morphology, overlapping structures, and limited availability of high-quality annotations. Aim and Methods: The aim of this study is to develop a robust and fully automated segmentation framework for white blood cells (WBCs) in microscopic blood smear images, providing a reliable foundation for subsequent computational analysis. We propose TransNet–SAM2, a hybrid deep learning architecture that integrates hierarchical transformer-based feature extraction with a foundation-model-based decoder for prompt-free segmentation. Specifically, a Swin Transformer backbone is employed to capture multi-scale contextual representations, which are subsequently aligned and fused through a feature adaptation module. The fused features are directly injected into the SAM2 mask decoder, replacing conventional prompt-based conditioning and enabling fully automatic segmentation. In addition, a weakly supervised self-training strategy is incorporated to utilize partially annotated data, improving model generalization while reducing annotation requirements. The proposed framework is evaluated using a clinically curated dataset from Dicle University, the publicly available Raabin-WBC dataset, and an additional external leukemic blast validation dataset (ALL-IDB) to assess robustness under both routine and atypical hematological conditions. Results: TransNet-SAM2 achieved a Dice coefficient of 0.95 ± 0.01 and IoU of 0.90 on internal testing, significantly outperforming U-Net (0.89), Mask R-CNN (0.90), and SAM2 (0.92) (p < 0.05). In cross-dataset evaluation (Dicle training, Raabin-WBC testing), the framework maintained strong performance (Dice: 0.91, IoU: 0.84), demonstrating robustness to domain shifts. Ablation studies confirmed each component’s contribution, with the full model improving Dice by 6% over a CNN baseline. Qualitative analysis showed accurate boundary delineation even with cell overlap and background clutter. Conclusions: These findings indicate that the proposed framework provides a promising and scalable framework for WBC segmentation. While the current study focuses on segmentation, future work will investigate integration with classification and radiomics pipelines, as well as validation on more diverse clinical datasets, including bone marrow and leukemia samples.


  • Open Access

    Application of StarDist to Diagnostic-Grade White Blood Cells Segmentation in Whole Slide Images

    by Julius Bamwenda, Mehmet Siraç Özerdem, Orhan Ayyildiz, Veysi Akpolat

    Accurate and automated segmentation of white blood cells (WBCs) in whole slide images (WSIs) is a critical step in computational pathology. This study presents a comprehensive evaluation and enhancement of the StarDist algorithm, leveraging its star-convex polygonal modeling to improve segmentation precision in complex WSI datasets. Our pipeline integrates tailored preprocessing, expert annotations from QuPath, and adaptive learning strategies for model training. Comparative analysis with U-Net and Mask R-CNN demonstrates StarDist’s superiority across multiple performance metrics, including Dice coefficient (0.89), precision (0.99), and IoU (0.95). Visual evaluations further highlight its robustness in handling overlapping cells and staining inconsistencies. The study establishes StarDist as a reliable tool for digital pathology, with potential integration into clinical decision-support systems. In addition to Dice and IoU, metrics such as Aggregated Jaccard Index and Boundary F1-Score are gaining popularity for biomedical segmentation. Preprocessing techniques like Macenko stain normalization and adaptive histogram equalization can further improve generalizability. QuPath, an open-source digital pathology platform, was utilized to perform accurate WBC annotations prior to training and evaluation.


  • Open Access

    A Hybrid Deep Learning Framework for Accurate Cell Segmentation in Whole Slide Images Using YOLOv11, StarDist, and SAM2

    by Julius Bamwenda, Mehmet Siraç Özerdem, Orhan Ayyıldız, Veysı Akpolat

    Accurate segmentation of cellular structures in whole slide images (WSIs) is essential for quantitative analysis in computational pathology. However, the complexity and scale of WSIs present significant challenges for conventional segmentation methods. In this study, we propose a novel hybrid deep learning framework that integrates three complementary approaches, YOLOv11, StarDist, and Segment Anything Model v2 (SAM2), to achieve robust and precise cell segmentation. The proposed pipeline utilizes YOLOv11 as an object detector to localize regions of interest, generating bounding boxes or preliminary masks that are subsequently used either as prompts to guide SAM2 or to filter segmentation outputs. StarDist is employed to model cell and nuclear boundaries with high geometric precision using star-convex polygon representations, which are particularly effective in densely packed cellular regions. The framework was evaluated on a unique WSI dataset comprising 256 × 256 image tiles annotated with high-resolution cell-level masks. Quantitative evaluations using the Dice coefficient, intersection over union (IoU), F1-score, precision, and recall demonstrated that the proposed method significantly outperformed individual baseline models. The integration of object detection and prompt-based segmentation led to enhanced boundary accuracy, improved localization, and greater robustness across varied tissue types. This work contributes a scalable and modular solution for advancing automated histopathological image analysis.