[ITK-users] WarpImageFilter wrong output

haratron haratron at gmail.com
Fri Jan 2 12:59:42 EST 2015


Hello and happy new year,

I'm using the WarpImageFilter from here:
http://www.itk.org/Wiki/ITK/Examples/Registration/WarpImageFilter

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.

The problem is that a blank image filled with black is created instead of
the warped image that is expected.

original.png : http://i.imgur.com/QQyXgzg.png
output.png: http://i.imgur.com/LkYnZ6n.png

My full WarpImageFilter.cxx file (includes changes from the original
example code):
http://pastebin.com/WNDb2TgM

What am I doing wrong?

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150102/d0e17906/attachment.html>


More information about the Insight-users mailing list