On 12 Mar 2009, at 10:42, Eddy D.L. wrote:
> Hi Saad,
>> you can't do that with fslmaths, you will need to write your own c++
>> or matlab code, sorry!
> ok, unfortunately, are a bit tight with the times so I will use
> technique of
> the average.
> Sorry, but I have other two question:
> 1) easy mathematical question on :
> fslmaths mean_L1_skeleton.nii.gz -mul V10000.nii.gz -mul
> V10000.nii.gz tmp1
> with matlab I use form (with matrix): L1*V1*V1^T (transposed)
> I hope that two formulas are equivalent!
yes, should give you the same thing.
> 2)can I rebuild a tensor image as one volume, with 3x3 matrix for each
> voxel, in FSL or I should use matlab for this?
If you mean a 3D volume, then no. You will need to store it as a 4D
volume, and have an order for storing the 3x3 matrix elements (such as
D11 D12 D13 D22 etc.)
You can use fslmerge for that.
Oxford University FMRIB Centre
JR Hospital, Headington, OX3 9DU, UK
+44 (0) 1865 222545 (fax 717)