[Insight-users] Initializing a BSplineTransform in ITK 4.4

Nick Tustison ntustison at gmail.com
Mon Jul 29 06:16:09 EDT 2013


You should try using the composite transform

http://www.itk.org/Doxygen/html/classitk_1_1CompositeTransform.html

Nick

On Jul 29, 2013, at 4:49 AM, Frank Preiswerk <frank.preiswerk at unibas.ch> wrote:

> Hi all,
> 
> I'm writing a program that performs image registration by first computing an
> affine transformation followed by a bspline deformation. The bspline
> registration should be initialized with the output of the affine
> registration.
> 
> I'm using ITK 4.4. The example DeformableRegistration15.cxx intends to do
> the above but it seems that the BSplineTransform is actually not initialized
> with the output of the affine step, as already reported earlier:
> http://www.itk.org/pipermail/insight-users/2012-May/044623.html
> 
> ITK 3's BSplineDeformableTransform had a method SetBulkTransform to concat
> the bspline transform with another transform, but in ITK 4's
> BSplineTransform this method was removed. So the question remains how to
> properly initialize a BSplineTransform with an affine (or any other)
> registration output.
> 
> Computing the parameters of the bspline transform by applying the affine
> transform to the grid nodes is an option. But something like
> SetBulkTransform would be much more convenient.
> 
> I'm thankful for any hints.
> 
> Regards,
> Frank
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Initializing-a-BSplineTransform-in-ITK-4-4-tp7583607.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list