Sophie

Sophie

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

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: itkKLMSegmentationRegion.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_ea7fc529ede9a38b0438cf13831ae873.html">Common</a>
  </div>
<div class="contents">
<h1>itkKLMSegmentationRegion.h</h1><a href="itkKLMSegmentationRegion_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: itkKLMSegmentationRegion.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-02-05 19:04:58 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.16 $</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 __itkKLMSegmentationRegion_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkKLMSegmentationRegion_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="itkKLMSegmentationBorder_8h.html">itkKLMSegmentationBorder.h</a>"</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkSegmentationRegion_8h.html">itkSegmentationRegion.h</a>"</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 
<a name="l00026"></a>00026 <span class="keyword">namespace </span>itk
<a name="l00027"></a>00027 {
<a name="l00028"></a>00028 
<a name="l00087"></a>00087 <span class="keyword">class </span>KLMSegmentationBorder;
<a name="l00088"></a>00088 
<a name="l00089"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html">00089</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#faefe352c9fb4179f5a770afc70ea90f">ITKCommon_EXPORT</a> <a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">KLMSegmentationRegion</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1SegmentationRegion.html" title="Base class for SegmentationRegion object.">SegmentationRegion</a>
<a name="l00090"></a>00090 {
<a name="l00091"></a>00091 <span class="keyword">public</span>:
<a name="l00093"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#11a14d661f96fa3029cb9c701badfeef">00093</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">KLMSegmentationRegion</a>     <a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">Self</a>;
<a name="l00094"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#6d582e6ebd48782cfd8926872fb4fe3a">00094</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SegmentationRegion.html" title="Base class for SegmentationRegion object.">SegmentationRegion</a>        <a class="code" href="classitk_1_1SegmentationRegion.html" title="Base class for SegmentationRegion object.">Superclass</a>;
<a name="l00095"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#a13ad46d9e16d14cad3ef365182b765f">00095</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="l00096"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#0179b0c085ab53c457c23e4f3958d8fe">00096</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="l00097"></a>00097 
<a name="l00099"></a>00099   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">Self</a>);
<a name="l00100"></a>00100 
<a name="l00102"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#d0db15cfa86e74bd5274141ca4b5970b">00102</a>   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">KLMSegmentationRegion</a>,<a class="code" href="classitk_1_1SegmentationRegion.html" title="Base class for SegmentationRegion object.">SegmentationRegion</a>);
<a name="l00103"></a>00103 
<a name="l00105"></a>00105   <span class="keyword">typedef</span> <a class="code" href="classvnl__vector.html">vnl_vector&lt;double&gt;</a> <a class="code" href="classvnl__vector.html">MeanRegionIntensityType</a>;
<a name="l00106"></a>00106 
<a name="l00109"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#5fd1445786d558565f93ca504d207b86">00109</a>   <span class="keyword">typedef</span> std::vector&lt; KLMSegmentationBorder * &gt; RegionBorderVectorType;
<a name="l00110"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#c229bdb146005a10737e30f5c3d838da">00110</a>   <span class="keyword">typedef</span> RegionBorderVectorType::size_type      RegionBorderVectorSizeType;
<a name="l00111"></a>00111 
<a name="l00113"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#f3454316acca90cd17438ab65de5101c">00113</a>   <span class="keyword">typedef</span> RegionBorderVectorType::iterator RegionBorderVectorIterator;
<a name="l00114"></a>00114 
<a name="l00116"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#7d6c4c8df1c9031af2223de5230337fc">00116</a>   <span class="keyword">typedef</span> RegionBorderVectorType::const_iterator RegionBorderVectorConstIterator;
<a name="l00117"></a>00117 
<a name="l00119"></a><a class="code" href="classitk_1_1KLMSegmentationRegion.html#b489170b73a2049d113eebe813a3c4f8">00119</a>   <span class="keyword">typedef</span> Superclass::RegionLabelType RegionLabelType;
<a name="l00120"></a>00120 
<a name="l00123"></a>00123   RegionBorderVectorIterator GetRegionBorderItBegin();
<a name="l00124"></a>00124   RegionBorderVectorConstIterator GetRegionBorderConstItBegin();
<a name="l00126"></a>00126 
<a name="l00129"></a>00129   RegionBorderVectorIterator GetRegionBorderItEnd();
<a name="l00130"></a>00130   RegionBorderVectorConstIterator GetRegionBorderConstItEnd();
<a name="l00132"></a>00132 
<a name="l00135"></a>00135   RegionBorderVectorSizeType GetRegionBorderSize() <span class="keyword">const</span>;
<a name="l00136"></a>00136 
<a name="l00138"></a>00138   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(MeanRegionIntensity, <a class="code" href="classvnl__vector.html">MeanRegionIntensityType</a>)
<a name="l00139"></a>00139   <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>(MeanRegionIntensity, <a class="code" href="classvnl__vector.html">MeanRegionIntensityType</a>);
<a name="l00140"></a>00140 
<a name="l00143"></a>00143   <span class="keywordtype">void</span> SetRegionParameters(MeanRegionIntensityType meanRegionIntensity,
<a name="l00144"></a>00144                            <span class="keywordtype">double</span>                  regionArea,
<a name="l00145"></a>00145                            RegionLabelType         label);
<a name="l00146"></a>00146 
<a name="l00148"></a>00148   <span class="keywordtype">void</span> PrintRegionInfo();
<a name="l00149"></a>00149 
<a name="l00151"></a>00151   <span class="keywordtype">void</span> PushFrontRegionBorder(<a class="code" href="classitk_1_1KLMSegmentationBorder.html" title="Base class for KLMSegmentationBorder object.">KLMSegmentationBorder</a> *pBorderCandidate);
<a name="l00152"></a>00152 
<a name="l00154"></a>00154   <span class="keywordtype">void</span> PushBackRegionBorder(<a class="code" href="classitk_1_1KLMSegmentationBorder.html" title="Base class for KLMSegmentationBorder object.">KLMSegmentationBorder</a> *pBorderCandidate);
<a name="l00155"></a>00155 
<a name="l00158"></a>00158   <span class="keywordtype">void</span> InsertRegionBorder(<a class="code" href="classitk_1_1KLMSegmentationBorder.html" title="Base class for KLMSegmentationBorder object.">KLMSegmentationBorder</a> *pBorderCandidate);
<a name="l00159"></a>00159 
<a name="l00161"></a>00161   <span class="keywordtype">void</span> InsertRegionBorder(RegionBorderVectorIterator it,
<a name="l00162"></a>00162                           <a class="code" href="classitk_1_1KLMSegmentationBorder.html" title="Base class for KLMSegmentationBorder object.">KLMSegmentationBorder</a> *pBorderCandidate);
<a name="l00163"></a>00163 
<a name="l00165"></a>00165   <span class="keywordtype">void</span> DeleteRegionBorder(<a class="code" href="classitk_1_1KLMSegmentationBorder.html" title="Base class for KLMSegmentationBorder object.">KLMSegmentationBorder</a> *pBorderCandidate);
<a name="l00166"></a>00166 
<a name="l00168"></a>00168   <span class="keywordtype">void</span> DeleteAllRegionBorders();
<a name="l00169"></a>00169 
<a name="l00172"></a>00172   <span class="keywordtype">void</span> CombineRegionParameters(const <a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">Self</a> *region);
<a name="l00173"></a>00173 
<a name="l00176"></a>00176   <span class="keywordtype">double</span> EnergyFunctional(const <a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">Self</a> *region);
<a name="l00177"></a>00177 
<a name="l00180"></a>00180   <span class="keywordtype">void</span> ResetRegionLabelAndUpdateBorders(<a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">Self</a> *region);
<a name="l00181"></a>00181 
<a name="l00208"></a>00208   <span class="keywordtype">void</span> SpliceRegionBorders(<a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">Self</a> *region);
<a name="l00210"></a>00210 
<a name="l00213"></a>00213   <span class="keywordtype">void</span> UpdateRegionBorderLambda();
<a name="l00214"></a>00214 
<a name="l00215"></a>00215 protected:
<a name="l00216"></a>00216   <a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">KLMSegmentationRegion</a>();
<a name="l00217"></a>00217   ~KLMSegmentationRegion();
<a name="l00218"></a>00218   <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="l00219"></a>00219 
<a name="l00220"></a>00220 private:
<a name="l00221"></a>00221   KLMSegmentationRegion(const <a class="code" href="classitk_1_1KLMSegmentationRegion.html" title="Base class for KLMSegmentationRegion object.">Self</a>&amp;); <span class="comment">// purposely not implemented</span>
<a name="l00222"></a>00222   <span class="keywordtype">void</span> operator=(const Self&amp;); <span class="comment">// purposely not implemented</span>
<a name="l00223"></a>00223 
<a name="l00224"></a>00224   RegionBorderVectorType    m_RegionBorderVector;
<a name="l00225"></a>00225   MeanRegionIntensityType   m_MeanRegionIntensity;
<a name="l00226"></a>00226 
<a name="l00227"></a>00227 }; <span class="comment">// class SegmentationRegion</span>
<a name="l00228"></a>00228 
<a name="l00229"></a>00229 
<a name="l00230"></a>00230 } <span class="comment">// namespace itk</span>
<a name="l00231"></a>00231 
<a name="l00232"></a>00232 
<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 Thu May 7 23:22:29 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>