18#ifndef elxVarianceOverLastDimensionMetric_h
19#define elxVarianceOverLastDimensionMetric_h
68template <
class TElastix>
71 typename MetricBase<TElastix>::MovingImageType>
98 using typename Superclass1::CoordinateRepresentationType;
100 using typename Superclass1::MovingImageType;
101 using typename Superclass1::MovingImagePixelType;
102 using typename Superclass1::MovingImageConstPointer;
103 using typename Superclass1::FixedImageType;
104 using typename Superclass1::FixedImageConstPointer;
105 using typename Superclass1::FixedImageRegionType;
107 using typename Superclass1::TransformType;
108 using typename Superclass1::TransformPointer;
109 using typename Superclass1::InputPointType;
110 using typename Superclass1::OutputPointType;
111 using typename Superclass1::TransformParametersType;
112 using typename Superclass1::TransformJacobianType;
113 using typename Superclass1::InterpolatorType;
114 using typename Superclass1::InterpolatorPointer;
115 using typename Superclass1::RealType;
116 using typename Superclass1::GradientPixelType;
117 using typename Superclass1::GradientImageType;
118 using typename Superclass1::GradientImagePointer;
123 using typename Superclass1::MeasureType;
124 using typename Superclass1::DerivativeType;
125 using typename Superclass1::ParametersType;
189#ifndef ITK_MANUAL_INSTANTIATION
190# include "elxVarianceOverLastDimensionMetric.hxx"
This class is the elastix base class for all Metrics.
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
Compute the sum of variances over the slowest varying dimension in the moving image.
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elxClassNameMacro("VarianceOverLastDimensionMetric")
~VarianceOverLastDimensionMetric() override=default
void BeforeEachResolution() override
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
void BeforeRegistration() override
void Initialize() override
VarianceOverLastDimensionMetric()=default
ITK_DISALLOW_COPY_AND_MOVE(VarianceOverLastDimensionMetric)
typename Superclass2::ITKBaseType ITKBaseType
typename TransformType::ScalarType ScalarType
This class is a base class for any image sampler.
Base class for all ITK limiter function objects.
Compute the sum of variances over the slowest varying dimension in the moving image.
typename ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
typename MovingImageType::RegionType MovingImageRegionType
typename FixedImageType::PixelType FixedImagePixelType
typename ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
ImageMaskSpatialObject< Self::FixedImageDimension > FixedImageMaskType
SmartPointer< MovingImageMaskType > MovingImageMaskPointer
typename MovingImageLimiterType::OutputType MovingImageLimiterOutputType
typename FixedImageLimiterType::OutputType FixedImageLimiterOutputType
SmartPointer< FixedImageMaskType > FixedImageMaskPointer
typename ImageSamplerType::Pointer ImageSamplerPointer
typename FixedImageRegionType::SizeType FixedImageSizeType
ImageMaskSpatialObject< Self::MovingImageDimension > MovingImageMaskType