Hi Andrew<br><br>That&#39;s a strange error to be getting 1/3 of the way through your data set.<br>Essentially what it&#39;s telling me is that the streamline&#39;s position in the TDI image is <i>not</i> a finite number (e.g. infinite or something weird like that).<br>
<br>Firstly, have you tested the reproducibility of the error? Can you run the same tracking command, making a new .tck file with the same number of streamlines, and get the same error from tracks2prob?<br>There&#39;s a chance that if streamtrack was terminated abruptly, or if another program you had running at the time had a memory leak, your streamlines data is corrupt.<br>
<br>If you&#39;re still getting the same error, could you please re-run the tracks2prob command with the -debug option enabled, and copy &amp; paste what the console output gives you.<br><br>Cheers<br>Rob<br clear="all"><br>
--<br><br>Robert Smith<br>Melbourne Brain Centre<br>245 Burgundy Street<br>Heidelberg VIC 3084<br>Telephone: (+61 3) 9035 7128<br>Fax: (+61 3) 9035 7301<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">On Fri, Jun 1, 2012 at 7:50 AM, Andrew Bock <span dir="ltr">&lt;<a href="mailto:abock@u.washington.edu" target="_blank">abock@u.washington.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br><br>I am attempting to generate a high-resolution track density image, and have run the following commands:<br><br>streamtrack SD_PROB con1.CSD8.mif -seed con1.DTI.mask.mif -mask con1.DTI.mask.mif -grad con1.DWscheme.b -step 0.1 con1.whole_brain.tck -num 1000000<br>

<br>
tracks2prob con1.whole_brain.tck -vox 0.5 con1.tdi.mif<br><br><br>However, I receive the following error when running tracks2prob:<br><br>tracks2prob: creating new template image...   - ok<br>tracks2prob: mapping tracks to image...   33%tracks2prob: cmd/tracks2prob.cpp:132: Voxel::Voxel(const MR::Point&amp;): Assertion `finite (p[0]) &amp;&amp; finite (p[1]) &amp;&amp; finite (p[2])&#39; failed.<br>


Aborted<br><br>Any suggestions?<span class="HOEnZb"><font color="#888888"><br><br>Andrew<br><br><br>
</font></span><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>