Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d5e74628f0e673bb8680aebce32b2c04 > files > 16785

itk-doc-3.12.0-1mdv2010.0.i586.rpm

<!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: itkOptMattesMutualInformationImageToImageMetric.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>&nbsp;&nbsp; 
<a href="modules.html" class="qindex">Groups</a>&nbsp;&nbsp;
<a href="namespaces.html" class="qindex">Namespace List</a>&nbsp;&nbsp;
<a href="hierarchy.html" class="qindex">Class Hierarchy</a>&nbsp;&nbsp;
<a href="classes.html" class="qindex">Alphabetical List</a>&nbsp;&nbsp;
<a href="annotated.html" class="qindex">Compound List</a>&nbsp;&nbsp; 
<a href="files.html" class="qindex">File
List</a>&nbsp;&nbsp; 
<a href="namespacemembers.html" class="qindex">Namespace Members</a>&nbsp;&nbsp; 
<a href="functions.html" class="qindex">Compound Members</a>&nbsp;&nbsp; 
<a href="globals.html" class="qindex">File Members</a>&nbsp;&nbsp;
<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>&nbsp;&raquo&nbsp;<a class="el" href="dir_dd352b1cbb04f9ff09fa5f33693fed9f.html">Review</a>
  </div>
<div class="contents">
<h1>itkOptMattesMutualInformationImageToImageMetric.h</h1><a href="itkOptMattesMutualInformationImageToImageMetric_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 &amp; Registration Toolkit</span>
<a name="l00004"></a>00004 <span class="comment">  Module:    $RCSfile: itkOptMattesMutualInformationImageToImageMetric.h,v $</span>
<a name="l00005"></a>00005 <span class="comment">  Language:  C++</span>
<a name="l00006"></a>00006 <span class="comment">  Date:      $Date: 2008-04-03 12:34:38 $</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 __itkOptMattesMutualInformationImageToImageMetric_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkOptMattesMutualInformationImageToImageMetric_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkOptImageToImageMetric_8h.html">itkOptImageToImageMetric.h</a>"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkCovariantVector_8h.html">itkCovariantVector.h</a>"</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkPoint_8h.html">itkPoint.h</a>"</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkIndex_8h.html">itkIndex.h</a>"</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkBSplineKernelFunction_8h.html">itkBSplineKernelFunction.h</a>"</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkBSplineDerivativeKernelFunction_8h.html">itkBSplineDerivativeKernelFunction.h</a>"</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkCentralDifferenceImageFunction_8h.html">itkCentralDifferenceImageFunction.h</a>"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itkBSplineInterpolateImageFunction_8h.html">itkBSplineInterpolateImageFunction.h</a>"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="itkBSplineDeformableTransform_8h.html">itkBSplineDeformableTransform.h</a>"</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="itkArray2D_8h.html">itkArray2D.h</a>"</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="itkMultiThreader_8h.html">itkMultiThreader.h</a>"</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">namespace </span>itk
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035 
<a name="l00116"></a>00116 <span class="keyword">template</span> &lt;<span class="keyword">class</span> TFixedImage,<span class="keyword">class</span> TMovingImage &gt;
<a name="l00117"></a>00117 <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> MattesMutualInformationImageToImageMetric :
<a name="l00118"></a>00118     <span class="keyword">public</span> ImageToImageMetric&lt; TFixedImage, TMovingImage &gt;
<a name="l00119"></a>00119 {
<a name="l00120"></a>00120 <span class="keyword">public</span>:
<a name="l00121"></a>00121 
<a name="l00123"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#78a8b5a1cf678b291c29ba3975992dce">00123</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html" title="Computes the mutual information between two images to be registered using the method...">MattesMutualInformationImageToImageMetric</a>           <a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html" title="Computes the mutual information between two images to be registered using the method...">Self</a>;
<a name="l00124"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#32de1a2863712cc5042dbf6c929be99b">00124</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageToImageMetric.html">ImageToImageMetric&lt; TFixedImage, TMovingImage &gt;</a>     <a class="code" href="classitk_1_1ImageToImageMetric.html">Superclass</a>;
<a name="l00125"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#5b7e9cdf3ae6c150523d4d586ea2468e">00125</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer&lt;Self&gt;</a>                                  <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>;
<a name="l00126"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#5308ed89359712baf3ed13a8a70edacd">00126</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer&lt;const Self&gt;</a>                            <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>;
<a name="l00127"></a>00127 
<a name="l00129"></a>00129   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html" title="Computes the mutual information between two images to be registered using the method...">Self</a>);
<a name="l00130"></a>00130 
<a name="l00132"></a>00132   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html" title="Computes the mutual information between two images to be registered using the method...">MattesMutualInformationImageToImageMetric</a>,
<a name="l00133"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#b44469c2144c81e1619896544954462b">00133</a>                <a class="code" href="classitk_1_1ImageToImageMetric.html" title="Computes similarity between regions of two images.">ImageToImageMetric</a>);
<a name="l00134"></a>00134 
<a name="l00136"></a>00136   <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.">Superclass::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="l00137"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#f5f61c15dedb3aa1895182f05c35de82">00137</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">Superclass::TransformPointer</a>         <a class="code" href="classitk_1_1SmartPointer.html">TransformPointer</a>;
<a name="l00138"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#54d42367c0cdc0cff1b66d663d07cd74">00138</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Array2D.html">Superclass::TransformJacobianType</a>    <a class="code" href="classitk_1_1Array2D.html">TransformJacobianType</a>;
<a name="l00139"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#49a85b63db64e41dae16538d813a66ce">00139</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.">Superclass::InterpolatorType</a>         <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolatorType</a>;
<a name="l00140"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#7d0af654ad8564e6bc1420fb79626b2d">00140</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::MeasureType              MeasureType;
<a name="l00141"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#db37dd7446e9f6556dfa7f145a5d3867">00141</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Array.html">Superclass::DerivativeType</a>           <a class="code" href="classitk_1_1Array.html">DerivativeType</a>;
<a name="l00142"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#e5ec4764ae33a48d9b189c36828acaf2">00142</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">Superclass::ParametersType</a>           <a class="code" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">ParametersType</a>;
<a name="l00143"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#209424000a446e522759a8b522145d15">00143</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::FixedImageType           FixedImageType;
<a name="l00144"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#a6d4d5745e98a3a2fb8dc034b4846941">00144</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::MovingImageType          MovingImageType;
<a name="l00145"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#c039d3fbef94e2f1c767039c36a82eaf">00145</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.">Superclass::MovingImagePointType</a>     <a class="code" href="classitk_1_1Point.html" title="A templated class holding a geometric point in n-Dimensional space.">MovingImagePointType</a>;
<a name="l00146"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#c6daedc18ab428c855e0600aed68b021">00146</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::FixedImageConstPointer   FixedImageConstPointer;
<a name="l00147"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#9ab95f5551965e19647ca072b3f2dcef">00147</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::MovingImageConstPointer  MovingImageConstPointer;
<a name="l00148"></a>00148   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Array.html">Superclass::BSplineTransformWeightsType</a>
<a name="l00149"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#5e820cfb72eeccfa0962a6ee32341981">00149</a>                                                         <a class="code" href="classitk_1_1Array.html">BSplineTransformWeightsType</a>;
<a name="l00150"></a>00150   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Array.html">Superclass::BSplineTransformIndexArrayType</a>
<a name="l00151"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#21367383708cc4e5aa8bc96269f9d314">00151</a>                                                         <a class="code" href="classitk_1_1Array.html">BSplineTransformIndexArrayType</a>;
<a name="l00152"></a>00152 
<a name="l00153"></a>00153   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::CoordinateRepresentationType
<a name="l00154"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#b8fda213fcf8647631dafacb3badb607">00154</a>                                                    CoordinateRepresentationType;
<a name="l00155"></a>00155   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::FixedImageSampleContainer   
<a name="l00156"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#f8675359c3b14438a4be42b7acdc90f4">00156</a>                                                       FixedImageSampleContainer;
<a name="l00157"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#0a2a6b7c59b3e490902b6910979329ae">00157</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">Superclass::ImageDerivativesType</a>     <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">ImageDerivativesType</a>;
<a name="l00158"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#3e71265049df972824cc56305e6397a1">00158</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::WeightsValueType         WeightsValueType;
<a name="l00159"></a><a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html#aefce0806e159fc17aa0212c3ebccf60">00159</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::IndexValueType           IndexValueType;
<a name="l00160"></a>00160 
<a name="l00162"></a>00162   <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>( MovingImageDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,
<a name="l00163"></a>00163                        MovingImageType::ImageDimension );
<a name="l00164"></a>00164 
<a name="l00172"></a>00172   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Initialize(<span class="keywordtype">void</span>) throw ( ExceptionObject );
<a name="l00173"></a>00173 
<a name="l00175"></a>00175   MeasureType GetValue( const <a class="code" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">ParametersType</a> &amp; parameters ) const;
<a name="l00176"></a>00176 
<a name="l00178"></a>00178   <span class="keywordtype">void</span> GetDerivative( const <a class="code" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">ParametersType</a> &amp; parameters,
<a name="l00179"></a>00179                       <a class="code" href="classitk_1_1Array.html">DerivativeType</a> &amp; Derivative ) const;
<a name="l00180"></a>00180 
<a name="l00182"></a>00182   <span class="keywordtype">void</span> GetValueAndDerivative( const <a class="code" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">ParametersType</a> &amp; parameters, 
<a name="l00183"></a>00183                               MeasureType &amp; Value,
<a name="l00184"></a>00184                               <a class="code" href="classitk_1_1Array.html">DerivativeType</a> &amp; Derivative ) const;
<a name="l00185"></a>00185 
<a name="l00187"></a>00187   <a class="code" href="itkMacro_8h.html#5cefe2f514fdc24c2484af7849042f18">itkSetClampMacro</a>( NumberOfHistogramBins, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>,
<a name="l00188"></a>00188                     1, NumericTraits&lt;<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>&gt;::max() );
<a name="l00189"></a>00189   <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( NumberOfHistogramBins, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>);   
<a name="l00191"></a>00191 
<a name="l00216"></a>00216   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(UseExplicitPDFDerivatives,<span class="keywordtype">bool</span>);
<a name="l00217"></a>00217   <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>(UseExplicitPDFDerivatives,<span class="keywordtype">bool</span>);
<a name="l00218"></a>00218   <a class="code" href="itkMacro_8h.html#9e7d129ffebb09fd28bc213e02d87248">itkBooleanMacro</a>(UseExplicitPDFDerivatives);
<a name="l00220"></a>00220 
<a name="l00221"></a>00221 protected:
<a name="l00222"></a>00222 
<a name="l00223"></a>00223   <a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html" title="Computes the mutual information between two images to be registered using the method...">MattesMutualInformationImageToImageMetric</a>();
<a name="l00224"></a>00224   virtual ~MattesMutualInformationImageToImageMetric();
<a name="l00225"></a>00225   <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream&amp; os, <a class="code" href="classitk_1_1Indent.html" title="Control indentation during Print() invocation.">Indent</a> indent) const;
<a name="l00226"></a>00226 
<a name="l00227"></a>00227 private:
<a name="l00228"></a>00228 
<a name="l00229"></a>00229   <span class="comment">//purposely not implemented</span>
<a name="l00230"></a>00230   MattesMutualInformationImageToImageMetric(const <a class="code" href="classitk_1_1MattesMutualInformationImageToImageMetric.html" title="Computes the mutual information between two images to be registered using the method...">Self</a> &amp;); 
<a name="l00231"></a>00231   <span class="comment">//purposely not implemented</span>
<a name="l00232"></a>00232   <span class="keywordtype">void</span> operator=(const Self &amp;); 
<a name="l00233"></a>00233 
<a name="l00234"></a>00234 
<a name="l00236"></a>00236   typedef <span class="keywordtype">float</span>                       PDFValueType;
<a name="l00237"></a>00237   typedef <span class="keywordtype">float</span> *                     MarginalPDFType;
<a name="l00238"></a>00238 
<a name="l00239"></a>00239   mutable MarginalPDFType             m_FixedImageMarginalPDF;
<a name="l00240"></a>00240 
<a name="l00242"></a>00242   mutable MarginalPDFType             m_MovingImageMarginalPDF;
<a name="l00243"></a>00243 
<a name="l00245"></a>00245   typedef <span class="keywordtype">double</span>                      PRatioType;
<a name="l00246"></a>00246   typedef <a class="code" href="classitk_1_1Array2D.html" title="Array2D class representing a 2D array with size defined at construction time.">Array2D</a>&lt; PRatioType &gt;       <a class="code" href="classitk_1_1Array2D.html">PRatioArrayType</a>;
<a name="l00247"></a>00247   mutable PRatioArrayType             m_PRatioArray;
<a name="l00248"></a>00248 
<a name="l00250"></a>00250   mutable <a class="code" href="classitk_1_1Array.html">DerivativeType</a>              m_MetricDerivative;
<a name="l00251"></a>00251   mutable <a class="code" href="classitk_1_1Array.html">DerivativeType</a>            * m_ThreaderMetricDerivative;
<a name="l00252"></a>00252 
<a name="l00254"></a>00254   typedef <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>&lt;PDFValueType,2&gt;                 <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">JointPDFType</a>;
<a name="l00255"></a>00255   typedef <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>&lt;PDFValueType,3&gt;                 <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">JointPDFDerivativesType</a>;
<a name="l00256"></a>00256   typedef JointPDFType::<a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>               JointPDFIndexType;
<a name="l00257"></a>00257   typedef JointPDFType::PixelType               JointPDFValueType;
<a name="l00258"></a>00258   typedef JointPDFType::<a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a>              JointPDFRegionType;
<a name="l00259"></a>00259   typedef JointPDFType::<a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>                JointPDFSizeType;
<a name="l00260"></a>00260   typedef JointPDFDerivativesType::<a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>    JointPDFDerivativesIndexType;
<a name="l00261"></a>00261   typedef JointPDFDerivativesType::PixelType    JointPDFDerivativesValueType;
<a name="l00262"></a>00262   typedef JointPDFDerivativesType::<a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a>   JointPDFDerivativesRegionType;
<a name="l00263"></a>00263   typedef JointPDFDerivativesType::<a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>     JointPDFDerivativesSizeType;
<a name="l00264"></a>00264 
<a name="l00266"></a>00266   typename JointPDFType::<a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>                m_JointPDF;
<a name="l00267"></a>00267   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>                                 m_JointPDFBufferSize;
<a name="l00268"></a>00268   typename JointPDFDerivativesType::<a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>     m_JointPDFDerivatives;
<a name="l00269"></a>00269   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>                                 m_JointPDFDerivativesBufferSize;
<a name="l00270"></a>00270 
<a name="l00272"></a>00272   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>  m_NumberOfHistogramBins;
<a name="l00273"></a>00273   <span class="keywordtype">double</span>         m_MovingImageNormalizedMin;
<a name="l00274"></a>00274   <span class="keywordtype">double</span>         m_FixedImageNormalizedMin;
<a name="l00275"></a>00275   <span class="keywordtype">double</span>         m_FixedImageTrueMin;
<a name="l00276"></a>00276   <span class="keywordtype">double</span>         m_FixedImageTrueMax;
<a name="l00277"></a>00277   <span class="keywordtype">double</span>         m_MovingImageTrueMin;
<a name="l00278"></a>00278   <span class="keywordtype">double</span>         m_MovingImageTrueMax;
<a name="l00279"></a>00279   <span class="keywordtype">double</span>         m_FixedImageBinSize;
<a name="l00280"></a>00280   <span class="keywordtype">double</span>         m_MovingImageBinSize;
<a name="l00281"></a>00281 
<a name="l00283"></a>00283   typedef <a class="code" href="classitk_1_1BSplineKernelFunction.html" title="BSpline kernel used for density estimation and nonparameteric regression.">BSplineKernelFunction</a>&lt;3&gt;           <a class="code" href="classitk_1_1BSplineKernelFunction.html" title="BSpline kernel used for density estimation and nonparameteric regression.">CubicBSplineFunctionType</a>;
<a name="l00284"></a>00284   typedef <a class="code" href="classitk_1_1BSplineDerivativeKernelFunction.html" title="Derivative of a BSpline kernel used for density estimation and nonparameteric regression...">BSplineDerivativeKernelFunction</a>&lt;3&gt; <a class="code" href="classitk_1_1BSplineDerivativeKernelFunction.html" title="Derivative of a BSpline kernel used for density estimation and nonparameteric regression...">CubicBSplineDerivativeFunctionType</a>;
<a name="l00285"></a>00285 
<a name="l00287"></a>00287   typename CubicBSplineFunctionType::<a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>   m_CubicBSplineKernel;
<a name="l00288"></a>00288   typename CubicBSplineDerivativeFunctionType::<a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>   
<a name="l00289"></a>00289                                                m_CubicBSplineDerivativeKernel;
<a name="l00290"></a>00290 
<a name="l00292"></a>00292   virtual <span class="keywordtype">void</span> ComputeFixedImageParzenWindowIndices( 
<a name="l00293"></a>00293                                          FixedImageSampleContainer &amp; samples );
<a name="l00294"></a>00294 
<a name="l00296"></a>00296   virtual <span class="keywordtype">void</span> ComputePDFDerivatives( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadID,
<a name="l00297"></a>00297                                       <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> sampleNumber,
<a name="l00298"></a>00298                                       <span class="keywordtype">int</span> movingImageParzenWindowIndex,
<a name="l00299"></a>00299                                       const <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">ImageDerivativesType</a>
<a name="l00300"></a>00300                                               &amp;  movingImageGradientValue,
<a name="l00301"></a>00301                                       <span class="keywordtype">double</span> cubicBSplineDerivativeValue 
<a name="l00302"></a>00302                                       ) const;
<a name="l00303"></a>00303 
<a name="l00304"></a>00304   PDFValueType                                * m_ThreaderFixedImageMarginalPDF;
<a name="l00305"></a>00305   typename JointPDFType::<a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>              * m_ThreaderJointPDF;
<a name="l00306"></a>00306   typename JointPDFDerivativesType::<a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>   * m_ThreaderJointPDFDerivatives;
<a name="l00307"></a>00307   <span class="keywordtype">int</span>                                         * m_ThreaderJointPDFStartBin;
<a name="l00308"></a>00308   <span class="keywordtype">int</span>                                         * m_ThreaderJointPDFEndBin;
<a name="l00309"></a>00309   mutable <span class="keywordtype">double</span>                              * m_ThreaderJointPDFSum;
<a name="l00310"></a>00310   mutable <span class="keywordtype">double</span>                                m_JointPDFSum;
<a name="l00311"></a>00311 
<a name="l00312"></a>00312   <span class="keywordtype">bool</span>                                          m_UseExplicitPDFDerivatives;
<a name="l00313"></a>00313   mutable <span class="keywordtype">bool</span>                                  m_ImplicitDerivativesSecondPass;
<a name="l00314"></a>00314 
<a name="l00315"></a>00315 
<a name="l00316"></a>00316   inline <span class="keywordtype">void</span> GetValueThreadPreProcess( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadID,
<a name="l00317"></a>00317                                         <span class="keywordtype">bool</span> withinSampleThread ) const;
<a name="l00318"></a>00318   inline <span class="keywordtype">bool</span> GetValueThreadProcessSample( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadID,
<a name="l00319"></a>00319                                        <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> fixedImageSample,
<a name="l00320"></a>00320                                        const <a class="code" href="classitk_1_1Point.html" title="A templated class holding a geometric point in n-Dimensional space.">MovingImagePointType</a> &amp; mappedPoint,
<a name="l00321"></a>00321                                        <span class="keywordtype">double</span> movingImageValue ) const;
<a name="l00322"></a>00322   inline <span class="keywordtype">void</span> GetValueThreadPostProcess( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadID,
<a name="l00323"></a>00323                                         <span class="keywordtype">bool</span> withinSampleThread ) const;
<a name="l00324"></a>00324 
<a name="l00325"></a>00325   inline <span class="keywordtype">void</span> GetValueAndDerivativeThreadPreProcess( 
<a name="l00326"></a>00326                                        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadID,
<a name="l00327"></a>00327                                        <span class="keywordtype">bool</span> withinSampleThread ) const;
<a name="l00328"></a>00328   inline <span class="keywordtype">bool</span> GetValueAndDerivativeThreadProcessSample( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadID,
<a name="l00329"></a>00329                                        <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> fixedImageSample,
<a name="l00330"></a>00330                                        const <a class="code" href="classitk_1_1Point.html" title="A templated class holding a geometric point in n-Dimensional space.">MovingImagePointType</a> &amp; mappedPoint,
<a name="l00331"></a>00331                                        <span class="keywordtype">double</span> movingImageValue,
<a name="l00332"></a>00332                                        const <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">ImageDerivativesType</a> &amp;
<a name="l00333"></a>00333                                                movingImageGradientValue ) const;
<a name="l00334"></a>00334   inline <span class="keywordtype">void</span> GetValueAndDerivativeThreadPostProcess( 
<a name="l00335"></a>00335                                        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> threadID,
<a name="l00336"></a>00336                                        <span class="keywordtype">bool</span> withinSampleThread ) const;
<a name="l00337"></a>00337 
<a name="l00338"></a>00338 };
<a name="l00339"></a>00339 
<a name="l00340"></a>00340 } <span class="comment">// end namespace itk</span>
<a name="l00341"></a>00341 
<a name="l00342"></a>00342 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span>
<a name="l00343"></a>00343 <span class="preprocessor"></span><span class="preprocessor">#include "itkOptMattesMutualInformationImageToImageMetric.txx"</span>
<a name="l00344"></a>00344 <span class="preprocessor">#endif</span>
<a name="l00345"></a>00345 <span class="preprocessor"></span>
<a name="l00346"></a>00346 <span class="preprocessor">#endif</span>
<a name="l00347"></a>00347 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 23:45:02 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>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>