Welcome to the neuroLIT Documentation!

neuroLIT (Neuro Lesion Inpainting Tool) is a tool for inpainting lesions in brain MRI images, independent of their shape or appearance, for further downstream analysis.

neuroLIT with FastSurfer can be run by directly running FastSurfer. For other tools and FreeSurfer use the neuroLIT repository.

neuroLIT Overview

🔥 Key Features

  • Inpaints lesions of any shape or appearance in T1-weighted MRI images

  • Standalone operation or integration with FastSurfer

  • Docker and Singularity containerization support

  • PyPI package available for easy installation

  • Surface and segmentation masking capabilities

Quick Start

Using PyPI Package

# Install the package
pip install neurolit

# Download model checkpoints
lit-download-models

# Run LIT
lit-inpainting --input_image T1w.nii.gz --lesion_mask lesion_mask.nii.gz \\
    --output_directory output_directory --dilate 2

Reference

Indices and tables