Skip to content

Neuro-iX/SimCortex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimCortex: Collision-free Simultaneous Cortical Surface Reconstruction

SimCortex Pipeline

This is the official PyTorch implementation of our paper:

SimCortex: Collision-free Simultaneous Cortical Surface Reconstruction
Kaveh Moradkhani, R. J. Rushmore, Sylvain Bouix
ShapeMI MICCAI (2025)


Pipeline Overview

SimCortex proceeds in three consecutive stages:

  1. Multi-Class Segmentation: A 3D U-Net segments each T1-weighted MRI into nine tissue classes.

  2. Subject-Specific Initial Surface Generation: Binary masks are created from tissue labels, then signed-distance fields are computed and corrected to generate collision-free initial cortical surfaces.

  3. Simultaneous Multiscale Diffeomorphic Surface Reconstruction: Four initial surfaces are simultaneously deformed using multiscale velocity fields to produce smooth, topology-preserving, and collision-free cortical meshes.


Installation

Segmentation (9-Class)

Train a 3D U-Net to produce 9-class segmentations used by later stages.

Run

python -m simcortex.segmentation.cli train   --config-name train
python -m simcortex.segmentation.cli predict --config-name predict
python -m simcortex.segmentation.cli eval    --config-name eval

Initial Surface Generation (collision-free)

Extract lh/rh pial and lh/rh white cortical meshes from the 9-class predictions.
The algorithm tunes the pial level first (both hemispheres together) until there’s no pial↔pial collision; then it fixes that level and sets white a bit inside the pial (white_offset), tuning left white and then right white.

Run

python -m simcortex.initial_surf.cli generate --config-name generate

Surface Reconstruction (diffeomorphic)

This stage simultaneously deforms the four initial surfaces.

Run

python -m simcortex.surf_recon.cli train --config-name train
python -m simcortex.surf_recon.cli predict --config-name predict
python -m simcortex.surf_recon.evaluate --config-name eval

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages