Hi,
I am not sure how you can get bvecs and bvals files from a DICOM file that
are not matching the volume order in the 4D file. Have you converted your
data to NIFTI? Using a standard tool (e.g. dcm2nii of MRIcro) should
extract the correct files.
Cheers,
Stam
> Dear FSL experts,
>
> I have a question with regard to tractagraphy.
>
> I want to do tractaghraphy and based on the data in order to do the
> bedpostX I need bet, Nodif_brain, 4D images and Bvec and bvals.
>
> It seems that the order of entries in my bvec and bvals are based on
> scanner order not the patinet, I mean it is not match with the order of
> volumes in data. I do not know how I can make it in correct order.
>
> Now my bvals are:
> 0 0 0 0 0 0 0 0 0 0
> 1200 1200 1200 1200 1200 1200 1200 1200 1200
> 1200 1200 1200 1200 1200 1200 1200 1200 1200
> 1200 1200 1200 1200 1200 1200 1200 1200 1200
> 1200 1200 1200 1200 1200 1200 1200 1200 1200 1200
> 1200 1200 1200 1200 1200 1200 1200 1200 1200
> 1200 1200 1200 1200 1200 1200 1200 1200 1200
> 1200 1200 1200 1200 1200
>
>
> and my bvecs are:
> 0 0 0 0 0 0 0 0 0 0
> -1 -0.586791788 -0.89419464 -0.7292807 0.154251487
> -0.117135894 0.407574856 -0.211330368 -0.095375448
> 0.135449593 0.142124909 0.637008652 -0.080562709
> -0.10687111 -0.298747184 0.207492347 -0.33112536 0.80529387
> -0.337278239 -0.592395657 0.088978676 0.527982284
> 0.369110767 -0.311914111 0.68451071 0.030114437
> 0.337568108 0.574804397 -0.27113459 0.935184635 -0.889082804
> 0.884342763 -0.545045316 0.35077395 -0.416157823
> 0.73265438 0.739209193 0.256353182 0.91902335
> 0.257293088 0.589832596 -0.891135573 -0.679066828 0.87981143
> 0.621609123 -0.897049827 0.163347145 0.507183293
> -0.107014625 -0.883484875 -0.598171416 -0.69619193
> 0.393556474 0.761087939 -0.210324268 -0.376032459
> -0.735763377 0.987214295 -0.529212442 -0.662917886
> 0 0 0 0 0 0 0 0 0 0
> 0 -0.37658254 0.022917222 -0.410969732 0.964368539
> 0.773538895 -0.414993801 0.753737926 -0.969517008
> -0.033489524 -0.750520788 0.746108759 0.971668844
> -0.021213205 0.387214291 -0.803431714 -0.040337024
> -0.589494382 -0.749774452 -0.761390315 -0.465649903
> -0.430927348 -0.927081728 0.926380667 0.439336124
> -0.966623469 0.74465367 0.02480567 -0.747833604
> 0.185420847 0.309665002 0.033573806 0.586316662
> -0.016274101 -0.900528193 0.003249792 0.611422788
> 0.406875364 0.372521552 0.7654857 0.433952633
> -0.185956782 0.14210531 -0.309554232 -0.697194647
> -0.430209226 0.41789258 -0.778308809 -0.44639827
> 0.435263623 0.029842643 0.698103879 0.900807611 -0.402896852
> 0.396164368 -0.378954915 -0.611461474 -0.145866133
> 0.8073647 0.472672255
> 0 0 0 0 0 0 0 0 0 0
> 0 0.716840978 -0.447091431 -0.547040711 0.214941387
> 0.622829641 0.81342663 -0.622268925 -0.22569957
> 0.990218087 0.645382876 0.1937568 -0.222192052
> -0.994046561 -0.87224722 -0.558072045 0.942724202
> 0.063230977 0.569281706 -0.263348011 -0.880484505
> -0.731803477 -0.065396575 0.211017647 0.581746387
> 0.254425213 0.57579396 0.817914778 -0.60599582
> -0.301742949 0.337104367 0.465629335 0.599298235
> -0.936318744 0.125943001 -0.680593122 -0.282368453
> 0.876775618 0.128933222 -0.589772762 -0.681015874 0.41388098
> 0.720190478 -0.360704899 -0.357101837 -0.10110208
> -0.893690943 0.370135793 0.888412323 -0.173205236
> -0.800812321 0.167235674 -0.183463755 0.50834956 0.893765907
> -0.845572446 0.291147933 0.064272909 -0.260952933
> -0.58062106
>
> I know that I should figure it out correction in numbers by using header
> of images but I have no idea how I can do that.
>
> I would highly appreciate if you could give me a hand in this regard.
>
> Best Regards,
>
> Gelareh
>
>
|