<!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: itkRGBGibbsPriorFilter.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>itkRGBGibbsPriorFilter.h</h1><a href="itkRGBGibbsPriorFilter_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: itkRGBGibbsPriorFilter.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-26 21:45:56 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.30 $</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 __itkRGBGibbsPriorFilter_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkRGBGibbsPriorFilter_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "vnl/vnl_vector.h"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "vnl/vnl_matrix.h"</span> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkImageToImageFilter_8h.html">itkImageToImageFilter.h</a>"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkImageClassifierBase_8h.html">itkImageClassifierBase.h</a>"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkImageRegionIterator_8h.html">itkImageRegionIterator.h</a>"</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkMRFImageFilter_8h.html">itkMRFImageFilter.h</a>"</span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="keyword">namespace </span>itk <a name="l00029"></a>00029 { <a name="l00030"></a>00030 <a name="l00046"></a>00046 <span class="keyword">template</span> <<span class="keyword">class</span> TInputImage, <span class="keyword">class</span> TClassifiedImage> <a name="l00047"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html">00047</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">RGBGibbsPriorFilter</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1MRFImageFilter.html" title="Implementation of a labeller object that uses Markov Random Fields to classify pixels...">MRFImageFilter</a><TInputImage, <a name="l00048"></a>00048 TClassifiedImage> <a name="l00049"></a>00049 { <a name="l00050"></a>00050 <span class="keyword">public</span>: <a name="l00052"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#82c246b67dd6e2099637188b59729804">00052</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">RGBGibbsPriorFilter</a> <a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">Self</a>; <a name="l00053"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#a3d12f19635aaacfbbb35f81f8ea8bf2">00053</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MRFImageFilter.html">MRFImageFilter<TInputImage, TClassifiedImage></a> <a class="code" href="classitk_1_1MRFImageFilter.html">Superclass</a>; <a name="l00054"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#70b64f90d9de00bc933030993a039226">00054</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="l00055"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#3f2368542cbe80557ea15339c526fcd2">00055</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="l00056"></a>00056 <a name="l00058"></a>00058 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">Self</a>); <a name="l00059"></a>00059 <a name="l00061"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#f9fd6635f78001322d8cb7b7be28e143">00061</a> <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">RGBGibbsPriorFilter</a>,<a class="code" href="classitk_1_1MRFImageFilter.html" title="Implementation of a labeller object that uses Markov Random Fields to classify pixels...">MRFImageFilter</a>); <a name="l00062"></a>00062 <a name="l00064"></a>00064 <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::InputImagePixelType InputImagePixelType; <a name="l00065"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#cdde4f6ab72777c2542728307232d46b">00065</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1ImageRegionConstIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">Superclass::InputImageRegionConstIterator</a> <a class="code" href="classitk_1_1ImageRegionConstIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">InputImageRegionConstIterator</a>; <a name="l00066"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#a855ef79aff9e8c385bb1418381b1686">00066</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">Superclass::InputImageRegionIterator</a> <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">InputImageRegionIterator</a>; <a name="l00067"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#109ebb664ba245446726064c554e2a73">00067</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">Superclass::LabelledImageRegionIterator</a> <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">LabelledImageRegionIterator</a>; <a name="l00068"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#fb11df9cd6699946ebcbb90f29e1f129">00068</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::LabelledImagePixelType LabelledImagePixelType; <a name="l00069"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#a68bb54e3a783c4aac42328371b88061">00069</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::IndexValueType IndexValueType; <a name="l00070"></a>00070 <a name="l00072"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#9814ed012191f3aaa364ae5e6af802eb">00072</a> <span class="keyword">typedef</span> TInputImage <a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">InputImageType</a>; <a name="l00073"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#8605216aea1de5843346b8273ccc5e28">00073</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="l00074"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#86cab203f43f130a827ac71aca9091f0">00074</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="l00075"></a>00075 <a name="l00077"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#7f0740a30c488ead1285e594bc02e62a">00077</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> TInputImage::PixelType <a class="code" href="namespaceHardConnectedComponentImageFilter.html#6e44b89d73d576fe68c175566a634ab8">InputPixelType</a>; <a name="l00078"></a>00078 <a name="l00080"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#fe36f460e5c3723bfd4d2030b17de9e6">00080</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">TClassifiedImage::Pointer</a> TrainingImageType; <a name="l00081"></a>00081 <a name="l00084"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#b6cb14bd15677467f2f02076ec77a9ad">00084</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">TClassifiedImage::Pointer</a> LabelledImageType; <a name="l00085"></a>00085 <a name="l00087"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#8bb8a1211800da8b05820cbb4df83357">00087</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">TClassifiedImage::IndexType</a> LabelledImageIndexType; <a name="l00088"></a>00088 <a name="l00092"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#1563e411c1cfe555b6c028044c9d6874">00092</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> LabelType; <a name="l00093"></a>00093 <a name="l00095"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#f02a478bd11855153a66bd07feed0c8d">00095</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageClassifierBase.html" title="Base class for ImageClassifierBase object.">ImageClassifierBase<TInputImage,TClassifiedImage></a> <a class="code" href="classitk_1_1ImageClassifierBase.html" title="Base class for ImageClassifierBase object.">ClassifierType</a>; <a name="l00096"></a>00096 <a name="l00098"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#117bb20d53b3a4a7fb87ce2f562ce90f">00098</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> TInputImage::PixelType InputImageVecType; <a name="l00099"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#9c52377e1af9874ba787b5042013a034">00099</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">TInputImage::IndexType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>; <a name="l00100"></a>00100 <a name="l00102"></a>00102 <span class="keywordtype">void</span> SetTrainingImage(TrainingImageType image); <a name="l00103"></a>00103 <a name="l00105"></a>00105 <span class="keywordtype">void</span> SetLabelledImage(LabelledImageType LabelledImage); <a name="l00106"></a>00106 <a name="l00108"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#a883e478b02e3cafbb3e91e413b405db">00108</a> LabelledImageType GetLabelledImage() <a name="l00109"></a>00109 { <span class="keywordflow">return</span> m_LabelledImage; } <a name="l00110"></a>00110 <a name="l00112"></a>00112 <span class="keywordtype">void</span> SetClassifier( <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">ClassifierType::Pointer</a> ptrToClassifier ); <a name="l00113"></a>00113 <a name="l00115"></a>00115 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(NumberOfClasses, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>); <a name="l00116"></a>00116 <a name="l00118"></a>00118 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(NumberOfClasses, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>); <a name="l00119"></a>00119 <a name="l00122"></a>00122 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(MaximumNumberOfIterations, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>); <a name="l00123"></a>00123 <a name="l00126"></a>00126 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(MaximumNumberOfIterations, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>); <a name="l00127"></a>00127 <a name="l00129"></a>00129 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(ClusterSize, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>); <a name="l00130"></a>00130 <a name="l00132"></a>00132 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( ObjectLabel, LabelType ); <a name="l00133"></a>00133 <a name="l00135"></a>00135 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(ImageDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, <a name="l00136"></a>00136 TInputImage::ImageDimension); <a name="l00137"></a>00137 <a name="l00138"></a>00138 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(StartPoint, <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>); <a name="l00139"></a>00139 <a name="l00140"></a>00140 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(BoundaryGradient, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>); <a name="l00141"></a>00141 <a name="l00142"></a>00142 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(ObjectThreshold, <span class="keywordtype">double</span>); <a name="l00143"></a>00143 <a name="l00145"></a>00145 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(CliqueWeight_1, <span class="keywordtype">double</span>); <a name="l00146"></a>00146 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(CliqueWeight_1, <span class="keywordtype">double</span>); <a name="l00147"></a>00147 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(CliqueWeight_2, <span class="keywordtype">double</span>); <a name="l00148"></a>00148 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(CliqueWeight_2, <span class="keywordtype">double</span>); <a name="l00149"></a>00149 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(CliqueWeight_3, <span class="keywordtype">double</span>); <a name="l00150"></a>00150 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(CliqueWeight_3, <span class="keywordtype">double</span>); <a name="l00151"></a>00151 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(CliqueWeight_4, <span class="keywordtype">double</span>); <a name="l00152"></a>00152 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(CliqueWeight_4, <span class="keywordtype">double</span>); <a name="l00153"></a>00153 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(CliqueWeight_5, <span class="keywordtype">double</span>); <a name="l00154"></a>00154 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(CliqueWeight_5, <span class="keywordtype">double</span>); <a name="l00155"></a>00155 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(CliqueWeight_6, <span class="keywordtype">double</span>); <a name="l00156"></a><a class="code" href="classitk_1_1RGBGibbsPriorFilter.html#652d31b8a0929550c67286fe34e7115d">00156</a> <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(CliqueWeight_6, <span class="keywordtype">double</span>); <a name="l00158"></a>00158 <a name="l00159"></a>00159 <a name="l00161"></a>00161 <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix<double></a> <a class="code" href="classvnl__matrix.html">MatrixType</a>; <a name="l00162"></a>00162 <a name="l00163"></a>00163 <span class="keyword">protected</span>: <a name="l00164"></a>00164 <a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">RGBGibbsPriorFilter</a>(); <a name="l00165"></a>00165 ~<a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">RGBGibbsPriorFilter</a>(); <a name="l00166"></a>00166 <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream& 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="l00167"></a>00167 <a name="l00170"></a>00170 <span class="keyword">virtual</span> <span class="keywordtype">void</span> MinimizeFunctional(); <a name="l00171"></a>00171 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#f75a5945cdd8315676941024a0b8c1e9">GenerateData</a>(); <a name="l00172"></a>00172 <span class="keyword">virtual</span> <span class="keywordtype">void</span> ApplyGibbsLabeller(); <a name="l00173"></a>00173 <span class="keyword">virtual</span> <span class="keywordtype">void</span> ApplyGPImageFilter(); <a name="l00174"></a>00174 <a name="l00175"></a>00175 <a name="l00176"></a>00176 <span class="keyword">private</span>: <a name="l00177"></a>00177 <a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">RGBGibbsPriorFilter</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">Self</a>&); <a name="l00178"></a>00178 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="classitk_1_1RGBGibbsPriorFilter.html" title="RGBGibbsPriorFilter applies Gibbs Prior model for the segmentation of MRF images...">Self</a>&); <a name="l00179"></a>00179 <a name="l00180"></a>00180 <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">TInputImage::SizeType</a> InputImageSizeType; <a name="l00181"></a>00181 <a name="l00192"></a>00192 <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">ClassifierType::Pointer</a> m_ClassifierPtr; <a name="l00193"></a>00193 <a name="l00213"></a>00213 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_ImageHeight; <a name="l00214"></a>00214 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_ImageDepth; <a name="l00215"></a>00215 <a name="l00243"></a>00243 <span class="keywordtype">void</span> GibbsTotalEnergy(<span class="keywordtype">int</span> i); <a name="l00244"></a>00244 <a name="l00246"></a>00246 <span class="keywordtype">double</span> GibbsEnergy(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> k, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> k1); <a name="l00247"></a>00247 <a name="l00258"></a>00258 <span class="keywordtype">double</span> m_ObjectThreshold; <a name="l00259"></a>00259 <a name="l00260"></a>00260 }; <a name="l00261"></a>00261 <a name="l00262"></a>00262 } <span class="comment">// end namespace itk</span> <a name="l00263"></a>00263 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00264"></a>00264 <span class="preprocessor"></span><span class="preprocessor">#include "itkRGBGibbsPriorFilter.txx"</span> <a name="l00265"></a>00265 <span class="preprocessor">#endif</span> <a name="l00266"></a>00266 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00267"></a>00267 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Fri May 8 00:04:53 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>