[Insight-users] some questions with the ThinPlateSplineWarp.cxx

feng yang yalltroy at gmail.com
Thu Apr 24 14:48:35 EDT 2008


hi, Luis,again,
because the limit of attached file is 40k, so I have to sent them for two
times!
feng


2008/4/24, feng yang <yalltroy at gmail.com>:
>
>   Hi, Luis,
>     My input is just the Landmark of a heart vector field(I have deleted
> the part for reading the input image and get the deformed image in the
> ThinPlateSplineWarp.cxx,because I am not care about it), and the output is
> the deformation field.
>     I attach you the input file and the ThinPlateSplineWarp.cxx I used in
> my project. You will find that the Landmark have located the heart in a
> local region,so it doesn't have the problem "the landmarks are not located
> in space at the positions that you expect them to be with respect to the
> image."
>     In addition, I thought the TPS transform will tend to zero when the
> distance tend to infinity,because for 3D TPS, the sum of the wi*r will be
> wero smaller as the pixel is farther from the original Landmark. But I don't
> think it's true for the 2D TPS, because the sum of the wi*r^2*logr will be
> larger as the pixel is farther from the original Landmark. Is this a bug for
> the 2D TPS?
>
> Thanks!
>
> Feng
>
>
>
>


-- 
Feng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080424/60430095/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ThinPlateSpineWarp.cxx
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080424/60430095/attachment-0001.asc>


More information about the Insight-users mailing list