<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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>On Jan 2, 2015, at 12:59 PM, haratron <<a href="mailto:haratron@gmail.com">haratron@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><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">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">http://i.imgur.com/QQyXgzg.png</a></div><div>output.png: <a href="http://i.imgur.com/LkYnZ6n.png">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">http://pastebin.com/WNDb2TgM</a><br></div><div><br></div><div>What am I doing wrong?</div><div><br></div><div>John</div></div>
_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://public.kitware.com/mailman/listinfo/insight-users<br></blockquote></div><br></div></body></html>