miniMORPH: A Morphometry Pipeline for Low-Field MRI in Infants.
4 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 5 matches
- [1] § Materials and Methods › Image Processing and Segmentation Pipeline ↔ app/main.sh, lines 1 to 40 · score 0.96 · mid anterior, mid posterior, right thalamus, brainstem CSF, cerebellum CSF, supratentorial CSF · block
oscr:b:K94TS2SDNYRZC-K· Report a mismatch - [2] § Materials and Methods › Image Processing and Segmentation Pipeline › Individual Segmentation and Volumetry ↔ app/main.sh, lines 187 to 271 · score 0.93 · extract subcortical GM, subcortical GM mask, refine segmentation, ventricle mask, cerebellum masks, supratentorial CSF · block
oscr:b:ACF4KCZGJ56A0-W· Report a mismatch - [3] § Materials and Methods › Analysis › HF Benchmarking › Benchmark 2: SuperSynth‐Derived HF Segmentations ↔ app/main.sh, lines 1 to 40 · score 0.83 · brainstem CSF, cerebellum CSF, supratentorial CSF, Globus Pallidus, Supratentorial Tissue, coverage · block
oscr:b:K94TS2SDNYRZC-K· Report a mismatch - [4] § Materials and Methods › Image Processing and Segmentation Pipeline › Ventricle, Cerebellum, and Brainstem Masks ↔ app/main.sh, lines 146 to 185 · score 0.72 · brainstem masks, ventricle masks, cerebellar masks, template space, segmentation · block
oscr:b:1ZY7ZB1QBNP8E-X· Report a mismatch - [5] § Materials and Methods › Image Processing and Segmentation Pipeline › Age‐Specific Template Construction ↔ app/main.sh, lines 85 to 144 · score 0.52 · mri_synthstrip, ANTs, Templates, brain · block
oscr:b:V61QRJRNK4P6E-W· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Shell · 335 lines · 16 KB · MIT · 5 matches
- #!/bin/sh
- set -x
- ```
- # Module: Pipeline for segmenting infant brain images on Flywheel
- # Author: Chiara Casella, Niall Bourke
- # Overview:
- # This script is designed to segment infant brain images on Flywheel. The pipeline consists of the following steps:
- # 1. Register the input image to an age-specific template image
- # 2. Apply the resulting transformations to predefined segmentation priors and segmentation masks (template space), to bring them into the subject's native space
- # 3. Segment the input image in native space using ANTs Atropos, with three priors (tissue, CSF, skull)
- # 4. Refine the resulting segmentation posteriors to separate the ventricles from the remaining CSF, and the subcortical grey matter areas from the rest of the tissue
- # 5. Extract volume estimates from the segmentations
- #This pipeline should be used with the output of mrr-axireg.
- #The Final_segmentation_atlas.nii.gz includes the following labels: supratentorial tissue, supratentorial csf, ventricles, cerebellum, cerebellum csf, brainstem, brainstem_csf, left_thalamus,
- #left_caudate, left_putamen, left_globus_pallidus, right_thalamus, right_caudate, right_putamen, right_globus_pallidus
- #The Final_segmentation_atlas_with_callosum.nii.gz includes all the labels above, as well as the following callosal parcellations: posterior, mid-posterior, central, mid-anterior, anterior
- #Brainstem and brainstem CSF labels were additionally created as exclusion regions because coverage of the inferior field of view was inconsistent across scans.
- #Excluding these regions reduces the risk of introducing segmentation artefacts or bias related to variable brainstem coverage rather than true anatomical differences.
- # Usage:
- # This script is designed to be run as a Flywheel Gear. The script takes two inputs:
- # 1. The input image to segment
- # 2. The age of the template to use in months (e.g. 3, 6, 12, 24, 48, 72)
- # The script assumes that the input image is in NIfTI format. The script outputs the segmentations in native space.
- # NOTES:
- # Need txt output of volumes - I have added commands to extract volumes
- # clean up intermediate files - I have saved final files to $OUTPUT_DIR, and intermediate files to $WORK_DIR
- # slicer bet & segmentations in native space (-A) - added these too
- ```
- # Initialise the FSL environment
- . ${FSLDIR}/etc/fslconf/fsl.sh
- #Define inputs
- input_file=$1
- age=$2
- # Define the paths
- FLYWHEEL_BASE=/flywheel/v0
- INPUT_DIR=$FLYWHEEL_BASE/input/
- WORK_DIR=$FLYWHEEL_BASE/work
- OUTPUT_DIR=$FLYWHEEL_BASE/output
- TEMPLATE_DIR=$FLYWHEEL_BASE/app/templates/${age}/
- CONTAINER='[flywheel/ants-segmentation]'
- template=${TEMPLATE_DIR}/template_${age}_degibbs_padded.nii.gz
- template_mask=${TEMPLATE_DIR}/brainMask.nii.gz
- echo "permissions"
- ls -ltra /flywheel/v0/
- ##############################################################################
- # Handle INPUT file
- # Check that input file exists
- if [[ -e $input_file ]]; then
- echo "${CONTAINER} Input file found: ${input_file}"
- # Determine the type of the input file
- if [[ "$input_file" == *.nii ]]; then
- type=".nii"
- elif [[ "$input_file" == *.nii.gz ]]; then
- type=".nii.gz"
- fi
- # Get the base filename
- # base_filename=`basename "$input_file" $type`
- native_img=`basename $input_file`
- native_img="${native_img%.nii.gz}"
- else
- echo "${CONTAINER} no inputs were found within input directory $INPUT_DIR"
- exit 1
- fi
- # ##############################################################################
- echo -e "\n --- Step 1: Register image to template --- "
- # Define outputs in the following steps
- native_bet_image=${WORK_DIR}/native_bet_image.nii.gz
- native_brain_mask=${WORK_DIR}/native_brain_mask.nii.gz
- input_file_DN=${WORK_DIR}/DN.nii.gz
- input_file_BC=${WORK_DIR}/DN_BC.nii.gz
- #bet image to help with registration to template
- DenoiseImage -i ${input_file} -o ${input_file_DN}
- N4BiasFieldCorrection -i ${input_file_DN} -o ${input_file_BC}
- mri_synthstrip -i ${input_file_BC} -o ${native_bet_image} -m ${native_brain_mask} -b 2
- sync
- echo "BET image and mask created"
- ls ${native_bet_image} ${native_brain_mask}
- echo "***"
- sleep 3
- # Register native BET image to template brain
- echo "Registering native BET image to template brain"
- echo -e "\n Run SyN registration"
- #antsRegistrationSyN.sh -d 3 -t 's' -f ${template} -m ${native_bet_image} -j 1 -p 'f' -o ${WORK_DIR}/bet_ -n 4
- #Optimized registration step
- ants antsRegistration -d 3 --float 1 \
- --output [${WORK_DIR}/bet_,${WORK_DIR}/bet_Warped.nii.gz] \
- --use-histogram-matching 1 \
- --initial-moving-transform [${template},${native_bet_image},1] \
- --transform Rigid[0.1] \
- --metric MI[${template},${native_bet_image},1,64,Regular,0.25] \
- --convergence [1000x1000x500x250,1e-6,10] \
- --shrink-factors 8x6x4x2 \
- --smoothing-sigmas 4x3x2x1mm \
- --transform Affine[0.1] \
- --metric MI[${template},${native_bet_image},1,64,Regular,0.25] \
- --convergence [1000x1000x500x250,1e-6,10] \
- --shrink-factors 8x6x4x2 \
- --smoothing-sigmas 4x3x2x1mm \
- --transform SyN[0.1, 3, 0] \
- --metric CC[${template},${native_bet_image},1,4] \
- --convergence [100x100x70x50,1e-6,10] \
- --shrink-factors 6x4x2x1 \
- --smoothing-sigmas 3x2x1x0mm \
- --masks [${template_mask},${native_brain_mask}] \
- --interpolation BSpline
- sync
- sleep 3
- echo "antsRegistrationSyN done"
- echo "***"
- echo -e "\n --- Step 2: Apply registration to segmentation priors --- "
- # Get the affine and warp files from the registration
- AFFINE_TRANSFORM=$(ls ${WORK_DIR}/bet*GenericAffine.mat)
- WARP=$(ls ${WORK_DIR}/bet*Warp.nii.gz)
- INVERSE_WARP=$(ls ${WORK_DIR}/bet*InverseWarp.nii.gz)
- # Transform priors (template space) to each subject's native space
- echo "Transforming priors to native space for segmentation"
- items=(
- "${TEMPLATE_DIR}/prior1_scale.nii.gz"
- "${TEMPLATE_DIR}/prior2_scale.nii.gz"
- "${TEMPLATE_DIR}/prior3_scale.nii.gz"
- )
- for item in "${items[@]}"; do
- item_name=$(basename "$item" .nii.gz)
- output_prior="${item_name}.nii.gz"
- echo "*** Transforming ${item} ***"
- echo "*** Output: ${WORK_DIR}/"${output_prior}" ***"
- antsApplyTransforms -d 3 -i "${item}" -r ${native_bet_image} -o ${WORK_DIR}/"${output_prior}" -t ["$AFFINE_TRANSFORM",1] -t "${INVERSE_WARP}"
- sync
- echo "$item_name transformed and saved to ${output_prior}"
- done
- # Transform ventricles and subcortical grey matter masks (template space) to each subject's native space
- echo "Transforming masks to native space"
- items=(
- "${TEMPLATE_DIR}/ventricles_mask_0p55mm.nii.gz"
- "${TEMPLATE_DIR}/BCP_mask_padded_0p55mm.nii.gz"
- "${TEMPLATE_DIR}/cerebellum_mask_dilate_clean_padded_0p55mm.nii.gz"
- "${TEMPLATE_DIR}/callosum_mask_relabelled_padded_0p55mm.nii.gz"
- "${TEMPLATE_DIR}/brainstem_mask_dilate_clean_padded_0p55mm.nii.gz"
- )
- for item in "${items[@]}"; do
- item_name=$(basename "$item" .nii.gz)
- output_mask="${item_name}.nii.gz"
- if antsApplyTransforms -d 3 -i "${item}" -r ${native_bet_image} -o ${WORK_DIR}/"${output_mask}" -n NearestNeighbor -t ["$AFFINE_TRANSFORM",1] -t "${INVERSE_WARP}"; then
- echo "*** Transforming ${item} ***"
- echo "*** Output: ${WORK_DIR}/"${output_mask}" ***"
- else
- echo "Error: Failed to transform ${item}"
- exit 1
- fi
- sync
- done
- # Run Atropos
- echo -e "\n --- Step 3: Segmenting images --- "
- fslmaths ${native_brain_mask} -dilM -dilM ${WORK_DIR}/native_brain_mask_dil.nii.gz
- sync
- antsAtroposN4.sh -d 3 \
- -a ${input_file} \
- -x ${WORK_DIR}/native_brain_mask_dil.nii.gz \
- -p ${WORK_DIR}/prior%d_scale.nii.gz -c 3 -y 1 -y 2 \
- -w 0.3
- -r '[0.4,1x1x1]' \
- -o ${WORK_DIR}/ants_atropos_
- sync
- echo -e "\n Past Atropos segmentation step "
- sleep 3
- # Define posterior images from Atropos segmentation (segmentation in native space with 3 priors)
- Posterior1=${WORK_DIR}/ants_atropos_SegmentationPosteriors1.nii.gz
- Posterior2=${WORK_DIR}/ants_atropos_SegmentationPosteriors2.nii.gz
- Posterior3=${WORK_DIR}/ants_atropos_SegmentationPosteriors3.nii.gz
- echo -e "\n --- Step 4: Hello MDR, time to refine segmentations --- "
- #Refine segmentations to extract ventricles
- fslmaths ${Posterior2} -mul ${WORK_DIR}/ventricles_mask_0p55mm.nii.gz ${WORK_DIR}/ventricles_mask_mul
- fslmerge -t ${WORK_DIR}/merged_priors.nii.gz ${Posterior1} ${Posterior2} ${WORK_DIR}/ventricles_mask_mul.nii.gz ${Posterior3}
- sync
- fslmaths ${WORK_DIR}/merged_priors.nii.gz -Tmean -mul $(fslval ${WORK_DIR}/merged_priors.nii.gz dim4) ${WORK_DIR}/merged_priors_Tsum
- fslmaths ${WORK_DIR}/merged_priors_Tsum.nii.gz -thr 1.1 -bin ${WORK_DIR}/subtractmask
- fslmaths ${Posterior2} -mul ${WORK_DIR}/subtractmask ${WORK_DIR}/ventricles
- fslmaths ${Posterior2} -sub ${WORK_DIR}/ventricles.nii.gz ${WORK_DIR}/csf
- fslmaths ${native_brain_mask} -mul 0 ${WORK_DIR}/zero_filled_image.nii.gz
- fslmerge -t ${WORK_DIR}/merged_priors.nii.gz ${WORK_DIR}/zero_filled_image.nii.gz ${Posterior1} ${WORK_DIR}/csf.nii.gz ${WORK_DIR}/ventricles.nii.gz ${Posterior3}
- sync
- fslmaths ${WORK_DIR}/merged_priors.nii.gz -Tmaxn ${WORK_DIR}/temp_atlas.nii.gz #total tissue, csf, ventricles
- # Short pause of 3 seconds
- sleep 3
- echo -e "\n --- Step 5: Build the final segmentation atlas --- "
- #Extract subcortical GM
- if fslmaths ${WORK_DIR}/temp_atlas.nii.gz -thr 1 -uthr 1 -mul ${WORK_DIR}/BCP_mask_padded_0p55mm.nii.gz ${WORK_DIR}/sub_GM_mask_mul && \
- fslmaths ${WORK_DIR}/temp_atlas.nii.gz -add ${WORK_DIR}/sub_GM_mask_mul.nii.gz ${WORK_DIR}/temp_atlas.nii.gz; then #total tissue, csf, ventricles, subcortical GM
- echo "Atlas with subcortical GM created successfully."
- else
- echo "Error: Failed to create atlas with subcortical GM."
- fi
- sync
- echo "Adding the cerebellum to the atlas..."
- # Extract cerebellum and cerebellum CSF
- if fslmaths ${WORK_DIR}/temp_atlas.nii.gz -thr 1 -uthr 2 -mul ${WORK_DIR}/cerebellum_mask_dilate_clean_padded_0p55mm.nii.gz ${WORK_DIR}/cerebellum_mask_mul && \
- fslmaths ${WORK_DIR}/cerebellum_mask_mul -thr 30 -uthr 30 ${WORK_DIR}/cerebellum.nii.gz && \
- fslmaths ${WORK_DIR}/temp_atlas.nii.gz -add ${WORK_DIR}/cerebellum ${WORK_DIR}/temp_atlas.nii.gz && \
- fslmaths ${WORK_DIR}/cerebellum_mask_mul -thr 60 -uthr 60 -div 60 -mul 30 ${WORK_DIR}/cerebellum_csf.nii.gz && \
- fslmaths ${WORK_DIR}/temp_atlas.nii.gz -add ${WORK_DIR}/cerebellum_csf ${WORK_DIR}/temp_atlas.nii.gz; then
- echo "Atlas with cerebellum created successfully."
- else
- echo "Error: Failed to add cerebellum to the atlas."
- fi
- echo "Adding the brainstem to the atlas..."
- #Extract the brainstem and brainstem csf
- if fslmaths ${WORK_DIR}/temp_atlas.nii.gz -thr 1 -uthr 2 -mul ${WORK_DIR}/brainstem_mask_dilate_clean_padded_0p55mm.nii.gz ${WORK_DIR}/brainstem_mask_mul && \
- fslmaths ${WORK_DIR}/brainstem_mask_mul -thr 40 -uthr 40 ${WORK_DIR}/brainstem.nii.gz && \
- fslmaths ${WORK_DIR}/temp_atlas -add ${WORK_DIR}/brainstem ${WORK_DIR}/temp_atlas.nii.gz && \
- fslmaths ${WORK_DIR}/brainstem_mask_mul -thr 80 -uthr 80 -div 80 -mul 40 ${WORK_DIR}/brainstem_csf.nii.gz && \
- fslmaths ${WORK_DIR}/temp_atlas.nii.gz -add ${WORK_DIR}/brainstem_csf ${WORK_DIR}/Final_segmentation_atlas.nii.gz; then
- echo "Atlas with brainstem created successfully."
- #Supratentorial tissue, supratentorial csf, ventricles, subcortical GM (left/right caudate, putamen, thalamus, globus pallidus), cerebellum, cerebellum CSF, brainstem, brainstem CSF
- else
- echo "Error: Failed to add brainstem to the atlas."
- fi
- echo "Adding the callosum to the atlas..."
- # now extract the callosum
- if fslmaths ${WORK_DIR}/Final_segmentation_atlas.nii.gz -thr 1 -uthr 1 -mul ${WORK_DIR}/callosum_mask_relabelled_padded_0p55mm.nii.gz ${WORK_DIR}/callosum_mask_mul && \
- fslmaths ${WORK_DIR}/Final_segmentation_atlas.nii.gz -add ${WORK_DIR}/callosum_mask_mul ${WORK_DIR}/Final_segmentation_atlas_with_callosum.nii.gz; then
- echo "Atlas with callosum created successfully."
- else
- echo "Error: Failed to create atlas with callosum."
- fi
- # Short pause of 3 seconds
- sleep 3
- #Slicer for QC
- echo -e "\n --- Step 6: Run slicer and extract volume estimation from segmentations --- "
- slicer ${native_bet_image} ${native_bet_image} -a ${WORK_DIR}/slicer_bet.png
- slicer ${WORK_DIR}/Final_segmentation_atlas.nii.gz ${WORK_DIR}/Final_segmentation_atlas.nii.gz -a ${WORK_DIR}/slicer_seg1.png
- pngappend ${WORK_DIR}/slicer_bet.png - ${WORK_DIR}/slicer_seg1.png ${WORK_DIR}/montage_final_segmentation_atlas.png
- slicer ${WORK_DIR}/Final_segmentation_atlas_with_callosum.nii.gz ${WORK_DIR}/Final_segmentation_atlas_with_callosum.nii.gz -a ${WORK_DIR}/slicer_seg1.png
- pngappend ${WORK_DIR}/slicer_bet.png - ${WORK_DIR}/slicer_seg1.png ${WORK_DIR}/montage_final_segmentation_atlas_with_callosum.png
- # Extract volumes of segmentations
- output_csv=${WORK_DIR}/All_volumes.csv
- # Initialize the master CSV file with headers
- echo "template_age supratentorial_tissue supratentorial_csf ventricles cerebellum cerebellum_csf brainstem brainstem_csf left_thalamus left_caudate left_putamen left_globus_pallidus right_thalamus right_caudate right_putamen right_globus_pallidus posterior_callosum mid_posterior_callosum central_callosum mid_anterior_callosum anterior_callosum icv" > "$output_csv"
- atlas=${WORK_DIR}/Final_segmentation_atlas_with_callosum.nii.gz
- # Extract volumes for each label
- supratentorial_general=$(fslstats ${atlas} -l 0.5 -u 1.5 -V | awk '{print $2}')
- supratentorial_csf=$(fslstats ${atlas} -l 1.5 -u 2.5 -V | awk '{print $2}')
- ventricles=$(fslstats ${atlas} -l 2.5 -u 3.5 -V | awk '{print $2}')
- cerebellum=$(fslstats ${atlas} -l 30.5 -u 31.5 -V | awk '{print $2}')
- cerebellum_csf=$(fslstats ${atlas} -l 31.5 -u 32.5 -V | awk '{print $2}')
- brainstem=$(fslstats ${atlas} -l 40.5 -u 41.5 -V | awk '{print $2}')
- brainstem_csf=$(fslstats ${atlas} -l 41.5 -u 42.5 -V | awk '{print $2}')
- left_thalamus=$(fslstats ${atlas} -l 16.5 -u 17.5 -V | awk '{print $2}')
- left_caudate=$(fslstats ${atlas} -l 17.5 -u 18.5 -V | awk '{print $2}')
- left_putamen=$(fslstats ${atlas} -l 18.5 -u 19.5 -V | awk '{print $2}')
- left_globus_pallidus=$(fslstats ${atlas} -l 19.5 -u 20.5 -V | awk '{print $2}')
- right_thalamus=$(fslstats ${atlas} -l 26.5 -u 27.5 -V | awk '{print $2}')
- right_caudate=$(fslstats ${atlas} -l 27.5 -u 28.5 -V | awk '{print $2}')
- right_putamen=$(fslstats ${atlas} -l 28.5 -u 29.5 -V | awk '{print $2}')
- right_globus_pallidus=$(fslstats ${atlas} -l 29.5 -u 30.5 -V | awk '{print $2}')
- posterior_callosum=$(fslstats ${atlas} -l 7.5 -u 8.5 -V | awk '{print $2}')
- mid_posterior_callosum=$(fslstats ${atlas} -l 8.5 -u 9.5 -V | awk '{print $2}')
- central_callosum=$(fslstats ${atlas} -l 9.5 -u 10.5 -V | awk '{print $2}')
- mid_anterior_callosum=$(fslstats ${atlas} -l 10.5 -u 11.5 -V | awk '{print $2}')
- anterior_callosum=$(fslstats ${atlas} -l 11.5 -u 12.5 -V | awk '{print $2}')
- # Calculate supratentorial tissue volume (include all relevant regions)
- supratentorial_tissue=$(echo "$supratentorial_general + $left_thalamus + $left_caudate + $left_putamen + $left_globus_pallidus + $right_thalamus + $right_caudate + $right_putamen + $right_globus_pallidus + $posterior_callosum + $mid_posterior_callosum + $central_callosum + $mid_anterior_callosum + $anterior_callosum" | bc)
- # Calculate ICV
- icv=$(echo "$supratentorial_tissue + $supratentorial_csf + $cerebellum + $cerebellum_csf + $brainstem + $brainstem_csf" | bc)
- echo "$age $supratentorial_tissue $supratentorial_csf $ventricles $cerebellum $cerebellum_csf $brainstem $brainstem_csf $left_thalamus $left_caudate $left_putamen $left_globus_pallidus $right_thalamus $right_caudate $right_putamen $right_globus_pallidus $posterior_callosum $mid_posterior_callosum $central_callosum $mid_anterior_callosum $anterior_callosum $icv" >> "$output_csv"
- echo "Volumes extracted and saved to $output_csv"
main.sh at commit 08c7398, under MIT · at the source
Overview
13 affiliations
- Research Department of Early Life Imaging School of Biomedical Engineering and Imaging Sciences, King's College London London UK
- Department of Forensic and Neurodevelopmental Sciences Institute of Psychiatry, Psychology & Neuroscience, King's College London London UK
- Institute of Psychology, University of Stavanger Stavanger Norway
- Centre for Neuroimaging Sciences, Department of Neuroimaging Institute of Psychiatry, Psychology & Neuroscience, King's College London London UK
- Department of General Paediatrics Evelina London Children's Hospital London UK
- Department of General Paediatrics St George's Hospital London UK
- Department of Paediatrics and Child Health Red Cross War Memorial Children's Hospital, University of Cape Town Cape Town South Africa
- Neuroscience Institute, University of Cape Town Cape Town South Africa
- Department of Epidemiology and Biostatistics School of Public Health, College of Health Sciences, Makerere University Kampala Uganda
- MNCH D&T, Bill & Melinda Gates Foundation Seattle Washington USA
- Vilirana Hospital Kampala Uganda
- Stavanger Medical Imaging Laboratory, Department of Radiology Stavanger University Hospital Stavanger Norway
- MRC Centre for Neurodevelopmental Disorders, King's College London London UK
Abstract
Ultra‐low‐field (ULF) MRI facilitates neuroimaging access, yet its application in early infancy is constrained by low resolution and contrast, and the limited suitability of existing segmentation tools. In this work we introduce and validate miniMORPH, an open‐source pipeline for automated brain volumetry from 0.064T T2‐weighted MRI acquired across infancy and toddlerhood. ULF scans were acquired from infants aged 2 to 27 months across two cohorts in South Africa and Uganda. Age‐specific templates and priors were used to segment major brain tissues and substructures. Validation used two high‐field (HF) references: (i) expert manual HF segmentations for key ROIs across ages, and (ii) automated HF segmentations from SuperSynth on paired HF‐ULF scans. We quantified (a) between‐subject ordering across modalities using Pearson’s correlation (r) and (b) systematic scaling differences using percentage error (PE) and time‐corrected percentage error (CPE), stratifying performance by cohort and age. Face validity was also tested via mixed‐effects models of age, sex, and birthweight. miniMORPH generated anatomically plausible segmentations of major brain regions across infancy. In paired HF‐ULF comparisons, between‐subject ordering was generally preserved across many ROIs, with stronger correspondence in the South African cohort than in the Ugandan cohort at 12 months. Systematic scaling offsets were most evident in CSF‐rich or boundary‐sensitive compartments, with consistently negative CPE for ventricles and cerebellum. Performance varied with age, showing the greatest variability at 3 months. miniMORPH successfully captured regional age‐related growth trajectories. Sex‐dependent volumetric differences were widespread but attenuated after intracranial volume correction. Low birthweight infants exhibited reduced regional volumes and altered growth trajectories. Taken together, these findings indicate that miniMORPH enables volumetric analysis of ULF infant MRI and preserves between‐subject variation suitable for developmental and group analyses. ROI‐ and cohort‐specific offsets, particularly in CSF‐rich regions, may require calibration when absolute volumes are needed. The pipeline is openly available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 5 matches between paragraphs and lines of code.
UNITY-Physics/fw-minimorph
08c7398e42c88031da40ae84941214aa6b4a0299, 7 April 2026Availability: 2 checks, the latest on 11 November 2026: the link answers
- 11 November 2026: the link answers
- 26 September 2026: the link answers
13 files
- app/
main.sh , Shell, 335 lines, 5 matches - interactive-run.sh, Shell, 23 lines
- run.py, Python, 54 lines
- utils/
Inspect_segmentations.py , Python, 158 lines - utils/
__init__.py , Python, 2 lines - utils/
command_line.py , Python, 193 lines - utils/
context.py , Python, 874 lines - utils/
generate_command.py , Python, 73 lines - utils/
join_data.py , Python, 37 lines - utils/
parser.py , Python, 69 lines - utils/
tests/ , Shell, 45 linesunit_test.sh - LICENSE, License, 21 lines
- README.md, Text, 173 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 11 scripts, each with its path and the digest of its content;
- 5 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability Statement
The miniMORPH pipeline is openly available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 19 authors, 7 keywords, 10 MeSH terms, 2 funders, 43 references.
Cite
This paper
Casella, C., Leknes, A., Bourke, N. J., Zahra, A., Cromb, D., Barnes, D., Segura, A. M., Silvester, F., Kyriakopoulou, V., Scheiene, D. E., Williams, S. R., Bradford, L. E., Murungi, J., Williams, S. C. R., Deoni, S. C. L., Nankabirwa, V., Donald, K. A., Bruchhage, M. M. K., & O'Muircheartaigh, J. (2026). miniMORPH: A Morphometry Pipeline for Low-Field MRI in Infants. Human brain mapping, 47(9), e70547. https://
BibTeX
@article{casella2026mini
author = {Casella, Chiara and Leknes, Aksel and Bourke, Niall J. and Zahra, Ayo and Cromb, Daniel and Barnes, Dora and Segura, Alejandra Martin and Silvester, Flora and Kyriakopoulou, Vanessa and Scheiene, Daniel Elijah and Williams, Simone R. and Bradford, Layla E. and Murungi, Joanitta and Williams, Steven C. R. and Deoni, Sean C. L. and Nankabirwa, Victoria and Donald, Kirsten A. and Bruchhage, Muriel M. K. and O'Muircheartaigh, Jonathan},
title = {{miniMORPH: A Morphometry Pipeline for Low-Field MRI in Infants}},
journal = {Human brain mapping},
year = {2026},
month = jun,
volume = {47},
number = {9},
pages = {e70547},
publisher = {Wiley},
issn = {1065-9471},
doi = {10.1002/
url = {https://
pmid = {42334017},
pmcid = {PMC13288155}
}
RIS
TY - JOUR
AU - Casella, Chiara
AU - Leknes, Aksel
AU - Bourke, Niall J.
AU - Zahra, Ayo
AU - Cromb, Daniel
AU - Barnes, Dora
AU - Segura, Alejandra Martin
AU - Silvester, Flora
AU - Kyriakopoulou, Vanessa
AU - Scheiene, Daniel Elijah
AU - Williams, Simone R.
AU - Bradford, Layla E.
AU - Murungi, Joanitta
AU - Williams, Steven C. R.
AU - Deoni, Sean C. L.
AU - Nankabirwa, Victoria
AU - Donald, Kirsten A.
AU - Bruchhage, Muriel M. K.
AU - O'Muircheartaigh, Jonathan
TI - miniMORPH: A Morphometry Pipeline for Low-Field MRI in Infants
T2 - Human brain mapping
J2 - Hum Brain Mapp
PY - 2026
DA - 2026/
VL - 47
IS - 9
SP - e70547
SN - 1065-9471
PB - Wiley
DO - 10.1002/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1002/
"type": "article-journal",
"title": "miniMORPH: A Morphometry Pipeline for Low-Field MRI in Infants",
"container-title": "Human brain mapping",
"author": [
{
"family": "Casella",
"given": "Chiara"
},
{
"family": "Leknes",
"given": "Aksel"
},
{
"family": "Bourke",
"given": "Niall J."
},
{
"family": "Zahra",
"given": "Ayo"
},
{
"family": "Cromb",
"given": "Daniel"
},
{
"family": "Barnes",
"given": "Dora"
},
{
"family": "Segura",
"given": "Alejandra Martin"
},
{
"family": "Silvester",
"given": "Flora"
},
{
"family": "Kyriakopoulou",
"given": "Vanessa"
},
{
"family": "Scheiene",
"given": "Daniel Elijah"
},
{
"family": "Williams",
"given": "Simone R."
},
{
"family": "Bradford",
"given": "Layla E."
},
{
"family": "Murungi",
"given": "Joanitta"
},
{
"family": "Williams",
"given": "Steven C. R."
},
{
"family": "Deoni",
"given": "Sean C. L."
},
{
"family": "Nankabirwa",
"given": "Victoria"
},
{
"family": "Donald",
"given": "Kirsten A."
},
{
"family": "Bruchhage",
"given": "Muriel M. K."
},
{
"family": "O'Muircheartaigh",
"given": "Jonathan"
}
],
"container-title-short":
"volume": "47",
"issue": "9",
"page": "e70547",
"DOI": "10.1002/
"PMID": "42334017",
"PMCID": "PMC13288155",
"ISSN": "1065-9471",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1093/braincomms/fcag318 [code]
- Antenatal maternal anaemia and infant brain structure: high-field (3 T) and ultra-low-field (64 mT) MRI findings from South Africa.Journal: Brain communicationsIn common: ANTs, FreeSurfer, FSL, 5 other tools, developmental, structural MRI / diffusion, 9 references, 3 authors
- [2] doi:10.1093/braincomms/fcag060 [code]
- Hippocampal morphometry is altered in infants with congenital heart disease.Journal: Brain communicationsIn common: pandas, Matplotlib, NumPy, developmental, structural MRI / diffusion, 1 reference, 3 authors
- [3] doi:10.1002/hbm.70217 [code]
- Characterization of Portable Ultra-Low Field MRI Scanners for Multi-Center Structural Neuroimaging.Journal: Human brain mappingIn common: ANTs, NiBabel, pandas, 2 other tools, structural MRI / diffusion, 4 references, author Kirsten A Donald
- [4] doi:10.1093/braincomms/fcae356 [code]
- Individualized cortical gyrification in neonates with congenital heart disease.Journal: Brain communicationsIn common: pandas, Matplotlib, NumPy, developmental, structural MRI / diffusion, 3 references, 2 authors
- [5] doi:10.1038/s41467-024-54034-2 [code]
- Molecular signatures of cortical expansion in the human foetal brain.Journal: Nature communicationsIn common: ANTs, FreeSurfer, FSL, 5 other tools, developmental, structural MRI / diffusion, 1 reference, author Vanessa Kyriakopoulou
- [6] doi:10.1111/epi.17861
- Widespread, depth-dependent cortical microstructure alterations in pediatric focal epilepsy.Journal: EpilepsiaIn common: structural MRI / diffusion, 3 authors
- [7] doi:10.1162/imag_a_00180 [code]
- VINNA for neonates: Orientation independence through latent augmentations.Journal: Imaging neuroscience (Cambridge, Mass.)In common: FSL, NiBabel, pandas, 2 other tools, developmental, structural MRI / diffusion, 7 references
- [8] doi:10.1162/imag.a.1352 [code]
- Brain-age in ultra-low-field MRI: How well does it work?Journal: Imaging neuroscience (Cambridge, Mass.)In common: ANTs, FreeSurfer, FSL, 3 other tools, structural MRI / diffusion, 5 references
- [9] doi:10.1007/s00247-025-06403-2 [code]
- Towards automated fetal brain biometry reporting for 3-dimensional T2-weighted 0.55-3T magnetic resonance imaging at 20-40 weeks gestational age range.Journal: Pediatric radiologyIn common: ANTs, FreeSurfer, Pillow, 4 other tools, developmental, structural MRI / diffusion, author Vanessa Kyriakopoulou
- [10] doi:10.1038/s41592-025-02599-1 [code]
- DeepPrep: an accelerated, scalable and robust pipeline for neuroimaging preprocessing empowered by deep learning.Journal: Nature methodsIn common: ANTs, FreeSurfer, FSL, 5 other tools, structural MRI / diffusion, 3 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 11 scripts, and 5 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:f2b16404600625ad…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1002/hbm.70547)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1002/hbm.70547.svg
:target: https://openscicode.org/badge/doi/10.1002/hbm.70547
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/hbm.70547"><img src="https://openscicode.org/badge/doi/10.1002/hbm.70547.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
