<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 All:</DIV>
<DIV>Seems itkDenseFiniteDifferenceImageFilter iterate all the pixel to get the updated fied. But I am still not clear about the pipeline.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In the case, if I want to use itk to write fluid registration algorithm proposed by Christensen, what should I do.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Should I derive a class from itkPDEDeformationRegistrationFilter?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Baoyun<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Baoyun Li &lt;baoyun_li123@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> luis.ibanez@kitware.com; insight-users@itk.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, June 5, 2009 3:58:49 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> in itk Demons Registration---how the itk pipeline get the update fied for all the voxels<BR></FONT><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<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 rel=nofollow name=l00176></A>00176 <SPAN class=keyword>typename</SPAN> <A class=code href="http://www.orfeo-toolbox.org/doxygen/classitk_1_1DemonsRegistrationFunction.html" target=_blank rel=nofollow><FONT color=#800080>DemonsRegistrationFunction&lt;TFixedImage,TMovingImage,TDeformationField&gt;</FONT></A><BR><A rel=nofollow name=l00177></A>00177 ::PixelType<BR><A rel=nofollow name=l00178></A>00178 <A class=code href="http://www.orfeo-toolbox.org/doxygen/classitk_1_1DemonsRegistrationFunction.html#1dc6ec7961415b7c98161bd3c8e73fde" target=_blank rel=nofollow><FONT color=#800080>DemonsRegistrationFunction&lt;TFixedImage,TMovingImage,TDeformationField&gt;</FONT></A><BR><A rel=nofollow name=l00179></A>00179 <A class=code
 href="http://www.orfeo-toolbox.org/doxygen/classitk_1_1DemonsRegistrationFunction.html#1dc6ec7961415b7c98161bd3c8e73fde" target=_blank rel=nofollow><FONT color=#800080>::ComputeUpdate</FONT></A>(<SPAN class=keyword>const</SPAN> NeighborhoodType &amp;it, <SPAN class=keywordtype>void</SPAN> * gd,<BR><A rel=nofollow 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></DIV></DIV></div><br>



      </body></html>