DTI_ALPS x,y,z-projection of mean diffusivity

terribly sorry me again,
I forgot that I need x,y,z projections of MeanDiffusivity to.
How can I calculate it from the maps in DiffusionTensorScalarMeasurement provided…?
thank you,

You’ll need to figure out the details of the calculations yourself, but you can get the individual tensors in python: Script repository — 3D Slicer documentation

thank you for your help…
is that ok that the script works more than 47h now??
its a 2040 pics dti on a Intel® Core™ i7-4790 CPU @ 3.60GHz × 8 machine…
ok I know Slicer uses just 1 core…

Processing tensor volumes voxel by voxel in python is likely to be slow, but that does seem like a long time. Usually it’s good to try small experiments to confirm that you are getting the results you expect and then you can use the timing of small examples to estimate how long it should take to process a full volume. It depends on your priorities but writing in C++ is an option to speed things up.

Seems to be a never ending story… ;((
I mean now I got a result but I can´t evalue it.

I have the tensor in a 4D “.nii.gz” file. in the order of Dxx, Dxy, Dxz, Dyy, Dyz & Dzz
I can load it into 3D Slicer using the MultiVolumeImporter.
I would like to place some ROIs and measure the values for Dxx Dyy and Dzz
How is that possible?

Moving the mouse over the frame in the MultiVolumeExplorer gives koordinates but no values?
So does Segmentation & Segment Statistics…

Is there a possibility to export the multiframe in single frames?

thanks jürgen

See the MultiVolumeExplorer to extract individual scalar volumes that are compatible with the DataProbe and SegmentStatistics.

Me again…
sorry your tip with the script repository doesn’t work…
tried on different Slicer versions, and on different data… (just to let you know…)

in older slicer versions (4.0…) there are different kind of maps (Diffusion Tensor Scalar Measurement) available. Is there a way to calculate this maps also in the recent versions (5…)?

And can you tell me whats RAIMaxEigenvecX,Y,Z??? the links to the documentation are no longer up to date, can’t find any explanation…

Be sure to read the documentation and study the code: http://dmri.slicer.org/

If you see broken links please report specifically so they can be fixed. If there are scripts that don’t work for you please report the steps you took and what didn’t work.


“RAIMaxEigenvecX,Y,Z” are likely the eigenvectors computed the diffusion tensors. I don’t think these are provided even in older Slicer versions. Perhaps in the code used as intermediate functions.

Yes, in the new release of Slicer, Diffusion Tensor Scalar Measurement module is available. You would need to install SlicerDMRI to use this module: Download

Btw, above you mentioned “x,y,z projections” are needed. I am not sure if you meant to analyze the Dxx, Dyy, Dzz from the diffusion tenor, or lamda 1, 2, 3 corresponding to the eigenvalues. If the later, you can directly obtain them in the Diffusion Tensor Scalar Measurement module.



HI Fan,

thank you for this useful message:
“RAIMaxEigenvecX,Y,Z” whatever it is, is provided in Slicer versions around 4.0 - 4.4… +/-… in “Diffusion Tensor Scalar Measurement module”
In this versions you also get the x,y,z projection of MaxEigenValue… This feature is useful
for the ALPS index… but no longer provided in the new versions. In the meantime I have solved my problems, and I am able to calculate DTI -ALPS index using 3D Slicer and some other software…
I wonder that the “Diffusion Tensor Scalar Measurement module” does not provide calculation of ADC maps from DTI scans… as this is a very basic often used information. but ok…
So thank you for your help, I have found a solution.

Can you tell me how you solved your problem please. can I calculate ALPS just by 3d slicer.Does “Max Eight Value” in diffusion tensor scalar maps mean Dxx?
thank you