[Insight-users] demons registration and metric

Luis Ibanez luis.ibanez at kitware.com
Wed Aug 27 08:18:04 EDT 2008


Hi Karim,

Unfortunately there is not an easy way to change this metric.

The default metric is the means of squared differences and it
is hard coded in the Demons filter.

That being said,
This doesn't mean that it is impossible to change the metric :-)

If you feel energized, you may want to take a look a the following
section of code:

     Insight/Code/Algorithms/itkDemonsRegistrationFunction.txx

lines 236-276

That's the section where the local computation of optical flow
happens.

You could experiment with variations in this section.


If you find a variation that may work, it will be great if you
share it with the ITK community via the Insight Journal:

       http://www.insight-journal.org/



   Regards,



      Luis


-------------------------------
Benhacene Boudan Mustafa wrote:
> Hi, 
> i am a new itk user and i am using demons registrations to monitor
> the deformations of lungs during a respiration cycle. Is there any easy
> way to change the metric used by the basic algorithm
> 'demonsregistrationfunction' ?
> 
> thank you very much
> 
> karim boudam
> _______________________________________________
> 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