<!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: itkWatershedSegmentTable.h Source File</title> <link href="DoxygenStyle.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 --> <center> <a href="index.html" class="qindex">Main Page</a> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <a href="pages.html" class="qindex">Concepts</a></center> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="dir_02e23d841c198393a6e961e9a0678fff.html">Code</a> » <a class="el" href="dir_16b0d2d22c345042f35cebae66b36010.html">Algorithms</a> </div> <div class="contents"> <h1>itkWatershedSegmentTable.h</h1><a href="itkWatershedSegmentTable_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: itkWatershedSegmentTable.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-27 19:30:18 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.13 $</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 __itkWatershedSegmentTable_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkWatershedSegmentTable_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#if defined(_MSC_VER)</span> <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#pragma warning ( disable : 4786 )</span> <a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00023"></a>00023 <span class="preprocessor"></span> <a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkObjectFactory_8h.html">itkObjectFactory.h</a>"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkDataObject_8h.html">itkDataObject.h</a>"</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkProcessObject_8h.html">itkProcessObject.h</a>"</span> <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itk__hash__map_8h.html">itk_hash_map.h</a>"</span> <a name="l00028"></a>00028 <span class="preprocessor">#include <list></span> <a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="itkOneWayEquivalencyTable_8h.html">itkOneWayEquivalencyTable.h</a>"</span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <span class="keyword">namespace </span>itk <a name="l00032"></a>00032 { <a name="l00033"></a>00033 <span class="keyword">namespace </span>watershed <a name="l00034"></a>00034 { <a name="l00049"></a>00049 <span class="keyword">template</span> <<span class="keyword">class</span> TScalarType> <a name="l00050"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html">00050</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html">SegmentTable</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> <a name="l00051"></a>00051 { <a name="l00052"></a>00052 <span class="keyword">public</span>: <a name="l00054"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#b6187cd3969ce68e02ccba604ac04124">00054</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html">SegmentTable</a> <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html">Self</a>; <a name="l00055"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#75d2fec8c16cf04a6558441281e9c1e3">00055</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Superclass</a>; <a name="l00056"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#9f018202b152bd983a030759e7df2a03">00056</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="l00057"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#31a71138cc826941bb60ff2e0c89f947">00057</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="l00058"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#1fc47687b0c0d2924369359c1651c600">00058</a> <span class="keyword">typedef</span> TScalarType ScalarType; <a name="l00059"></a>00059 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1watershed_1_1SegmentTable.html">Self</a>); <a name="l00060"></a>00060 <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(WatershedSegmentTable, <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a>); <a name="l00062"></a>00062 <a name="l00065"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html">00065</a> <span class="keyword">struct </span><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html">edge_pair_t</a> <a name="l00066"></a>00066 { <a name="l00067"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html#a579542bd3a616dbdaf002653a38281b">00067</a> <a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html#a579542bd3a616dbdaf002653a38281b">edge_pair_t</a>() {} <a name="l00068"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html#24f4129b004d51e4f22d16a23232617c">00068</a> <a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html#24f4129b004d51e4f22d16a23232617c">edge_pair_t</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> l, ScalarType s) : label(l), height(s) {} <a name="l00069"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html#1ea374751dd47be32cea9cc319f4bd4f">00069</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> label; <a name="l00070"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html#97c95443ac312998a1f19322abb6402c">00070</a> ScalarType height; <a name="l00072"></a>00072 <a name="l00074"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html#8f3b0219aae1fb7c6082e8d7ccc8f6d4">00074</a> <span class="keywordtype">bool</span> operator<( <span class="keyword">const</span> <a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html">edge_pair_t</a> & o)<span class="keyword"> const</span> <a name="l00075"></a>00075 <span class="keyword"> </span>{ <a name="l00076"></a>00076 <span class="keywordflow">if</span> ( this->height < o.<a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1edge__pair__t.html#97c95443ac312998a1f19322abb6402c">height</a> ) <a name="l00077"></a>00077 { <a name="l00078"></a>00078 <span class="keywordflow">return</span> <span class="keyword">true</span>; <a name="l00079"></a>00079 } <a name="l00080"></a>00080 <span class="keywordflow">else</span> <a name="l00081"></a>00081 { <a name="l00082"></a>00082 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00083"></a>00083 } <a name="l00084"></a>00084 } <a name="l00086"></a>00086 <a name="l00087"></a>00087 }; <a name="l00088"></a>00088 <a name="l00091"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#c30a7754f7e544ecdced47696ecc41fd">00091</a> <span class="keyword">typedef</span> std::list<edge_pair_t> edge_list_t; <a name="l00092"></a>00092 <a name="l00094"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1segment__t.html">00094</a> <span class="keyword">struct </span><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1segment__t.html">segment_t</a> <a name="l00095"></a>00095 { <a name="l00096"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1segment__t.html#ca39acde8cd159e6e6f3abef6eb898f2">00096</a> ScalarType min; <a name="l00097"></a><a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1segment__t.html#6b8e4620acb59a281bc6dff297a2214a">00097</a> edge_list_t edge_list; <a name="l00098"></a>00098 }; <a name="l00099"></a>00099 <a name="l00101"></a>00101 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1hash__map.html" title="Replacement for STL hash map because some systems do not support it, or support it...">itk::hash_map<unsigned long, segment_t, itk::hash<unsigned long></a> > <a name="l00102"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#1aa4c70ef3a59ed79eb1b18b4e760edb">00102</a> <a class="code" href="classitk_1_1hash__map.html">HashMapType</a>; <a name="l00103"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#70b7d912a54b72613c792d039d9bb18d">00103</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> HashMapType::iterator Iterator; <a name="l00104"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#38ce86f7f248cbec4a90f624abcd713b">00104</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> HashMapType::const_iterator ConstIterator; <a name="l00105"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#f66cbd0a6bf6f5adbf7de17e02711a9a">00105</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceitk.html#87ac35b82c3f0b7231a21eda576557d1">HashMapType::value_type</a> ValueType; <a name="l00106"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#913bc62e11c5241d45531a1ab3815a84">00106</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> HashMapType::data_type DataType; <a name="l00107"></a>00107 <a name="l00109"></a>00109 <span class="keywordtype">bool</span> Add(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> a, <span class="keyword">const</span> <a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1segment__t.html">segment_t</a> &t); <a name="l00110"></a>00110 <a name="l00115"></a>00115 <span class="keywordtype">void</span> PruneEdgeLists(ScalarType maximum_saliency); <a name="l00116"></a>00116 <a name="l00119"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#1ba70d63e2c2d11faf14cd6672c6122c">00119</a> <a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1segment__t.html">segment_t</a> *Lookup(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> a) <a name="l00120"></a>00120 { <a name="l00121"></a>00121 Iterator result = m_HashMap.find(a); <a name="l00122"></a>00122 <span class="keywordflow">if</span> ( result == m_HashMap.end() ) <span class="keywordflow">return</span> 0; <a name="l00123"></a>00123 <span class="keywordflow">else</span> <span class="keywordflow">return</span> &((*result).second); <a name="l00124"></a>00124 } <a name="l00126"></a>00126 <a name="l00129"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#ef163c0ddc5dee23ffd6e18777b12e25">00129</a> <span class="keyword">const</span> <a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1segment__t.html">segment_t</a> *Lookup(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> a)<span class="keyword"> const</span> <a name="l00130"></a>00130 <span class="keyword"> </span>{ <a name="l00131"></a>00131 ConstIterator result = m_HashMap.find(a); <a name="l00132"></a>00132 <span class="keywordflow">if</span> ( result == m_HashMap.end() ) <span class="keywordflow">return</span> 0; <a name="l00133"></a>00133 <span class="keywordflow">else</span> <span class="keywordflow">return</span> &((*result).second); <a name="l00134"></a>00134 } <a name="l00136"></a>00136 <a name="l00139"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#3e9de694610592de2c97513be22d7a4a">00139</a> <span class="keywordtype">bool</span> IsEntry(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> a)<span class="keyword"> const</span> <a name="l00140"></a>00140 <span class="keyword"> </span>{ <a name="l00141"></a>00141 <span class="keywordflow">if</span> ( m_HashMap.find(a) == m_HashMap.end() ) <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00142"></a>00142 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">true</span>; <a name="l00143"></a>00143 } <a name="l00145"></a>00145 <a name="l00147"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#83152d0ba2b887b03b0f2f3acea04554">00147</a> <span class="keywordtype">void</span> Erase(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> a) <a name="l00148"></a>00148 { m_HashMap.erase(a); } <a name="l00149"></a>00149 <a name="l00151"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#6df27b3f86d641c5d07e799ad051e25f">00151</a> <span class="keywordtype">void</span> Clear() <a name="l00152"></a>00152 { m_HashMap.clear(); } <a name="l00153"></a>00153 <a name="l00156"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#9c676606ca9db9ebbc39f9d919ccb000">00156</a> <span class="keywordtype">bool</span> Empty()<span class="keyword"> const</span> <a name="l00157"></a>00157 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_HashMap.empty(); } <a name="l00158"></a>00158 <a name="l00161"></a>00161 <span class="keywordtype">void</span> SortEdgeLists(); <a name="l00162"></a>00162 <a name="l00164"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#e9865e8f32f33b338d0add4b6d6aa20c">00164</a> <span class="keyword">typename</span> HashMapType::size_type <a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">Size</a>()<span class="keyword"> const </span> <a name="l00165"></a>00165 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_HashMap.size(); } <a name="l00166"></a>00166 <a name="l00168"></a>00168 <span class="comment">// void Merge(const unsigned long from, const unsigned long to);</span> <a name="l00169"></a>00169 <a name="l00172"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#136f0e2d2ebfd4c87d58404d57959adb">00172</a> Iterator <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#136f0e2d2ebfd4c87d58404d57959adb">Begin</a>() { <span class="keywordflow">return</span> m_HashMap.begin(); } <a name="l00173"></a>00173 <a name="l00176"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#32d0d45cae2bfb7bee330959aef11f4c">00176</a> Iterator <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#32d0d45cae2bfb7bee330959aef11f4c">End</a>() { <span class="keywordflow">return</span> m_HashMap.end(); } <a name="l00177"></a>00177 <a name="l00180"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#80de480b070460e5f1f89c378d30a958">00180</a> ConstIterator <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#80de480b070460e5f1f89c378d30a958">Begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_HashMap.begin(); } <a name="l00181"></a>00181 <a name="l00184"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#798d2ba464bf7deccadb233344ef5d88">00184</a> ConstIterator <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#798d2ba464bf7deccadb233344ef5d88">End</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_HashMap.end(); } <a name="l00185"></a>00185 <a name="l00187"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#f7e3cef144abdf4934df8b8ab22d06ff">00187</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GetSegmentMemorySize()<span class="keyword"> const</span> <a name="l00188"></a>00188 <span class="keyword"> </span>{ <a name="l00189"></a>00189 <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(<a class="code" href="structitk_1_1watershed_1_1SegmentTable_1_1segment__t.html">segment_t</a>); <a name="l00190"></a>00190 } <a name="l00191"></a>00191 <span class="comment">// void PrintHashTable() const;</span> <a name="l00193"></a>00193 <span class="comment"></span> <a name="l00196"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#0860bec3c0ad1241abfa9518aa61015d">00196</a> <span class="keywordtype">void</span> SetMaximumDepth(ScalarType s) <a name="l00197"></a>00197 { <a name="l00198"></a>00198 m_MaximumDepth = s; <a name="l00199"></a>00199 this->Modified(); <a name="l00200"></a>00200 } <a name="l00201"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#91c61be2e33246611d73fa2004ce45d6">00201</a> ScalarType GetMaximumDepth()<span class="keyword"> const</span> <a name="l00202"></a>00202 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_MaximumDepth; } <a name="l00204"></a>00204 <a name="l00208"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#52174e12e4af6f28115827e29142b1fe">00208</a> <span class="keywordtype">void</span> Copy(<span class="keyword">const</span> <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html">Self</a>& o) <a name="l00209"></a>00209 { <a name="l00210"></a>00210 m_HashMap = o.<a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#9b67a498ab3fcb68bb358e01a4bf57b0">m_HashMap</a>; <a name="l00211"></a>00211 m_MaximumDepth = o.<a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#f87f6584f78c0863bcf6c717e6e64b9d">m_MaximumDepth</a>; <a name="l00212"></a>00212 } <a name="l00213"></a>00213 <a name="l00214"></a>00214 <span class="keyword">protected</span>: <a name="l00215"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#de6b5232dd7654cfa74aa7d87e99d53a">00215</a> <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#de6b5232dd7654cfa74aa7d87e99d53a">SegmentTable</a>() {} <a name="l00216"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#40fa7e50a6d40df149d94da3b1adfb19">00216</a> <span class="keyword">virtual</span> <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#40fa7e50a6d40df149d94da3b1adfb19">~SegmentTable</a>() {} <a name="l00217"></a>00217 <a name="l00218"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#9b67a498ab3fcb68bb358e01a4bf57b0">00218</a> <a class="code" href="classitk_1_1hash__map.html">HashMapType</a> m_HashMap; <a name="l00219"></a><a class="code" href="classitk_1_1watershed_1_1SegmentTable.html#f87f6584f78c0863bcf6c717e6e64b9d">00219</a> ScalarType m_MaximumDepth; <a name="l00220"></a>00220 <a name="l00221"></a>00221 <span class="keyword">private</span>: <a name="l00222"></a>00222 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="classitk_1_1watershed_1_1SegmentTable.html">Self</a>&) {} <a name="l00223"></a>00223 <a name="l00224"></a>00224 }; <a name="l00225"></a>00225 <a name="l00226"></a>00226 }<span class="comment">// end namespace watershed</span> <a name="l00227"></a>00227 }<span class="comment">// end namespace itk</span> <a name="l00228"></a>00228 <a name="l00229"></a>00229 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00230"></a>00230 <span class="preprocessor"></span><span class="preprocessor">#include "itkWatershedSegmentTable.txx"</span> <a name="l00231"></a>00231 <span class="preprocessor">#endif</span> <a name="l00232"></a>00232 <span class="preprocessor"></span> <a name="l00233"></a>00233 <span class="preprocessor">#endif</span> <a name="l00234"></a>00234 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Fri May 8 00:40: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>