<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Markus,
<div><br>
</div>
<div>Thanks for your quick reply. The command line option looks good, just what I need. I will try it when my ROIs are ready for the tracking and let you know if I have any difficulty with it. Thanks a lot!</div>
<div><br>
</div>
<div>Best,</div>
<div>Chris<br>
<div><br>
</div>
<div><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF99903" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>From:</b> Markus Gschwind [markus.gschwind@gmail.com]<br>
<b>Sent:</b> 05 April 2012 19:23<br>
<b>To:</b> Parker, Christopher<br>
<b>Cc:</b> mrtrix-discussion@www.nitrc.org<br>
<b>Subject:</b> Re: [Mrtrix-discussion] streamline counting<br>
</font><br>
</div>
<div></div>
<div>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" target="_blank">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" target="_blank">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>
</div>
</div>
</div>
</div>
</div>
</body>
</html>