Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkSimpleFuzzyConnectednessScalarImageFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkSimpleFuzzyConnectednessScalarImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:39 $ 00007 Version: $Revision: 1.6 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __itkSimpleFuzzyConnectednessScalarImageFilter_h 00018 #define __itkSimpleFuzzyConnectednessScalarImageFilter_h 00019 00020 #include "itkImage.h" 00021 #include "itkImageToImageFilter.h" 00022 #include "itkSimpleFuzzyConnectednessImageFilterBase.h" 00023 00024 #include <queue> 00025 00026 namespace itk{ 00027 00072 template <class TInputImage, class TOutputImage> 00073 class ITK_EXPORT SimpleFuzzyConnectednessScalarImageFilter: 00074 public SimpleFuzzyConnectednessImageFilterBase<TInputImage,TOutputImage> 00075 { 00076 public: 00078 typedef SimpleFuzzyConnectednessScalarImageFilter Self; 00079 typedef SimpleFuzzyConnectednessImageFilterBase<TInputImage,TOutputImage> 00080 Superclass; 00081 typedef SmartPointer <Self> Pointer; 00082 typedef SmartPointer<const Self> ConstPointer; 00083 00085 itkNewMacro(Self); 00086 00088 itkTypeMacro(SimpleFuzzyConnectednessScalarImageFilter, 00089 SimpleFuzzyConnectednessImageFilterBase); 00090 00092 typedef typename Superclass::IndexType IndexType; 00093 typedef typename Superclass::SizeType SizeType; 00094 typedef typename Superclass::PixelType PixelType; 00095 00098 itkSetMacro(Diff_Mean, double); 00099 00102 itkGetMacro(Diff_Mean, double); 00103 00106 itkSetMacro(Diff_Variance, double); 00107 00110 itkGetMacro(Diff_Variance, double); 00111 00114 itkSetMacro(Mean, double); 00115 00118 itkGetMacro(Mean, double); 00119 00122 itkSetMacro(Variance, double); 00123 00126 itkGetMacro(Variance, double); 00127 00129 void SetParameters(const double inmean,const double invar, 00130 const double indifmean,const double indifvar,const double inweight); 00131 00132 protected: 00133 SimpleFuzzyConnectednessScalarImageFilter(); 00134 ~SimpleFuzzyConnectednessScalarImageFilter(); 00135 virtual void PrintSelf(std::ostream& os, Indent indent) const; 00136 00137 double m_Mean; 00138 double m_Variance; //estimation of the Variance. 00139 double m_Diff_Mean; 00140 double m_Diff_Variance; 00141 00142 virtual double FuzzyAffinity(const PixelType f1, const PixelType f2); 00143 00144 private: 00145 SimpleFuzzyConnectednessScalarImageFilter(const Self&); //purposely not implemented 00146 void operator=(const Self&); //purposely not implemented 00147 00148 }; 00149 00150 00151 } // end namespace itk 00152 00153 #ifndef ITK_MANUAL_INSTANTIATION 00154 #include "itkSimpleFuzzyConnectednessScalarImageFilter.txx" 00155 #endif 00156 00157 #endif

Generated at Sat Mar 31 02:29:24 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000