[Insight-users] Transform point in LandmarkWarping2.cxx ?
Dan Mueller
dan.muel at gmail.com
Tue Feb 1 05:54:11 EST 2011
Hi,
All transforms implement the method TransformPoint, which transforms a
given input point (see Code/Common/itkTransform.h).
Moreover, all transform implement GetInverse which returns a boolean
indicating if the transform is reversible. If reversible, the
GetInverseTransform method can be used to obtain the inverse
transform. You will have to check if your transform supports this
inverse functionality (unfortunately I believe most
deformable/non-rigid transforms do not yet support this).
You may also be interested in the following Insight Journal article:
Inverting deformation fields using a fixed point iteration scheme
http://www.insight-journal.org/browse/publication/768
HTH
Cheers, Dan
On 1 February 2011 03:03, M Miller <croow at yahoo.com> wrote:
> I've had success following the LandmarkWarping2.cxx sample to transform my 2D
> images. Is there a way to use this same technique to transform 2D points?
>
> What about transforming in both directions (floating -> fixed; fixed ->
> floating)?
>
>
> Thanks
More information about the Insight-users
mailing list