[Insight-users] Questions about TPS in ITK
Luis Ibanez
luis.ibanez at kitware.com
Tue Nov 23 23:24:49 EST 2004
Hi Weihua,
1) When you configure InsightApplications with CMake you
*MUST* do it from the top directory of InsightApplications.
It seems that you did it from the ThinPlateSplines directory
and therefore some of the global CMake variables cannot be
found.
This application is just a *demo* on how to use the Kernel
Transforms and how to integrate ITK with VTK and FLTK.
It doesn't expect any input and it doesn't produce any
output, other than the visualization of the splines.
A brief description of this application is available at
http://www.itk.org/HTML/ThinPlateSplines.htm
2) The TPS is implemented in ITK as a "Transform". You configure
this transform by passing a set of "Source" landmarks and
a set of "Target" landmarks.
The class in question is
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ThinPlateSplineKernelTransform.html
closely related classes are all ones derived from the KernelTransform
http://www.itk.org/Insight/Doxygen/html/classitk_1_1KernelTransform.html
namely
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ElasticBodyReciprocalSplineKernelTransform.html
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ElasticBodySplineKernelTransform.html
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ThinPlateR2LogRSplineKernelTransform.html
http://www.itk.org/Insight/Doxygen/html/classitk_1_1VolumeSplineKernelTransform.html
You may want to look at the example:
Insight/Examples/Registration
LandmarkWarping2.cxx
Which uses a deformation field generator based on a Kernel Transform.
http://www.itk.org/Insight/Doxygen/html/classitk_1_1DeformationFieldSource.html
3) You may want to look also at the ITK plugin
for VolView in
InsightApplications/VolviewPlugIns/
vvITKLandmarkWarping.cxx
The free version of VolView can be donwloaded from
http://www.kitware.com/products/volview.html
The most recent binary build of the ITK VolView plugins
is available at
ftp://public.kitware.com/pub/itk/VolViewPlugins/
Regards,
Luis
-------------------------
weihuax at sfu.ca wrote:
> Hi, Everyone:
>
> My job is to 'registration two 3D surface', I have gotten 'Corresponding
> Sets' from two surfaces. Now I want to apply for Thin Plate Spline Nonregid
> method to find the transformation parameters. Who can tell me any
> implementation code in ITK that I can try?
>
> In fact, I found a 'ThinPlateSplines' in 'InsightApplication', but when I
> use the CMake to configure and build it, I got the error about
> 'ITK_DISABLE_FLTK_GENERATED_WARNINGS', CMake can not regonize it. How Can I
> solve it?
>
> And I can not find any manual about this application, such as, input
> parameters and format, output specification, Can I use it? How can I use it?
>
>
> Thanks a lot
>
> Weihua
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list