<div>Hello.</div><div><br></div><div>I wrote a little bash script to wrap around filter_tracks and take ROIs drawn in freesurfer&#39;s freeview. The reason for this is that I find the ROI drawing capabilities of mrview (and fslview, for that matter) are a bit limited. </div>


<div><br></div><div>I like to open freeview on one half of the screen, the terminal in the other half along with mrview. It makes the workflow quite nice.</div><div><br></div><div>Attached is my script, I hope it helps.</div>


<div><br></div><div>Luis</div><div><br></div><br clear="all">Dr. Luis Concha Loyola<br>Instituto de Neurobiología<br>Laboratorio C-12<br>UNAM, Campus Juriquilla<br>Boulervard Juriquilla 3001<br>Juriquilla, Querétaro.<br>

C.P. 76230<br>
México<br>Tel <a href="tel:%28442%29%202%2038%2010%2053" value="+14422381053" target="_blank">(442) 2 38 10 53</a><br>Fax <a href="tel:%28442%29%202%2038%2010%2046" value="+14422381046" target="_blank">(442) 2 38 10 46</a><br>

<a href="http://www.inb.unam.mx" target="_blank">www.inb.unam.mx</a><br><br>
<br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 7:05 PM, Robert Smith <span dir="ltr">&lt;<a href="mailto:r.smith@brain.org.au" target="_blank">r.smith@brain.org.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi Joseph<br><br>If you download the newest version of MRtrix (0.2.10), there is a new binary called <span style="font-family:courier new,monospace">filter_tracks</span>.<br>It takes <span style="font-family:courier new,monospace">-include</span> and <span style="font-family:courier new,monospace">-exclude</span> options just as in <span style="font-family:courier new,monospace">streamtrack</span> (these can be either spherical regions or binary masks), but operates on a pre-generated track file rather than having to regenerate streamlines every time you want to define a new region.<br>



<br>Best regards<br>Rob<br clear="all"><br>--<br><br>Robert Smith<br>Melbourne Brain Centre<br>245 Burgundy Street<br>Heidelberg VIC 3084<br>Telephone: <a href="tel:%28%2B61%203%29%209035%207128" value="+61390357128" target="_blank">(+61 3) 9035 7128</a><br>


Fax: <a href="tel:%28%2B61%203%29%209035%207301" value="+61390357301" target="_blank">(+61 3) 9035 7301</a><br>Email:  <a href="mailto:r.smith@brain.org.au" target="_blank">r.smith@brain.org.au</a><br>
<a href="http://www.fni.edu.au" target="_blank">www.florey.edu.au</a>        <a href="http://www.brain.org.au" target="_blank">www.brain.org.au</a><br><span style="font-size:9pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:red"></span><br>




<br><br><div class="gmail_quote"><div><div>On Wed, Mar 7, 2012 at 5:30 PM, Joe Yang <span dir="ltr">&lt;<a href="mailto:yuan.mou@gmail.com" target="_blank">yuan.mou@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Dear experts,<div><br></div><div>Is there a way to perform track editing once it is generated?</div><div><br></div><div>I have been filtering unwanted crossing tracks by using the &quot;-exclude&quot; function to set spherical exclusion regions.</div>




<div><br></div><div>This seems to be a tedious process.</div><div><br></div><div>Is there a better way to do this?</div><div><br></div><div>Regards</div><div><br></div><div>Joseph yang </div>
<br></div></div>_______________________________________________<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>_______________________________________________<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>