<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">
<!--
p
        {margin-bottom:0px;
        margin-top:0px}
p
        {margin-bottom:0px;
        margin-top:0px}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<p><font color="#0000ff">Hi,</font></p>
<p><font color="#0000ff"><br>
</font></p>
<p><font color="#0000ff"> We are trying to use the qball reconstruction as indicated in the tutorial for squirrel monkey data set whose scheme file is as attached. Its dimensions are 128X192X96.
</font></p>
<p><font color="#0000ff">We are having issues viewing the rgb file that is generated as below after running sfplot on split files. Below are more details related to this issue.</font></p>
<p> </p>
<li><font color="#0000ff">The exact commands that produce the problem. </font>
<p>------------------------------------------------------------------------------------------------------------------------------------</p>
<p>#qballmx -schemefile data1.scheme > qballMatrix_data1.Bdouble</p>
<p>#linrecon dwi_data1.Bfloat data1.scheme qballMatrix_data1.Bdouble -normalize -bgmask brain_mask.nii.gz > dwi_ODF_data1.Bdouble<br>
#split -b $((128*192*248*8)) dwi_ODF_data1.Bdouble ./splitBrain/dwi_ODFs_data1_slice<br>
#split -b $((128*192*8)) fa_data1.img ./splitBrain/fa_data1_slice<br>
#sfplot -inputmodel rbf -rbfpointset 246 -rbfsigma 0.2618 -xsize 128 -ysize 192 -minifigsize 10 10 -minifigseparation 2 2 -minmaxnorm -dircolcode -projection 1 -2 -backdrop ./splitBrain/fa_data1_slicebr < ./splitBrain/dwi_ODFs_data1_slicear > dwi_ODFs_slicear.rgb</p>
<p>------------------------------------------------------------------------------------------------------------------------------------</p>
<p><font color="#0000ff">MATLAB script for loading and viewing the rgb file.</font></p>
<p>------------------------------------------------------------------------------------------------------------------------------------</p>
<p>fid = fopen('dwi_ODFs_slicear.rgb','r','b');<br>
dwiODFs = fread(fid,'unsigned char');<br>
fclose(fid);<br>
imageODFs = reshape(dwiODFs,3,6144,4096); % Image size obtained from camino output<br>
imageODFs = uint8(permute(imageODFs,[2 3 1]));<br>
imshow(imageODFs,[]);<br>
------------------------------------------------------------------------------------------------------------------------------------<br>
</p>
</li><li><font color="#0000ff">Attached is the scheme file (data1.scheme)</font> </li><li><font color="#0000ff">Attached is the output given out when running qball commands (qballoutput.txt)</font>
<p><font color="#0000ff"></font> </p>
</li><li><font color="#0000ff">Any error messages that result. </font>
<ul>
<li>info message when opening the rgb file from MATLAB. <br>
<ul>
<li>Image is too big to fit on screen; displaying at 13% <br>
</li><li>In imuitools/provate/initsize at 72</li><li>In imshow at 259</li></ul>
</li><li>The image displayed does not seem to be scaled appropriately<br>
</li></ul>
<p><font color="#0000ff">Can you please assist.</font></p>
<p><font color="#0000ff"></font> </p>
<p><font color="#0000ff">Thanks,</font></p>
<p><font color="#0000ff">Prasanna</font></p>
</li></div>
</div>
</div>
</div>
</body>
</html>