<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Dear Luis and All:</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am learning the how the itk registration pipeline works using Demons as example. After reading the source code, I found in DemonsRegistrationFunction::ComputerUpdate, calculate the update for one voxel, but I could not find where to use this function to iterate the whole image to&nbsp;get the update field over the whole image.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can somebody teach me.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Baoyun</DIV>
<DIV>&nbsp;</DIV>
<DIV>00175 <SPAN class=keyword>template</SPAN> &lt;<SPAN class=keyword>class</SPAN> TFixedImage, <SPAN class=keyword>class</SPAN> TMovingImage, <SPAN class=keyword>class</SPAN> TDeformationField&gt;<BR><A name=l00176></A>00176 <SPAN class=keyword>typename</SPAN> <A class=code href="http://www.orfeo-toolbox.org/doxygen/classitk_1_1DemonsRegistrationFunction.html"><FONT color=#800080>DemonsRegistrationFunction&lt;TFixedImage,TMovingImage,TDeformationField&gt;</FONT></A><BR><A name=l00177></A>00177 ::PixelType<BR><A name=l00178></A>00178 <A class=code href="http://www.orfeo-toolbox.org/doxygen/classitk_1_1DemonsRegistrationFunction.html#1dc6ec7961415b7c98161bd3c8e73fde"><FONT color=#800080>DemonsRegistrationFunction&lt;TFixedImage,TMovingImage,TDeformationField&gt;</FONT></A><BR><A name=l00179></A>00179 <A class=code href="http://www.orfeo-toolbox.org/doxygen/classitk_1_1DemonsRegistrationFunction.html#1dc6ec7961415b7c98161bd3c8e73fde"><FONT
 color=#800080>::ComputeUpdate</FONT></A>(<SPAN class=keyword>const</SPAN> NeighborhoodType &amp;it, <SPAN class=keywordtype>void</SPAN> * gd,<BR><A name=l00180></A>00180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN class=keyword>const</SPAN> FloatOffsetType&amp; itkNotUsed(offset))</DIV></div><br>

      </body></html>