use of vtkThinPlateSplineTransform filter and other ITK related filters

128 views
Skip to first unread message

Pierre JUILLARD

unread,
Sep 24, 2009, 7:44:32 AM9/24/09
to devide...@googlegroups.com
Hi all,
 
 
I would like using DevIDE to evaluate the Thin Plate Spline Transform kernel of ITK and / or VTK (for instance, this vtk class: http://www.vtk.org/doc/nightly/html/classvtkThinPlateSplineTransform.html).
 
Basically, I would like to achieve what is illustrated page 11 of this presentation:
(a mesh morphing)
 
However, I am not able to find it in DevIDE (standard windows installation, and DevIDE started with the shortcut named "DevIDE", not the one named "DevIDE-no-ITK"). Is there specific actions to do to make appear this VTK class, or may be it is not included in the standard DevIDE release?
 
Could you please give me some advices?
 
I thank you in advance for your help.
Best regards,
 
 
Pierre
 
 

Charl Botha

unread,
Sep 25, 2009, 4:56:14 AM9/25/09
to devide...@googlegroups.com
Dear Pierre,

2009/9/24 Pierre JUILLARD <pierre....@gmail.com>:


> Basically, I would like to achieve what is illustrated page 11 of this
> presentation:
> http://www.na-mic.org/Wiki/images/6/67/Insight-DeformableRegistration-Demons.ppt
> (a mesh morphing)
>
> However, I am not able to find it in DevIDE (standard windows installation,
> and DevIDE started with the shortcut named "DevIDE", not the one named
> "DevIDE-no-ITK"). Is there specific actions to do to make appear this VTK
> class, or may be it is not included in the standard DevIDE release?
>
> Could you please give me some advices?

Not all of the VTK filters are automatically wrapped,
vtkThinPlateSpline is one of them. However, the class itself is of
course available in the bundled VTK. I'm taking two actions to
address the lack of DeVIDE module however:

1. I've filed a bug to make a nice module for this, you can track it
here: http://code.google.com/p/devide/issues/detail?id=153

2. In the short term, you can use a CodeRunner module to integrate the
vtkThinPlateSpline in your networks (the CodeRunner is quite a
versatile module, especially in cases such as this. See the help:
http://code.google.com/p/devide/wiki/HelpCodeRunner )

I have made a small example (just have my netbook with me now, so I
couldn't test more than just the basics) and attached it as
tps_test.dvn, you can just drag and drop this on your DeVIDE canvas to
see how it works. Please attach your own polydata datasets to the
inputs of the coderunner. I have also attached
tps_just_coderunner.dvn which is, as the name says, just the
CodeRunner implementing the thin plate spline. You can drop this DVN
file into your existing network and connect up the two inputs and one
output.

Let me know if you require any further assistance!

See you,
Charl

tps_test.dvn
tps_just_coderunner.dvn
Reply all
Reply to author
Forward
0 new messages