All Projects → quqixun → BrainPrep

quqixun / BrainPrep

Licence: MIT License
Preprocessing pipeline on Brain MR Images through FSL and ANTs, including registration, skull-stripping, bias field correction, enhancement and segmentation.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to BrainPrep

ANTsR
Advanced Normalization Tools in R
Stars: ✭ 101 (-5.61%)
Mutual labels:  mri, registration, brain
BRAINSTools
A suite of tools for medical image processing focused on brain analysis
Stars: ✭ 94 (-12.15%)
Mutual labels:  registration, brain
clinica
Software platform for clinical neuroimaging studies
Stars: ✭ 153 (+42.99%)
Mutual labels:  fsl, ants
brainreg
Automated 3D brain registration with support for multiple species and atlases.
Stars: ✭ 73 (-31.78%)
Mutual labels:  registration, brain
bg-atlasapi
A lightweight python module to interact with atlases for systems neuroscience
Stars: ✭ 54 (-49.53%)
Mutual labels:  registration, brain
prime-re.github.io
Open resource exchange platform for non-human primate neuroimaging
Stars: ✭ 13 (-87.85%)
Mutual labels:  mri, brain
MITK-Diffusion
MITK Diffusion - Official part of the Medical Imaging Interaction Toolkit
Stars: ✭ 47 (-56.07%)
Mutual labels:  registration, brain
MIRACL
Multi-modal Image Registration And Connectivity anaLysis
Stars: ✭ 23 (-78.5%)
Mutual labels:  mri, brain
mrivis
medical image visualization library and development toolkit
Stars: ✭ 19 (-82.24%)
Mutual labels:  mri, registration
Preprocessing-Method-for-STEMI-Detection
Official source code of "Preprocessing Method for Performance Enhancement in CNN-based STEMI Detection from 12-lead ECG"
Stars: ✭ 12 (-88.79%)
Mutual labels:  preprocessing, enhancement
text-normalizer
Normalize text string
Stars: ✭ 12 (-88.79%)
Mutual labels:  preprocessing
PROSTATEx masks
Lesion and prostate masks for the PROSTATEx training dataset, after a lesion-by-lesion quality check.
Stars: ✭ 42 (-60.75%)
Mutual labels:  mri
NFSMWExOpts
Need for Speed Most Wanted Extra Options
Stars: ✭ 97 (-9.35%)
Mutual labels:  enhancement
login-signup-form
A login and signup form using HTML, PHP, and MySQL. This form allows users to register and login. All information is stored in a MySQL database. After successful login the user is redirected to their dashboard. Project Website:
Stars: ✭ 40 (-62.62%)
Mutual labels:  registration
mri-deep-learning-tools
Resurces for MRI images processing and deep learning in 3D
Stars: ✭ 56 (-47.66%)
Mutual labels:  mri
astroalign
A tool to align astronomical images based on asterism matching
Stars: ✭ 102 (-4.67%)
Mutual labels:  registration
veridical-flow
Making it easier to build stable, trustworthy data-science pipelines.
Stars: ✭ 28 (-73.83%)
Mutual labels:  preprocessing
hack-tools
"Кали-заменитель". Располагает в себе большое количество утилит для взлома.
Stars: ✭ 39 (-63.55%)
Mutual labels:  enhancement
DICOMautomaton
A multipurpose tool for medical physics.
Stars: ✭ 35 (-67.29%)
Mutual labels:  registration
pywedge
Makes Interactive Chart Widget, Cleans raw data, Runs baseline models, Interactive hyperparameter tuning & tracking
Stars: ✭ 49 (-54.21%)
Mutual labels:  preprocessing

Preprocessing on Brain MRI Sequence

This is a pipeline to do preprocessing on brain MR images of ADNI dataset
by using FMRIB Software Library (FSL) and Advanced Normalization Tools (ANTs).

1. Install FSL & ANTs

Download and install FSL as instructions here.
Compile ANTs from source code in Linux and macOS, or in Windows 10.

2. Install Python Packages

All required libraries are listed as below:

  • tqdm
  • numpy
  • scipy
  • nipype
  • nibabel
  • matplotlib
  • sciKit-fuzzy (optional)
  • scikit-learn (optional)

3. Download Dataset

The dataset used in this repo is AD and NC screening images of ADNI1 and ADNI2.
See README.md in data.

Here is one sample of original image.

original image

4. Reorgnization Files

Switch the working directory to src. Run reorgnize.py, which merge ADNI1 and ADNI2 into one folder.

python reorgnize.py

5. Registration

Run registraion.py to transform images into the coordinate system of template by FSL FLIRT.

python registraion.py

The output of the above image from this step looks like:

registration

6. Skull-Strpping

Run skull_stripping.py to remove skull from registrated images by FSL BET.

python skull_stripping.py

Output:

skull stripping

7. Bias Field Correction

Run bias_correction.py to remove bias-field signal from images by ANTs.

python bias_correction.py

Output:

bias field correction

8. Enhancement (optional)

Based on outputs from step 7, run enhancement.py to enhance images by histogram equalization.

python enahncement.py

9. Tissue Segmentation (optional)

Based on outputs from step 7, run segment.py to segment brain into GM, WM and CSF
by KMeans or Fuzzy-CMeans (you should change settings in script).

python segment.py

Or run fast_segment.py to do segmentation by FSL FAST.

python fast_segment.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].