Machine learning of dissection photographs and surface scanning for quantitative 3D neuropathology

  1. Harshvardhan Gazula
  2. Henry FJ Tregidgo
  3. Benjamin Billot
  4. Yael Balbastre
  5. Jonathan Williams-Ramirez
  6. Rogeny Herisse
  7. Lucas J Deden-Binder
  8. Adria Casamitjana
  9. Erica J Melief
  10. Caitlin S Latimer
  11. Mitchell D Kilgore
  12. Mark Montine
  13. Eleanor Robinson
  14. Emily Blackburn
  15. Michael S Marshall
  16. Theresa R Connors
  17. Derek H Oakley
  18. Matthew P Frosch
  19. Sean I Young
  20. Koen Van Leemput
  21. Adrian V Dalca
  22. Bruce Fischl
  23. Christine L MacDonald
  24. C Dirk Keene
  25. Bradley T Hyman
  26. Juan E Iglesias  Is a corresponding author
  1. Martinos Center for Biomedical Imaging, MGH and Harvard Medical School, United States
  2. Centre for Medical Image Computing, University College London, United Kingdom
  3. Computer Science and Artificial Intelligence Laboratory, MIT, United States
  4. Biomedical Imaging Group, Universitat Politècnica de Catalunya, Spain
  5. BioRepository and Integrated Neuropathology (BRaIN) Laboratory and Precision Neuropathology Core, UW School of Medicine, United States
  6. Massachusetts Alzheimer Disease Research Center, MGH and Harvard Medical School, United States
  7. Neuroscience and Biomedical Engineering, Aalto University, Finland
  8. Department of Neurological Surgery, UW School of Medicine, United States
9 figures, 1 video, 2 tables and 1 additional file

Figures

Examples of inputs and outputs from the MADRC dataset.

(a) Three-dimensional (3D) surface scan of left human hemisphere, acquired prior to dissection. (b) Routine dissection photography of coronal slabs, after pixel calibration, with digital rulers overlaid. (c) 3D reconstruction of the photographs into an imaging volume. (d) Sagittal cross-section of the volume in (c) with the machine learning segmentation overlaid. The color code follows the FreeSurfer convention. Also, note that the input has low, anisotropic resolution due to the large thickness of the slices (i.e., rectangular pixels in sagittal view), whereas the 3D segmentation has high, isotropic resolution (squared pixels in any view). (e) 3D rendering of the 3D segmentation into the different brain regions, including hippocampus (yellow), amygdala (light blue), thalamus (green), putamen (pink), caudate (darker blue), lateral ventricle (purple), white matter (white, transparent), and cortex (red, transparent). (f) Distribution of hippocampal volumes in post mortem confirmed Alzheimer’s disease vs controls in the MADRC dataset, corrected for age and gender.

Qualitative comparison of SAMSEG vs Photo-SynthSeg: coronal (top) and sagittal (bottom) views of the reconstruction and automated segmentation of a sample whole brain from the UW-ADRC dataset.

Note that Photo-SynthSeg supports subdivision of the cortex with tools of the SynthSeg pipeline.

Dice scores of automated vs manual segmentations on select slices.

Box plots are shown for SAMSEG, Photo-SynthSeg, and two ablations: use of probabilistic atlas and targeted simulation with 4 mm slice spacing. Dice is computed in two-dimensional (2D), using manual segmentations on select slices. We also note that the absence of extracerebral tissue in the images contributes to high Dice for the cortex.

Reconstruction error (in mm) in synthetically sliced HCP data.

The figure shows box plots for the mean reconstruction error as a function of spacing and thickness jitter. A jitter of j means that the nth slice is randomly extracted from the interval [nj,n+j] (rather than exactly n). The center of each box represents the median; the edges of the box represent the first and third quartiles; and the whiskers extend to the most extreme data points not considered outliers (not shown, in order not to clutter the plot).

Steps of proposed processing pipeline.

(a) Dissection photograph with brain slices on black board with fiducials. (b) Scale-invariant feature transform (SIFT) features for fiducial detection. (c) Photograph from (a) corrected for pixel size and perspective, with digital ruler overlaid. (d) Segmentation against the background, grouping pieces of tissue from the same slice. (e) Sagittal slice of the initialization of a three-dimensional (3D) reconstruction. (f) Corresponding slice of the final 3D reconstruction, obtained with a surface as reference (overlaid in yellow). (g) Corresponding slice of the 3D reconstruction provided by a probabilistic atlas (overlaid as a heat map); the real surface is overlaid in light blue for comparison.

Intermediate steps in the generative process.

