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

itkLogLikelihoodGoodnessOfFitFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkLogLikelihoodGoodnessOfFitFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:29:46 $
00007   Version:   $Revision: 1.4 $
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 __itkLogLikelihoodGoodnessOfFitFunction_h
00018 #define __itkLogLikelihoodGoodnessOfFitFunction_h
00019 
00020 #include "itkGoodnessOfFitFunctionBase.h"
00021 
00022 namespace itk{ 
00023 namespace Statistics{
00024 
00041 template< class TInputHistogram >
00042 class LogLikelihoodGoodnessOfFitFunction 
00043   : public GoodnessOfFitFunctionBase< TInputHistogram > 
00044 {
00045 public:
00047   typedef LogLikelihoodGoodnessOfFitFunction Self;
00048   typedef GoodnessOfFitFunctionBase< TInputHistogram > Superclass;
00049   typedef SmartPointer< Self > Pointer;
00050   typedef SmartPointer< const Self > ConstPointer;
00051   
00053   itkTypeMacro(LogLikelihoodGoodnessOfFitFunction, 
00054                GoodnessOfFitFunctionBase) ;
00055   
00057   itkNewMacro(Self) ;
00058 
00060   itkStaticConstMacro(MeasurementVectorSize, unsigned int, 
00061                       TInputHistogram::MeasurementVectorSize) ;
00062   typedef typename TInputHistogram::MeasurementType MeasurementType ;
00063   typedef typename TInputHistogram::MeasurementVectorType MeasurementVectorType ;
00064 
00065 protected:
00066   LogLikelihoodGoodnessOfFitFunction() ;
00067   virtual ~LogLikelihoodGoodnessOfFitFunction(){} ;
00068 
00070   virtual void GenerateData() ;
00071 
00072 private:
00073   bool m_Initialized ;
00074 } ; // end of class
00075 
00076 } // end of namespace Statistics 
00077 } // end of namespace itk
00078 
00079 #ifndef ITK_MANUAL_INSTANTIATION
00080 #include "itkLogLikelihoodGoodnessOfFitFunction.txx"
00081 #endif
00082 
00083 #endif
00084 

Generated at Wed May 24 23:37:01 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000