[Insight-users] modify deformation field

Dirk Boye body at nabla.org
Wed May 5 10:06:41 EDT 2010


Hi,

I attached a little sample code to warp an image.

input: binary image with your mask (all values in mask=1,rest=0)
deformationfield: your deformationfield
output: choose a filename for your warped binary image

Cheers,
Dirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warp_image.cpp
Type: text/x-c++src
Size: 2645 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100505/14260b8c/attachment.cpp>


More information about the Insight-users mailing list