Sophie

Sophie

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

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: itkGoodnessOfFitComponentBase.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_2c33022d19e8077162952ea9ed57656d.html">Numerics</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_e82fe55e9fab4124d6625d716e091a5f.html">Statistics</a>
  </div>
<div class="contents">
<h1>itkGoodnessOfFitComponentBase.h</h1><a href="itkGoodnessOfFitComponentBase_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: itkGoodnessOfFitComponentBase.h,v $</span>
<a name="l00005"></a>00005 <span class="comment">  Language:  C++</span>
<a name="l00006"></a>00006 <span class="comment">  Date:      $Date: 2005-07-26 15:54:56 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.9 $</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 __itkGoodnessOfFitComponentBase_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkGoodnessOfFitComponentBase_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkObject_8h.html">itkObject.h</a>"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkArray_8h.html">itkArray.h</a>"</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkHistogram_8h.html">itkHistogram.h</a>"</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkFunctionBase_8h.html">itkFunctionBase.h</a>"</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkNeighborhoodSampler_8h.html">itkNeighborhoodSampler.h</a>"</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkSampleToHistogramProjectionFilter_8h.html">itkSampleToHistogramProjectionFilter.h</a>"</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "vnl/vnl_matrix.h"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itkVariableSizeMatrix_8h.html">itkVariableSizeMatrix.h</a>"</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="keyword">namespace </span>itk{ 
<a name="l00030"></a>00030 <span class="keyword">namespace </span>Statistics{
<a name="l00031"></a>00031 
<a name="l00088"></a>00088 <span class="keyword">template</span>&lt; <span class="keyword">class</span> TInputSample &gt;
<a name="l00089"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html">00089</a> <span class="keyword">class </span><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html" title="provides component (module) type specific functionalities for GoodnessOfFitMixtureModelCostFunction...">GoodnessOfFitComponentBase</a> 
<a name="l00090"></a>00090   : <span class="keyword">public</span> <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Object</a> 
<a name="l00091"></a>00091 {
<a name="l00092"></a>00092 <span class="keyword">public</span>:
<a name="l00094"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#4daeab70b09c7f955aaad49b00eb72c5">00094</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html" title="provides component (module) type specific functionalities for GoodnessOfFitMixtureModelCostFunction...">GoodnessOfFitComponentBase</a> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>;
<a name="l00095"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#d2acd525a0221351066d1be17bb7ab3e">00095</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Object</a> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>;
<a name="l00096"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#67efaeb433b32ab0beb0b1d3b2918b99">00096</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="l00097"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#b86633502e117ae80212559808110c00">00097</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="l00098"></a>00098 
<a name="l00100"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#dd1f64181c81e47aab64f26830ca10ce">00100</a>   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html" title="provides component (module) type specific functionalities for GoodnessOfFitMixtureModelCostFunction...">GoodnessOfFitComponentBase</a>, <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Object</a>) ;
<a name="l00101"></a>00101 
<a name="l00103"></a>00103   <span class="keyword">typedef</span> TInputSample <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#dd1f64181c81e47aab64f26830ca10ce">InputSampleType</a> ;
<a name="l00104"></a>00104 
<a name="l00105"></a>00105   
<a name="l00107"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#f373c45e4e292fb4e05b23e5df73ae03">00107</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> TInputSample::MeasurementType <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#f373c45e4e292fb4e05b23e5df73ae03">MeasurementType</a> ;
<a name="l00108"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#4dbe2bae95556fdbdf27a92413cf7b5d">00108</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> TInputSample::MeasurementVectorType <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#4dbe2bae95556fdbdf27a92413cf7b5d">MeasurementVectorType</a> ;
<a name="l00109"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#6e424d44a7af6daa4d1b456e9a0a9c51">00109</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> TInputSample::MeasurementVectorSizeType <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#6e424d44a7af6daa4d1b456e9a0a9c51">MeasurementVectorSizeType</a>;
<a name="l00110"></a>00110 
<a name="l00112"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#7c635155603186d6e5b0adcddb67ec26">00112</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Statistics_1_1Subsample.html" title="This class stores a subset of instance identifiers from another sample object. You...">Subsample&lt; TInputSample &gt;</a> <a class="code" href="classitk_1_1Statistics_1_1Subsample.html" title="This class stores a subset of instance identifiers from another sample object. You...">ResampledSampleType</a> ;
<a name="l00113"></a>00113 
<a name="l00115"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#a0e27b566305f552a06bb144ab6f8e99">00115</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Statistics_1_1Histogram.html" title="This class stores measurement vectors in the context of n-dimensional histogram.">Histogram&lt; float, 1 &gt;</a> <a class="code" href="classitk_1_1Statistics_1_1Histogram.html" title="This class stores measurement vectors in the context of n-dimensional histogram.">HistogramType</a> ;
<a name="l00116"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#19c57313ebdbc203f9d74190d1fcc69e">00116</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">HistogramType::Pointer</a>         <a class="code" href="classitk_1_1SmartPointer.html">HistogramPointer</a> ;
<a name="l00117"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#48a1ef3370d014d956fdab034cbd5a02">00117</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">HistogramType::ConstPointer</a>    <a class="code" href="classitk_1_1SmartPointer.html">HistogramConstPointer</a> ;
<a name="l00118"></a>00118 
<a name="l00120"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#5c3d7138c8efe42d22bc844690aae6dd">00120</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Array.html">Array&lt; double &gt;</a>  <a class="code" href="classitk_1_1Array.html">ParametersType</a> ;
<a name="l00121"></a>00121 
<a name="l00124"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#545cce4dedc2a62a9e84633cc47702b6">00124</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Array.html">Array&lt; double &gt;</a>  <a class="code" href="classitk_1_1Array.html">CenterType</a>;
<a name="l00125"></a>00125 
<a name="l00127"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#e502973e0bccf0fc4c80188275250341">00127</a>   <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#e502973e0bccf0fc4c80188275250341">RadiusType</a> ;
<a name="l00128"></a>00128 
<a name="l00130"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#835aae173ecf8c9a7fa504d702937970">00130</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Array.html">Array&lt; double &gt;</a>   <a class="code" href="classitk_1_1Array.html">MeanType</a> ;
<a name="l00131"></a>00131 
<a name="l00132"></a>00132 
<a name="l00134"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#a510abd1f1e653eaf08f609ab2bfe6f5">00134</a>   <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#a510abd1f1e653eaf08f609ab2bfe6f5">StandardDeviationType</a> ;
<a name="l00135"></a>00135 
<a name="l00137"></a>00137   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#ce9ac84b88884b85527f19fc065c810b">SetInputSample</a>(<span class="keyword">const</span> TInputSample* sample) ;
<a name="l00138"></a>00138   <span class="keyword">const</span> TInputSample* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#908f42b3eaf1f9d678487043a7ec0828">GetInputSample</a>() <span class="keyword">const</span>;
<a name="l00140"></a>00140 
<a name="l00142"></a>00142   <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#64462088dfcd3d0d43ac70b005281183">GetNumberOfParameters</a>() <span class="keyword">const</span> = 0 ;
<a name="l00143"></a>00143 
<a name="l00145"></a>00145   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#4bac7a9c25f0c36629e748adc3047a08">SetParameters</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1Array.html">ParametersType</a> &amp;parameters) ;
<a name="l00146"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#66df6cd6aaab6136f9aebf894c7bc63c">00146</a>   <a class="code" href="classitk_1_1Array.html">ParametersType</a>* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#66df6cd6aaab6136f9aebf894c7bc63c">GetParameters</a>()
<a name="l00147"></a>00147   { <span class="keywordflow">return</span> m_Parameters ; }
<a name="l00149"></a>00149 
<a name="l00152"></a>00152   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#868829f847cf3b759b07a1a84147af74">SetUseExpectedHistogram</a>(<span class="keywordtype">bool</span> flag) ;
<a name="l00153"></a>00153 
<a name="l00155"></a>00155   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#0b78dc3aee61732e1218026cf939a7f6">SetHistogramNumberOfBins</a>(<span class="keywordtype">int</span> numberOfBins) ;
<a name="l00156"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#36ce93065bc137db7b06ee36c21a48ea">00156</a>   <span class="keywordtype">int</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#36ce93065bc137db7b06ee36c21a48ea">GetHistogramNumberOfBins</a>()
<a name="l00157"></a>00157   { <span class="keywordflow">return</span> m_HistogramNumberOfBins ; }
<a name="l00159"></a>00159 
<a name="l00163"></a>00163   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#db2cf73d49b69bc863a30f880afefea7">SetHistogramUseEquiProbableBins</a>(<span class="keywordtype">bool</span> flag) ;
<a name="l00164"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#0d1f830c4cf338d92e2cc53ba4d4cdcc">00164</a>   <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#0d1f830c4cf338d92e2cc53ba4d4cdcc">GetHistogramUseEquiProbableBins</a>()
<a name="l00165"></a>00165   { <span class="keywordflow">return</span> m_HistogramUseEquiProbableBins ; }
<a name="l00167"></a>00167 
<a name="l00169"></a>00169   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#87da078850c6a8583ea940f96c75faed">SetHistogramBinOverlap</a>(<span class="keywordtype">double</span> overlap) ;
<a name="l00170"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#628f7707ecb722e3a54012c8c73427ac">00170</a>   <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#628f7707ecb722e3a54012c8c73427ac">GetHistogramBinOverlap</a>()
<a name="l00171"></a>00171   { <span class="keywordflow">return</span> m_HistogramBinOverlap ; }
<a name="l00173"></a>00173 
<a name="l00176"></a>00176   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#349b5b543d1d9133a4d787acfd7621a8">SetHistogramExtent</a>(<span class="keywordtype">double</span> extent) ;
<a name="l00177"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#2a75e63803378214b43b63646ff0685c">00177</a>   <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#2a75e63803378214b43b63646ff0685c">GetHistogramExtent</a>()
<a name="l00178"></a>00178   { <span class="keywordflow">return</span> m_HistogramExtent ; }
<a name="l00180"></a>00180 
<a name="l00182"></a>00182   <span class="keyword">virtual</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#545cce4dedc2a62a9e84633cc47702b6">CenterType</a>* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#ddb193a8f3de7003b5573bd650be82dd">GetCenter</a>() = 0 ;
<a name="l00183"></a>00183 
<a name="l00185"></a>00185   <span class="keyword">virtual</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#e502973e0bccf0fc4c80188275250341">RadiusType</a>* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#0f3c39b4bc47205aff5313798e5f885e">GetRadius</a>() = 0 ;
<a name="l00186"></a>00186 
<a name="l00188"></a>00188   <span class="keyword">virtual</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#835aae173ecf8c9a7fa504d702937970">MeanType</a>* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#d9c2954aff82dd102f11ed352a88991d">GetMean</a>() = 0 ;
<a name="l00189"></a>00189 
<a name="l00191"></a>00191   <span class="keyword">virtual</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#e502973e0bccf0fc4c80188275250341">RadiusType</a>* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#e90cb64fe8fe798da6d73bd2795d15a7">GetStandardDeviation</a>() = 0 ;
<a name="l00192"></a>00192 
<a name="l00194"></a>00194   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#7be2c2b7326594cecf8ba893d4f9460a">CreateHistograms</a>() ;
<a name="l00195"></a>00195 
<a name="l00197"></a>00197   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#f8e4ff9d79c99e43c539190600a81b98">Resample</a>() ;
<a name="l00198"></a>00198 
<a name="l00200"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#8ecc236aadd7df655e10198b08da1c08">00200</a>   <a class="code" href="classitk_1_1Statistics_1_1Subsample.html" title="This class stores a subset of instance identifiers from another sample object. You...">ResampledSampleType</a>* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#8ecc236aadd7df655e10198b08da1c08">GetResampledSample</a>()
<a name="l00201"></a>00201   { <span class="keywordflow">return</span> m_Resampler-&gt;GetOutput() ; }
<a name="l00202"></a>00202 
<a name="l00204"></a>00204   <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#228cb56ec3c100c6f56e79a0bd176764">GetResampledSampleSize</a>() ;
<a name="l00205"></a>00205 
<a name="l00207"></a>00207   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#4ac5e0fd9a8706c96f5c193da679fe29">CalculateProjectionAxes</a>() = 0 ;
<a name="l00208"></a>00208 
<a name="l00211"></a>00211   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#27b5445062335695205911c4c03896bd">Project</a>(<span class="keywordtype">int</span> projectionAxisIndex) ;
<a name="l00212"></a>00212 
<a name="l00215"></a>00215   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#94f5c7f73c58445f986e928a9aa214aa">UpdateExpectedHistogram</a>() ;
<a name="l00216"></a>00216 
<a name="l00218"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#72f706024ea4f0db03c0994619fe1db8">00218</a>   <span class="keywordtype">double</span>* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#72f706024ea4f0db03c0994619fe1db8">GetTotalObservedScale</a>()
<a name="l00219"></a>00219   { <span class="keywordflow">return</span> &amp;m_TotalObservedScale ; } 
<a name="l00220"></a>00220 
<a name="l00222"></a>00222   <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#af711833f36504ee03cc786f34634b8f">GetCumulativeProbability</a>(<span class="keywordtype">double</span> x) 
<a name="l00223"></a>00223     <span class="keyword">const</span> = 0 ;
<a name="l00224"></a>00224 
<a name="l00227"></a>00227   <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#d1d4c72aeb873f3f2115c9d7eeee94a4">GetProbabilityDensity</a>(<a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#4dbe2bae95556fdbdf27a92413cf7b5d">MeasurementVectorType</a> &amp;measurements) 
<a name="l00228"></a>00228     <span class="keyword">const</span> = 0 ;
<a name="l00229"></a>00229 
<a name="l00231"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#8170f62d59530fd9b95b2bf45df07185">00231</a>   <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#8170f62d59530fd9b95b2bf45df07185">GetProportion</a>()<span class="keyword"> const</span>
<a name="l00232"></a>00232 <span class="keyword">  </span>{ <span class="keywordflow">return</span> m_Proportion ; }
<a name="l00233"></a>00233 
<a name="l00235"></a>00235   <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#a0e27b566305f552a06bb144ab6f8e99">HistogramType</a> *  <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#bbf9dabeac198e27700646edac018309">GetObservedHistogram</a>();
<a name="l00236"></a>00236 
<a name="l00238"></a>00238   <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#a0e27b566305f552a06bb144ab6f8e99">HistogramType</a> *  <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#a911362b34f4735d7417661f8e87b94a">GetExpectedHistogram</a>();
<a name="l00239"></a>00239 
<a name="l00241"></a>00241   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#e92efefccfcf9d079fbae381f6305cfa">PrintParameters</a>(std::ostream &amp;os) <span class="keyword">const</span> = 0 ;
<a name="l00242"></a>00242 
<a name="l00244"></a>00244   <span class="keyword">virtual</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#5c3d7138c8efe42d22bc844690aae6dd">ParametersType</a> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#74fed3c9222c60e769a3dbb2f17e39f0">GetFullParameters</a>() <span class="keyword">const</span> = 0 ;
<a name="l00245"></a>00245 
<a name="l00250"></a>00250   <a class="code" href="itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a>( MeasurementVectorSize, <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#6e424d44a7af6daa4d1b456e9a0a9c51">MeasurementVectorSizeType</a> );
<a name="l00251"></a>00251 
<a name="l00252"></a>00252 <span class="keyword">protected</span>:
<a name="l00253"></a>00253   <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#ccaa6b9ec764f105392b7e30a96c3c94">GoodnessOfFitComponentBase</a>() ;
<a name="l00254"></a>00254   <span class="keyword">virtual</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#49cb5c9d964364b4d454ad864e727209">~GoodnessOfFitComponentBase</a>() ;
<a name="l00255"></a>00255   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#d40d376c78738fc4dc8f74c3005b7099">PrintSelf</a>(std::ostream&amp; 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="l00256"></a>00256 
<a name="l00258"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#1b22e51613cf80d14383d00d10e658d0">00258</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Statistics_1_1NeighborhoodSampler.html" title="generates a Subsample that is sampled from the input sample using a spherical kernel...">NeighborhoodSampler&lt; TInputSample &gt;</a> <a class="code" href="classitk_1_1Statistics_1_1NeighborhoodSampler.html" title="generates a Subsample that is sampled from the input sample using a spherical kernel...">ResamplerType</a> ;
<a name="l00259"></a>00259 
<a name="l00261"></a>00261   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Statistics_1_1SampleToHistogramProjectionFilter.html" title="projects measurement vectors on to an axis to generate an 1D histogram.">SampleToHistogramProjectionFilter&lt; ResampledSampleType, float &gt;</a> 
<a name="l00262"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#04d602861529e1dc084aae8f7eb246fa">00262</a>   <a class="code" href="classitk_1_1Statistics_1_1SampleToHistogramProjectionFilter.html" title="projects measurement vectors on to an axis to generate an 1D histogram.">ProjectorType</a> ;
<a name="l00263"></a>00263 
<a name="l00264"></a>00264   
<a name="l00268"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#286cebea47ed505bab2c95216b8e09a2">00268</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1VariableSizeMatrix.html">VariableSizeMatrix&lt; double &gt;</a> <a class="code" href="classitk_1_1VariableSizeMatrix.html">ProjectionAxisArrayType</a>;
<a name="l00269"></a>00269 
<a name="l00270"></a>00270 
<a name="l00271"></a><a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#4c8bf7ca506094e8a343cd91f1769eaf">00271</a>   <a class="code" href="classitk_1_1VariableSizeMatrix.html">ProjectionAxisArrayType</a>* <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#4c8bf7ca506094e8a343cd91f1769eaf">GetProjectionAxes</a>()
<a name="l00272"></a>00272   { <span class="keywordflow">return</span> &amp;m_ProjectionAxes ; }
<a name="l00273"></a>00273 
<a name="l00275"></a>00275   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#56a717fc13db43c4b40b8129209d26d8">CreateEquiRangeBins</a>() ;
<a name="l00276"></a>00276 
<a name="l00279"></a>00279   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#206ab3a445116746553f138eafc7be20">CreateEquiProbableBins</a>() ;
<a name="l00280"></a>00280 
<a name="l00281"></a>00281 <span class="keyword">private</span>:
<a name="l00283"></a>00283   <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#6e424d44a7af6daa4d1b456e9a0a9c51">MeasurementVectorSizeType</a> m_MeasurementVectorSize;
<a name="l00284"></a>00284 
<a name="l00285"></a>00285   <span class="keyword">const</span> TInputSample* m_InputSample ;
<a name="l00286"></a>00286   <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#5c3d7138c8efe42d22bc844690aae6dd">ParametersType</a> m_Parameters ;
<a name="l00287"></a>00287 
<a name="l00289"></a>00289   <span class="keyword">typename</span> <a class="code" href="classitk_1_1Statistics_1_1NeighborhoodSampler.html#56976146a083b5b1c3df41ff72d54384">ResamplerType::Pointer</a> m_Resampler ;
<a name="l00290"></a>00290   <span class="keyword">typename</span> <a class="code" href="classitk_1_1Statistics_1_1SampleToHistogramProjectionFilter.html#c90a29f9374c12ce826202f22311d973">ProjectorType::Pointer</a> m_Projector ;
<a name="l00291"></a>00291 
<a name="l00292"></a>00292   <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#286cebea47ed505bab2c95216b8e09a2">ProjectionAxisArrayType</a> m_ProjectionAxes ;
<a name="l00293"></a>00293 
<a name="l00295"></a>00295   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_HistogramNumberOfBins ;
<a name="l00296"></a>00296   <span class="keywordtype">bool</span> m_HistogramUseEquiProbableBins ;
<a name="l00297"></a>00297   <span class="keywordtype">double</span> m_HistogramExtent ;
<a name="l00298"></a>00298   <span class="keywordtype">double</span> m_HistogramBinOverlap ;
<a name="l00299"></a>00299   <span class="keywordtype">bool</span> m_HistogramSizeChanged ;
<a name="l00300"></a>00300 
<a name="l00302"></a>00302   <span class="keywordtype">double</span> m_TotalObservedScale ;
<a name="l00303"></a>00303   <span class="keywordtype">double</span> m_HistogramMean ;
<a name="l00304"></a>00304   <span class="keywordtype">double</span> m_HistogramStandardDeviation  ;
<a name="l00305"></a>00305 
<a name="l00306"></a>00306   <span class="keywordtype">double</span> m_Proportion ;
<a name="l00307"></a>00307 
<a name="l00309"></a>00309   <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#19c57313ebdbc203f9d74190d1fcc69e">HistogramPointer</a> m_ObservedHistogram ;
<a name="l00310"></a>00310   <a class="code" href="classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html#19c57313ebdbc203f9d74190d1fcc69e">HistogramPointer</a> m_ExpectedHistogram ;
<a name="l00311"></a>00311   <span class="keywordtype">bool</span> m_UseExpectedHistogram ;
<a name="l00312"></a>00312 
<a name="l00313"></a>00313 } ; <span class="comment">// end of class</span>
<a name="l00314"></a>00314 
<a name="l00315"></a>00315 } <span class="comment">// end of namespace Statistics </span>
<a name="l00316"></a>00316 } <span class="comment">// end of namespace itk</span>
<a name="l00317"></a>00317 
<a name="l00318"></a>00318 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span>
<a name="l00319"></a>00319 <span class="preprocessor"></span><span class="preprocessor">#include "itkGoodnessOfFitComponentBase.txx"</span>
<a name="l00320"></a>00320 <span class="preprocessor">#endif</span>
<a name="l00321"></a>00321 <span class="preprocessor"></span>
<a name="l00322"></a>00322 <span class="preprocessor">#endif</span>
<a name="l00323"></a>00323 <span class="preprocessor"></span>
<a name="l00324"></a>00324 
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 22:49:39 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>