How to build tensor image?

I have calculated a whole brain tensor martrix, but don’t know how to make it to a tensor image which can be displayed in Mrview, does anyone have done this?

Hi @LiuYuchen,

I’m not sure what you’re asking exactly, but I’m assuming you’re asking how to proceed from the output of dwi2tensor (the tensor components) to derived maps such as the FA, mean diffusivity, or the directionally-encoded colour (DEC) map? If so, tensor2metric is the command you’re after, and this command-line will produce all of these outputs:

tensor2metric dt.mif -fa fa.mif -adc md.mif -ev dec.mif