<!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: itkDiscreteGradientMagnitudeGaussianImageFunction.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_dd352b1cbb04f9ff09fa5f33693fed9f.html">Review</a> </div> <div class="contents"> <h1>itkDiscreteGradientMagnitudeGaussianImageFunction.h</h1><a href="itkDiscreteGradientMagnitudeGaussianImageFunction_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: itkDiscreteGradientMagnitudeGaussianImageFunction.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-28 18:14:36 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.7 $</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 <a name="l00018"></a>00018 <span class="preprocessor">#ifndef __itkDiscreteGradientMagnitudeGaussianImageFunction_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define __itkDiscreteGradientMagnitudeGaussianImageFunction_h</span> <a name="l00020"></a>00020 <span class="preprocessor"></span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkNeighborhoodOperatorImageFunction_8h.html">itkNeighborhoodOperatorImageFunction.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkImageFunction_8h.html">itkImageFunction.h</a>"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkGaussianOperator_8h.html">itkGaussianOperator.h</a>"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkGaussianDerivativeOperator_8h.html">itkGaussianDerivativeOperator.h</a>"</span> <a name="l00025"></a>00025 <a name="l00026"></a>00026 <span class="keyword">namespace </span>itk <a name="l00027"></a>00027 { <a name="l00028"></a>00028 <a name="l00048"></a>00048 <span class="keyword">template</span> <<span class="keyword">class</span> TInputImage,<span class="keyword">class</span> TOutput=<span class="keywordtype">double</span>> <a name="l00049"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html">00049</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html" title="Compute the discrete gradient magnitude gaussian of an the image at a specific location...">DiscreteGradientMagnitudeGaussianImageFunction</a> : <a name="l00050"></a>00050 <span class="keyword">public</span> <a class="code" href="classitk_1_1ImageFunction.html" title="Evaluates a function of an image at specified position.">ImageFunction</a>< TInputImage, TOutput, TOutput > <a name="l00051"></a>00051 { <a name="l00052"></a>00052 <span class="keyword">public</span>: <a name="l00053"></a>00053 <a name="l00055"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#a359650a4ff3c61fb854aefb5d55404c">00055</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html" title="Compute the discrete gradient magnitude gaussian of an the image at a specific location...">DiscreteGradientMagnitudeGaussianImageFunction</a> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>; <a name="l00056"></a>00056 <a name="l00058"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#2103ae88cf7ce99cdc67b0ad95bb9f78">00058</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageFunction.html">ImageFunction<TInputImage, TOutput, TOutput></a> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>; <a name="l00059"></a>00059 <a name="l00061"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#de8fc56c7812b3350aaf8d8522e0d03e">00061</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="l00062"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#78e7a2a4f633462123688bff8fabdd8e">00062</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="l00063"></a>00063 <a name="l00065"></a>00065 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>); <a name="l00066"></a>00066 <a name="l00068"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#aaccd83ef0abc7ccc57dbea7eb111980">00068</a> <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html" title="Compute the discrete gradient magnitude gaussian of an the image at a specific location...">DiscreteGradientMagnitudeGaussianImageFunction</a>, <a class="code" href="classitk_1_1ImageFunction.html" title="Evaluates a function of an image at specified position.">ImageFunction</a> ); <a name="l00069"></a>00069 <a name="l00071"></a>00071 <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">Superclass::InputImageType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">InputImageType</a>; <a name="l00072"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#df27fca07b864985e14d525bf09f332e">00072</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#6e44b89d73d576fe68c175566a634ab8">Superclass::InputPixelType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#6e44b89d73d576fe68c175566a634ab8">InputPixelType</a>; <a name="l00073"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#f40dc53d5de59f2ab33e16dc6fffbb81">00073</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">Superclass::IndexType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>; <a name="l00074"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#a09a9c957110501e6bba106841d7a9fb">00074</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::ContinuousIndexType ContinuousIndexType; <a name="l00075"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#2fd790d7ac7cb83c34b1dd0db6e1d7ff">00075</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::PointType PointType; <a name="l00076"></a>00076 <a name="l00078"></a>00078 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(ImageDimension2, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, <a name="l00079"></a>00079 InputImageType::ImageDimension); <a name="l00080"></a>00080 <a name="l00082"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#0c3d0da8aefc104a379427754fe5a50d">00082</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OutputType OutputType; <a name="l00083"></a>00083 <a name="l00085"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#e8b04966429334af25d007e08a6a48dd">00085</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1FixedArray.html">FixedArray<double,itkGetStaticConstMacro(ImageDimension2)></a> <a class="code" href="classitk_1_1FixedArray.html">VarianceArrayType</a>; <a name="l00086"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#2be8df0093e51b2ccb923e9d82bfae5a">00086</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1FixedArray.html">FixedArray<unsigned int,itkGetStaticConstMacro(ImageDimension2)></a> <a class="code" href="classitk_1_1FixedArray.html">OrderArrayType</a>; <a name="l00088"></a>00088 <a name="l00089"></a>00089 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1GaussianDerivativeOperator.html" title="A NeighborhoodOperator whose coefficients are a one dimensional, discrete derivative...">itk::GaussianDerivativeOperator</a><TOutput, <a name="l00090"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#9f3b512b241bd874daf9c4f5112c2216">00090</a> <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(ImageDimension2)> <a class="code" href="classitk_1_1GaussianDerivativeOperator.html" title="A NeighborhoodOperator whose coefficients are a one dimensional, discrete derivative...">GaussianDerivativeOperatorType</a>; <a name="l00091"></a>00091 <a name="l00093"></a>00093 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1FixedArray.html" title="Simulate a standard C array with copy semnatics.">FixedArray</a><<a class="code" href="classitk_1_1GaussianDerivativeOperator.html" title="A NeighborhoodOperator whose coefficients are a one dimensional, discrete derivative...">GaussianDerivativeOperatorType</a>, <a name="l00094"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#ecb29c58e6110f73fd6ecad738c7f714">00094</a> 2*<a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(ImageDimension2)> <a class="code" href="classitk_1_1FixedArray.html">GaussianDerivativeOperatorArrayType</a>; <a name="l00095"></a>00095 <a name="l00097"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#fe365055f028a530d9c7872e5ac785c4">00097</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Neighborhood.html">Neighborhood<TOutput,itkGetStaticConstMacro(ImageDimension2)></a> <a class="code" href="classitk_1_1Neighborhood.html">KernelType</a>; <a name="l00098"></a>00098 <a name="l00100"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#102a7be6f5c2a2319158c37ed2feba10">00100</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1FixedArray.html">FixedArray<KernelType,itkGetStaticConstMacro(ImageDimension2)></a> <a class="code" href="classitk_1_1FixedArray.html">KernelArrayType</a>; <a name="l00101"></a>00101 <a name="l00103"></a>00103 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1NeighborhoodOperatorImageFunction.html" title="Compute the convolution of a neighborhood operator with the image at a specific location...">NeighborhoodOperatorImageFunction</a> <a name="l00104"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#81bd1145ad17f092b9850950d02c6525">00104</a> <<a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">InputImageType</a>, TOutput> <a class="code" href="classitk_1_1NeighborhoodOperatorImageFunction.html" title="Compute the convolution of a neighborhood operator with the image at a specific location...">OperatorImageFunctionType</a>; <a name="l00105"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#a603fc67ac3462d5733cf7cbc62947eb">00105</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">OperatorImageFunctionType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">OperatorImageFunctionPointer</a>; <a name="l00106"></a>00106 <a name="l00108"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#5d189a3b4e40f39a75d05c6638b3f872eb5a6f39c74acdb2fb5c3c81e739bf9e">00108</a> <span class="keyword">enum</span> <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#5d189a3b4e40f39a75d05c6638b3f872">InterpolationModeType</a> { NearestNeighbourInterpolation, LinearInterpolation }; <a name="l00109"></a>00109 <a name="l00110"></a>00110 <span class="keyword">public</span>: <a name="l00111"></a>00111 <a name="l00113"></a>00113 <span class="keyword">virtual</span> OutputType Evaluate(<span class="keyword">const</span> PointType& point) <span class="keyword">const</span>; <a name="l00114"></a>00114 <a name="l00116"></a>00116 <span class="keyword">virtual</span> OutputType EvaluateAtIndex( <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> & index ) <span class="keyword">const</span>; <a name="l00117"></a>00117 <a name="l00119"></a>00119 <span class="keyword">virtual</span> OutputType EvaluateAtContinuousIndex( <a name="l00120"></a>00120 <span class="keyword">const</span> ContinuousIndexType & index ) <span class="keyword">const</span>; <a name="l00121"></a>00121 <a name="l00126"></a>00126 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Variance, VarianceArrayType); <a name="l00127"></a>00127 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(Variance, <span class="keyword">const</span> VarianceArrayType); <a name="l00128"></a>00128 <a class="code" href="itkMacro_8h.html#eff3a5968b6bfe273c369cdc16a838cb">itkSetVectorMacro</a>( Variance, <span class="keywordtype">double</span>, VarianceArrayType::Length ); <a name="l00130"></a>00130 <a name="l00132"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#1b8ce64b1a00920c0c49a56a1423fb2e">00132</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetVariance( <span class="keywordtype">double</span> variance ) <a name="l00133"></a>00133 { <a name="l00134"></a>00134 m_Variance.Fill( variance ); <a name="l00135"></a>00135 this->Modified(); <a name="l00136"></a>00136 } <a name="l00138"></a>00138 <a name="l00140"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#97f829d5dd0275ee0dd74e3d5b4e729a">00140</a> <span class="keywordtype">void</span> SetSigma( <span class="keyword">const</span> <span class="keywordtype">double</span> sigma ) <a name="l00141"></a>00141 { <a name="l00142"></a>00142 SetVariance( sigma * sigma ); <a name="l00143"></a>00143 } <a name="l00144"></a>00144 <a name="l00150"></a>00150 <a class="code" href="itkMacro_8h.html#5cefe2f514fdc24c2484af7849042f18">itkSetClampMacro</a>( MaximumError, <span class="keywordtype">double</span>, 0.00001, 0.99999 ); <a name="l00151"></a>00151 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( MaximumError, <span class="keywordtype">double</span> ); <a name="l00153"></a>00153 <a name="l00157"></a>00157 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( NormalizeAcrossScale, <span class="keywordtype">bool</span> ); <a name="l00158"></a>00158 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( NormalizeAcrossScale, <span class="keywordtype">bool</span> ); <a name="l00159"></a>00159 <a class="code" href="itkMacro_8h.html#9e7d129ffebb09fd28bc213e02d87248">itkBooleanMacro</a>( NormalizeAcrossScale ); <a name="l00161"></a>00161 <a name="l00163"></a>00163 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( UseImageSpacing, <span class="keywordtype">bool</span> ); <a name="l00164"></a>00164 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( UseImageSpacing, <span class="keywordtype">bool</span> ); <a name="l00165"></a>00165 <a class="code" href="itkMacro_8h.html#9e7d129ffebb09fd28bc213e02d87248">itkBooleanMacro</a>( UseImageSpacing ); <a name="l00167"></a>00167 <a name="l00172"></a>00172 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( MaximumKernelWidth, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ); <a name="l00173"></a>00173 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( MaximumKernelWidth, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ); <a name="l00175"></a>00175 <a name="l00177"></a>00177 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( InterpolationMode, InterpolationModeType ); <a name="l00178"></a>00178 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( InterpolationMode, InterpolationModeType ); <a name="l00180"></a>00180 <a name="l00185"></a>00185 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetInputImage( <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">InputImageType</a> * ptr ); <a name="l00186"></a>00186 <a name="l00189"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#5bf1c803ac7bb0dee2a4012da579e9bb">00189</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#5bf1c803ac7bb0dee2a4012da579e9bb">Initialize</a>( ) { RecomputeGaussianKernel(); } <a name="l00190"></a>00190 <a name="l00191"></a>00191 <span class="keyword">protected</span>: <a name="l00192"></a>00192 <a name="l00193"></a>00193 <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html" title="Compute the discrete gradient magnitude gaussian of an the image at a specific location...">DiscreteGradientMagnitudeGaussianImageFunction</a>(); <a name="l00194"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#284085b9bea7417a7e9b5fe381c94c69">00194</a> <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#284085b9bea7417a7e9b5fe381c94c69">DiscreteGradientMagnitudeGaussianImageFunction</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>& ){}; <a name="l00195"></a>00195 <a name="l00196"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#3960012fc33f928b465371bbecd336d5">00196</a> <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#3960012fc33f928b465371bbecd336d5">~DiscreteGradientMagnitudeGaussianImageFunction</a>(){}; <a name="l00197"></a>00197 <a name="l00198"></a><a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#0173425ff3a815e621442f931efa5145">00198</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1DiscreteGradientMagnitudeGaussianImageFunction.html#0173425ff3a815e621442f931efa5145">operator=</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>& ){}; <a name="l00199"></a>00199 <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="l00200"></a>00200 <a name="l00201"></a>00201 <span class="keywordtype">void</span> RecomputeGaussianKernel(); <a name="l00202"></a>00202 <span class="comment">// void RecomputeContinuousGaussianKernel(</span> <a name="l00203"></a>00203 <span class="comment">// const double* offset) const;</span> <a name="l00204"></a>00204 <a name="l00205"></a>00205 <span class="keyword">private</span>: <a name="l00206"></a>00206 <a name="l00208"></a>00208 VarianceArrayType m_Variance; <a name="l00209"></a>00209 <a name="l00212"></a>00212 <span class="keywordtype">double</span> m_MaximumError; <a name="l00213"></a>00213 <a name="l00217"></a>00217 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_MaximumKernelWidth; <a name="l00218"></a>00218 <a name="l00222"></a>00222 GaussianDerivativeOperatorArrayType m_OperatorArray; <a name="l00223"></a>00223 <a name="l00225"></a>00225 KernelArrayType m_KernelArray; <a name="l00226"></a>00226 <a name="l00228"></a>00228 OperatorImageFunctionPointer m_OperatorImageFunction; <a name="l00229"></a>00229 <a name="l00231"></a>00231 <span class="keywordtype">bool</span> m_NormalizeAcrossScale; <a name="l00232"></a>00232 <a name="l00234"></a>00234 <span class="keywordtype">bool</span> m_UseImageSpacing; <a name="l00235"></a>00235 <a name="l00237"></a>00237 InterpolationModeType m_InterpolationMode; <a name="l00238"></a>00238 <a name="l00239"></a>00239 }; <a name="l00240"></a>00240 <a name="l00241"></a>00241 } <span class="comment">// namespace itk</span> <a name="l00242"></a>00242 <a name="l00243"></a>00243 <span class="comment">// Define instantiation macro for this template.</span> <a name="l00244"></a><a class="code" href="itkDiscreteGradientMagnitudeGaussianImageFunction_8h.html#1759b65a817eb4fe42ec8627bc0ae15a">00244</a> <span class="preprocessor">#define ITK_TEMPLATE_DiscreteGradientMagnitudeGaussianImageFunction(_, EXPORT, x, y) namespace itk { \</span> <a name="l00245"></a>00245 <span class="preprocessor"> _(2(class EXPORT DiscreteGradientMagnitudeGaussianImageFunction< ITK_TEMPLATE_2 x >)) \</span> <a name="l00246"></a>00246 <span class="preprocessor"> namespace Templates { typedef DiscreteGradientMagnitudeGaussianImageFunction< ITK_TEMPLATE_2 x > \</span> <a name="l00247"></a>00247 <span class="preprocessor"> DiscreteGradientMagnitudeGaussianImageFunction##y; } \</span> <a name="l00248"></a>00248 <span class="preprocessor"> }</span> <a name="l00249"></a>00249 <span class="preprocessor"></span> <a name="l00250"></a>00250 <span class="preprocessor">#if ITK_TEMPLATE_EXPLICIT</span> <a name="l00251"></a>00251 <span class="preprocessor"></span><span class="preprocessor"># include "Templates/itkDiscreteGradientMagnitudeGaussianImageFunction+-.h"</span> <a name="l00252"></a>00252 <span class="preprocessor">#endif</span> <a name="l00253"></a>00253 <span class="preprocessor"></span> <a name="l00254"></a>00254 <span class="preprocessor">#if ITK_TEMPLATE_TXX</span> <a name="l00255"></a>00255 <span class="preprocessor"></span><span class="preprocessor"># include "itkDiscreteGradientMagnitudeGaussianImageFunction.txx"</span> <a name="l00256"></a>00256 <span class="preprocessor">#endif</span> <a name="l00257"></a>00257 <span class="preprocessor"></span> <a name="l00258"></a>00258 <span class="preprocessor">#endif</span> <a name="l00259"></a>00259 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 22:35:48 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>