[Insight-users] modify deformation field

Xi Liang liangxi1986317 at hotmail.com
Wed May 5 19:19:48 EDT 2010


Thank you for your suggestion, but I think I did not make myself clear in
the last question. I was trying to modify the deformation field itself (not
moving image) to enforce a certain set of the deformation field is equal to
a rigid transformation. The set of deformation field need to modify is find
from a mask in the moving image.

The motivation is, the original deformation field is a nonrigid deformation,
however, I would like to apply it on a image that only certain part of the
image is nonrigid. Thus I will have to modify the deformation field to allow
only rigid deformation applied on the rigid structure of the image,
and nonrigid deformation on the nonrigid structures. I hope this make sense.

That was the question I want to ask. However, later I realized that
modifying the deformation field might not be the right way to enforce the
rigid deformation. Instead, the better way is to modify the control point
parameters (Bspline transformation) to enforce the rigid transformation,
based on Tanner's paper in 2000. I post a question on this in another post.

On 6 May 2010 00:06, Dirk Boye <body at nabla.org> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100506/b01cb290/attachment.htm>


More information about the Insight-users mailing list