<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Hi David,</span><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br><div>The purpose of the "CreateDeformedImage" method is to warp the moving image according an inverse deformation field (direction: from the deformed mesh to the undeformed mesh).</div>
<div>The FEMScatteredDataPointSetToImageFilter generates a direct field (direction: from the undeformed to the deformed mesh). </div><div>In case that you want to warp the moving image by using the <span style="font-family:arial,helvetica,sans-serif;line-height:17.98611068725586px">WarpImageFilter, you should generate an inverse </span> deformation field<span style="font-family:arial,helvetica,sans-serif;line-height:17.98611068725586px"> and set this field as an input to the </span><span style="font-family:arial,helvetica,sans-serif;line-height:17.98611068725586px">WarpImageFilter.</span><br>
</div><div><br></div><div>Regards,</div><div>Fotis</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 21, 2013 at 4:26 PM, David Fuentes <span dir="ltr"><<a href="mailto:fuentesdt@gmail.com" target="_blank">fuentesdt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>Hi,<div><br></div><div>What was the purpose of the CreateDeformedImage Method for the PBNRR class ?<br>
<div><br></div><div><span style="line-height:18px;font-size:13px;font-family:arial,helvetica,sans-serif"><a href="http://review.source.kitware.com/#/c/7136/3" target="_blank">http://review.source.kitware.com/#/c/7136/3</a></span><br>
</div></div><div><span style="line-height:18px;font-size:13px;font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="line-height:18px;font-size:13px;font-family:arial,helvetica,sans-serif">Is this code functionally different than using the WarpImageFilter to apply the output deformation field to the moving image ?</span></div>
<div><span style="line-height:18px;font-size:13px;font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="line-height:18px;font-size:13px;font-family:arial,helvetica,sans-serif">Thanks,</span></div>
<div><span style="line-height:18px;font-size:13px;font-family:arial,helvetica,sans-serif">David</span></div></div>
<div><span style="font-style:normal;font-size:medium;display:inline;font-weight:normal">
<hr>
NOTE: This message was trained as non-spam. If this is wrong,
please correct the training as soon as possible.
<br>
<a href="https://www.spamtrap.odu.edu/canit/b.php?i=03JCIqTvS&m=da32f8876f6b&t=20130521&c=s" target="_blank">Spam</a><br>
<a href="https://www.spamtrap.odu.edu/canit/b.php?i=03JCIqTvS&m=da32f8876f6b&t=20130521&c=n" target="_blank">Not spam</a><br>
<a href="https://www.spamtrap.odu.edu/canit/b.php?i=03JCIqTvS&m=da32f8876f6b&t=20130521&c=f" target="_blank">Forget previous vote</a><br></span></div>
</blockquote></div><br></div>