[Mrtrix-discussion] streamline counting

Markus Gschwind markus.gschwind at gmail.com
Thu Apr 5 11:23:38 PDT 2012


Hi,

You can use the command "track_info" that gives displays among others the
value "count"

You can also read the command into a variable "count" using the following:

count=`track_info mytrack.tck | grep '\<count:' | awk '{ print $2 }'`

Hope this helps!
Markus


2012/4/5 Parker, Christopher <christopher.parker.10 at ucl.ac.uk>

>  Hi everyone,
>
>  Someone may know the answer to this question. I'm hoping to apply
> probabilistic streamline tractography between two ROI using MrTrix. But,
> instead of analysing the tract density images I would like to count the
> total number of streamlines that connect the two ROI. Is there some way to
> do this using MrTrix? I have not seen any mention of it in the
> Documentation or the forum, though it would be perfect for my analysis.
>
>  Chris
>
> _______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20120405/bb0ac1c6/attachment.html


More information about the Mrtrix-discussion mailing list