18 #ifndef __itkKullbackLeiblerCompareHistogramImageToImageMetric_h
19 #define __itkKullbackLeiblerCompareHistogramImageToImageMetric_h
71 template<
class TFixedImage,
class TMovingImage >
91 typedef typename Superclass::RealType
RealType;
104 typedef typename Superclass::MovingImageConstPointer
109 typedef typename Superclass::MeasurementVectorType
119 itkSetMacro(Epsilon,
double);
122 itkGetConstReferenceMacro(Epsilon,
double);
125 unsigned int GetNumberOfParameters(
void)
const
126 {
return this->GetTransform()->GetNumberOfParameters(); }
138 virtual ~KullbackLeiblerCompareHistogramImageToImageMetric(){}
139 void PrintSelf(std::ostream & os,
Indent indent)
const;
143 void FormTrainingHistogram()
147 virtual MeasureType EvaluateMeasure(HistogramType & histogram) const;
153 void operator=(
Self const &);
157 #ifndef ITK_MANUAL_INSTANTIATION
158 #include "itkKullbackLeiblerCompareHistogramImageToImageMetric.hxx"
161 #endif // __itkKullbackLeiblerCompareHistogramImageToImageMetric_h