[Insight-users] Converting deformation field to bSpline parameters ...

Luis Ibanez luis.ibanez at kitware.com
Wed Sep 8 17:58:04 EDT 2004


Hi Hari,

Yes, it is possible to take a deformation field as input
and to generate an *approximation* to it using a BSpline.


For an example on how to do this you may want to look at
the file


    Insight/Examples/Registration/
                DeformableRegistration6.cxx



In this example a deformable registration is done in two
stages. First with a coarse BSpline grid, then with a fine
BSpline grid. The fine BSpline grid is initialized by using
an explicit deformation field generated by sampling from the
coarse BSpline grid.

The code that you need for generating a BSpline transform
that approximates an explicit deformation field is in
lines 325 to 362 of this file.



    Regards,


       Luis




--------------------
Hari Sundar wrote:
> In the registration examples, there is an example to convert the
> bSpline transform into a explicit deformation field
> 
> Is it possible to read in such a deformation field and initialize the
> bSplineTransform parameters ?
> 
> thanks,
> -Hari
> _______________________________________________
> 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