dMRI Scalar Maps & Meausrements

Hi everyone,

I could not find this info when going through the documentation, but I was wondering if there were definitions or more info about how the following are calculated using dMRI:
-Relative Anisotropy
-Determinant

Also, when generating the measurements:

  1. How come some are excluded? (Num_Clamp_Excluded)?
  2. What do the ones that have the “NAN” suffix mean?

Thank you!

Hi @LearningSlicerYay ,

Relative Anisotropy is defined as the ratio of the anisotropic part of the diffusion tensor to the isotropic part (Basser, 1994). The implementation is here: https://github.com/zhangfanmark/Slicer/blob/69c4b90c62ab400f9f7862bdbfd96fc02998f45d/Libs/vtkTeem/vtkDiffusionTensorMathematics.cxx#L1006 Different to FA, the denominator is trace, instead of norm.

Determinant is just the determinant of the tensor matrix. You can find the math definition here: https://www.chilimath.com/lessons/advanced-algebra/determinant-3x3-matrix/

Regarding Num_Clamp_Excluded, there are some computed values out of the expected range for some reason. E.g, FA value may be negative due to noisy signal values. These values are excluded when computing the tract statistics. Num_Clamp_Excluded is used to record the number of such voxels.

Regarding NAN, this means not-a-number, and it should happen when the input tract vtk file is empty, i.e. not fibers.

Regards,
Fan

Hi Fan,

Thanks very much for your reply, that was very helpful.
Some follow-up questions:

  1. Are the statistics generated based on “Num_Points” then? Does this represent the number of voxels ?
  2. Regarding the NAN - I am slightly confused - is this also when voxels are excluded for specific analyses? I am not sure how to interpret this in light of Num_Clamp_Excluded. For example, I have a result where:
    -Num_Points = 420
    -Num_Fibers = 5
    -Num_Clamp_Excluded = 37
    -Results for FA, RA, MD etc are still generated
    -And a variable number in different NAN measurements (i.e., FA.NAN is 14; Max Eigenvalue.NAN is 0; Trace.NAN is 90)

In this scenario, how would I interpret what was included to generate the (for example) FA results?

Thanks again

Hi @LearningSlicerYay

Yes, the Num_Clamp_Excluded is point-wise. Sorry for the confusion. Regarding the NAN, I thought you meant the NAN values in the computed statistics. In fact, Num_Clamp_Excluded is different from NAN. In the code, we are checking several major diffusion scalars: https://github.com/SlicerDMRI/SlicerDMRI/blob/59297e6212f4cefce9d644164584b5f4df934625/Modules/CLI/FiberTractMeasurements/FiberTractMeasurements.cxx#L898 So, Num_Clamp_Excluded means the points that have values outside the defined range. The XX.NAN (e.g. FA.NAN) gives the number of points that have nan values in this computed scalar. There should be no direct connection between Num_Clamp_Excluded and XX.NAN.

For your case, I think it should be interpreted as follows. There are 5 fibers with a total of 420 points. There are 37 points with values outside the defined ranges for the major diffusion scalars. When you are looking specifically at the FA, there are 14 points with nan values, which should have been excluded when computing the mean statistics.

Regards,
Fan

1 Like

Thanks for your very detailed responses Fan - really appreciate it and now I think understand how to properly interpret it properly :slight_smile:!