Map3D-Registration: An End-to-end Pipeline for 3D Slide-wise Multi-stain Renal Pathology Registration
This is the official implementation of Map3D-Registration: An End-to-end Pipeline for 3D Slide-wise Multi-stain Renal Pathology Registration
IEEE Transactions on Medical Imaging Paper
Map3D: Registration Based Multi-Object Tracking on 3D Serial Whole Slide Images
Ruining Deng, Haichun Yang, Aadarsh Jha, Yuzhe Lu, Peng Chu, Agnes B. Fogo, and Yuankai Huo.
SPIE 2022 Paper
Dense multi-object 3D glomerular reconstruction and quantification on 2D serial section whole slide images
Ruining Deng, Haichun Yang, Zuhayr Asad, Zheyu Zhu, Shiru Wang, Lee E. Wheless, Agnes B. Fogo, Yuankai Huo.
SPIE 2023 Paper
An End-to-end Pipeline for 3D Slide-wise Multi-stain Renal Pathology Registration
Peize Li*, Ruining Deng*, and Yuankai Huo.
+ We release the registration pipeline as a single Docker.
Tissue examination and quantification in a 3D context on serial section whole slide images (WSIs) were labor-
intensive and time-consuming tasks. Our previous study proposed a novel registration-based method (Map3D)
to automatically align WSIs to the same physical space, reducing the human efforts of screening serial sections
from WSIs. However, the registration performance of our Map3D method was only evaluated on single-stain
WSIs with large-scale kidney tissue samples. In this paper, we provide a Docker for an end-to-end 3D slide-wise
registration pipeline on needle biopsy serial sections in a multi-stain paradigm.
The contribution of this paper is three-fold:
(1) We release a containerized Docker for an end-to-end multi-stain WSI registration;
(2) We prove that the Map3D pipeline is capable of sectional registration from multi-stain WSI;
(3) We verify that the Map3D pipeline can also be applied to needle biopsy tissue samples.
sudo docker pull peize/map3d
You can run the following commands to run Map3D Registration pipeline. You may change the input_dir
and the list of indexes, and then you will have the final segmentation results in output_dir
. Please refer to DATA.md for input data format requirement and data arrangement.
# you need to specify the input directory.
export input_dir=/home/input_dir
# set output directory
export output_dir=$input_dir/output
# run the docker
sudo nvidia-docker run -it --rm -v $input_dir:/INPUTS -v $output_dir:/OUTPUTS peize/map3d
# Enter a comma seperated list of indexes to indicate which image should be used as the middle section image in each case
2,3,5
Please refer to Develop.md for instructions of running Map3D Registration pipeline locally.
An example dataset of needle biopsy tissue samples for the pipeline can be found here. This dataset contains two different cases and each includes five .PNG files with 10X magnification.
Another example dataset of large tissue samples can also be found here. This dataset contains a single case of seven .PNG files with 10X magnification.
Below is an example input of serial section WSIs of needle biopsy tissue samples. These images are contained in our demo dataset, which can be found in the "Data" Section above.
- The entire pipeline is at the Map3D-pipeline folder
- Create an empty folder in the Map3D-pipeline folder and name it as "input_png". Put folders that contain 10X magnification PNG files into "input_png" folder. For guidance and instruction for input data format requirement and data arrangement, please refer to DATA.md.
- Use our docker image as shown in "Quick Start" Section or run the python scripts as following orders:
python Step1_superglue.py
python Step2_ApplySGToMiddle.py --middle_images 2,3,2
python Step3_matrix_npytomat.py
python Step4_SuperGlue+ANTs.py --middle_images 2,3,2
python Step5_BigRecon_moveAllslicesToMiddle.py --middle_images 2,3,2
- The output will be stored at "output" folder under Map3D-pipeline directory.
If set up correctly, the output for "no1" should look like
Below is an example input of serial section WSIs of large tissue samples. These images are also contained in our demo dataset, which can be found in the "Data" Section above.
Follow the same steps as for needle biopsy tissue samples. The output should look like
@article{deng2021map3d,
title={Map3D: Registration-Based Multi-Object Tracking on 3D Serial Whole Slide Images},
author={Deng, Ruining and Yang, Haichun and Jha, Aadarsh and Lu, Yuzhe and Chu, Peng and Fogo, Agnes B and Huo, Yuankai},
journal={IEEE transactions on medical imaging},
volume={40},
number={7},
pages={1924--1933},
year={2021},
publisher={IEEE}
}
@inproceedings{li2023end,
title={An end-to-end pipeline for 3D slide-wise multi-stain renal pathology registration},
author={Li, Peize and Deng, Ruining and Huo, Yuankai},
booktitle={Medical Imaging 2023: Digital and Computational Pathology},
volume={12471},
pages={96--101},
year={2023},
organization={SPIE}
}
@inproceedings{deng2022dense,
title={Dense multi-object 3D glomerular reconstruction and quantification on 2D serial section whole slide images},
author={Deng, Ruining and Yang, Haichun and Asad, Zuhayr and Zhu, Zheyu and Wang, Shiru and Wheless, Lee E and Fogo, Agnes B and Huo, Yuankai},
booktitle={Medical Imaging 2022: Digital and Computational Pathology},
volume={12039},
pages={83--90},
year={2022},
organization={SPIE}
}