[ITK-users] [ITK] Regularization of itkDemonsRegistration

Alex Taylor Alex.Taylor at mathworks.com
Fri Mar 21 13:15:48 EDT 2014


Thanks Luis!

-Alex

On Mar 21, 2014, at 11:36 AM, "Luis Ibanez" <luis.ibanez at kitware.com<mailto:luis.ibanez at kitware.com>> wrote:

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



_____________________________________
Powered by www.kitware.com<http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140321/4bd35cb0/attachment.html>


More information about the Insight-users mailing list