<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ITK: itkSymmetricForcesDemonsRegistrationFunction.h Source File</title> <link href="DoxygenStyle.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 --> <center> <a href="index.html" class="qindex">Main Page</a> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <a href="pages.html" class="qindex">Concepts</a></center> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="dir_02e23d841c198393a6e961e9a0678fff.html">Code</a> » <a class="el" href="dir_16b0d2d22c345042f35cebae66b36010.html">Algorithms</a> </div> <div class="contents"> <h1>itkSymmetricForcesDemonsRegistrationFunction.h</h1><a href="itkSymmetricForcesDemonsRegistrationFunction_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span> <a name="l00002"></a>00002 <span class="comment"></span> <a name="l00003"></a>00003 <span class="comment"> Program: Insight Segmentation & Registration Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: itkSymmetricForcesDemonsRegistrationFunction.h,v $</span> <a name="l00005"></a>00005 <span class="comment"> Language: C++</span> <a name="l00006"></a>00006 <span class="comment"> Date: $Date: 2009-01-27 19:30:16 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.6 $</span> <a name="l00008"></a>00008 <span class="comment"></span> <a name="l00009"></a>00009 <span class="comment"> Copyright (c) Insight Software Consortium. All rights reserved.</span> <a name="l00010"></a>00010 <span class="comment"> See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.</span> <a name="l00011"></a>00011 <span class="comment"></span> <a name="l00012"></a>00012 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even </span> <a name="l00013"></a>00013 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR </span> <a name="l00014"></a>00014 <span class="comment"> PURPOSE. See the above copyright notices for more information.</span> <a name="l00015"></a>00015 <span class="comment"></span> <a name="l00016"></a>00016 <span class="comment">=========================================================================*/</span> <a name="l00017"></a>00017 <span class="preprocessor">#ifndef __itkSymmetricForcesDemonsRegistrationFunction_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkSymmetricForcesDemonsRegistrationFunction_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkPDEDeformableRegistrationFunction_8h.html">itkPDEDeformableRegistrationFunction.h</a>"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkPoint_8h.html">itkPoint.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkCovariantVector_8h.html">itkCovariantVector.h</a>"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkInterpolateImageFunction_8h.html">itkInterpolateImageFunction.h</a>"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkLinearInterpolateImageFunction_8h.html">itkLinearInterpolateImageFunction.h</a>"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkCentralDifferenceImageFunction_8h.html">itkCentralDifferenceImageFunction.h</a>"</span> <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="keyword">namespace </span>itk { <a name="l00028"></a>00028 <a name="l00060"></a>00060 <span class="keyword">template</span><<span class="keyword">class</span> TFixedImage, <span class="keyword">class</span> TMovingImage, <span class="keyword">class</span> TDeformationField> <a name="l00061"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">00061</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">SymmetricForcesDemonsRegistrationFunction</a> : <a name="l00062"></a>00062 <span class="keyword">public</span> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">PDEDeformableRegistrationFunction</a>< TFixedImage, <a name="l00063"></a>00063 TMovingImage, TDeformationField> <a name="l00064"></a>00064 { <a name="l00065"></a>00065 <span class="keyword">public</span>: <a name="l00066"></a>00066 <a name="l00068"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#b6e01665a4e007df4af95db6298a2130">00068</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">SymmetricForcesDemonsRegistrationFunction</a> <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">Self</a>; <a name="l00069"></a>00069 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">PDEDeformableRegistrationFunction</a>< TFixedImage, <a name="l00070"></a>00070 TMovingImage, TDeformationField > <a name="l00071"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#9f4b119e63cd5e50c53cf7a8395dd66a">00071</a> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">Superclass</a>; <a name="l00072"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#88d74ca1b7f8b347d2c08a0bef801540">00072</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<Self></a> <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>; <a name="l00073"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#e52a5094a86b51517a7d3e77f34ae8f6">00073</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<const Self></a> <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>; <a name="l00074"></a>00074 <a name="l00076"></a>00076 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">Self</a>); <a name="l00077"></a>00077 <a name="l00079"></a>00079 <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">SymmetricForcesDemonsRegistrationFunction</a>, <a name="l00080"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#0af8d3f2ec2121a2c9cb888f788f125a">00080</a> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">PDEDeformableRegistrationFunction</a> ); <a name="l00081"></a>00081 <a name="l00083"></a>00083 <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::MovingImageType MovingImageType; <a name="l00084"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#ca93f9b0ba29ea3bb752065f4a93706f">00084</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::MovingImagePointer MovingImagePointer; <a name="l00085"></a>00085 <a name="l00087"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#6dee9d46d4a2e59d54856e4b0c425d32">00087</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::FixedImageType FixedImageType; <a name="l00088"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#179e62b6d9e71fed3229b26656301925">00088</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::FixedImagePointer FixedImagePointer; <a name="l00089"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#dfcf03a25e4f56ea2c2279e38f840604">00089</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">FixedImageType::IndexType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>; <a name="l00090"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#8e5b5c549c8f9aba32f110bb16ef35ee">00090</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">FixedImageType::SizeType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>; <a name="l00091"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#9a65e5fc3eafcb0273353592cc20a846">00091</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> FixedImageType::SpacingType SpacingType; <a name="l00092"></a>00092 <a name="l00094"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#2ee999ba98c0481abcbff181acb34eae">00094</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::DeformationFieldType DeformationFieldType; <a name="l00095"></a>00095 <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::DeformationFieldTypePointer <a name="l00096"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#77389caf0697c9dfec6804edc128a7b1">00096</a> DeformationFieldTypePointer; <a name="l00097"></a>00097 <a name="l00099"></a>00099 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(ImageDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,Superclass::ImageDimension); <a name="l00100"></a>00100 <a name="l00102"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#61ed522750706e4f7ce2315b2d9b5863">00102</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::PixelType PixelType; <a name="l00103"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#d4ff1a5fd2817a6d676eba1f5af14b51">00103</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::RadiusType RadiusType; <a name="l00104"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#a1326a47f26d1164d224be3658ce2bef">00104</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1ConstNeighborhoodIterator.html" title="Const version of NeighborhoodIterator, defining iteration of a local N-dimensional...">Superclass::NeighborhoodType</a> <a class="code" href="classitk_1_1ConstNeighborhoodIterator.html" title="Const version of NeighborhoodIterator, defining iteration of a local N-dimensional...">NeighborhoodType</a>; <a name="l00105"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#5e628e11ab6a0c49b885f7a5ce456b8c">00105</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">Superclass::FloatOffsetType</a> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">FloatOffsetType</a>; <a name="l00106"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#037820044b85d4493c47e0d7b04c6414">00106</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::TimeStepType TimeStepType; <a name="l00107"></a>00107 <a name="l00109"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#278c1f3e8771fc9bde08c21acf95840a">00109</a> <span class="keyword">typedef</span> <span class="keywordtype">double</span> CoordRepType; <a name="l00110"></a>00110 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolateImageFunction<MovingImageType,CoordRepType></a> <a name="l00111"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#070e5aa0cbdc2df88471d07980274371">00111</a> <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolatorType</a>; <a name="l00112"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#877d3bf9c688784654d5e4dc0500e0bb">00112</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">InterpolatorType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">InterpolatorPointer</a>; <a name="l00113"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#50154c64e73a7d8efedbe3bebbd23e07">00113</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Point.html" title="A templated class holding a geometric point in n-Dimensional space.">InterpolatorType::PointType</a> <a class="code" href="classitk_1_1Point.html" title="A templated class holding a geometric point in n-Dimensional space.">PointType</a>; <a name="l00114"></a>00114 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1LinearInterpolateImageFunction.html" title="Linearly interpolate an image at specified positions.">LinearInterpolateImageFunction<MovingImageType,CoordRepType></a> <a name="l00115"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#c2ccc837d44df943f822b532607a3241">00115</a> <a class="code" href="classitk_1_1LinearInterpolateImageFunction.html" title="Linearly interpolate an image at specified positions.">DefaultInterpolatorType</a>; <a name="l00116"></a>00116 <a name="l00118"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#3c30cb327d778a952c0041d4cefdbf0c">00118</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVector<double,itkGetStaticConstMacro(ImageDimension)></a> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVectorType</a>; <a name="l00119"></a>00119 <a name="l00121"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#04ba99fa96ab34319ae60a7383d5f920">00121</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CentralDifferenceImageFunction.html" title="Calculate the derivative by central differencing.">CentralDifferenceImageFunction<FixedImageType></a> <a class="code" href="classitk_1_1CentralDifferenceImageFunction.html" title="Calculate the derivative by central differencing.">GradientCalculatorType</a>; <a name="l00122"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#48639c2797df3e7fc01543ca3da83718">00122</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">GradientCalculatorType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">GradientCalculatorPointer</a>; <a name="l00123"></a>00123 <a name="l00125"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#edd14882b719261e8b1ce8ffb924caac">00125</a> <span class="keywordtype">void</span> SetMovingImageInterpolator( <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolatorType</a> * ptr ) <a name="l00126"></a>00126 { m_MovingImageInterpolator = ptr; } <a name="l00127"></a>00127 <a name="l00129"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#6b7ff5c175cd88974f517d8ac2b2e412">00129</a> <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolatorType</a> * GetMovingImageInterpolator(<span class="keywordtype">void</span>) <a name="l00130"></a>00130 { <span class="keywordflow">return</span> m_MovingImageInterpolator; } <a name="l00131"></a>00131 <a name="l00133"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#c7c878674b10d632bda32384d97c4cc7">00133</a> <span class="keyword">virtual</span> TimeStepType ComputeGlobalTimeStep(<span class="keywordtype">void</span> * <a class="code" href="itkMacro_8h.html#6be3b439282da7a34278c0594589b972">itkNotUsed</a>(GlobalData))<span class="keyword"> const</span> <a name="l00134"></a>00134 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_TimeStep; } <a name="l00135"></a>00135 <a name="l00138"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#43ce3c2616b808075ac3d634e4e14da1">00138</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> *GetGlobalDataPointer()<span class="keyword"> const</span> <a name="l00139"></a>00139 <span class="keyword"> </span>{ <a name="l00140"></a>00140 <a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html">GlobalDataStruct</a> *global = <span class="keyword">new</span> <a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html">GlobalDataStruct</a>(); <a name="l00141"></a>00141 global-><a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html#f3e232b241eeaac6a947514bf5bea5bc">m_SumOfSquaredDifference</a> = 0.0; <a name="l00142"></a>00142 global-><a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html#8e0b4904baa54e599e0db9f6c811ce00">m_NumberOfPixelsProcessed</a> = 0L; <a name="l00143"></a>00143 global-><a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html#2a5739ad14a17d708f8df1acb98e75bd">m_SumOfSquaredChange</a> = 0; <a name="l00144"></a>00144 <span class="keywordflow">return</span> global; <a name="l00145"></a>00145 } <a name="l00147"></a>00147 <a name="l00149"></a>00149 <span class="keyword">virtual</span> <span class="keywordtype">void</span> ReleaseGlobalDataPointer( <span class="keywordtype">void</span> *GlobalData ) <span class="keyword">const</span>; <a name="l00150"></a>00150 <a name="l00152"></a>00152 <span class="keyword">virtual</span> <span class="keywordtype">void</span> InitializeIteration(); <a name="l00153"></a>00153 <a name="l00156"></a>00156 <span class="keyword">virtual</span> PixelType ComputeUpdate(<span class="keyword">const</span> NeighborhoodType &neighborhood, <a name="l00157"></a>00157 <span class="keywordtype">void</span> *globalData, <a name="l00158"></a>00158 <span class="keyword">const</span> FloatOffsetType &offset = FloatOffsetType(0.0)); <a name="l00159"></a>00159 <a name="l00163"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#bf9e026aa89c431919d9d64c48ae137e">00163</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetMetric()<span class="keyword"> const</span> <a name="l00164"></a>00164 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_Metric; } <a name="l00165"></a>00165 <a name="l00167"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#b91e95dd332960e257c6da1ebca1bfb6">00167</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">double</span> &GetRMSChange()<span class="keyword"> const</span> <a name="l00168"></a>00168 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_RMSChange; } <a name="l00169"></a>00169 <a name="l00174"></a>00174 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetIntensityDifferenceThreshold(<span class="keywordtype">double</span>); <a name="l00175"></a>00175 <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetIntensityDifferenceThreshold() <span class="keyword">const</span>; <a name="l00177"></a>00177 <a name="l00178"></a>00178 <span class="keyword">protected</span>: <a name="l00179"></a>00179 <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">SymmetricForcesDemonsRegistrationFunction</a>(); <a name="l00180"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#d72a9ab818e2ff6a57d72aa9f3615c68">00180</a> <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#d72a9ab818e2ff6a57d72aa9f3615c68">~SymmetricForcesDemonsRegistrationFunction</a>() {} <a name="l00181"></a>00181 <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream& os, <a class="code" href="classitk_1_1Indent.html" title="Control indentation during Print() invocation.">Indent</a> indent) <span class="keyword">const</span>; <a name="l00182"></a>00182 <a name="l00184"></a><a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html#be4576d1f53a33b3b634c57ecbea3c18">00184</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ConstNeighborhoodIterator.html">ConstNeighborhoodIterator<FixedImageType></a> <a class="code" href="classitk_1_1ConstNeighborhoodIterator.html">FixedImageNeighborhoodIteratorType</a>; <a name="l00185"></a>00185 <a name="l00188"></a><a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html">00188</a> <span class="keyword">struct </span><a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html">GlobalDataStruct</a> <a name="l00189"></a>00189 { <a name="l00190"></a><a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html#f3e232b241eeaac6a947514bf5bea5bc">00190</a> <span class="keywordtype">double</span> m_SumOfSquaredDifference; <a name="l00191"></a><a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html#8e0b4904baa54e599e0db9f6c811ce00">00191</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> m_NumberOfPixelsProcessed; <a name="l00192"></a><a class="code" href="structitk_1_1SymmetricForcesDemonsRegistrationFunction_1_1GlobalDataStruct.html#2a5739ad14a17d708f8df1acb98e75bd">00192</a> <span class="keywordtype">double</span> m_SumOfSquaredChange; <a name="l00193"></a>00193 }; <a name="l00194"></a>00194 <a name="l00195"></a>00195 <span class="keyword">private</span>: <a name="l00196"></a>00196 <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">SymmetricForcesDemonsRegistrationFunction</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00197"></a>00197 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="classitk_1_1SymmetricForcesDemonsRegistrationFunction.html">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00198"></a>00198 <a name="l00200"></a>00200 SpacingType m_FixedImageSpacing; <a name="l00201"></a>00201 <a class="code" href="classitk_1_1Point.html" title="A templated class holding a geometric point in n-Dimensional space.">PointType</a> m_FixedImageOrigin; <a name="l00202"></a>00202 <span class="keywordtype">double</span> m_Normalizer; <a name="l00203"></a>00203 <a name="l00205"></a>00205 <a class="code" href="classitk_1_1SmartPointer.html">GradientCalculatorPointer</a> m_FixedImageGradientCalculator; <a name="l00206"></a>00206 <a name="l00208"></a>00208 <a class="code" href="classitk_1_1SmartPointer.html">InterpolatorPointer</a> m_MovingImageInterpolator; <a name="l00209"></a>00209 <a name="l00211"></a>00211 TimeStepType m_TimeStep; <a name="l00212"></a>00212 <a name="l00214"></a>00214 <span class="keywordtype">double</span> m_DenominatorThreshold; <a name="l00215"></a>00215 <a name="l00217"></a>00217 <span class="keywordtype">double</span> m_IntensityDifferenceThreshold; <a name="l00218"></a>00218 <a name="l00222"></a>00222 <span class="keyword">mutable</span> <span class="keywordtype">double</span> m_Metric; <a name="l00223"></a>00223 <span class="keyword">mutable</span> <span class="keywordtype">double</span> m_SumOfSquaredDifference; <a name="l00224"></a>00224 <span class="keyword">mutable</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> m_NumberOfPixelsProcessed; <a name="l00225"></a>00225 <span class="keyword">mutable</span> <span class="keywordtype">double</span> m_RMSChange; <a name="l00226"></a>00226 <span class="keyword">mutable</span> <span class="keywordtype">double</span> m_SumOfSquaredChange; <a name="l00227"></a>00227 <a name="l00229"></a>00229 <span class="keyword">mutable</span> <a class="code" href="classitk_1_1SimpleFastMutexLock.html" title="Critical section locking class that can be allocated on the stack.">SimpleFastMutexLock</a> m_MetricCalculationLock; <a name="l00230"></a>00230 <a name="l00231"></a>00231 }; <a name="l00232"></a>00232 <a name="l00233"></a>00233 <a name="l00234"></a>00234 } <span class="comment">// end namespace itk</span> <a name="l00235"></a>00235 <a name="l00236"></a>00236 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00237"></a>00237 <span class="preprocessor"></span><span class="preprocessor">#include "itkSymmetricForcesDemonsRegistrationFunction.txx"</span> <a name="l00238"></a>00238 <span class="preprocessor">#endif</span> <a name="l00239"></a>00239 <span class="preprocessor"></span> <a name="l00240"></a>00240 <span class="preprocessor">#endif</span> <a name="l00241"></a>00241 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Fri May 8 00:20:11 2009 for ITK by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53> </a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2000</small></address> </body> </html>