neuroimaging core
Table of Contents
Atlases
How to Download and Install Additional FSL Atlases
Arterial Territory
BIP
HCP-MMP1 and HCP-MMP1_cortices
GreciusFunc
Schaefer atlases
YeoBuckner7 and YeoBuckner17
BIDS
BIDS Containers
HeuDiConv
Introduction
Links
Lesson 1: Running heuristic.py
Running HeuDiConv is a 3-step process
Lesson 2: Step 1
Lesson 2: Step 2
Lesson 2: Step 3
Exploring Criteria
Lesson 3: reproin.py
Introduction
BIDS Containers are BIG and Resource Intensive
Create Subdirectories under Derivatives for your Outputs
BET
Login to OOD and Get Ready
Try Data Transfer
Build the BET Singularity Container
Run BET with Singularity
Understanding the Singularity Command
Running a Batch Job Script for a BIDS Neuroimaging Singularity Container
Other Neuroimaging Batch Scripts
BIP
Docker
Singularity
fMRIPrep
Docker
Singularity
Job Times
MRIQC and QMTOOLS
Docker
Singularity
Job Times
MRtrix3_connectome
Singularity
QSIprep
Main Links
BIDS compatible datasets
Relevant Papers
Educational and Related Materials
Creating BIDS Datasets
bids-validator
Introduction
bids-validator online
Phasediff images
BIDS apps with narrow assumptions
Creating a .bidsignore
Example
HeuDiConv
Introduction
Links
Lesson 1: Running heuristic.py
Running HeuDiConv is a 3-step process
Lesson 2: Step 1
Lesson 2: Step 2
Lesson 2: Step 3
Exploring Criteria
Lesson 3: reproin.py
Bookmarks
Brain Atlases
Computational Resources
fMRI Databases
Instructional: Neuroimaging Software and Concepts
MRI Concepts
Neuroimaging Tools
Other
Choropleth Visualization
Introduction
roixtractor
Stats
Lat
Mask
Resources
License
Glossary
Image Processing Tips and Tricks
Anatomical Image Preparation
Prepare T1w Image
fslreorient2std
Crop Neck with robustfov
Correct Extreme Anisotropy
Reslice Other Anatomicals into One Space
Masks
Erode
Dilate
Fill Holes
Cluster Count
Cluster Clean
Smooth
Left-Right Flip and Nudge
Check for Hidden Problems
fslinfo and fslhd
Ensure Zeros, not NaNs
Ensure SFORM and QFORM Match
Ensure Standard Orientation in NIFTI Header
Save Space on your Hard Drive
Create a Brain Mask
Left-Right Flip Lateral Ventricle Mask
Nudging
Rotation
Jaccard
Image Math
Other
Edit Image Header (Mango)
Visualization of Lesions using Maximum Intensity Projection
Convert Images from SPM MNI to FSL MNI
VLSM is Picky
Resting State
Introduction
FSL fMRI Resting State Seed-based Connectivity
Unix Primer
Goals
Data
Create Mask of Seed Region
Extract Time Series from Seed Region
Run the FSL FEAT First-level Analysis
The FSL FEAT Higher-level Analysis
Stroke Lesions
Creating a Lesion Mask
iPad Drawing Tools
Related Pages
ITK-SNAP Segmentation of Stroke-related Lesions
SPM12 Revised Normalization
Image Processing Tips and Tricks
Working with Clinical Data
Simple Image Fusion
CT Scans
Gantry Tilt
CT Windowing (Contrast) Issues
Film ➜ JPEG ➜ NIFTI
Lesion Normalization
ANTS
Data
Steps
FSL Lesion Normalization
Data
The 3 Scripts
The Originals
SPM Lesion Normalization
Data
Steps
SPM Lesion Normalization with Tissue Probability Maps
Data
Steps
SPM Lesion Normalization with Source Weighting Image
Data
Steps
SPM12 Revised Normalization
Data
Steps
Exploratory Comparisons as Tableau Dashboards
Brain Mask Matching Dashboard
Lesion Preservation Dashboard
Overview of Results
Recommended Approach
Normalization Methods Compared
ANTS
FSL
SPM
TMS
Introduction
Hardware
MagPro
MEP
TMS-Navigator Interface
Once per Project: Folders and MNI Planning
Flowcharts
Before Participant Arrives
After Participant Arrives
Spike2 Setup (MEP computer)
New Data Document
Apply Resource File
TMS-EMG Configuration
Set up Session (Localite computer, Toolbar)
Load Anatomical Image: Option 1 DICOMS
Load Anatomical Image: Option 2 NIFTI
Enter Patient Demographics
Surface Threshold
Patient Registration Landmark Setup (Toolbar)
Brain Segmentation (Toolbar)
Brightness and Contrast (Lower Control Area)
Peel surface (Lower Control Area)
Define Talairach (Menu)
Load MNI Planning Targets
Rotation and Entry for each Target
The Hand Knob
Set up Participant
Electrodes
Resume Patient Registration
Acquire Landmarks
Surface Registration
Coil Calibration
Check Camera (Polaris Spectra P7) Position (Toolbar)
Set up to Find Motor Hotspot
Stimulation (Lower Control Area)
Choose Entry/Target (Lower Control Area)
Set up Navigation (Lower Control Area)
Stimulator
MagPro Settings
The Motor Hotspot
Start Sampling with Spike 2
Adjust the Y-axis (Spike 2)
Locate the Motor Hotspot
Pest
Test Threshold for 3/6
Spike2: Quit and Stop (Do NOT close)
TBS (Theta Burst Stimulation)
Wrap Up the Session
Save Data
Turn off Hardware
Neuroimaging Software
ANTS
Data
Steps
The script
Alternative approaches
FSL
FSL Lesion Normalization
Data
The 3 Scripts
Why Skull Strip with optiBET?
The Originals
FSL fMRI Resting State Seed-based Connectivity
Unix Primer
Goals
Data
Create Mask of Seed Region
Extract Time Series from Seed Region
Run the FSL FEAT First-level Analysis
The FSL FEAT Higher-level Analysis
Select Each Individual Subject FEAT Analysis
Name an Output Directory
Run the Higher-level Analysis
Image Processing Tips and Tricks
Anatomical Image Preparation
Prepare T1w Image
fslreorient2std
Crop Neck with robustfov
Correct Extreme Anisotropy
Reslice Other Anatomicals into One Space
Masks
Erode
Dilate
Fill Holes
Cluster Count
Cluster Clean
Smooth
Left-Right Flip and Nudge
Check for Hidden Problems
fslinfo and fslhd
Ensure Zeros, not NaNs
Ensure SFORM and QFORM Match
Ensure Standard Orientation in NIFTI Header
Save Space on your Hard Drive
Create a Brain Mask
Left-Right Flip Lateral Ventricle Mask
Nudging
Jaccard
Image Math
Other
Edit Image Header (Mango)
Visualization of Lesions using Maximum Intensity Projection
Convert Images from SPM MNI to FSL MNI
VLSM is Picky
ITK-SNAP
ITK-SNAP Segmentation of Stroke-related Lesions
Introduction
What is a Stroke-related Lesion?
What is a Lesion Mask?
Why Create a Lesion Mask?
Goals
Data
Setup
Select a Region of Interest for Automatic Segmentation
Segment the Lesion
Thresholding to Isolate the Lesion
An Alternative: Clustering to Isolate the Lesion
Set Segmentation Labels
Place Bubbles
Run Active Contour Segmentation
Save Workspace
Editing the Segmentation
Introduction
Load and View the Image / Images
Understanding Labels
Label editor
Segmentation labels
2D Segmentation Editing
Paintbrush
Adaptive Brush
Polygon
3D Segmentation Editing
Scalpel
Add a Second Segmentation
View Volume Statistics
Mango
iMango
Edit a NIFTI header
Create a NIFTI viewer Webpage
Why an HTML NIFTI Viewer is Useful
How to Make an HTML NIFTI viewer
SPM
SPM Lesion Normalization
Data
Steps
Segment: Estimate Warp Field
Normalise: Apply Warp Field to Lesion Mask
Normalise: Apply Warp Field to Anatomical Image
Run Batch and View Results
SPM Lesion Normalization with Tissue Probability Maps
Data
Steps
Coregister: Reslice Lesion Mask to TPM Space
Segment: Estimate Warp Field
Normalise: Apply the Warp Field to Lesion Mask
Normalise: Apply Warp Field to Brain and Head
Run Batch and View Results
SPM Lesion Normalization with Source Weighting Image
Data
Steps
Create Inverse Lesion Mask
Old Normalize: Estimate and Write Lesion Mask
Old Normalize: Write Anatomy file
Run Batch and View Results
SPM12 Revised Normalization
Data
Steps
Segment: Estimate Warp Field
Normalise: Apply Warp Field to Bias Corrected Head
Run Batch and View Results
Batch and Scripting
Unix
Learn Unix Online with Jupyter lab
Three Commands to Rule them All
Flags and Arguments: Examples with ls
Get Help
Directories, Links and Files
Directories
Summary of Main Points
What’s in that File?
Summary of Main Points
Permissions
Summary of Main Points
Standard Unix Directory Structure
Important Directories
The Path
Absolute and Relative Paths
Actions: cp, mv, rm and wildcards
Rename a Directory
Learn about Wildcards
Learn about remove
rm
Permissions Again
Summary of Main Points
Glossary of Commands
Other Unix Resources
More Unix: Install Neuroimaging Tools
Install FSL
Set up a Tools Directory
HPC for Neuroimaging
Useful Links
Introduction
How the HPC differs from your Desktop Computer
PROS
CONS
Tutorial Introduction
Sign up for an Account
Sign on to OOD
The File Explorer and Editor
Storage
Allocation Hours
Jobs: Interactive and Batch
Running your First SLURM batch Job
Learn about the Job
Cancel the Job
View Allocation Time on each Machine
Running Lots of SLURM Jobs
sbatchr and array jobs
Next Steps
Transferring Files
Tiny Files
Medium Sized Files
Big Files and Directories: Globus
Deidentifying Data
Neuroimaging Software on the HPC
Apptainer (Singularity)
Matlab Tools
Other Shared Tools
Configuration
DataLad
DiPy
Freesurfer
Optional Section: SSH TO HPC
Optional Section: Return to a Previous Terminal Session Using Screen
Singularity (Apptainer) on the HPC
Introduction
Build Singularity (or Apptainer) Containers from Dockerhub
Build Singularity Containers from Recipes
Running a BIDS Singularity container
Host OS and Apptainer container OS Interactions
Building Large Containers
Running Out of Space to Build Containers
Running Out of Time to Build Containers
BIDS Containers
Cyverse for Neuroimaging
Neuroimaging VM, version 1.1
Activating Matlab on Neuroimaging VM
General How To and Gotchas
Root
Bye Bye Home Directory and Modifications
Build Your Own
Web Desktop Tweaks
Terminal font size (on the desktop)
Data Transfer
Mounting a Volume
Detach Volume before deleting the Instance
Singularity on Cyverse
neuroimaging core
Index
Index
A
|
B
|
D
|
E
|
F
|
G
|
N
|
P
|
Q
|
R
|
S
|
T
|
W
A
Affine transforms
applytopup
ASL
B
BBR
D
dcm2niix
Difference in Echo Times
Dwell Time
E
Echo Spacing
Effective Echo Spacing
F
Field Maps
FreeSurfer
FSL
FSLeyes
G
GIFT
grappa
N
NIFTI Headers and Orientation
P
Phase Encode Direction
Q
Q-form
Q-space Sampling
R
Reverse Phase Encode
S
S-form
T
Topup
Total Readout Time
W
Wavelets