Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

This website has been deprecated and exists as an archive only.

The TORTOISE website has been moved to https://tortoise.nibib.nih.gov.

For any information about TORTOISE generation V3.x.x, please refer to the new website.

DIFF_CALC Loading

After importing the data, it is possible to immediately use DIFF_PREP for image registration and artifact correction. However, it is advisable, particularly if you are new to this software, to load your data into DIFF_CALC and inspect the raw data, then perform a simple linear tensor fitting to make sure that the b-matrix is correct.

  1. Start DIFF_CALC following the instructions.
  2. Click on load images and select your listfile.
  3. To inspect the raw data, click on display raw images and use the SLICES and B_VALUES sliders to look through the volumes and slices of your data. This is shown in detail in Display Raw Images
  4. To do a quick linear tensor fit
    • First click on Estimate signal SD to estimate the image noise by either drawing an ROI in the background, or specifying an a priori value
    • Then click on Mask raw images to calculate a brain mask
    • Then select the "opt" button to the right of the process tensor button and select the linear fitting option
  5. When the fit is complete, click on roi utilities, and inspect the linefield and the DEC maps in order to assure you have a correct b-matrix. The figures below show correct and incorrect linefield and DEC maps for one dataset.

The following figure shows some images of a tensor fit with the y-gradient flipped incorrectly. From left to right 1) absolute value DEC map. It looks reasonable. 2) The Linefield image—note the vertical tensor direction in the splenium of the corpus callosum. This indicates there is a problem with the gradient file provided. 3) The no symmetry DEC map on a lower slice in the brain—note the pink and orange colors in the internal capsule. This is incorrect.

Incorrect gradients

The following figure shows the same slices as the previous figure, but with the y gradient flipped. Note the continuous left-right tensor directions in the corpus callosum on the linefield image, and the correct green and blue colors in the internal capsule.

Correct gradients

Please click on the linked pages to get more details about the above steps.