NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkJEImageToImageMetric.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef itkJEImageToImageMetric_h
16 #define itkJEImageToImageMetric_h
17 
19 
20 namespace itk
21 {
28 template < class TFixedImage, class TMovingImage >
29 class ITK_EXPORT JEImageToImageMetric :
30  public HistogramSimilarityMeasure< TFixedImage, TMovingImage>
31 {
32 public:
33 
37  typedef SmartPointer<Self> Pointer;
38  typedef SmartPointer<const Self> ConstPointer;
42 
44  itkNewMacro(Self);
45 
48 
49 protected:
50 
52  virtual ~JEImageToImageMetric() {};
53 
59  MeasureType FinalizeCostFunction()
60  {
61  return this->JointEntropy();
62  }
63 
64 private:
65  JEImageToImageMetric(const Self&); // purposefully not implemented
66  void operator=(const Self&); // purposefully not implemented
67 };
68 
69 } // end namespace itk
70 
71 #endif
72 
73 
74 
Superclass::FixedImageType::PixelType FixedImagePixelType
Definition: itkJEImageToImageMetric.h:39
Computes similarity between two objects to be registered using Histogram.
Definition: itkHistogramSimilarityMeasure.h:33
MeasureType FinalizeCostFunction()
Definition: itkJEImageToImageMetric.h:59
SmartPointer< Self > Pointer
Definition: itkJEImageToImageMetric.h:37
Definition: niftkITKAffineResampleImage.cxx:74
Superclass::MeasureType MeasureType
Definition: itkJEImageToImageMetric.h:41
float PixelType
Definition: niftkBreastDCEandADC.cxx:88
virtual ~JEImageToImageMetric()
Definition: itkJEImageToImageMetric.h:52
HistogramSimilarityMeasure< TFixedImage, TMovingImage > Superclass
Definition: itkJEImageToImageMetric.h:36
JEImageToImageMetric()
Definition: itkJEImageToImageMetric.h:51
Superclass::MeasureType MeasureType
Definition: itkSimilarityMeasure.h:80
Implements Joint Entropy of a histogram for a similarity measure.
Definition: itkJEImageToImageMetric.h:29
JEImageToImageMetric Self
Definition: itkJEImageToImageMetric.h:35
SmartPointer< const Self > ConstPointer
Definition: itkJEImageToImageMetric.h:38
Superclass::MovingImageType::PixelType MovingImagePixelType
Definition: itkJEImageToImageMetric.h:40