Visualization of devices


DSI Studio supports the visualization of electrodes and surgical devices (after the Sep 2020 version). Users can add SEEG electrodes, DBS lead, probes, or an obturator in the 3D space to show their relative location with the target pathways.

The following are steps. Before placing devices, I would recommend the Automatic Fiber Tracking to generate a list of pathways automatically using augmented fiber tracking (Yeh, Neuroimage, 2020). The approach is shown to have good test-retest reliability.

Adding Devices

To visualize a device with tractography, first open the FIB.gz file generated from Automatic Fiber Tracking in [Step T3 Fiber Tracking].

A new device can be added using [Device][New Device] on the top menu.

This will bring up the device list at the right lower corner:

Then change the [Type] to specify devices and change the length to the desired length. 

Specifying the [Type] will bring up the device in the 3D windows:

You can change its location by first presssing Ctrl+A (Windows) or Cmd+A (Mac) and then left-clicking on the tip of the device to drag it. 
You may need to rotate the view to drag it at different direction.

To change its orientation, press Ctrl+A OR Cmd+A and left-click on the shaft to rotate it.

The slice location can also be dragged using Ctrl+A.

Save Devices

The location of the devices can be saved as a CSV file. The file will include the following fields:

[Name],[Type],[Location in voxel space],[Orientation in voxel space],[Length],[Color in 32bit integer]

Adding Customized Devices

DSI Studio currently supports the following devices:

DBS Lead:Medtronic 3387
DBS Lead:Medtronic 3389
DBS Lead:Abbott Infinity
DBS Lead:Boston Scientific
SEEG Electrode:8 Contacts
SEEG Electrode:10 Contacts
SEEG Electrode:12 Contacts
SEEG Electrode:14 Contacts
SEEG Electrode:16 Contacts
Obturator:11 mm
Obturator:13.5 mm

To add a new device, please modify the device.txt file in the DSI Studio folder (In the Mac version, right click on to show content)

The following is the example for Medtronic 3387

The first row is the device name. Please use follow the style of [Device category]:[Device Name]
The second row is the length of each device segment in mm, whereas as the third row indicates whether the segment is -1 (sphere tip), 0 (body), 1(contact), 2(3 side contacts), 3 (body with adjustable length). Each segment value is separated by a tab.
The last row is the radius in mm.
Once a new device is added, save device.txt back and restart DSI Studio to see if it takes effect.

If you would like to suggest a new type of segment, please feel free to contact me at

Placing Electrodes for SEEG

Placing SEEG electrodes requires CT images. 
You may need to insert CT images (DICOM or NIFTI) using [Slices][Insert T1W/T2W images] and wait until DSI Studio register it with MRI.