ANIMA  4.0
animaTensorMeanSquaresImageToImageMetric.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <itkPoint.h>
5 
6 
7 namespace anima
8 {
9 
10 template < class TFixedImagePixelType, class TMovingImagePixelType, unsigned int ImageDimension >
12 public anima::BaseOrientedModelImageToImageMetric< itk::VectorImage < TFixedImagePixelType, ImageDimension >, itk::VectorImage < TMovingImagePixelType, ImageDimension > >
13 {
14 public:
15 
17  typedef itk::VectorImage < TFixedImagePixelType, ImageDimension > TFixedImage;
18  typedef itk::VectorImage < TMovingImagePixelType, ImageDimension > TMovingImage;
19 
22  typedef itk::SmartPointer<Self> Pointer;
23  typedef itk::SmartPointer<const Self> ConstPointer;
24 
26  itkNewMacro(Self);
27 
30 
32  typedef typename TFixedImage::PixelType PixelType;
38 
44 
45  typedef typename itk::ContinuousIndex <double,TFixedImage::ImageDimension> ContinuousIndexType;
46 
48 
50  MeasureType GetValue(const TransformParametersType & parameters) const ITK_OVERRIDE;
51 
52 protected:
55 
56 private:
57  TensorMeanSquaresImageToImageMetric(const Self&); //purposely not implemented
58  void operator=(const Self&); //purposely not implemented
59 };
60 
61 } // end namespace anima
62 
anima::BaseOrientedModelImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::CoordinateRepresentationType CoordinateRepresentationType
itk::ContinuousIndex< double, TFixedImage::ImageDimension > ContinuousIndexType
itk::VectorImage< TFixedImagePixelType, ImageDimension > TFixedImage
MeasureType GetValue(const TransformParametersType &parameters) const ITK_OVERRIDE
itk::Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension), itkGetStaticConstMacro(FixedImageDimension)> TransformType
itk::VectorImage< TMovingImagePixelType, ImageDimension > TMovingImage