<!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: itkLevelSetMotionRegistrationFunction.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>itkLevelSetMotionRegistrationFunction.h</h1><a href="itkLevelSetMotionRegistrationFunction_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: itkLevelSetMotionRegistrationFunction.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-24 20:02:58 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.4 $</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 __itkLevelSetMotionRegistrationFunction_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkLevelSetMotionRegistrationFunction_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="itkVector_8h.html">itkVector.h</a>"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkCovariantVector_8h.html">itkCovariantVector.h</a>"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkInterpolateImageFunction_8h.html">itkInterpolateImageFunction.h</a>"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkLinearInterpolateImageFunction_8h.html">itkLinearInterpolateImageFunction.h</a>"</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkSmoothingRecursiveGaussianImageFilter_8h.html">itkSmoothingRecursiveGaussianImageFilter.h</a>"</span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="keyword">namespace </span>itk { <a name="l00029"></a>00029 <a name="l00053"></a>00053 <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="l00054"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">00054</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">LevelSetMotionRegistrationFunction</a> : <a name="l00055"></a>00055 <span class="keyword">public</span> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">PDEDeformableRegistrationFunction</a>< TFixedImage, <a name="l00056"></a>00056 TMovingImage, <a name="l00057"></a>00057 TDeformationField> <a name="l00058"></a>00058 { <a name="l00059"></a>00059 <span class="keyword">public</span>: <a name="l00060"></a>00060 <a name="l00062"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#64ff4d79775704e9bf62434bb32f6327">00062</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">LevelSetMotionRegistrationFunction</a> <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">Self</a>; <a name="l00063"></a>00063 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">PDEDeformableRegistrationFunction</a>< TFixedImage, <a name="l00064"></a>00064 TMovingImage, TDeformationField <a name="l00065"></a>00065 > <a name="l00066"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#43ba673ec8d46ad6e26677c5b580cc8f">00066</a> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">Superclass</a>; <a name="l00067"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#48ae0d40e22d17c007db70b8e39e1343">00067</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="l00068"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#05569a17a861daf98d908f5ad3e47dbb">00068</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="l00069"></a>00069 <a name="l00071"></a>00071 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">Self</a>); <a name="l00072"></a>00072 <a name="l00074"></a>00074 <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">LevelSetMotionRegistrationFunction</a>, <a name="l00075"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#14375859723a94236c7b5f9ee5d58d13">00075</a> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">PDEDeformableRegistrationFunction</a> ); <a name="l00076"></a>00076 <a name="l00078"></a>00078 <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::MovingImageType MovingImageType; <a name="l00079"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#b621704bebb97f68412d7feddac473ad">00079</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::MovingImagePointer MovingImagePointer; <a name="l00080"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#78ee09fea8b9c618eb57370998d4e9e7">00080</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> MovingImageType::SpacingType MovingSpacingType; <a name="l00081"></a>00081 <a name="l00083"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#e9cfb65e0ad8e119f61dc71cba49e964">00083</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::FixedImageType FixedImageType; <a name="l00084"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#3c2a9ce96d1a8ea9a64c9c25a9c9a34e">00084</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::FixedImagePointer FixedImagePointer; <a name="l00085"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#5758bd3141ed481d8f00d9e4e9284477">00085</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="l00086"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#12bded0987a9a830d4aee686890e89d8">00086</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="l00087"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#881c3ba88f35a36f4b2b6bef105aa203">00087</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> FixedImageType::SpacingType SpacingType; <a name="l00088"></a>00088 <a name="l00090"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#a16086571b2cb782b80ec31aa0b78d25">00090</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::DeformationFieldType DeformationFieldType; <a name="l00091"></a>00091 <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::DeformationFieldTypePointer <a name="l00092"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#6e97c9f1aa5202490bb52661cd0f82dc">00092</a> DeformationFieldTypePointer; <a name="l00093"></a>00093 <a name="l00095"></a>00095 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(ImageDimension, <span class="keywordtype">unsigned</span> <a name="l00096"></a>00096 <span class="keywordtype">int</span>,Superclass::ImageDimension); <a name="l00097"></a>00097 <a name="l00099"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#a7c3e5ae2235d29f26a08609cca5174f">00099</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::PixelType PixelType; <a name="l00100"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#b7b7609c9bbfae47f76e4751f28d6c49">00100</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::RadiusType RadiusType; <a name="l00101"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#ce38311453a40000be4f6e52f212f92a">00101</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="l00102"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#cd296f350f882859db3177a19c670b50">00102</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="l00103"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#3c5dcd1acf605b3e321cf7830647e2de">00103</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::TimeStepType TimeStepType; <a name="l00104"></a>00104 <a name="l00106"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#3239f0643c602d2c79754383d0cc0a33">00106</a> <span class="keyword">typedef</span> <span class="keywordtype">double</span> CoordRepType; <a name="l00107"></a>00107 <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="l00108"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#45617b9e8cc06e513d6754e5e1998bd9">00108</a> <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolatorType</a>; <a name="l00109"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#91d68eef257cd04a0fe7ba6c633c891f">00109</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="l00110"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#4ce474ceaeea9cd412c0142a42618422">00110</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="l00111"></a>00111 <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="l00112"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#a8cd48b3e0bf64422164287cd4a5982e">00112</a> <a class="code" href="classitk_1_1LinearInterpolateImageFunction.html" title="Linearly interpolate an image at specified positions.">DefaultInterpolatorType</a>; <a name="l00113"></a>00113 <a name="l00115"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#c6a16f768f4d193756c65512e2d01479">00115</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">Vector<double,itkGetStaticConstMacro(ImageDimension)></a> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">VectorType</a>; <a name="l00116"></a>00116 <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 name="l00117"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#9c5f40149da61ebdc04725fae04ab53b">00117</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>00121 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmoothingRecursiveGaussianImageFilter.html" title="Computes the smoothing of an image by convolution with the Gaussian kernels implemented...">SmoothingRecursiveGaussianImageFilter<MovingImageType></a> <a name="l00122"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#d50660ef8e6e269cc3a57973cb85949e">00122</a> <a class="code" href="classitk_1_1SmoothingRecursiveGaussianImageFilter.html" title="Computes the smoothing of an image by convolution with the Gaussian kernels implemented...">MovingImageSmoothingFilterType</a>; <a name="l00123"></a>00123 <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">MovingImageSmoothingFilterType::Pointer</a> <a name="l00124"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#1348f4a02bd078e57d901f94846e6209">00124</a> <a class="code" href="classitk_1_1SmartPointer.html">MovingImageSmoothingFilterPointer</a>; <a name="l00125"></a>00125 <a name="l00127"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#274f276f907b981ddbe0765494539c31">00127</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="l00128"></a>00128 { m_MovingImageInterpolator = ptr; } <a name="l00129"></a>00129 <a name="l00131"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#817a8dbe1e3764b7e771b6842da215f0">00131</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="l00132"></a>00132 { <span class="keywordflow">return</span> m_MovingImageInterpolator; } <a name="l00133"></a>00133 <a name="l00136"></a>00136 <span class="keyword">virtual</span> TimeStepType ComputeGlobalTimeStep(<span class="keywordtype">void</span> * GlobalData) <span class="keyword">const</span>; <a name="l00137"></a>00137 <a name="l00140"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#fe4df22980dfb79d48559d12f561b7d3">00140</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> *GetGlobalDataPointer()<span class="keyword"> const</span> <a name="l00141"></a>00141 <span class="keyword"> </span>{ <a name="l00142"></a>00142 <a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html">GlobalDataStruct</a> *global = <span class="keyword">new</span> <a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html">GlobalDataStruct</a>(); <a name="l00143"></a>00143 global-><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html#87eb579bca62e3ada0c6eea1d2edfa65">m_SumOfSquaredDifference</a> = 0.0; <a name="l00144"></a>00144 global-><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html#e46bb579f6a2c58137b223b48bc0fddd">m_NumberOfPixelsProcessed</a> = 0L; <a name="l00145"></a>00145 global-><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html#95d865b961d4634352203ce0242320ba">m_SumOfSquaredChange</a> = 0; <a name="l00146"></a>00146 global-><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html#96897732a1f24f4c4880f12675657d46">m_MaxL1Norm</a> = NumericTraits<double>::NonpositiveMin(); <a name="l00147"></a>00147 <span class="keywordflow">return</span> global; <a name="l00148"></a>00148 } <a name="l00150"></a>00150 <a name="l00152"></a>00152 <span class="keyword">virtual</span> <span class="keywordtype">void</span> ReleaseGlobalDataPointer( <span class="keywordtype">void</span> *GlobalData ) <span class="keyword">const</span>; <a name="l00153"></a>00153 <a name="l00155"></a>00155 <span class="keyword">virtual</span> <span class="keywordtype">void</span> InitializeIteration(); <a name="l00156"></a>00156 <a name="l00159"></a>00159 <span class="keyword">virtual</span> PixelType ComputeUpdate(<span class="keyword">const</span> NeighborhoodType &neighborhood, <a name="l00160"></a>00160 <span class="keywordtype">void</span> *globalData, <a name="l00161"></a>00161 <span class="keyword">const</span> FloatOffsetType &offset = <a name="l00162"></a>00162 FloatOffsetType(0.0)); <a name="l00163"></a>00163 <a name="l00167"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#4ced350592ef38440fc38d0ae46b42f5">00167</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetMetric()<span class="keyword"> const</span> <a name="l00168"></a>00168 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_Metric; } <a name="l00169"></a>00169 <a name="l00171"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#f6ea86551827c80ff8e0b9cb6eb98491">00171</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetRMSChange()<span class="keyword"> const</span> <a name="l00172"></a>00172 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_RMSChange; } <a name="l00173"></a>00173 <a name="l00180"></a>00180 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetAlpha(<span class="keywordtype">double</span>); <a name="l00181"></a>00181 <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetAlpha() <span class="keyword">const</span>; <a name="l00183"></a>00183 <a name="l00188"></a>00188 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetIntensityDifferenceThreshold(<span class="keywordtype">double</span>); <a name="l00189"></a>00189 <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetIntensityDifferenceThreshold() <span class="keyword">const</span>; <a name="l00191"></a>00191 <a name="l00194"></a>00194 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetGradientMagnitudeThreshold(<span class="keywordtype">double</span>); <a name="l00195"></a>00195 <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetGradientMagnitudeThreshold() <span class="keyword">const</span>; <a name="l00197"></a>00197 <a name="l00200"></a>00200 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetGradientSmoothingStandardDeviations(<span class="keywordtype">double</span>); <a name="l00201"></a>00201 <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetGradientSmoothingStandardDeviations() <span class="keyword">const</span>; <a name="l00203"></a>00203 <a name="l00204"></a>00204 <span class="keyword">protected</span>: <a name="l00205"></a>00205 <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">LevelSetMotionRegistrationFunction</a>(); <a name="l00206"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#01135d31c9be71611acad72ec5fc74cb">00206</a> <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#01135d31c9be71611acad72ec5fc74cb">~LevelSetMotionRegistrationFunction</a>() {} <a name="l00207"></a>00207 <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="l00208"></a>00208 <a name="l00210"></a>00210 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ConstNeighborhoodIterator.html">ConstNeighborhoodIterator<FixedImageType></a> <a name="l00211"></a><a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html#4f5022ea58640fe8ec5fee9d74efdd65">00211</a> <a class="code" href="classitk_1_1ConstNeighborhoodIterator.html">FixedImageNeighborhoodIteratorType</a>; <a name="l00212"></a>00212 <a name="l00215"></a><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html">00215</a> <span class="keyword">struct </span><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html">GlobalDataStruct</a> <a name="l00216"></a>00216 { <a name="l00217"></a><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html#87eb579bca62e3ada0c6eea1d2edfa65">00217</a> <span class="keywordtype">double</span> m_SumOfSquaredDifference; <a name="l00218"></a><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html#e46bb579f6a2c58137b223b48bc0fddd">00218</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> m_NumberOfPixelsProcessed; <a name="l00219"></a><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html#95d865b961d4634352203ce0242320ba">00219</a> <span class="keywordtype">double</span> m_SumOfSquaredChange; <a name="l00220"></a><a class="code" href="structitk_1_1LevelSetMotionRegistrationFunction_1_1GlobalDataStruct.html#96897732a1f24f4c4880f12675657d46">00220</a> <span class="keywordtype">double</span> m_MaxL1Norm; <a name="l00221"></a>00221 }; <a name="l00222"></a>00222 <a name="l00223"></a>00223 <span class="keyword">private</span>: <a name="l00224"></a>00224 <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">LevelSetMotionRegistrationFunction</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00225"></a>00225 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="classitk_1_1LevelSetMotionRegistrationFunction.html">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00226"></a>00226 <a name="l00228"></a>00228 SpacingType m_FixedImageSpacing; <a name="l00229"></a>00229 <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="l00230"></a>00230 <a name="l00232"></a>00232 <a class="code" href="classitk_1_1SmartPointer.html">MovingImageSmoothingFilterPointer</a> m_MovingImageSmoothingFilter; <a name="l00233"></a>00233 <a name="l00235"></a>00235 <a class="code" href="classitk_1_1SmartPointer.html">InterpolatorPointer</a> m_MovingImageInterpolator; <a name="l00236"></a>00236 <a class="code" href="classitk_1_1SmartPointer.html">InterpolatorPointer</a> m_SmoothMovingImageInterpolator; <a name="l00237"></a>00237 <a name="l00240"></a>00240 <span class="keywordtype">double</span> m_Alpha; <a name="l00241"></a>00241 <a name="l00243"></a>00243 <span class="keywordtype">double</span> m_GradientMagnitudeThreshold; <a name="l00244"></a>00244 <a name="l00246"></a>00246 <span class="keywordtype">double</span> m_IntensityDifferenceThreshold; <a name="l00247"></a>00247 <a name="l00249"></a>00249 <span class="keywordtype">double</span> m_GradientSmoothingStandardDeviations; <a name="l00250"></a>00250 <a name="l00254"></a>00254 <span class="keyword">mutable</span> <span class="keywordtype">double</span> m_Metric; <a name="l00255"></a>00255 <span class="keyword">mutable</span> <span class="keywordtype">double</span> m_SumOfSquaredDifference; <a name="l00256"></a>00256 <span class="keyword">mutable</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> m_NumberOfPixelsProcessed; <a name="l00257"></a>00257 <span class="keyword">mutable</span> <span class="keywordtype">double</span> m_RMSChange; <a name="l00258"></a>00258 <span class="keyword">mutable</span> <span class="keywordtype">double</span> m_SumOfSquaredChange; <a name="l00259"></a>00259 <a name="l00261"></a>00261 <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="l00262"></a>00262 <a name="l00263"></a>00263 }; <a name="l00264"></a>00264 <a name="l00265"></a>00265 <a name="l00266"></a>00266 } <span class="comment">// end namespace itk</span> <a name="l00267"></a>00267 <a name="l00268"></a>00268 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00269"></a>00269 <span class="preprocessor"></span><span class="preprocessor">#include "itkLevelSetMotionRegistrationFunction.txx"</span> <a name="l00270"></a>00270 <span class="preprocessor">#endif</span> <a name="l00271"></a>00271 <span class="preprocessor"></span> <a name="l00272"></a>00272 <span class="preprocessor">#endif</span> <a name="l00273"></a>00273 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 23:25:15 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>