<br>Hi Kevin,<br><br>The BSplineWarping2.cxx example is intended to generate<br>a Deformed image. It is expected that the Fixed and Moving<br>images that your provide as input are already registered via<br>an Affine transform.<br>
<br>It is unlikely that this is the case for your CT and MR volumes.<br>
<br>We use this example to generate baseline images for testing<br>deformable registration algorithms.<br><br><br>What is your overall goal ?<br><br>Do you want to perform Deformable registration between the<br>CT and MR images ?<br>
<br>If so, what you may want to use is the example:<br><br>    Insight/Examples/Registration/<br>                      DeformableRegistration15.cxx<br><br><br><br>    Regards,<br><br><br>          Luis<br><br><br>------------------------------------------------------------<br>
<div class="gmail_quote">On Wed, Aug 12, 2009 at 7:36 AM, kevin cavin <span dir="ltr">&lt;<a href="mailto:beibeiwen2003@yahoo.com">beibeiwen2003@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">
<div>Hi, Luis: </div>
<div> </div>
<div> I am using the BSplineWarping2.cxx to test. I have two volume one MR, one CT both 3D . I use the BSplineDisplacements2.txt in Data directory as input file. MR volume as fixed image, CT volume as moving images, but I got the empty result for the resampler&#39;s output i.e. Is it right to use the txt as input coefficientsFile? Thank! </div>

<div> </div>
<div>Wen </div></blockquote></td></tr></tbody></table><br>

      </blockquote></div><br>