[ITK] [ITK-users] 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://public.kitware.com/pipermail/community/attachments/20140321/b00ea153/attachment-0002.html>
-------------- next part --------------
_____________________________________
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 Community mailing list