Hi,<br><br>You can use the command "track_info" that gives displays among others the value "count"<br><br>You can also read the command into a variable "count" using the following:<br><br>count=`track_info mytrack.tck | grep '\<count:' | awk '{ print $2 }'`<br>
<br>Hope this helps!<br>Markus<br><br><br><div class="gmail_quote">2012/4/5 Parker, Christopher <span dir="ltr"><<a href="mailto:christopher.parker.10@ucl.ac.uk">christopher.parker.10@ucl.ac.uk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi everyone,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Chris </div>
</div>
</div>
<br>_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
<br></blockquote></div><br><br clear="all"><br><br>