John,<br><br>You need to set the reference image at some point, before running the filter. If you are referring to the order in which you call <br>&nbsp; filter-&gt;AddGradientImage( dirVector_i, image_i ); <br>&nbsp; filter-&gt;SetReferenceImage( refImage );
<br>
no that does not matter, but you need to have a reference image to run the filter. <br><br>The Stejskal-Tanner equations relate diffusion weighted measurements to measurements taken in the absense of diffusion sensitiszing gradients. The filter is a straight implementation of equation (3) in 
<br><a href="http://splweb.bwh.harvard.edu:8000/pages/papers/westin/ISMRM2002.pdf">splweb.bwh.harvard.edu:8000/pages/papers/westin/ISMRM2002.pdf</a><br><br>So if you don&#39;t have any of the parameters in (3), you will not be able to reconstruct &quot;D&quot;.
<br><br>--<br>karthik<br><br><br><div><span class="gmail_quote">On 3/14/07, <b class="gmail_sendername"><a href="mailto:johnjtchen@aol.co.uk">johnjtchen@aol.co.uk</a></b> &lt;<a href="mailto:johnjtchen@aol.co.uk">johnjtchen@aol.co.uk
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div><span style=""></span>Dear All,<br>
<br>
I have 6 gradient images but I don&#39;t have the b0 image. So is there a way to <br>
use itk::DiffusionTensor3DReconstructionImageFilter without calling <br>
SetReferenceImage() first?<br>
<br>
<br>
Many thanks.<br>
<br>
John </div>

<div>
<hr style="margin-top: 10px;">
<a href="http://pr.atwola.com/promoclk/100122638x1081283466x1074645346/aol?redir=http://email.aol.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><b>Check out the new free AOL Email</b></a> -- 2GB of storage and industry-leading spam and email virus protection.
<br>
</div>

</div>
<br>_______________________________________________<br>Insight-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">
http://www.itk.org/mailman/listinfo/insight-users</a><br><br></blockquote></div><br>