<div dir="ltr">Thanks!<div><br></div><div>What is the difference between:</div><div>1. <a href="http://www.itk.org/Wiki/ITK/Examples/Registration/WarpImageFilter">http://www.itk.org/Wiki/ITK/Examples/Registration/WarpImageFilter</a></div><div>2. <a href="http://www.itk.org/Wiki/ITK/Examples/Registration/LandmarkBasedTransformInitializer3">http://www.itk.org/Wiki/ITK/Examples/Registration/LandmarkBasedTransformInitializer3</a>. <a href="http://www.itk.org/Wiki/ITK/Examples/Registration/DeformationFieldTransform">http://www.itk.org/Wiki/ITK/Examples/Registration/DeformationFieldTransform</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 8:28 PM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello,<div><br></div><div>In your CreateMovingImage2 method how is the "image" argument connected to the pipeline?</div><div><br></div><div>Brad</div><div><br><div><div><div class="h5"><div>On Jan 2, 2015, at 12:59 PM, haratron <<a href="mailto:haratron@gmail.com" target="_blank">haratron@gmail.com</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div>Hello and happy new year,</div><div><br></div><div>I'm using the WarpImageFilter from here:</div><a href="http://www.itk.org/Wiki/ITK/Examples/Registration/WarpImageFilter" target="_blank">http://www.itk.org/Wiki/ITK/Examples/Registration/WarpImageFilter</a><br><div><br></div><div>I have original.png that I'm using as the movingImage and I'm creating another one ("empty" image filled with white color, size 1800x1800) that is the fixedImage.</div><div><br></div><div>The problem is that a blank image filled with black is created instead of the warped image that is expected.</div><div><br></div><div>original.png : <a href="http://i.imgur.com/QQyXgzg.png" target="_blank">http://i.imgur.com/QQyXgzg.png</a></div><div>output.png: <a href="http://i.imgur.com/LkYnZ6n.png" target="_blank">http://i.imgur.com/LkYnZ6n.png</a></div><div><br></div><div>My full WarpImageFilter.cxx file (includes changes from the original example code):</div><div><a href="http://pastebin.com/WNDb2TgM" target="_blank">http://pastebin.com/WNDb2TgM</a><br></div><div><br></div><div>What am I doing wrong?</div><div><br></div><div>John</div></div></div></div>
_____________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br></blockquote></div><br></div></div></blockquote></div><br></div>