[Insight-users] apply deformation field to a point

Dawood AlMasslawi masslawi at gmail.com
Wed Jul 27 09:25:55 EDT 2011


Hi Marta,

In addition to what John said, you can use the

DeformationFieldSource class to generate a

deformation field from set of corresponding points then use the

WarpImageFilter to apply the deformation field to the source image.

Also, I think ITKv4 has better support for this sort of operations!

HTH,
Dawood


>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<


Dear all,

I wonder if any of you knows a simply way to apply a generic vector field to
a point.
To have more insight in this:
I generate an artificial deformation by means of gaussians (i.e. the final
vector field is a composition of 3 gaussians)
I have a point in physical coordinates (A) and its correspondent point (B)
on the final image (extracted via SIFT algorithm)
I want to transform A and check that is "close enough" to B.

The "easiest" way I thought about is the following:
1) read point and vector field in
2) reconstruct the transform by means of interpulation ---> I mean basically
I would need to interpulate the vector field for example with Bsplines
because my points can be anywhere
3) derive the corresponding vector that has to be applied on the point A
4) distance from B

I'm using itk 3.20 on win/linux :) and I would really appreciate any help :)

thanks
Marta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110727/b2e8d5d1/attachment.htm>


More information about the Insight-users mailing list