RAPHIA: A deep learning pipeline for the registration of MRI and whole-mount histopathology images of the prostate.

Image registration can map the ground truth extent of prostate cancer from histopathology images onto MRI, facilitating the development of machine learning methods for early prostate cancer detection. Here, we present RAdiology PatHology Image Alignment (RAPHIA), an end-to-end pipeline for efficient and accurate registration of MRI and histopathology images. RAPHIA automates several time-consuming manual steps in existing approaches including prostate segmentation, estimation of the rotation angle and horizontal flipping in histopathology images, and estimation of MRI-histopathology slice correspondences. By utilizing deep learning registration networks, RAPHIA substantially reduces computational time. Furthermore, RAPHIA obviates the need for a multimodal image similarity metric by transferring histopathology image representations to MRI image representations and vice versa. With the assistance of RAPHIA, novice users achieved expert-level performance, and their mean error in estimating histopathology rotation angle was reduced by 51% (12 degrees vs 8 degrees), their mean accuracy of estimating histopathology flipping was increased by 5% (95.3% vs 100%), and their mean error in estimating MRI-histopathology slice correspondences was reduced by 45% (1.12 slices vs 0.62 slices). When compared to a recent conventional registration approach and a deep learning registration approach, RAPHIA achieved better mapping of histopathology cancer labels, with an improved mean Dice coefficient of cancer regions outlined on MRI and the deformed histopathology (0.44 vs 0.48 vs 0.50), and a reduced mean per-case processing time (51 vs 11 vs 4.5 min). The improved performance by RAPHIA allows efficient processing of large datasets for the development of machine learning models for prostate cancer detection on MRI. Our code is publicly available at: https://github.com/pimed/RAPHIA.

Computers in biology and medicine. 2024 Mar 19 [Epub ahead of print]

Wei Shao, Sulaiman Vesal, Simon J C Soerensen, Indrani Bhattacharya, Negar Golestani, Rikiya Yamashita, Christian A Kunder, Richard E Fan, Pejman Ghanouni, James D Brooks, Geoffrey A Sonn, Mirabela Rusu

Department of Radiology, Stanford University, Stanford, CA, 94305, United States; Department of Medicine, University of Florida, Gainesville, FL, 32610, United States. Electronic address: ., Department of Urology, Stanford University, Stanford, CA, 94305, United States., Department of Urology, Stanford University, Stanford, CA, 94305, United States; Department of Epidemiology and Population Health, Stanford University, Stanford, CA, 94305, United States., Department of Radiology, Stanford University, Stanford, CA, 94305, United States., Department of Biomedical Data Science, Stanford University, Stanford, CA, 94305, United States., Department of Pathology, Stanford University, Stanford, CA, 94305, United States., Department of Radiology, Stanford University, Stanford, CA, 94305, United States; Department of Urology, Stanford University, Stanford, CA, 94305, United States., Department of Radiology, Stanford University, Stanford, CA, 94305, United States. Electronic address: .