[ITK-users] [ITK] Regularization of itkDemonsRegistration

Luis Ibanez luis.ibanez at kitware.com
Fri Mar 21 11:36:54 EDT 2014


Hi Alex,

Please see line 79 of the itkDemonsRegistrationFilter.hxx:
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Registration/PDEDeformable/include/itkDemonsRegistrationFilter.hxx#L79

  if ( this->GetSmoothDisplacementField() )
    {
    this->SmoothDisplacementField();
    }


it is at the end of the method: InitializeIteration(), in line 58

https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Registration/PDEDeformable/include/itkDemonsRegistrationFilter.hxx#L58


and it is called, at the beginning of the iteration.



On the other hand,

Please see the method: SmoothUpdateField() in line 160
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Registration/PDEDeformable/include/itkDemonsRegistrationFilter.hxx#L160

called from ApplyUpdate() in line 154
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Registration/PDEDeformable/include/itkDemonsRegistrationFilter.hxx#L154

that is called from the super class itkFiniteDifferenceImageFilter in line
93
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Core/FiniteDifference/include/itkFiniteDifferenceImageFilter.hxx#L93


which can be considered the "end" of the iteration driven by the "while"
loop in line 85
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Core/FiniteDifference/include/itkFiniteDifferenceImageFilter.hxx#L85



 Hope this helps,

     Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140321/b00ea153/attachment.html>


More information about the Insight-users mailing list