Skip to content

UCL/NextBrain-Case-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 

Repository files navigation

NextBrain: Case 4

This repository contains data that is consumed by the NextBrain project. This data corresponds to case 4. For the source code of this project refer to the main NextBrain repo.

Data structure

This brain specimen has been cut into 41 blocks including cerebrum, cerebellum and brain stem. The histology-related data is organised following a numbered list of blocks, from 1 to 41.

The struture of the dataset is as follows:

Histology

This directory (histology) contains data on the histology space at 0.1 mm in-plane resolution. The spacing between histology slices is either 250 μm for blocks that included subcortical structures in the forebrain, medial structures of the cerebellum and brainstem structures or 500 μm for the other blocks. This resolution has been used in the 3D histology reconstruction pipeline. For each block, we provide the following data:

  • slices_LFB: histology slices stained using LFB and non-linearly aligned to the corresponding MRI section (.jpg extension).
  • slices_HE: histology slices stained using HE and non-linearly aligned to the corresponding MRI section (.jpg extension).
  • slices_MRI: masked MRI sections corresponding to histology slices (.jpg extension).
  • slices_labels: structure labels delineated on the LFB slice and non-linearly aligned to the corresponding MRI section (.png extension).
  • slices_labels_npz: structure labels delineated on the LFB slice and non-linearly aligned to the corresponding MRI section (.npz extension).
  • matrix.txt: affine matrix that relates the block (stack of images) and the MR image.

High-resolution histology

This directory (histology_hr) contains data on the histology space at 1.9844 μm in-plane resolution. The spacing between histology slices is either 250 μm for blocks that included subcortical structures in the forebrain, medial structures of the cerebellum and brainstem structures or 500 μm for the other blocks. For each block, we provide the following data:

  • slices_LFB: histology slices stained using LFB and non-linearly aligned to the corresponding MRI section (.jpg extension).
  • slices_HE: histology slices stained using HE and non-linearly aligned to the corresponding MRI section (.jpg extension).
  • slices_MRI: masked MRI sections corresponding to histology slices (.jpg extension).
  • slices_labels: structure labels delineated on the LFB slice and non-linearly aligned to the corresponding MRI section (.png extension).
  • slices_labels_npz: structure labels delineated on the LFB slice and non-linearly aligned to the corresponding MRI section (.npz extension).
  • matrix.txt: affine matrix that relates the block (stack of images) and the MR image.

MRI

This directory (mri_rotated) contains data on the MRI space. We use a T2-weighted sequence at 400 μm isotropic resolution with the following parameters: R = 500 ms, TEeff = 69 ms, BW = 558 Hz/Px, echo spacing = 4.96 ms, echo train length = 58, 10 averages, acquisition time for each average = 547 s.

The data in this directory consists of:

  • mri.nii.gz: MRI scan.
  • slices_{axial/sagittal/coronal}: orthogonal views of the 3D MRI volume (.png extension);
  • indices.nii.gz: volume containing the the corresponding block number of each voxel on the MRI scan.
  • indices_{axial/sagittal/coronal}: 2D integer image containing the block number corresponding to each voxel on the MRI slice (.npy extension);
  • matrices{/_hr}: affine matrices that relate the MRI volume with each block on the histology space for both resolutions. Each of these matrices is the inverse of the matrices found in the histology directories.

Util files

  • histologyDimensionsKey.json: metadata corresponding to the histology directory. It contains the image size and number of slices for each block, as well as the orientation of the acquisition.
  • histologyHRDimensionsKey.json: metadata corresponding to the histology_hr directory. It contains the image size and number of slices for each block, as well as the orientation of the acquisition.
  • mriDimensionsKey.json: metadata corresponding to the mri directory. It contains the image size and number of slices in each orthogonal direction.
  • image_ontology_hierarchical.json: it contains the label ontology used to delinate brain structures split into two levels: the first one correspond to high-level ROI structures while the second contains the nuclei in each structure. Moreover, it contains the centroid voxel of each nuclei on MRI space $(x_m, y_m, z_m)$ and on histological space $(x_h, y_h, z_h)$
  • block2slab_mapping.csv: it contains the necessary mapping between block identifiers (BLOCK_NUM) in this repository and the slab_block identifiers (BLOCK_NAME) in the original raw data in the data repository

How to relate MRI and histology?

In this repo we store a set of matrices to relate the MRI volume (or the orthogonal views) to each histology slice in any of its available contrasts: LFB, HE or labels. The matrices stored under the mri_rotated directory are defined from the MRI spatial coordinates to histology (in both resolutions). An example of how to relate MRI and histology is shown in the following picture,.

alt text

On the contrary, matrices stored under histology and histology_hr directores are defined from the histology slice to the MRI volume, and the process would be the opposite to the one shown in the figure. Thus, one initially fixes the block and slice numbers and the spatial histology coordinates and then compute the MRI space coordinates. Finally, to compute the physical RAS coordinates, one can use the header of the nifti file mri.nii.gz.

Additional NextBrain patient data:

About

NextBrain - Case 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors