GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dimi-lab/MultimodalityHistoComb: Combining multimodality histopathology images for integrated cancer research

BranchesTags
Open more actions menu

Latest commit

 

History

102 Commits
102 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
.vscode
.vscode
 
 
Alignment
Alignment
 
 
AnatomyDetection
AnatomyDetection
 
 
CellDetection
CellDetection
 
 
Dearray
Dearray
 
 
NN_test
NN_test
 
 
Visualization
Visualization
 
 
comparison
comparison
 
 
imgs
imgs
 
 
release
release
 
 
virtualHE
virtualHE
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Multimodality Histochemistry Combination

Multiplexed immunofluorescence (MxIF) signals are often compromised due to the complexities of cyclic staining protocols. We present a novel framework incorporating clinical-grade H&E staining as a reference to enhance the reliability and interpretability of MxIF analysis, focusing on cell spatial co-localization, cell feature validation, and virtual H&E generation.

Framework Figure 1. Overview of our framework. A) MxIF and H&E images to be aligned; B) Cell segmentations and quantifications; C) Cell-level alignment. 1) coherent point drift. 2) graph matching; D) Aligned MxIF and H&E images with combined cell-level representations.

Installation

conda create --prefix /path_to_your_envs/alignment python=3.8.2
conda activate alignment
pip install scikit-learn
pip install probreg==0.3.7
pip install pygmtools
pip install cupy

There is issue to run the code with version 0.3.8

Python version <= 3.11.11

Modules

Preprocessing

TMA de-array

De-array is a process that gets the tissue core out of the whole slide image, and then save the cores into FOV images. An pair of H&E and MxIF TMA core images can be downloaded from GoogleDrive.More data will be available soon.

See De-array for more detail

Cell segmentation

StarDist was used as our baseline for cell segmentation. However, our alignment framework is portable to different cell segmentation methods, as it only rely on detected cell centroids.

See Cell detection for more detail

Cell spatial co-localization

The cell co-localization was formulated as a point set alignment problem. Using cell detection outputs from each modality as anchors, Coherent Point Drift (CPD) was employed for initial alignment, followed by Graph Matching (GM) for refinement. The alignment accuracy was evaluated with 1) Distances between landmarks after transformation and target landmarks. 2) Rotation and translation differences between automatic method and manual annotation.

Check the client code here

There are two options to run the client:

  • Start from cell segmentation results;
  • Directly from the H&E and MxIF images. Please be aware that the two options could use different StarDist implementations (Python and QuPath versions) which may generate different cell segmentation results. Alignment Figure 2. Illustration of alignment algorithms and alignment accuracy evaluation method.

Cell feature validation

H&E-stained images are commonly used to provide cell-level referencing when MxIF images are inspected. Ideally, the same tissue section used for MxIF should be restained with H&E after the MxIF scanning to ensure identical referencing. However, the tissue may become damaged after multiple rounds of MxIF imaging, resulting in incomplete or compromised H&E staining. Many studies use the serial sections from the same tissue block for H&E staining. But the question is, how reliable are serial section H&E images as references for MxIF analysis when restained H&E is not available?

Our evaluations on staining and morphology feature for both re-stained and serial sections showed that restained section provide significantly higher concordance in cell features.

To run similar feature validation, check the code here. Please ensure the morphology and staining features are in the list.

Define your morphology features.

Define your staining features for H&E and MxIF.

Feature validation Figure 3. Cell feature concordance under different conditions.

Virtual H&E generation

Many MxIF platforms offer virtual H&E images as the "re-stained H&E reference" for reliable MxIF interpretation. However, the quality of virtual H&E is often insufficient for clinical purposes.Can high-quality virtual H&E images be generated from MxIF data to serve as a reliable reference, similar to restained H&E?

We propose to use image channels from MxIF (e.g. DAPI, NAK, PANCK) to generate virtual H&E images for referencing. More details can be found in this folder, including the code and documents for generating virual H&E and evaluating the quality of generated images.

Virtual H&E Figure 4. Generate virtual H&E when re-stained H&E image is not available. Evaluation demonstrated that the generated virtual H&E and real H&E share similar cell population.

References

Preprint: Jiang, Jun, Raymond Moore, Brenna Novotny, Leo Liu, Zachary Fogarty, Ray Guo, Markovic Svetomir, and Chen Wang. "Multimodal Alignment of Histopathological Images Using Cell Segmentation and Point Set Matching for Integrative Cancer Analysis." arXiv preprint arXiv:2410.00152 (2024).

About

Combining multimodality histopathology images for integrated cancer research

Topics

dataintegrationmultimodality

Resources

Readme
MIT license
Activity
Custom properties

Stars

4 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.