Skip to content

TILs are specialized Lymphocytes cells that play an important role in cancer diagnosis and treatment. This repo is based on detectron2 implementation of MaskRCNN

Notifications You must be signed in to change notification settings

zunairaR/Lymphocyte-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lymphocyte Analysis in IHC stained histopathological images

Project Overview

Presence of Tumor Infitrating Lymphocytes in cancer patients is related to patient prognosis after undergoing surgery or immunotherapy Therefore, lymphocyte detection and quantification is very important in cancer diagnosis. In this work, a lymphocyte analysis framework is developed that localizes lymphocytes undergoing two phases. The framework consists of a screening phase followed by a localization phase. For each phase a Deep CNN based model is implemented.

Figure 1: Overview of the proposed lymphocyte analysis workflow.

Histopathological Lymphocyte Dataset

Two publically available IHC stained lymphocytic datasets are used. For classification/screening phase we used "LYSTO dataset" and for detection/localization phase we employed dataset released by the "NuClick developers". Both datasets contained lymphocyte patch images stained using immunohistochemistry staining, which stains lymphocytes in brown color rings surronding a blue nucleus. Patch images were obtained from pathologist marked ROIs obtaned from different hospitals in Netherland. These ROI images are categorized into three regions a) artifact regions (containing some staining issues) b) regular regions (with sparse lymphocytes) and c) dense regions (with overlapping lymphocytes).

Screening Phase

Deep CNN based classification is performed to select candiate lymphocytic patches. In this regard a custom Lymph-DilNet is proposed.

Figure 2: Architectural diagram of the screening model.

Localization Phase

Once the candidate lymphoctyic patches are selected, they undergo a localization phase, where each lymphocyte in an image is localized. In this regard, we modified the backbone architecture of the state-of-the-art instance segmentation model (MaskRCNN).

Figure 3: Architectural diagram of the localization model.

Requirements

Python = 3.8

Cuda = 11.4

Torch = 1.12.0

Torchvision = 0.13.0

Detectron2

Implementation Details

Trained models are in trained_models directory.

Inference and model definition files are in py_files directory. Load the desired model by setting its name in inference file.

More Information

For more information email at the provided email address. Email : zunirauf01@gmail.com

About

TILs are specialized Lymphocytes cells that play an important role in cancer diagnosis and treatment. This repo is based on detectron2 implementation of MaskRCNN

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages