DMRI module: visualization

Is it possible to visualize specific individual components of the diffusion tensor?
Could you please point me to the code?

Yes. In Volumes module, select your DWI volume as “Active Volume” and then adjust the “DWI component” slider.

Thank you. I meant that after the diffusion tensor is calculated from DWI, how to visualize each of the six individual elements of the tensor.

With SlicerDMRI you can get a variety of derived scalars from tensors:

https://www.slicer.org/wiki/Documentation/Nightly/Modules/DiffusionTensorScalarMeasurements

But to access individual elements of the tensor you would need to do some python scripting (e.g. assign tensor components to a new scalar volume node’s array).

https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#access-values-in-a-dti-tensor-volume