[Insight-users] [ITK4] ITK/Examples/Registration/ImageRegistrationMethodBSpline

Bill Lorensen bill.lorensen at gmail.com
Mon Sep 5 10:13:59 EDT 2011


When did you last update your itkv4. We recently restored
itkBSplineTransform and added a new class, itkBSplineDeformableTransform
with the new API.

Bill

On Mon, Sep 5, 2011 at 9:25 AM, Vivien Delmon <
vivien.delmon at creatis.insa-lyon.fr> wrote:

> Dear,
>
> I am porting clitk tools to itk4 and I saw that the itkBSplineTransform's
> API changed. I tried to understand how it works with the example you wrote
> here : http://www.itk.org/Wiki/ITK/**Examples/Registration/**
> ImageRegistrationMethodBSpline**#**ImageRegistrationMethodBSpline**.cxx<http://www.itk.org/Wiki/ITK/Examples/Registration/ImageRegistrationMethodBSpline#ImageRegistrationMethodBSpline.cxx>
>
> But I could not figure out why you subtract the SplineOrder from the
> meshSize in the itk4 version :
>
>  unsigned int numberOfGridNodesInOneDimensio**n = 5;
>  meshSize.Fill( numberOfGridNodesInOneDimensio**n - SplineOrder );
>
> I compiled your example with itkv3 / itkv4 and the only way I found to get
> the same number of parameters is by removing this subtraction. Is there
> something wrong on the wiki page or am I misunderstood something ?
>
> King Regards,
>
> PS :
> It was a bit difficult to find your email address, so a bit before finding
> it I posted a bug in the itk bug tracker here :
> https://itk.icts.uiowa.edu/**jira/browse/ITK-2671<https://itk.icts.uiowa.edu/jira/browse/ITK-2671>
>
> --
> Vivien Delmon
> PhD student at CREATIS, Lyon
> Supported by ANRT and ELEKTA
> http://www.creatis.insa-lyon.**fr/rio<http://www.creatis.insa-lyon.fr/rio>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110905/6d0f1539/attachment.htm>


More information about the Insight-users mailing list