DSI Studio 2025 Workshop Outline
- 🧭 Workshop Format
Each workshop will run for 1 hour, divided into four 15-minute sections. During each section, feel free to drop your questions in the Zoom chat at any time. I’ll go through them one by one during the short breaks between sections.
- 🎥 Recordings
The sessions will be recorded and posted on YouTube afterward. If you prefer, you’re welcome to just watch the recordings instead of attending live—live participation is mainly for real-time interaction.
- 🙋♂️ Post-Workshop Q&A (Unrecorded)
At the end of each day’s workshop, we’ll have an informal, off-the-record Q&A. You can ask about your own research, bring up ideas, or suggest features you’d like to see in DSI Studio. It’s an open forum to chat and brainstorm together.
• Interface and Fiber Data Hub (WK1)
The new Command History feature records GUI actions and converts them into reusable command-line scripts, making it easy to reproduce and automate workflows. The Fiber Data Hub provides instant access to over 37,000 preprocessed brain fiber datasets, including HCP, ABCD, and OpenNeuro. The hub is hosted independently on GitHub and accessible via API, allowing users to explore brain connectivity without manual preprocessing.
• Minimal Preprocessing Pipeline (WK2)
This session introduces key diffusion MRI acquisition settings, and how they influence reconstruction and analysis. We’ll then walk through a minimal preprocessing pipeline that converts raw data (DICOM or NIfTI) into analysis-ready .sz files using either the GUI batch processor or command-line tools. The pipeline emphasizes simplicity and compatibility, making it suitable for a wide range of datasets, including both human and animal studies.
• Fiber Tracking (WK3)
This session presents updated tracking metrics, including tract-to-voxel and seed-to-voxel ratios, which improve interpretation of tract counts. We’ll introduce the tract-to-region Connectome, which links tracts to specific anatomical regions, offering finer resolution than region-to-region matrices. The session also covers how to use different region types—volume ROIs, surface-based regions, and atlas-defined labels—for fiber tracking and filtering. New features enable tractography on structural images aligned to diffusion space, and updated average templates support improved spatial normalization in group studies.
• Differential and Correlational Tractography (WK4)
This session covers statistical tools for detecting group differences and correlations in white matter tracts. Differential tractography identifies regions with significant changes, while correlational tractography maps associations with variables like age, symptoms, or cognitive scores. These methods support applications in neurology, psychiatry, and developmental neuroscience by linking tract-level findings to clinical or behavioral measures.
Session 1: Introducing DSI Studio
DSI Studio is built for simplicity, transparency, and accessibility—providing researchers and clinicians with an intuitive platform for diffusion MRI tractography and connectome analysis.
1.1 Design Paradigm
• 🔧 Minimal Preprocessing
DSI Studio follows a minimalist preprocessing philosophy, using only essential steps like FSL’s TOPUP and eddy.
• 📈 Diffusion Models
The software supports models including DTI, GQI, and QSDR.
• 🔁 Actively Maintained and User-Driven
Frequent updates reflect direct user feedback through the public forum. Most new features are developed in response to real research needs.
• 💡 Concept-driven Methods
DSI Studio introduces concept-driven methods such as tract-to-region connectome, differential tractography, and correlational tractography.
1.2 Community Support
- Website: https://dsi-studio.labsolver.org
- Download links
- Documentation
- Links to other support websites
- Discussion group: https://groups.google.com/g/dsi-studio
- Bug report
- Suggestions
- Questions
- Workshop: https://practicum.labsolver.org
- Tutorial videos
- Data (Fiber Data Hub): https://brain.labsolver.org
- Tractography atlases
- Templates
- Individual scan data
1.3 Version History
DSI Studio began as a research-focused tool—and it continues to evolve with that mission in mind. The software is actively maintained and updated, typically on a weekly basis.
- Pre-“Chen” (2008–2022)
- “Chen” (2022–2024)
- “Hou” (2025–Present)
Keep a working copy of DSI Studio alongside your data, as the software is updated frequently (often daily!).
1.4 Setup & Installation
-
Recommended Hardware:
A desktop with a multi-core CPU and an NVIDIA GPU is recommended for faster processing and smoother rendering. -
Windows:
Download and run directly—DSI Studio is a portable program and doesn’t require installation. -
macOS (13+):
Download the app package, enable permissions, and bypass Gatekeeper (required for macOS 15+). -
Ubuntu (20.04+):
Download the executable and run it directly—no installation needed. -
Docker/Singularity:
Prebuilt containers are available. Just download and run for consistent and portable environments.
Session 2: Main Interfaces
Tractography Tabs:
Raw images (DICOM, NIFTI, etc.) 📂 ➝ .sz file (DWI signals + bval/bvec) 📊 ➝ .fz files ( fiber orientations + anisotropy) 🖼️ ➝ .tt.gz ( tractography) 🧠
File Formats:
- NIFTI: .nii.gz
- SRC: .sz (or .src.gz in older versions)
- FIB: .fz (or .fib.gz in older versions)
- Tractography: .tt.gz (DSI Studio), .trk.gz (TrackVis)
Fiber Data Hub
Overview:
The Fiber Data Hub is a growing repository of preprocessed diffusion MRI data designed for ease of access and integration with DSI Studio.
Web portal: https://brain.labsolver.org
Key Features:
- Includes data from major projects: HCP, ABCD, OpenNeuro, and others
- Covers both human and animal brain scans
- Continuously expanding with community contributions
- Hosted independently of DSI Studio on GitHub
- Accessible via the GitHub API
- Supports sharing of:
- FIB files (.fz) for tractography and fiber visualization
- SRC files (.sz) (when licensing permits)
Console Window:
- Displays internal messages and system logs
- Allows users to run command-line instructions directly within the GUI
Command Line Interface:
Example code to run at Google Colab (Ubuntu 2204)
!wget https://github.com/frankyeh/DSI-Studio/releases/download/2024.06.12/dsi_studio_ubuntu2204_cpu.zip && unzip -o -q dsi_studio_ubuntu2204_cpu.zip
!wget https://github.com/data-openneuro/brain/releases/download/ds004299/sub-103_ses-1_dwi.sz
!wget https://github.com/data-openneuro/brain/releases/download/ds004299/sub-104_ses-1_dwi.sz
!dsi-studio/dsi_studio --action=rec --source=*.sz
!dsi-studio/dsi_studio --action=ana --source=*.fz --region=HCP-MMP:L_V1
- Download DSI Studio binary and data from fiber data hub
- Run GQI reconstruction
- Use built-in HCP-MMP region L_V1 to sample diffusion values
Session 3: Tractography Interfaces
- Sample Data: [OpenNeuro][ds004299][sub-103_ses-1_dwi.gqi.fz]
-
3D Window (Middle)
views
- Left button to rotate view
- Right button to zoom in/out view
- Middle button or arrow keys to move view
- Wheel to zoom in/out view
- Alt+1, Alt+2,…etc remember the current viewport and slice position to memory slot 1
- “1”, “2”,…etc. return to the viewport and slice position recorded in memory slot 1
slices
- Any “Q” and “A” move sagittal slide
- Any “W” and “S” move coronal slide
- Any “E” and “D” move axial slide
- Any “Z” switch to sagittal view
- Any “X” switch to coronal view
- Any “C” switch to axial view
- Method Window (Lower Right)
- Tract Window (Right)
- Tracking button
- Autotrack
- Tract Menu
- ROI Window (Lower Left)
- ROI tools
- Right double click to move slices to the pointed location.
- Wheel zoom in or zoom out
- Region (Upper Left)
- Atlas function
- Region Menu
- Double left-clicks on a 3D region to select it in the region list
- Ctrl+A to drag a slice or a region in the 3D window.
- Settings & Rendering (Upper Right)
- Slice, Region, Tract, Device renderings
- Top Menu Functions (Top)
- Workspace
- Tract Editing
- Region Editing
- Tract Coloring & Recognition
- Slices & Segmentation
- Device
- Screen Saving
- Command History
Assignments
Assignment 1. Screen capture whole brain tractography from 10 subjects using command history function
- ** Download all subjects’s first session gqi.fz files from OpenNeuro ds000244 (Individual Brain Charting)
- Open [Fiber Data Hub] → Repository: [OpenNeuro] → [ds000244]
- Click on [Select Matching] button → gqi.fz (After entering the filter, move the scroll bar a bit to see the selected data)
- Specify the Save Directory and Click on [Download 12 File(s)]
- Screen capture whole brain tractography on downloaded files
- At main window’s [Tractography] tab, click on [Step T3: Fiber Tracking] and select the downloaded file
sub-01_ses-00_dwi.gqi.fz
- Click on the [Fiber Tracking] button on the right to get whole brain tractography
- Adjust zoom value in the 3D window to get a good view
- On the top menu, save whole brain tractography using [Screen][Save 3D Screen] → save screen shot as
sub-01_ses-00_dwi_whole_brain_screen.jpg
- On the top menu, select [Records][Command History] → Select all steps from
open_fib
tosave_screen
→ Click [Apply to Others…] → Select other .fz files - On the top menu, select [File][Open FIB Directory] to see if the screenshots are generated.
- At main window’s [Tractography] tab, click on [Step T3: Fiber Tracking] and select the downloaded file
Assignment 2: Batch Processing NIfTI Files to Reduce File Size
Objective:
Reduce the size of T1-weighted images by adjusting intensity, data type, and spatial resolution.
Step-by-Step Instructions:
- Download the Original OpenNeuro ds001378 Dataset
- Visit: https://openneuro.org/datasets/ds001378
- Click [Download], then click the [Download] button again.
- Choose an output folder to save the files.
- Collect T1-Weighted Images
- Navigate to the downloaded dataset’s
SCA2
folder. - Search for all files named
*T1w.nii.gz
and copy them into a new working folder.
- Navigate to the downloaded dataset’s
- Open Images in DSI Studio
- Launch DSI Studio.
- Go to [Tools] → [Step O1: View Images]
- Select all
T1w.nii.gz
files in the folder. - Note: DSI Studio will preview only the first image, but the actions will later apply to all.
- Adjust Image Contrast
- In the top menu, go to:
- [Views] → [Normalize Otsu Median]
- [Views] → [Upper Threshold], enter
1
- In the top menu, go to:
- Reduce Data Precision
- In the top-right dropdown menu, change the image type from 32-bit floating point to 8-bit integer
- Downsample Image Volume
- Go to [Volume] → [Resize]
- Enter new dimensions:
200 256 160
- Save the Processed Images
- Go to [File] → [Save as…]
- Use a new filename with a suffix, e.g.,
*_T1w_reduced.nii.gz
- Apply Settings to All Files
- When prompted, click [Yes] to apply the same changes to all selected images.
Assignment 3: Command Line Batch Processing NIfTI Files to Reduce File Size
-
Open the console window in DSI Studio
- Repeat the steps in Assignment 2 to identify the commands and parameter used in NIFTI tool.
- The command usually has this format
name of the command
:parameters
- For example, if regrid at 1 1 1, the name of the command is
regrid
and the parameters are1 1 1
- The command usually has this format
-
Use command line to repeat the task of the assignment 2
Example command:
dsi_studio --action=img --source=*.nii.gz --cmd="flip_x+upper_threshold:1+change_type:1" --output=../*_modified.nii.gz
This command batch-processes all
.nii.gz
images in the current folder by flip the image at x direction, thresholded values beflow 1, and change the pixel type to 16-bit integer before sacing the results with a_modified
suffix in the parent directory.