00001 /*========================================================================= 00002 00003 Program: 3DMed 00004 Date: $Date: 2014-02-25 18:30:00 +0800 $ 00005 Version: $Version: 4.6.0 $ 00006 Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences 00007 00008 =========================================================================*/ 00009 00010 00011 #ifndef __mitkMeanSquaresMetric_h 00012 #define __mitkMeanSquaresMetric_h 00013 00014 #include "mitkMetric.h" 00015 00016 00025 00026 class MITK_REGISTRATION_API mitkMeanSquaresMetric : public mitkMetric 00027 { 00028 public: 00029 MITK_TYPE(mitkMeanSquaresMetric, mitkMetric) 00030 virtual void PrintSelf(ostream &os); 00031 00035 mitkMeanSquaresMetric(); 00036 00043 virtual bool GetSimilarity(const VectorParameterType & parameters, ScalarParameterType &similarity); 00044 00052 virtual bool GetSimilarityAndDerivative(const VectorParameterType & parameters, 00053 ScalarParameterType & similarity, 00054 VectorParameterType & derivative); 00055 00056 protected: 00057 virtual ~mitkMeanSquaresMetric(); 00058 00059 private: 00060 mitkMeanSquaresMetric(const mitkMeanSquaresMetric&); 00061 void operator = (const mitkMeanSquaresMetric&); 00062 00063 }; 00064 00065 00066 //#define DEFINED_mitkMeanSquaresMetric 00067 00068 00069 00070 #endif 00071