(a) Randomly sampled input label map from the training set. (b) Spatially augmented input label map; imperfect 3D reconstruction is simulated with a deformation jitter across the coronal plane. (c) Synthetic image obtained by sampling from a Gaussian mixture model conditioned on the segmentation, with randomized means and variances. (d) Slice spacing is simulated by downsampling to low resolution. This imaging volume is further augmented with a bias field and intensity transforms (brightness, contrast, gamma). (e) The final training image is obtained by resampling (d) to high resolution. The neural network is trained with pairs of images like (e) (input) and (b) (target).

Appendix 1—figure 1
Simulation and reconstruction of synthetic data.

Top row: skull stripped T1 scan and (randomly translated and rotated) binary mask of the cerebrum, in yellow. Second row: original T2 scan. Third row: randomly sliced and linearly deformed T2 images. Bottom row: output of the 3D reconstruction algorithm, that is, reconstructed T2 slices and registered reference mask overlaid in yellow.

Appendix 1—figure 2
Reconstruction with surface scan vs probabilistic atlas.

(a) Initialization, with contour of 3D surface scan superimposed. (b) Reconstruction with 3D surface scan. (c) Reconstruction with probabilistic atlas (overlaid as heat map with transparency); the contour of the surface scan is overlaid in light blue, for comparison. Even though the shape of the reconstruction in (c) is plausible, it is clearly inaccurate in light of the surface scan.

Appendix 1—figure 3
Example of mid-coronal slice selected for manual segmentation and computation of Dice scores.

Compared with the FreeSurFer protocol, we merge the ventral diencephalon (which has almost no visible contrast in the photographs) with the cerebral white matter in our manual delineations. We also merged this structures in the automated segmentations from SAMSEG and Photo-SynthSeg in this figure, for a more consistent comparison.

Videos

Video 1
Overview of the proposed method.

Tables

Table 1
Area under the receiver operating characteristic curve (AUROC) and p-value of a non-parametric Wilcoxon rank sum test comparing the volumes of brain regions for Alzheimer’s cases vs controls.

The volumes were corrected by age and sex using a general linear model. We note that the AUROC is bounded between 0 and 1 (0.5 is chance) and is the non-parametric equivalent of the effect size (higher AUROC corresponds to larger differences). The sample size is N=33.

RegionWh matterCortexVentThalCaudPutamenPallidumHippocAmyg
AUROC0.450.520.730.480.650.640.770.750.77
p-value0.6660.4180.0160.5960.0860.0920.0050.0090.007
Table 2
Correlations of volumes of brains regions estimated by SAMSEG and Photo-SynthSeg from the photographs against the ground truth values derived from the magnetic resonance imaging (MRI).

The p-values are for Steiger tests comparing the correlations achieved by the two methods (accounting for the common sample).

Mask from MRI as referenceProbabilistic atlas as reference
SAMSEGPhoto-SynthSegp-valueSAMSEGPhoto-SynthSegp-value
White matter0.9350.9810.00110.8860.9350.0117
Cortex0.9300.9790.00010.8890.9200.0366
Ventricle0.9680.9880.00040.9800.9930.0006
Thalamus0.8120.8240.43500.8120.8240.4252
Caudate0.7190.7790.25250.7330.7920.2062
Putamen0.9040.7790.99230.8720.7920.9598
Pallidum0.7270.6940.61710.6760.6580.5698
Hippocampus0.8300.7570.88730.7640.7760.4293
Amygdala0.5980.7030.16630.5760.7630.0221

Additional files

Download links

A two-part list of links to download the article, or parts of the article, in various formats.

Downloads (link to download the article as PDF)

Open citations (links to open the citations from this article in various online reference manager services)

Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)

  1. Harshvardhan Gazula
  2. Henry FJ Tregidgo
  3. Benjamin Billot
  4. Yael Balbastre
  5. Jonathan Williams-Ramirez
  6. Rogeny Herisse
  7. Lucas J Deden-Binder
  8. Adria Casamitjana
  9. Erica J Melief
  10. Caitlin S Latimer
  11. Mitchell D Kilgore
  12. Mark Montine
  13. Eleanor Robinson
  14. Emily Blackburn
  15. Michael S Marshall
  16. Theresa R Connors
  17. Derek H Oakley
  18. Matthew P Frosch
  19. Sean I Young
  20. Koen Van Leemput
  21. Adrian V Dalca
  22. Bruce Fischl
  23. Christine L MacDonald
  24. C Dirk Keene
  25. Bradley T Hyman
  26. Juan E Iglesias
(2024)
Machine learning of dissection photographs and surface scanning for quantitative 3D neuropathology
eLife 12:RP91398.
https://doi.org/10.7554/eLife.91398.4