freCorrelationCoefficientHistogramMetricController.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   F.R.E.E. - flexible registration evaluation engine
00004   Version:   v.1.0.0
00005   Date:      $Date: 2006/09/01 12:00:00 $
00006   Module:    $RCSfile: freCorrelationCoefficientHistogramMetricController.h,v $
00007   Language:  C++
00008 
00009 
00010 
00011   Copyright (c) 2007 Ralf o Floca (Department of Medical Informatics,
00012   Institute for Medical Biometry and Informatics, University of Heidelberg,
00013   Germany). All rights reserved.
00014   See FREECopyright.txt or http://www.mi.med.uni-hd.de/free/copyright.htm
00015   for details.
00016 
00017      This software is distributed WITHOUT ANY WARRANTY; without even 
00018      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00019      PURPOSE.  See the above copyright notices for more information.
00020 
00021 =========================================================================*/
00022 #ifndef __freCorrelationCoefficientHistogramMetricController_h
00023 #define __freCorrelationCoefficientHistogramMetricController_h
00024 
00025 #include "freHistogramMetricControllerBase.h"
00026 
00027 #include "itkCorrelationCoefficientHistogramImageToImageMetric.h"
00028 
00029 namespace FREE
00030 {
00031 
00042 freControllerIDMacro(CorrelationCoefficientHistogramMetricControlleBase, "CorrelationCoefficientHistogramMetricBase");
00043 template <class TImageType>
00044 class CorrelationCoefficientHistogramMetricControlleBase : public HistogramMetricControllerBase< itk::CorrelationCoefficientHistogramImageToImageMetric<TImageType,TImageType> >
00045 {
00046 public:  
00047   typedef itk::CorrelationCoefficientHistogramImageToImageMetric<TImageType,TImageType> ComponentType;
00048   typedef HistogramMetricControllerBase<ComponentType> Superclass;
00049 
00050   itkTypeMacro(CorrelationCoefficientHistogramMetricControlleBase, HistogramMetricControllerBase);
00051 
00052   virtual ~CorrelationCoefficientHistogramMetricControlleBase()
00053   {
00054   };
00055 
00056 protected:
00059   CorrelationCoefficientHistogramMetricControlleBase()
00060   {
00061                 //Profile settings
00062     this->UpdateControllerID(ControllerID::CorrelationCoefficientHistogramMetricControlleBase);
00063     this->m_Description = "A metric using the intensity histograms.";
00064         };
00065 
00066 };
00067 
00077   freControllerIDMacro(CorrelationCoefficientHistogram2DMetricController, "Correlation Coefficient Histogram 2D Metric");
00078 class CorrelationCoefficientHistogram2DMetricController : public CorrelationCoefficientHistogramMetricControlleBase<InternalImage2DType>
00079 {
00080 public:  
00081   itkTypeMacro(CorrelationCoefficientHistogram2DMetricController, CorrelationCoefficientHistogramMetricControlleBase);
00082 
00083   CorrelationCoefficientHistogram2DMetricController();
00084 
00085   virtual ~CorrelationCoefficientHistogram2DMetricController();
00086 };
00087 
00097   freControllerIDMacro(CorrelationCoefficientHistogram3DMetricController, "Correlation Coefficient Histogram 3D Metric");
00098 class CorrelationCoefficientHistogram3DMetricController : public CorrelationCoefficientHistogramMetricControlleBase<InternalImage3DType>
00099 {
00100 public:  
00101   itkTypeMacro(CorrelationCoefficientHistogram3DMetricController, CorrelationCoefficientHistogramMetricControlleBase);
00102 
00103   CorrelationCoefficientHistogram3DMetricController();
00104 
00105   virtual ~CorrelationCoefficientHistogram3DMetricController();
00106 };
00107 
00108 } //end of namespace free
00109 
00110 #endif

Generated at Sat Oct 13 15:39:59 2007 for f.r.e.e. - Flexible Registration and Evaluation Engine by doxygen 1.5.3 written by Dimitri van Heesch, © 1997-2000