[Camino-users] tractstats
Yan Jin
yjinz at umich.edu
Fri Apr 27 13:06:02 PDT 2012
Hi Florian,
Thank you! I just tried the command, but I got lots of "?" in the
text. I think that there is something wrong with the binary output
from tractstats. Are you using the current version (build 1043)?
Yan
On Fri, Apr 27, 2012 at 12:50 PM, Florian Fischer
<flofisch at students.uni-mainz.de> wrote:
> Hi Yan,
>
> you could just pass the (binary) tractstats output to "double2txt" like so:
>
> tractstats -tractstat length< trk.Bfloat |double2txt> stats.txt
>
>
> Cheers
>
> Florian
>
>
>
> On 04/27/2012 09:05 PM, Yan Jin wrote:
>>
>> Hi,
>>
>> I just used tractstats to get the length of the streamlines. It
>> doesn't seem to work. Here is what I did:
>>
>> tractstats -tractstat length< trk.Bfloat> stats.Bdouble
>>
>> Then in Matlab:
>> fid=fopen('stats.Bdouble'. 'r'. 'b');
>> data=fread(fid, 'double');
>>
>> But when I view data, it shows "NaN". I tried "endpointsep" as well.
>> It was the same. However, "min" works with an FA image. Did I do
>> anything wrong? Could you double check? I used v1043.
>>
>> Thanks,
>> Yan
>> _______________________________________________
>> Camino-users mailing list
>> Camino-users at www.nitrc.org
>> http://www.nitrc.org/mailman/listinfo/camino-users
>
>
More information about the Camino-users
mailing list