<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">Dear All,</span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class=""><br class="" style=""></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-style: normal; background-color: transparent;"><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">I am having a problem in getting a correct FA map. Here is the summary of what I have done to find this map.</span></div><div class="" style="">&nbsp;</div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
 Grande', sans-serif;" class="">1.<span class="" style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span dir="LTR" class="" style=""></span>Converting the data to NifTI:</span></div><div class="" style=""><span style="font-size: 12pt;" class=""><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp;</span>dcm2nii dcm_file</span></div><div class="" style=""><span style="font-size: 12pt;" class=""><br></span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">2.<span class="" style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span dir="LTR" class="" style=""></span>Making Scheme File</span></div><div class="" style=""><span style="font-size: 12pt;"
 class=""><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp;</span>pointset2scheme -bvalue bvalue_file &lt; grad_dirs_file &gt; dwi_bvector_scheme_file</span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class=""><br></span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">3.<span class="" style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span dir="LTR" class="" style=""></span>Convert the DWI data</span></div><div class="" style=""><span style="font-size: 12pt;" class=""><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp;</span>image2voxel -4dimage raw_dwi_nii_file -outputfile dwi_Bfloat_file</span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class=""><br></span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">4.<span class="" style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span dir="LTR" class="" style=""></span>Fit the diffusion tensor</span></div><div class="" style=""><span style="font-size: 12pt;" class=""><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp;</span>dtfit dwi_Bfloat_file
 dwi_bvector_scheme_file -outputfile dt_Bdouble_file</span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class=""><br></span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">5.<span class="" style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span dir="LTR" class="" style=""></span>Compute Fractional Anisotropy &amp; Mean Diffusivity Maps</span></div><div class="" style=""><span style="font-size: 12pt;" class=""><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp;</span>for PROG in fa md; do</span></div><div class="" style=""><span style="font-size: 12pt;" class=""><span
 style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span>cat dt_Bdouble_file | ${PROG} | voxel2image -outputroot ${PROG} -header raw_dwi_nii_file</span></div><div class="" style=""><span style="font-size: 12pt;" class=""><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp;</span>done</span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class=""><br></span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">6.<span
 class="" style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span dir="LTR" class="" style=""></span>Compute the Eigen System</span></div><div class="" style=""><span style="font-size: 12pt;" class=""><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 9px;" class="">&nbsp;</span>cat dt_Bdouble_file | dteig &gt; dt_eig_Bdouble_file</span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class=""><br></span></div><div class="" style=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">7.<span class="" style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span dir="LTR" class="" style=""></span>Checking the
 orientation</span></div><div class="" style=""><span class="" style="font-size: 12pt; font-family: Symbol;"><span class="" style="font-size: 7pt; font-family: 'Times New Roman';">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></span><span dir="LTR" class="" style="font-size: 12pt;"></span><span class="" style="font-size: 12pt;">pdview -inputfile dt_eig_Bdouble_file -scalarfile fa_nii_file</span></div><div class="" style="margin-left: 1in;"><br class="" style=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-style: normal; background-color: transparent;"><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class=""><br></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-style: normal; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent;"><span
 style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class="">Also, I have checked any potential problem with dwi volume data using</span><span class=""> ITK-SNAP</span><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" class=""> and the data seems to be fine. Could someone kindly help me if there is any problem with the scheme file, which I have brought in below? Thank you in advance for your time and consideration of my problem.</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-style: normal; background-color: transparent;"><br class="" style=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-style: normal; background-color: transparent;">#B-vector scheme. Contains
 gradient directions and b-values</div><div class="" style="">#g_x<span class="" style="white-space:pre">        </span>g_y<span class="" style="white-space:pre">        </span>g_z<span class="" style="white-space:pre">        </span>b</div><div class="" style="">VERSION: BVECTOR</div><div class="" style="">&nbsp; &nbsp;0.000000 &nbsp;-0.896569 &nbsp;-0.442905 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.128542 &nbsp;-0.984420 &nbsp; 0.119973 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.800509 &nbsp;-0.596441 &nbsp;-0.058681 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.881053 &nbsp;-0.425170 &nbsp;-0.207307 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.474272 &nbsp; 0.543437 &nbsp; 0.692635 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.391668 &nbsp; 0.638172 &nbsp;-0.662822 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.524076 &nbsp; 0.231131 &nbsp; 0.819709 &nbsp; 1.000E03</div><div class="" style="">&nbsp;
 -0.463732 &nbsp; 0.563601 &nbsp;-0.683598 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.855062 &nbsp; 0.117571 &nbsp;-0.505021 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.866833 &nbsp;-0.365917 &nbsp;-0.338681 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.938289 &nbsp; 0.116876 &nbsp; 0.325506 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.000000 &nbsp; 0.000000 &nbsp; 1.000000 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.668797 &nbsp;-0.345354 &nbsp;-0.658363 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.220695 &nbsp; 0.283350 &nbsp; 0.933277 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.118224 &nbsp;-0.687707 &nbsp;-0.716297 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.623284 &nbsp;-0.444008 &nbsp; 0.643719 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.010828 &nbsp;-0.989984 &nbsp; 0.140763 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.222798
 &nbsp;-0.788292 &nbsp; 0.573547 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.834059 &nbsp; 0.268739 &nbsp;-0.481793 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.512966 &nbsp;-0.250867 &nbsp;-0.820933 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.310584 &nbsp;-0.512977 &nbsp; 0.800245 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.874804 &nbsp; 0.373180 &nbsp;-0.308958 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.000000 &nbsp; 0.000000 &nbsp; 0.000000 &nbsp; 0.000E00</div><div class="" style="">&nbsp; &nbsp;0.689039 &nbsp;-0.194531 &nbsp; 0.698129 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.442299 &nbsp; 0.896697 &nbsp;-0.017477 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.749844 &nbsp; 0.210447 &nbsp;-0.627253 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.624818 &nbsp; 0.757523 &nbsp; 0.189104 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.767869
 &nbsp; 0.272113 &nbsp;-0.579941 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.810237 &nbsp;-0.401922 &nbsp;-0.426585 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.507114 &nbsp;-0.804687 &nbsp; 0.308732 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.589042 &nbsp;-0.734014 &nbsp; 0.338013 &nbsp; 1.000E03</div><div class="" style="">&nbsp; -0.556982 &nbsp; 0.727640 &nbsp;-0.400389 &nbsp; 1.000E03</div><div class="" style="">&nbsp; &nbsp;0.065044 &nbsp;-0.717700 &nbsp; 0.693308 &nbsp; 1.000E03</div><div class="" style=""><br class="" style=""></div></div></body></html>