<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
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p><font color="#0000ff">Hi,</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>Attached is the info message when opening the rgb file from MATLAB. (Qball_ImageView_Issues.JPG)
</li><li>Also Attached is the image file that is displayed (QBall_sliceview_Issues.JPG)</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>
</body>
</html>