Giter Club home page Giter Club logo

jimut123 / cellseg Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.47 GB

Code for the paper titled "Advancing instance segmentation and WBC classification in peripheral blood smear through domain adaptation: A study on PBC and the novel RV-PBS datasets" published on Elsevier's Expert Systems With Applications (ESWA) journal.

Home Page: https://www.sciencedirect.com/science/article/pii/S0957417424005268

Python 0.85% Jupyter Notebook 99.15% TeX 0.01% Shell 0.01%
classification domain-adaptation mask-rcnn blood-cell-count-dataset blood-cell-detection instance-segmentation segmentation-based-detection

cellseg's Introduction

Advancing instance segmentation and WBC classification in peripheral blood smear through domain adaptation: A study on PBC and the novel RV-PBS datasets


Abstract

Automating blood cell counting and detection from smear slides holds significant potential for aiding doctors in disease diagnosis through blood tests. However, existing literature has not adequately addressed using whole slide data in this context. This study introduces the novel RV-PBS dataset, comprising ten distinct peripheral blood smear classes, each featuring multiple multi-class White Blood Cells per slide, specifically designed, for instance segmentation benchmarks. While conventional instance segmentation models like Mask R-CNN exhibit promising results in segmenting medical artifact instances, they face challenges in scenarios with limited samples and class imbalances within the dataset. This challenge prompted us to explore innovative techniques such as domain adaptation using a similar dataset to enhance the classification accuracy of Mask R-CNN, a novel approach in the domain of medical image analysis. Our study has successfully established a comprehensive pipeline capable of segmenting, detecting, and classifying blood samples from slides, striking an optimal balance between computational complexity and accurate classification of medical artifacts. This advancement enables precise cell counting and classification, facilitating doctors in refining their diagnostic analyses.

This is the part of my Master's thesis where we segmented white blood cell via Mask RCNN (Aniket's part) and used Domain Adaptation to detect the cells.

pip install --upgrade --no-cache-dir gdown

Datasets used


The dataset is annotated using CVAT. We are planning to release an extended version of this dataset soon. If you are a haematologist, then you could help us by annotating and adding more data. Please make sure that the data is ethically cleared before uploading new data in public servers, such as Github.

Snapshot of dataset creation using CVAT

Some relevant stuffs from the paper

Please study the paper for getting more insights. Here are some snapshots from the paper:

Smear slides cropped dataset

Schematic diagram for extraction of cells ready to be sent to domain adaptation pipeline

Classification model used with different backbones

Results Table

Results Table

Results Table

Final output of the detection and segmentation pipeline for MaskRCNN and Domain Adaptation

Mask R-CNN losses

Domain Adaptation models

Results Table for Domain Adaptation

Domain Adaptation losses

Full pipeline

JSON outputs which can be used for automated annotation of new slides (Future work)

If you find this work useful, please consider citing

@article{PAL2024123660,
title = {Advancing instance segmentation and WBC classification in peripheral blood smear through domain adaptation: A study on PBC and the novel RV-PBS datasets},
journal = {Expert Systems with Applications},
volume = {249},
pages = {123660},
year = {2024},
issn = {0957-4174},
doi = {https://doi.org/10.1016/j.eswa.2024.123660},
url = {https://www.sciencedirect.com/science/article/pii/S0957417424005268},
author = {Jimut Bahan Pal and Aniket Bhattacharyea and Debasis Banerjee and Br. Tamal Maharaj},
keywords = {Automated blood test, Detection, Domain adaptation, Instance segmentation, Peripheral blood smear}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.