Skip to content

Scripts and figures as a part of an ongoing research initiative for Advancing Hepatocellular Carcinoma Staging and Prognosis

Notifications You must be signed in to change notification settings

Haricharan0311/Hepatoma-Staging-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Advancing HCC Prognosis: A Comprehensive Framework for Improved Patient Outcomes

This repository contains a multi-stage pipeline for the analysis of histopathological images of hepatoma. The pipeline includes stain color normalization, nuclei mask segmentation, feature extraction, and prognosis prediction.

Hepatoma Analysis Pipeline

image

HCC_Poster.pdf

Table of Contents

Overview

Hepatocellular Carcinoma (HCC) is a primary cancer that originates in liver cells, specifically in hepatocytes. It is the most common type of liver cancer and represents a significant global health concern. With the advent of Machine Learning and imaging, staging has become an easy task and neural networks do a decent job. The research entails, quantifying certain biomarkers and features in the hope of making the process more "explainable". Quantifying said markers enables us to tweak the pipeline and staging systems for different body compositions and also helps us establish baseline scores for different markers helping us understand the leading causes of a particular variant of cancer.

The pipeline consists of two main stages:

  1. Stain Colour Normalisation and Nuclei Mask Segmentation: This stage normalizes the color of histopathological images and segments the nuclei.
  2. Feature Extraction and Analysis: This stage extracts features from the segmented nuclei masks and predicts prognosis based on these features.

Stage I: Stain Colour Normalisation and Segmentation

The Hepatoma_Pipeline.ipynb notebook performs stain color normalization on the given histopathological images and segments the nuclei masks. This notebook generates a Gradio link that hosts an interface for dragging and dropping images to get the intermediate outputs.

Stage II: Feature Extraction and Analysis

Cell Profiler

Feed the nuclei masks generated from the given images to Cell Profiler, an open-source software, to detect the primary objects within a pixel range of 5px to 40px.

Cell Profiler Analyst

Pass the obtained database file to Cell Profiler Analyst, which will produce an Excel sheet containing suitable features extracted for each nucleus identified from all the images.

Scripts

  1. Hepatoma_Generate_CSV.py: Aggregates all the features and creates a condensed table with image names and related features.
  2. Hepatoma_Prognosis.py: Runs the final prediction script based on the generated feature table.

Requirements

  • Python 3.x
  • Gradio
  • Jupyter Notebook
  • Cell Profiler
  • Cell Profiler Analyst