Sophie

Sophie

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

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: itkImageKmeansModelEstimator.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_16b0d2d22c345042f35cebae66b36010.html">Algorithms</a>
  </div>
<div class="contents">
<h1>itkImageKmeansModelEstimator.h</h1><a href="itkImageKmeansModelEstimator_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: itkImageKmeansModelEstimator.h,v $</span>
<a name="l00005"></a>00005 <span class="comment">  Language:  C++</span>
<a name="l00006"></a>00006 <span class="comment">  Date:      $Date: 2009-01-24 20:02:54 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.11 $</span>
<a name="l00008"></a>00008 <span class="comment"></span>
<a name="l00009"></a>00009 <span class="comment">  Copyright (c) Insight Software Consortium. All rights reserved.</span>
<a name="l00010"></a>00010 <span class="comment">  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.</span>
<a name="l00011"></a>00011 <span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">     This software is distributed WITHOUT ANY WARRANTY; without even </span>
<a name="l00013"></a>00013 <span class="comment">     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR </span>
<a name="l00014"></a>00014 <span class="comment">     PURPOSE.  See the above copyright notices for more information.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">=========================================================================*/</span>
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __itkImageKmeansModelEstimator_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkImageKmeansModelEstimator_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;time.h&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;math.h&gt;</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;float.h&gt;</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#include "vnl/vnl_vector.h"</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include "vnl/vnl_matrix.h"</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "vnl/vnl_math.h"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "vnl/algo/vnl_matrix_inverse.h"</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="itkImageRegionIterator_8h.html">itkImageRegionIterator.h</a>"</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="itkImageRegionConstIterator_8h.html">itkImageRegionConstIterator.h</a>"</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="itkExceptionObject_8h.html">itkExceptionObject.h</a>"</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="itkImageModelEstimatorBase_8h.html">itkImageModelEstimatorBase.h</a>"</span>
<a name="l00034"></a>00034 
<a name="l00035"></a><a class="code" href="itkImageKmeansModelEstimator_8h.html#b1dee63abf71f864b5d3ed67887b6d9d">00035</a> <span class="preprocessor">#define  ONEBAND           1</span>
<a name="l00036"></a><a class="code" href="itkImageKmeansModelEstimator_8h.html#ea5b145bf59b90779729d84d378afa0c">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define  GLA_CONVERGED     1</span>
<a name="l00037"></a><a class="code" href="itkImageKmeansModelEstimator_8h.html#08368050528e0e446b3a877c23d6e814">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define  GLA_NOT_CONVERGED 2</span>
<a name="l00038"></a><a class="code" href="itkImageKmeansModelEstimator_8h.html#12a8363855363fd97b33cb33689f7e5f">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define  LBG_COMPLETED     3</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00040"></a>00040 <span class="keyword">namespace </span>itk
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042 
<a name="l00125"></a>00125 <span class="keyword">template</span> &lt;<span class="keyword">class </span>TInputImage, 
<a name="l00126"></a>00126           <span class="keyword">class </span>TMembershipFunction&gt;
<a name="l00127"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html">00127</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1ImageKmeansModelEstimator.html" title="Base class for ImageKmeansModelEstimator object.">ImageKmeansModelEstimator</a>: 
<a name="l00128"></a>00128     <span class="keyword">public</span> <a class="code" href="classitk_1_1ImageModelEstimatorBase.html" title="Base class for model estimation from images used for classification.">ImageModelEstimatorBase</a>&lt;TInputImage, TMembershipFunction&gt;
<a name="l00129"></a>00129 {
<a name="l00130"></a>00130 <span class="keyword">public</span>:
<a name="l00132"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#7cdd3523eadc53c4a726e8e17a2b43c6">00132</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageKmeansModelEstimator.html" title="Base class for ImageKmeansModelEstimator object.">ImageKmeansModelEstimator</a>   <a class="code" href="classitk_1_1ImageKmeansModelEstimator.html" title="Base class for ImageKmeansModelEstimator object.">Self</a>;
<a name="l00133"></a>00133   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageModelEstimatorBase.html">ImageModelEstimatorBase&lt;TInputImage, TMembershipFunction&gt;</a>
<a name="l00134"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#63be602ba244dd99e15b043d0b844adf">00134</a>                                       <a class="code" href="classitk_1_1ImageModelEstimatorBase.html">Superclass</a>;
<a name="l00135"></a>00135 
<a name="l00136"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#087c13b932860053eb794d6b8b40ffcd">00136</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="l00137"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#6381dad49d22f95e3fe7f63948821163">00137</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="l00138"></a>00138 
<a name="l00140"></a>00140   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1ImageKmeansModelEstimator.html" title="Base class for ImageKmeansModelEstimator object.">Self</a>);
<a name="l00141"></a>00141 
<a name="l00143"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#aed8380a159b75d128cd7d4c38caac88">00143</a>   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1ImageKmeansModelEstimator.html" title="Base class for ImageKmeansModelEstimator object.">ImageKmeansModelEstimator</a>, <a class="code" href="classitk_1_1ImageModelEstimatorBase.html" title="Base class for model estimation from images used for classification.">ImageModelEstimatorBase</a>);
<a name="l00144"></a>00144 
<a name="l00146"></a>00146   <span class="keyword">typedef</span> TInputImage                           <a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">InputImageType</a>;
<a name="l00147"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#4d4caa28feacff9727f8735e1e336415">00147</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">TInputImage::Pointer</a>         InputImagePointer;
<a name="l00148"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#6803aa65969096bcb26e8c016683ea4c">00148</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#68fafcc6909430ccd70cbc4aeee0107c">TInputImage::ConstPointer</a>    InputImageConstPointer;
<a name="l00149"></a>00149 
<a name="l00152"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#50496e5a059195527d66dbbfcaeb6e17">00152</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> TInputImage::PixelType::VectorType InputImageVectorType;
<a name="l00153"></a>00153 
<a name="l00155"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#1ce52b4c0c44ac1c4a309eadd1df6301">00155</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> TInputImage::PixelType     InputImagePixelType;
<a name="l00156"></a>00156 
<a name="l00158"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#9700b1d0da9f43426b74467d0384d3f7">00158</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">ImageRegionIterator&lt;TInputImage&gt;</a> <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">InputImageIterator</a>;
<a name="l00159"></a>00159 
<a name="l00160"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#3ca713939e91bbc6eb26648714edbffa">00160</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageRegionConstIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">ImageRegionConstIterator&lt;TInputImage&gt;</a> <a class="code" href="classitk_1_1ImageRegionConstIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">InputImageConstIterator</a>;
<a name="l00161"></a>00161 
<a name="l00163"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#2567b61f71201be29c84efc2e99e9920">00163</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">TMembershipFunction::Pointer</a> MembershipFunctionPointer;
<a name="l00164"></a>00164 
<a name="l00166"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#260f5c00673db42ebaae8773e554768c">00166</a>   <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix&lt;double&gt;</a> <a class="code" href="classvnl__matrix.html">CodebookMatrixOfDoubleType</a>; 
<a name="l00167"></a>00167 
<a name="l00169"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#badb3e38ab45e5dff146640aff47ccd1">00169</a>   <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix&lt;int&gt;</a>    <a class="code" href="classvnl__matrix.html">CodebookMatrixOfIntegerType</a>;
<a name="l00170"></a>00170 
<a name="l00172"></a>00172   <span class="keywordtype">void</span> SetCodebook(<a class="code" href="classvnl__matrix.html">CodebookMatrixOfDoubleType</a> InCodebook);
<a name="l00173"></a>00173 
<a name="l00175"></a>00175   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(Codebook,<a class="code" href="classvnl__matrix.html">CodebookMatrixOfDoubleType</a>);
<a name="l00176"></a>00176 
<a name="l00178"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#f5101e5b7144589f5ff91f655ebc2f3d">00178</a>   <a class="code" href="classvnl__matrix.html">CodebookMatrixOfDoubleType</a> GetOutCodebook()
<a name="l00179"></a>00179     { <span class="keywordflow">return</span> m_Codebook; }
<a name="l00180"></a>00180 
<a name="l00182"></a>00182   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Threshold,<span class="keywordtype">double</span>);
<a name="l00183"></a>00183 
<a name="l00185"></a>00185   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(Threshold,<span class="keywordtype">double</span>);
<a name="l00186"></a>00186 
<a name="l00188"></a>00188   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(OffsetAdd,<span class="keywordtype">double</span>);
<a name="l00189"></a>00189 
<a name="l00191"></a>00191   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(OffsetAdd,<span class="keywordtype">double</span>);
<a name="l00192"></a>00192 
<a name="l00194"></a>00194   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(OffsetMultiply,<span class="keywordtype">double</span>);
<a name="l00195"></a>00195 
<a name="l00197"></a>00197   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(OffsetMultiply,<span class="keywordtype">double</span>);
<a name="l00198"></a>00198 
<a name="l00200"></a>00200   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(MaxSplitAttempts,<span class="keywordtype">int</span>);
<a name="l00201"></a>00201 
<a name="l00203"></a>00203   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(MaxSplitAttempts,<span class="keywordtype">int</span>);
<a name="l00204"></a>00204 
<a name="l00206"></a><a class="code" href="classitk_1_1ImageKmeansModelEstimator.html#d5dee27b9b0757c54e3ceba0302121c8">00206</a>   <a class="code" href="classvnl__matrix.html">CodebookMatrixOfDoubleType</a> GetKmeansResults(<span class="keywordtype">void</span>)
<a name="l00207"></a>00207     { <span class="keywordflow">return</span> m_Centroid; }
<a name="l00208"></a>00208 
<a name="l00209"></a>00209 <span class="keyword">protected</span>: 
<a name="l00210"></a>00210   <a class="code" href="classitk_1_1ImageKmeansModelEstimator.html" title="Base class for ImageKmeansModelEstimator object.">ImageKmeansModelEstimator</a>();
<a name="l00211"></a>00211   ~<a class="code" href="classitk_1_1ImageKmeansModelEstimator.html" title="Base class for ImageKmeansModelEstimator object.">ImageKmeansModelEstimator</a>();
<a name="l00212"></a>00212   <span class="keyword">virtual</span> <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) <span class="keyword">const</span>;
<a name="l00213"></a>00213 
<a name="l00215"></a>00215   <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#f75a5945cdd8315676941024a0b8c1e9">GenerateData</a>();
<a name="l00216"></a>00216 
<a name="l00218"></a>00218   <span class="keywordtype">void</span> Allocate();
<a name="l00219"></a>00219 
<a name="l00221"></a>00221   <span class="keywordtype">void</span> PrintKmeansAlgorithmResults();
<a name="l00222"></a>00222 <span class="keyword">private</span>:
<a name="l00223"></a>00223   <a class="code" href="classitk_1_1ImageKmeansModelEstimator.html" title="Base class for ImageKmeansModelEstimator object.">ImageKmeansModelEstimator</a>(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00224"></a>00224   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00226"></a>00226 <span class="comment"></span>
<a name="l00233"></a>00233   <span class="keyword">virtual</span> <span class="keywordtype">void</span> EstimateModels();
<a name="l00234"></a>00234 
<a name="l00235"></a>00235   <span class="keywordtype">void</span> EstimateKmeansModelParameters();
<a name="l00236"></a>00236 
<a name="l00237"></a>00237   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">TInputImage::SizeType</a> ImageSizeType;
<a name="l00238"></a>00238 
<a name="l00240"></a>00240   <span class="keyword">typedef</span> <span class="keyword">typename</span> TInputImage::PixelType::VectorType InputPixelVectorType;
<a name="l00241"></a>00241 
<a name="l00242"></a>00242   <span class="keywordtype">void</span> Reallocate(<span class="keywordtype">int</span> oldSize, <span class="keywordtype">int</span> newSize);
<a name="l00243"></a>00243 
<a name="l00244"></a>00244   <span class="comment">//Local functions</span>
<a name="l00245"></a>00245   <span class="keywordtype">int</span>  WithCodebookUseGLA(); <span class="comment">// GLA stands for the Generalized Lloyd Algorithm</span>
<a name="l00246"></a>00246   <span class="keywordtype">int</span>  WithoutCodebookUseLBG(); <span class="comment">//LBG stands for the Lindo Buzo Gray Algorithm</span>
<a name="l00247"></a>00247 
<a name="l00248"></a>00248   <span class="keywordtype">void</span> NearestNeighborSearchBasic(<span class="keywordtype">double</span> *distortion);
<a name="l00249"></a>00249   
<a name="l00250"></a>00250   <span class="keywordtype">void</span> SplitCodewords(<span class="keywordtype">int</span> currentSize, 
<a name="l00251"></a>00251                       <span class="keywordtype">int</span> numDesired, 
<a name="l00252"></a>00252                       <span class="keywordtype">int</span> scale);
<a name="l00253"></a>00253   
<a name="l00254"></a>00254   <span class="keywordtype">void</span> Perturb(<span class="keywordtype">double</span> *oldCodeword, 
<a name="l00255"></a>00255                <span class="keywordtype">int</span> scale, 
<a name="l00256"></a>00256                <span class="keywordtype">double</span> *newCodeword);
<a name="l00257"></a>00257 
<a name="l00258"></a>00258   CodebookMatrixOfDoubleType  m_Codebook;
<a name="l00259"></a>00259 
<a name="l00260"></a>00260   <span class="comment">// Buffer for K-means calcualtions</span>
<a name="l00261"></a>00261   CodebookMatrixOfDoubleType  m_Centroid;
<a name="l00262"></a>00262 
<a name="l00263"></a>00263   <span class="keywordtype">double</span>              m_Threshold;
<a name="l00264"></a>00264   <span class="keywordtype">double</span>              m_OffsetAdd;
<a name="l00265"></a>00265   <span class="keywordtype">double</span>              m_OffsetMultiply;
<a name="l00266"></a>00266   <span class="keywordtype">int</span>                 m_MaxSplitAttempts;
<a name="l00267"></a>00267 
<a name="l00268"></a>00268   <span class="comment">//unsigned long       m_NumberOfModels;</span>
<a name="l00269"></a>00269   <span class="keywordtype">bool</span>                m_ValidInCodebook;
<a name="l00270"></a>00270   <span class="keywordtype">double</span>              m_DoubleMaximum;
<a name="l00271"></a>00271   <span class="keywordtype">double</span>              m_OutputDistortion;
<a name="l00272"></a>00272   <span class="keywordtype">int</span>                 m_OutputNumberOfEmptyCells;
<a name="l00273"></a>00273 
<a name="l00274"></a>00274   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       m_VectorDimension;
<a name="l00275"></a>00275   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       m_NumberOfCodewords;
<a name="l00276"></a>00276   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       m_CurrentNumberOfCodewords;
<a name="l00277"></a>00277   
<a name="l00278"></a>00278   CodebookMatrixOfIntegerType  m_CodewordHistogram;
<a name="l00279"></a>00279   CodebookMatrixOfDoubleType   m_CodewordDistortion;
<a name="l00280"></a>00280 
<a name="l00281"></a>00281 }; <span class="comment">// class ImageKmeansModelEstimator</span>
<a name="l00282"></a>00282 
<a name="l00283"></a>00283 
<a name="l00284"></a>00284 } <span class="comment">// namespace itk</span>
<a name="l00285"></a>00285 
<a name="l00286"></a>00286 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span>
<a name="l00287"></a>00287 <span class="preprocessor"></span><span class="preprocessor">#include "itkImageKmeansModelEstimator.txx"</span>
<a name="l00288"></a>00288 <span class="preprocessor">#endif</span>
<a name="l00289"></a>00289 <span class="preprocessor"></span>
<a name="l00290"></a>00290 <span class="preprocessor">#endif</span>
<a name="l00291"></a>00291 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 23:03:40 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>