psyc410_s2x:dti
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
psyc410_s2x:dti [2025/03/11 10:46] – [Plotting tracts] admin | psyc410_s2x:dti [2025/03/17 13:03] (current) – removed admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Part 3: Tractography ====== | ||
- | Diffusion weighted imaging is an important development in MRI that gave clinicians and researchers the ability to identify and measure white matter non-invasively. But it also just happens to be one of the most visually beautiful types of scientific imaging (IMHO). The rest of this lab is aimed at getting you more comfortable with visualizing white matter tracts, but also to just have fun and create some awesome looking images. | ||
- | |||
- | <WRAP center round alert 100%> | ||
- | <WRAP centeralign> | ||
- | \\ | ||
- | **Skip ahead to the [[# | ||
- | </ | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ===== Visualizing Tracts with DSI Studio: Single Subject ===== | ||
- | |||
- | <WRAP center round info 100%> | ||
- | The sample data for this section are located in '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | |||
- | === Preprocessing === | ||
- | * Denoising | ||
- | * Gibbs ringing artifact | ||
- | * Susceptibility artifact | ||
- | * Eddy current distortions | ||
- | * Subject motion | ||
- | |||
- | /* Applying strong gradients such as those used in diffusion imaging creates compensatory magnetic fields that oppose the gradients. These are called 'eddy currents' | ||
- | |||
- | The problem in MRI is that spatial encoding is exquisitely dependent upon the strength of the magnetic field gradient. The spatial location of a hydrogen nucleus (proton) is encoded by applying a magnetic field of a precise strength to a location in space. If the magnetic field strength is augmented or diminished by eddy currents, there will be a change in the perceived location of the proton. Thus, the image will be sheared or otherwise distorted. | ||
- | |||
- | There are algorithms that attempt to compensate for eddy current distortions, | ||
- | */ | ||
- | |||
- | </ | ||
- | |||
- | |||
- | In this section we will use [[https:// | ||
- | |||
- | <WRAP center round tip 80%> | ||
- | It is best to not use the macos "dark mode" setting when using DSI-Studio. If you never changed this setting, then you have nothing to worry about. If you did set your computer to use Dark mode, then you should set it back to Light mode for the rest of this lab. | ||
- | </ | ||
- | |||
- | ==== Getting Started ==== | ||
- | |||
- | **1.** Open '' | ||
- | |||
- | * If a license agreement pops up, select '' | ||
- | |||
- | <WRAP center round tip 80%> | ||
- | If you don't see the icon in your dock, you can open it from your '' | ||
- | </ | ||
- | |||
- | ==== Preparing a single subject ==== | ||
- | |||
- | **1.** Click on the **Tools** tab. | ||
- | |||
- | {{ : | ||
- | |||
- | |||
- | **2.** Select **R1: Linear Registration** | ||
- | |||
- | {{ : | ||
- | |||
- | |||
- | * Select the '' | ||
- | * Then select the '' | ||
- | |||
- | **3.** Check the quality of the registration by using the sliders to move through slices, and using the '' | ||
- | *Unless something look horribly wrong, select '' | ||
- | |||
- | |||
- | **4.** Select the **Tractography** tab. | ||
- | |||
- | {{ : | ||
- | |||
- | **5.** Select **Step T1: NIFTI to SRC ...** | ||
- | |||
- | {{ : | ||
- | |||
- | * Select the '' | ||
- | * The '' | ||
- | * Click '' | ||
- | |||
- | **6.** Select **Step T2: Reconstruction ...** | ||
- | |||
- | {{ : | ||
- | |||
- | * Select the '' | ||
- | * Select **Run Reconstruction** in the bottom-right corner of the window that opens up. | ||
- | * Click '' | ||
- | * Close the reconstruction window | ||
- | |||
- | **7.** Select **Step T2: Fiber Tracking** | ||
- | |||
- | {{ : | ||
- | |||
- | * Select the '' | ||
- | |||
- | |||
- | ==== Viewing a single subject ==== | ||
- | |||
- | A new DTI viewing window will open (see below). There is a lot going on in this window and it will take you some time to get it figured out. There are way too many options for us to review in this lab, so I will highlight just a few, but you should mess around, press buttons, see what things do. You'll discover cool stuff. If you really lose your way, you can always close the program, reopen it, and jump to step #7 above. | ||
- | |||
- | <WRAP center round info 100%> | ||
- | |||
- | |||
- | |||
- | There are five windows: | ||
- | * The main viewing window (<fc # | ||
- | * The three sliders at the bottom will move you through the x, y, and z dimensions. | ||
- | * To the right of the sliders is an option to zoom in or out. | ||
- | * This brain can also be rotated in 3D by click-hold-drag. | ||
- | |||
- | |||
- | * '' | ||
- | * Here we will add regions to filter and select the tracts we want to view. | ||
- | |||
- | |||
- | * '' | ||
- | * This is a fractional anisotropy map color coded by the principle diffusion direction. | ||
- | * In the upper corner of this window is a zoom window (just below the little '' | ||
- | * By default, this is mirrored with the brain in the main window. Adjusting the slider will move through the slices of both brains. | ||
- | * The little icons to the right of the slider let you choose axial, sagittal, coronal, or multi-view perspectives. | ||
- | * Among other things, you can hand draw regions of interest (ROI) | ||
- | |||
- | |||
- | * '' | ||
- | * A million different options for all of the windows | ||
- | |||
- | |||
- | * '' | ||
- | * Here you will generate and control which tracts are displayed. | ||
- | |||
- | {{ : | ||
- | |||
- | |||
- | </ | ||
- | |||
- | |||
- | **1.** Choose the coronal view by selecting the appropriate button underneath the '' | ||
- | |||
- | **2.** In the main window set the y-slider to '' | ||
- | |||
- | In the main window you should see two prominent, vertical, white-matter tracts. You should also see a prominent horizontal tract that seems to connect the two vertical tracts about two-thirds of the way up. | ||
- | In window '' | ||
- | |||
- | **3.** Click **Autotrack** in the '' | ||
- | |||
- | **4.** Click **Fiber Tracking** in the '' | ||
- | * Pretty cool, right!? | ||
- | * Spend some time playing around with the brain, rotate to see all the pretty colors and fibers. Adjust the sliders, zoom, view, options in '' | ||
- | |||
- | <WRAP center round info 90%> | ||
- | The tracts are overlaid onto a fractional anisotropy (FA) map. You might prefer to see them overlaid on a T1-weighted hi-resolution brain. To do so, on the top menubar select '' | ||
- | |||
- | In the upper left of the main window is dropdown menu that you can now use to switch between '' | ||
- | |||
- | </ | ||
- | |||
- | ===== Visualizing Tracts with DSI Studio: Population Template ===== | ||
- | |||
- | <WRAP center round info 100%> | ||
- | <WRAP centeralign> | ||
- | A group-average template was constructed from a total of 1065 scans. A multishell diffusion scheme was used, and the b-values were 1000, 2000, and 3000 s/mm2. The number of diffusion sampling directions were 90, 90, and 90, respectively. The in-plane resolution was 1.25 mm. The slice thickness was 1.25 mm. The diffusion data were reconstructed in the MNI space using q-space diffeomorphic reconstruction (Yeh et al., Neuroimage, 58(1):91-9, 2011) to obtain the spin distribution function (Yeh et al., IEEE TMI, ; | ||
- | </ | ||
- | |||
- | ==== Getting Started ==== | ||
- | |||
- | **1.** Open '' | ||
- | |||
- | * If a license agreement pops up, select '' | ||
- | |||
- | <WRAP center round tip 80%> | ||
- | If you don't see the icon in your dock, you can open it from your '' | ||
- | </ | ||
- | |||
- | |||
- | **2.** Select the **FIB Template & Tractography Atlas** tab. | ||
- | |||
- | {{ : | ||
- | |||
- | In the '' | ||
- | |||
- | * Select '' | ||
- | * Press '' | ||
- | |||
- | <WRAP center round box 80%> | ||
- | We won't be using any of them for this lab, but how awesome is it that you can play with the white matter of babies, and chimpanzees, | ||
- | |||
- | (the correct answer is "Very awesome!" | ||
- | </ | ||
- | |||
- | A new DTI viewing window will open (see below). There is a lot going on in this window and it will take you some time to get it figured out. There are way too many options for us to review in this lab, so I will highlight just a few, but you should mess around, press buttons, see what things do. You'll discover cool stuff. If you really lose your way, you can always close the program, reopen it, and jump to step #7 above. | ||
- | |||
- | <WRAP center round info 100%> | ||
- | |||
- | There are five windows: | ||
- | * The main viewing window (<fc # | ||
- | * The three sliders at the bottom will move you through the x, y, and z dimensions. | ||
- | * To the right of the sliders is an option to zoom in or out. | ||
- | * This brain can also be rotated in 3D by click-hold-drag. | ||
- | |||
- | |||
- | * '' | ||
- | * Here we will add regions to filter and select the tracts we want to view. | ||
- | |||
- | |||
- | * '' | ||
- | * This is a fractional anisotropy map color coded by the principle diffusion direction. | ||
- | * In the upper corner of this window is a zoom window (just below the little '' | ||
- | * By default, this is mirrored with the brain in the main window. Adjusting the slider will move through the slices of both brains. | ||
- | * The little icons to the right of the slider let you choose axial, sagittal, coronal, or multi-view perspectives. | ||
- | * Among other things, you can hand draw regions of interest (ROI) | ||
- | |||
- | |||
- | * '' | ||
- | * A million different options for all of the windows | ||
- | |||
- | |||
- | * '' | ||
- | * Here you will generate and control which tracts are displayed. | ||
- | |||
- | {{ : | ||
- | |||
- | |||
- | </ | ||
- | |||
- | ==== Plotting tracts ==== | ||
- | |||
- | We'll start by plotting a couple of major white-matter tracts. | ||
- | |||
- | **1.** Switch to a coronal view by selecting the appropriate button underneath the '' | ||
- | |||
- | In the main window you should see two prominent, vertical, white-matter tracts. In window '' | ||
- | |||
- | Let's plot these as fiber tracts. | ||
- | |||
- | **2.** Click **Autotrack** in the '' | ||
- | |||
- | **3.** Click the '' | ||
- | |||
- | **4.** Select **CorticospinalTractR** and then **Fiber Tracking**. | ||
- | |||
- | **5.** In the main viewing window change the brain image from '' | ||
- | |||
- | {{ : | ||
- | |||
- | Play around with the image in the main window. Rotate it around. Try different moving through the slices of the underlay. You can also click the check box next to each slider to turn slices on/off. For example, in the image below I've turned off the '' | ||
- | |||
- | {{ : | ||
- | |||
- | |||
- | |||
- | You now see the primary | ||
- | |||
- | Click **Fiber Tracking** in the '' | ||
- | * Pretty cool, right!? | ||
- | * Spend some time playing around with the brain, rotate to see all the pretty colors and fibers. Adjust the sliders, zoom, view, options in '' | ||
- | |||
- | |||
- | |||
- | **1.** In '' | ||
- | |||
- | **2.** In the popup window that opens select '' | ||
- | |||
- | **3.** Choose the **Cortico_Striatal_Pathway_L** and click '' | ||
- | |||
- | |||
- | ===== old ===== | ||
- | '' | ||
- | |||
- | <WRAP center round alert 80%> | ||
- | Before proceeding, watch the [[http:// | ||
- | </ | ||
- | |||
- | The main value of TrackVis is to isolate particular fiber tracks by use of **TrackGroups**, | ||
- | * if you right click on Track 1 in the upper-right '' | ||
- | * In the lower-right '' | ||
- | |||
- | Play with the controls to get a sense of how you can navigate through space, rotate the brain, adjust which fiber tracts are displayed, etc. | ||
- | |||
- | <WRAP center round tip 80%> | ||
- | It'll take a little bit of time playing around before you get the hang of it. Your goal isn't to become an expert user, but you should get a feel for the basic image/track manipulation options. And if things go totally off the rails, you can always close and reopen the program to start fresh. Try to ... | ||
- | * Only view the long tracks and then only view the short tracks | ||
- | * Click on '' | ||
- | * Adjust the '' | ||
- | * Play around with the '' | ||
- | * Activate the check box next to the '' | ||
- | * Click on the slice number to the right of the checkbox and move the slider | ||
- | * Adjust the '' | ||
- | * //Hint: If you turn on the X slice filter, and change the '' | ||
- | </ | ||
- | |||
- | === Creating an ROI Sphere === | ||
- | |||
- | Let's create a ball-shaped region of interest (ROI) to select some tracts. This will help us identify only the tracks that run through areas we're interested in (our ROI) | ||
- | |||
- | <WRAP center round tip 80%> | ||
- | To clear your workspace, you might consider turning off, or hiding, the current slice-based view. To do so, right-click on '' | ||
- | </ | ||
- | |||
- | **1.** Select **TrackGroup** => **New Track Group from Sphere** | ||
- | |||
- | A small ball will show up at the cross-hairs of your 3 orthogonal views. You can make this ball bigger or small by manipulating its properties. | ||
- | |||
- | **2.** Let's make the ball a little bigger. | ||
- | * Click on the '' | ||
- | * Double-click on the '' | ||
- | |||
- | You can drag the ball around within your three orthogonal slice windows along the bottom of the screen. | ||
- | |||
- | **3.** If your three orthogonal slices are not moving as you move your sphere around, click on the '' | ||
- | |||
- | **4** You can add a second ROI sphere by simply repeating steps 1-3. | ||
- | |||
- | <WRAP center round tip 80%> | ||
- | You can similarly create a TrackGroup based upon a hand-traced ROI like in the [[http:// | ||
- | </ | ||
- | |||
- | |||
- | **Find Some Tracts** | ||
- | |||
- | Use these methods, or others you discover, to isolate the following tracts. | ||
- | |||
- | * minor forceps | ||
- | * major forceps | ||
- | * corticospinal tract | ||
- | * cingulum | ||
- | |||
- | ===== LAB REPORT Part 3 ===== | ||
- | <WRAP center round important 100%> | ||
- | <WRAP centeralign> | ||
- | <WRAP centeralign> | ||
- | <typo fs:x-large; fc:purple; fw:bold; text-shadow: | ||
- | LAB REPORT Part 3 | ||
- | </ | ||
- | </ | ||
- | |||
- | * Include screenshots showing the paths of **at least three major brain tracts** (you can use any of the those above, or any three others of interest, or from the JHU atlases). | ||
- | * In your write up, identify the tracts and briefly explain their functional-anatomical role (i.e., what anatomical regions do they connect, and what information might they carry). | ||
- | |||
- | **Take your time with this part of the lab. With a little effort and creativity you can create some really striking images! And if you can't have fun creating images in TrackVis...well...I just...I just don't know what to say.** | ||
- | </ | ||
- | |||
- | |||
- | <WRAP center round todo 60%> | ||
- | <WRAP centeralign> | ||
- | <typo fs:36px; fc:red; fw: bold; fv: | ||
- | |||
- | <typo fs:20px; fc:black; fw: bold> | ||
- | </ | ||
- | </ |
psyc410_s2x/dti.1741707996.txt.gz · Last modified: 2025/03/11 10:46 by admin