<!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: itkMultiResolutionImageRegistrationMethod.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>itkMultiResolutionImageRegistrationMethod.h</h1><a href="itkMultiResolutionImageRegistrationMethod_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: itkMultiResolutionImageRegistrationMethod.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-26 21:45:51 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.11 $</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 __itkMultiResolutionImageRegistrationMethod_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkMultiResolutionImageRegistrationMethod_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkProcessObject_8h.html">itkProcessObject.h</a>"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkImageToImageMetric_8h.html">itkImageToImageMetric.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkSingleValuedNonLinearOptimizer_8h.html">itkSingleValuedNonLinearOptimizer.h</a>"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkMultiResolutionPyramidImageFilter_8h.html">itkMultiResolutionPyramidImageFilter.h</a>"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include "itkNumericTraits.h"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkDataObjectDecorator_8h.html">itkDataObjectDecorator.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="l00029"></a>00029 <a name="l00070"></a>00070 <span class="keyword">template</span> <<span class="keyword">typename</span> TFixedImage, <span class="keyword">typename</span> TMovingImage> <a name="l00071"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html">00071</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html" title="Base class for multi-resolution image registration methods.">MultiResolutionImageRegistrationMethod</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1ProcessObject.html" title="ProcessObject is the base class for all process objects (source, filters, mappers)...">ProcessObject</a> <a name="l00072"></a>00072 { <a name="l00073"></a>00073 <span class="keyword">public</span>: <a name="l00075"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#a9ee69c8011e1276ada34faccc3a65bb">00075</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html" title="Base class for multi-resolution image registration methods.">MultiResolutionImageRegistrationMethod</a> <a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html" title="Base class for multi-resolution image registration methods.">Self</a>; <a name="l00076"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#b79cd1c88ac426405373fad6f2c8177d">00076</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ProcessObject.html" title="ProcessObject is the base class for all process objects (source, filters, mappers)...">ProcessObject</a> <a class="code" href="classitk_1_1ProcessObject.html" title="ProcessObject is the base class for all process objects (source, filters, mappers)...">Superclass</a>; <a name="l00077"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#d4f7f2a54bdaf65bed454f07de87ef77">00077</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="l00078"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#7647c4f4dbf4dee5308cbac6fafde9a5">00078</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="l00079"></a>00079 <a name="l00081"></a>00081 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html" title="Base class for multi-resolution image registration methods.">Self</a>); <a name="l00082"></a>00082 <a name="l00084"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#8e9a6b743c8e702be1c912f8ebf008f5">00084</a> <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html" title="Base class for multi-resolution image registration methods.">MultiResolutionImageRegistrationMethod</a>, <a class="code" href="classitk_1_1ProcessObject.html" title="ProcessObject is the base class for all process objects (source, filters, mappers)...">ProcessObject</a>); <a name="l00085"></a>00085 <a name="l00087"></a>00087 <span class="keyword">typedef</span> TFixedImage FixedImageType; <a name="l00088"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#2a5bfcaa827858e78cd37342848e91b9">00088</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#68fafcc6909430ccd70cbc4aeee0107c">FixedImageType::ConstPointer</a> FixedImageConstPointer; <a name="l00089"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#4ae114016875baf36869823a4291fec0">00089</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">FixedImageType::RegionType</a> FixedImageRegionType; <a name="l00090"></a>00090 <a name="l00092"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#ad0e8b930d3857f4fcbaf9b5ff40bb87">00092</a> <span class="keyword">typedef</span> TMovingImage MovingImageType; <a name="l00093"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#267b3c2fa72ecfb3055f0d0e5fdf3a59">00093</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#68fafcc6909430ccd70cbc4aeee0107c">MovingImageType::ConstPointer</a> MovingImageConstPointer; <a name="l00094"></a>00094 <a name="l00096"></a>00096 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageToImageMetric.html" title="Computes similarity between regions of two images.">ImageToImageMetric</a>< FixedImageType, <a name="l00097"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#31f1a50fa6b0a70c50a866ac90c7d8b9">00097</a> MovingImageType > <a class="code" href="classitk_1_1ImageToImageMetric.html" title="Computes similarity between regions of two images.">MetricType</a>; <a name="l00098"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#dfbf321e144cfafa017557fb0c9362b3">00098</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">MetricType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">MetricPointer</a>; <a name="l00099"></a>00099 <a name="l00101"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#0fcd049dc685835a471637bed4829d59">00101</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Transform.html" title="Transform points and vector from an input space to an output space.">MetricType::TransformType</a> <a class="code" href="classitk_1_1Transform.html" title="Transform points and vector from an input space to an output space.">TransformType</a>; <a name="l00102"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#ece40f595e83852adf4571c64829bc14">00102</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">TransformType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">TransformPointer</a>; <a name="l00103"></a>00103 <a name="l00106"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#819d3396e5e618f3929a7b872a705152">00106</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DataObjectDecorator.html" title="Decorates any subclass of itkObject with a DataObject API.">DataObjectDecorator< TransformType ></a> <a class="code" href="classitk_1_1DataObjectDecorator.html" title="Decorates any subclass of itkObject with a DataObject API.">TransformOutputType</a>; <a name="l00107"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#29d04b3478ac2ae9df75af8734bd5911">00107</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">TransformOutputType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">TransformOutputPointer</a>; <a name="l00108"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#a15d0763a36c015d8cdd267adf08f9a4">00108</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">TransformOutputType::ConstPointer</a> <a class="code" href="classitk_1_1SmartPointer.html">TransformOutputConstPointer</a>; <a name="l00109"></a>00109 <a name="l00111"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#b1af35fb06a838215dc44c2616816179">00111</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">MetricType::InterpolatorType</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_1MultiResolutionImageRegistrationMethod.html#34a8dd4e79c4ee2e4ff355b905da71d5">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>00113 <a name="l00115"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#896cc64749915a71a219ecc6af7a9612">00115</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SingleValuedNonLinearOptimizer.html" title="This class is a base for the Optimization methods that optimize a single valued function...">SingleValuedNonLinearOptimizer</a> <a class="code" href="classitk_1_1SingleValuedNonLinearOptimizer.html" title="This class is a base for the Optimization methods that optimize a single valued function...">OptimizerType</a>; <a name="l00116"></a>00116 <a name="l00118"></a>00118 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MultiResolutionPyramidImageFilter.html" title="Framework for creating images in a multi-resolution pyramid.">MultiResolutionPyramidImageFilter</a>< FixedImageType, <a name="l00119"></a>00119 FixedImageType > <a name="l00120"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#ca8a8cbe08310ae221443d77cfd4ace0">00120</a> <a class="code" href="classitk_1_1MultiResolutionPyramidImageFilter.html" title="Framework for creating images in a multi-resolution pyramid.">FixedImagePyramidType</a>; <a name="l00121"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#2137c8f5111cb498e525e5a5edb4a79f">00121</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">FixedImagePyramidType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">FixedImagePyramidPointer</a>; <a name="l00122"></a>00122 <a name="l00124"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#a95a21fd34ee11b5f7ac516b25156bee">00124</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Array2D.html">FixedImagePyramidType::ScheduleType</a> <a class="code" href="classitk_1_1Array2D.html">ScheduleType</a>; <a name="l00125"></a>00125 <a name="l00127"></a>00127 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MultiResolutionPyramidImageFilter.html" title="Framework for creating images in a multi-resolution pyramid.">MultiResolutionPyramidImageFilter</a>< MovingImageType, <a name="l00128"></a>00128 MovingImageType > <a name="l00129"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#483406d8d3836849da82fea1ca44dda5">00129</a> <a class="code" href="classitk_1_1MultiResolutionPyramidImageFilter.html" title="Framework for creating images in a multi-resolution pyramid.">MovingImagePyramidType</a>; <a name="l00130"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#8a568ab46afc5b3eb5b1d23f37eb59a6">00130</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">MovingImagePyramidType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">MovingImagePyramidPointer</a>; <a name="l00131"></a>00131 <a name="l00134"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#39c8e7279cc2604ee5ecec9e57df588c">00134</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> MetricType::TransformParametersType ParametersType; <a name="l00135"></a>00135 <a name="l00137"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#a2ff2ae09ecbddb8cdb78ce2e1ec5f6e">00137</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">DataObject::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">DataObjectPointer</a>; <a name="l00138"></a>00138 <a name="l00140"></a>00140 <span class="keywordtype">void</span> StartRegistration(); <a name="l00141"></a>00141 <a name="l00143"></a>00143 <span class="keywordtype">void</span> StopRegistration(); <a name="l00144"></a>00144 <a name="l00146"></a>00146 <a class="code" href="itkMacro_8h.html#1e680e0abf41fd9bbefa2829ea3d1e6a">itkSetConstObjectMacro</a>( FixedImage, FixedImageType ); <a name="l00147"></a>00147 <a class="code" href="itkMacro_8h.html#d11f8adb47609be2b4b58948904f8a7c">itkGetConstObjectMacro</a>( FixedImage, FixedImageType ); <a name="l00149"></a>00149 <a name="l00151"></a>00151 <a class="code" href="itkMacro_8h.html#1e680e0abf41fd9bbefa2829ea3d1e6a">itkSetConstObjectMacro</a>( MovingImage, MovingImageType ); <a name="l00152"></a>00152 <a class="code" href="itkMacro_8h.html#d11f8adb47609be2b4b58948904f8a7c">itkGetConstObjectMacro</a>( MovingImage, MovingImageType ); <a name="l00154"></a>00154 <a name="l00156"></a>00156 <a class="code" href="itkMacro_8h.html#b950b763422e5059348e6178e2a5f425">itkSetObjectMacro</a>( <a class="code" href="classitk_1_1Optimizer.html" title="Generic representation for an optimization method.">Optimizer</a>, <a class="code" href="classitk_1_1SingleValuedNonLinearOptimizer.html" title="This class is a base for the Optimization methods that optimize a single valued function...">OptimizerType</a> ); <a name="l00157"></a>00157 <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( <a class="code" href="classitk_1_1Optimizer.html" title="Generic representation for an optimization method.">Optimizer</a>, <a class="code" href="classitk_1_1SingleValuedNonLinearOptimizer.html" title="This class is a base for the Optimization methods that optimize a single valued function...">OptimizerType</a> ); <a name="l00159"></a>00159 <a name="l00161"></a>00161 <a class="code" href="itkMacro_8h.html#b950b763422e5059348e6178e2a5f425">itkSetObjectMacro</a>( Metric, <a class="code" href="classitk_1_1ImageToImageMetric.html" title="Computes similarity between regions of two images.">MetricType</a> ); <a name="l00162"></a>00162 <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( Metric, <a class="code" href="classitk_1_1ImageToImageMetric.html" title="Computes similarity between regions of two images.">MetricType</a> ); <a name="l00164"></a>00164 <a name="l00166"></a>00166 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( FixedImageRegion, FixedImageRegionType ); <a name="l00167"></a>00167 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( FixedImageRegion, FixedImageRegionType ); <a name="l00169"></a>00169 <a name="l00171"></a>00171 <a class="code" href="itkMacro_8h.html#b950b763422e5059348e6178e2a5f425">itkSetObjectMacro</a>( <a class="code" href="classitk_1_1Transform.html" title="Transform points and vector from an input space to an output space.">Transform</a>, <a class="code" href="classitk_1_1Transform.html" title="Transform points and vector from an input space to an output space.">TransformType</a> ); <a name="l00172"></a>00172 <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( <a class="code" href="classitk_1_1Transform.html" title="Transform points and vector from an input space to an output space.">Transform</a>, <a class="code" href="classitk_1_1Transform.html" title="Transform points and vector from an input space to an output space.">TransformType</a> ); <a name="l00174"></a>00174 <a name="l00176"></a>00176 <a class="code" href="itkMacro_8h.html#b950b763422e5059348e6178e2a5f425">itkSetObjectMacro</a>( Interpolator, <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolatorType</a> ); <a name="l00177"></a>00177 <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( Interpolator, <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolatorType</a> ); <a name="l00179"></a>00179 <a name="l00181"></a>00181 <a class="code" href="itkMacro_8h.html#b950b763422e5059348e6178e2a5f425">itkSetObjectMacro</a>( FixedImagePyramid, <a class="code" href="classitk_1_1MultiResolutionPyramidImageFilter.html" title="Framework for creating images in a multi-resolution pyramid.">FixedImagePyramidType</a> ); <a name="l00182"></a>00182 <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( FixedImagePyramid, <a class="code" href="classitk_1_1MultiResolutionPyramidImageFilter.html" title="Framework for creating images in a multi-resolution pyramid.">FixedImagePyramidType</a> ); <a name="l00184"></a>00184 <a name="l00186"></a>00186 <a class="code" href="itkMacro_8h.html#b950b763422e5059348e6178e2a5f425">itkSetObjectMacro</a>( MovingImagePyramid, <a class="code" href="classitk_1_1MultiResolutionPyramidImageFilter.html" title="Framework for creating images in a multi-resolution pyramid.">MovingImagePyramidType</a> ); <a name="l00187"></a>00187 <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( MovingImagePyramid, <a class="code" href="classitk_1_1MultiResolutionPyramidImageFilter.html" title="Framework for creating images in a multi-resolution pyramid.">MovingImagePyramidType</a> ); <a name="l00189"></a>00189 <a name="l00191"></a>00191 <span class="keywordtype">void</span> SetSchedules( <span class="keyword">const</span> <a class="code" href="classitk_1_1Array2D.html">ScheduleType</a> & fixedSchedule, <a name="l00192"></a>00192 <span class="keyword">const</span> <a class="code" href="classitk_1_1Array2D.html">ScheduleType</a> & movingSchedule ); <a name="l00193"></a>00193 <a class="code" href="itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a>( FixedImagePyramidSchedule, <a class="code" href="classitk_1_1Array2D.html">ScheduleType</a> ); <a name="l00194"></a>00194 <a class="code" href="itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a>( MovingImagePyramidSchedule, <a class="code" href="classitk_1_1Array2D.html">ScheduleType</a> ); <a name="l00196"></a>00196 <a name="l00198"></a>00198 <span class="keywordtype">void</span> SetNumberOfLevels( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> numberOfLevels ); <a name="l00199"></a>00199 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( NumberOfLevels, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> ); <a name="l00201"></a>00201 <a name="l00203"></a>00203 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( CurrentLevel, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> ); <a name="l00204"></a>00204 <a name="l00206"></a>00206 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( InitialTransformParameters, ParametersType ); <a name="l00207"></a>00207 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( InitialTransformParameters, ParametersType ); <a name="l00209"></a>00209 <a name="l00213"></a>00213 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( InitialTransformParametersOfNextLevel, ParametersType ); <a name="l00214"></a>00214 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( InitialTransformParametersOfNextLevel, ParametersType ); <a name="l00216"></a>00216 <a name="l00219"></a>00219 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( LastTransformParameters, ParametersType ); <a name="l00220"></a>00220 <a name="l00222"></a>00222 <span class="keyword">const</span> <a class="code" href="classitk_1_1DataObjectDecorator.html" title="Decorates any subclass of itkObject with a DataObject API.">TransformOutputType</a> * GetOutput() <span class="keyword">const</span>; <a name="l00223"></a>00223 <a name="l00226"></a>00226 <span class="keyword">virtual</span> <a class="code" href="classitk_1_1SmartPointer.html">DataObjectPointer</a> MakeOutput(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx); <a name="l00227"></a>00227 <a name="l00230"></a>00230 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetMTime() <span class="keyword">const</span>; <a name="l00231"></a>00231 <a name="l00232"></a>00232 <span class="keyword">protected</span>: <a name="l00233"></a>00233 <a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html" title="Base class for multi-resolution image registration methods.">MultiResolutionImageRegistrationMethod</a>(); <a name="l00234"></a><a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#304565ceabf5e4362e7d0192980f7e45">00234</a> <span class="keyword">virtual</span> <a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html#304565ceabf5e4362e7d0192980f7e45">~MultiResolutionImageRegistrationMethod</a>() {}; <a name="l00235"></a>00235 <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="l00236"></a>00236 <a name="l00239"></a>00239 <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#f75a5945cdd8315676941024a0b8c1e9">GenerateData</a> (); <a name="l00240"></a>00240 <a name="l00245"></a>00245 <span class="keywordtype">void</span> Initialize() throw (ExceptionObject); <a name="l00246"></a>00246 <a name="l00248"></a>00248 <span class="keywordtype">void</span> PreparePyramids( <span class="keywordtype">void</span> ); <a name="l00249"></a>00249 <a name="l00251"></a>00251 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( CurrentLevel, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> ); <a name="l00252"></a>00252 <a name="l00253"></a>00253 private: <a name="l00254"></a>00254 <a class="code" href="classitk_1_1MultiResolutionImageRegistrationMethod.html" title="Base class for multi-resolution image registration methods.">MultiResolutionImageRegistrationMethod</a>(const <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00255"></a>00255 <span class="keywordtype">void</span> operator=(const Self&); <span class="comment">//purposely not implemented</span> <a name="l00256"></a>00256 <a name="l00257"></a>00257 MetricPointer m_Metric; <a name="l00258"></a>00258 OptimizerType::<a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">Pointer</a> m_Optimizer; <a name="l00259"></a>00259 <a name="l00260"></a>00260 MovingImageConstPointer m_MovingImage; <a name="l00261"></a>00261 FixedImageConstPointer m_FixedImage; <a name="l00262"></a>00262 <a name="l00263"></a>00263 TransformPointer m_Transform; <a name="l00264"></a>00264 InterpolatorPointer m_Interpolator; <a name="l00265"></a>00265 <a name="l00266"></a>00266 MovingImagePyramidPointer m_MovingImagePyramid; <a name="l00267"></a>00267 FixedImagePyramidPointer m_FixedImagePyramid; <a name="l00268"></a>00268 <a name="l00269"></a>00269 ParametersType m_InitialTransformParameters; <a name="l00270"></a>00270 ParametersType m_InitialTransformParametersOfNextLevel; <a name="l00271"></a>00271 ParametersType m_LastTransformParameters; <a name="l00272"></a>00272 <a name="l00273"></a>00273 FixedImageRegionType m_FixedImageRegion; <a name="l00274"></a>00274 std::<a class="code" href="classstd_1_1vector.html">vector</a><FixedImageRegionType> m_FixedImageRegionPyramid; <a name="l00275"></a>00275 <a name="l00276"></a>00276 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> m_NumberOfLevels; <a name="l00277"></a>00277 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> m_CurrentLevel; <a name="l00278"></a>00278 <a name="l00279"></a>00279 <span class="keywordtype">bool</span> m_Stop; <a name="l00280"></a>00280 <a name="l00281"></a>00281 ScheduleType m_FixedImagePyramidSchedule; <a name="l00282"></a>00282 ScheduleType m_MovingImagePyramidSchedule; <a name="l00283"></a>00283 <a name="l00284"></a>00284 <span class="keywordtype">bool</span> m_ScheduleSpecified; <a name="l00285"></a>00285 <span class="keywordtype">bool</span> m_NumberOfLevelsSpecified; <a name="l00286"></a>00286 <a name="l00287"></a>00287 }; <a name="l00288"></a>00288 <a name="l00289"></a>00289 <a name="l00290"></a>00290 } <span class="comment">// end namespace itk</span> <a name="l00291"></a>00291 <a name="l00292"></a>00292 <a name="l00293"></a>00293 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00294"></a>00294 <span class="preprocessor"></span><span class="preprocessor">#include "itkMultiResolutionImageRegistrationMethod.txx"</span> <a name="l00295"></a>00295 <span class="preprocessor">#endif</span> <a name="l00296"></a>00296 <span class="preprocessor"></span> <a name="l00297"></a>00297 <span class="preprocessor">#endif</span> <a name="l00298"></a>00298 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 23:35:34 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>