15 #ifndef __itkImageToImageMetricWithFeatures_h
16 #define __itkImageToImageMetricWithFeatures_h
19 #include "itkInterpolateImageFunction.h"
35 template <
class TFixedImage,
class TMovingImage,
36 class TFixedFeatureImage = TFixedImage,
class TMovingFeatureImage = TMovingImage>
102 FixedImageType::ImageDimension );
106 MovingImageType::ImageDimension );
117 typedef InterpolateImageFunction<
119 typedef InterpolateImageFunction<
130 itkGetConstMacro( NumberOfFixedFeatureImages,
unsigned int );
164 itkGetConstMacro( NumberOfMovingFeatureImages,
unsigned int );
195 virtual void Initialize(
void ) throw ( ExceptionObject );
199 virtual ~ImageToImageMetricWithFeatures() {};
200 void PrintSelf( std::ostream& os, Indent indent )
const;
235 #ifndef ITK_MANUAL_INSTANTIATION
236 #include "itkImageToImageMetricWithFeatures.txx"
239 #endif // end #ifndef __itkImageToImageMetricWithFeatures_h
Superclass::MeasureType MeasureType
Computes similarity between regions of two images.
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::MovingImageLimiterType MovingImageLimiterType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
SmartPointer< const Self > ConstPointer
void SetNumberOfMovingFeatureImages(unsigned int arg)
Superclass::InputPointType InputPointType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::TransformParametersType TransformParametersType
Superclass::MovingImageType MovingImageType
Superclass::InternalMaskPixelType InternalMaskPixelType
void operator=(const Self &)
Superclass::MovingImageMaskInterpolatorType MovingImageMaskInterpolatorType
Superclass::GradientImageType GradientImageType
Superclass::FixedImagePixelType FixedImagePixelType
void SetFixedFeatureInterpolator(FixedFeatureInterpolatorType *interpolator)
Superclass::FixedImageMaskPointer FixedImageMaskPointer
unsigned int m_NumberOfMovingFeatureImages
Superclass::OutputPointType OutputPointType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics...
Superclass::MovingImagePointType MovingImagePointType
BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::GradientPixelType GradientPixelType
Superclass::TransformParametersType TransformParametersType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Superclass::TransformType TransformType
MovingFeatureImageType::Pointer MovingFeatureImagePointer
bool m_FeatureInterpolatorsAreBSpline
Superclass::ImageSamplerPointer ImageSamplerPointer
Superclass::FixedImageRegionType FixedImageRegionType
std::vector< bool > m_FeatureInterpolatorsIsBSpline
Superclass::InterpolatorType InterpolatorType
Superclass::MovingImageMaskType MovingImageMaskType
void SetNumberOfFixedFeatureImages(unsigned int arg)
Superclass::MovingImagePixelType MovingImagePixelType
ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
Superclass::MovingImageDerivativeType MovingImageDerivativeType
Superclass::FixedImagePointType FixedImagePointType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
InterpolateImageFunction< FixedFeatureImageType, double > FixedFeatureInterpolatorType
Superclass::GradientImagePointer GradientImagePointer
TransformType::InputPointType FixedImagePointType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::InputPointType InputPointType
void SetFixedFeatureImage(FixedFeatureImageType *im)
Superclass::ParametersType ParametersType
void SetFixedFeatureImage(unsigned int i, FixedFeatureImageType *im)
Superclass::InternalMovingImageMaskType InternalMovingImageMaskType
std::vector< BSplineInterpolatorPointer > BSplineFeatureInterpolatorVectorType
void SetMovingFeatureImage(MovingFeatureImageType *im)
std::vector< MovingFeatureInterpolatorPointer > MovingFeatureInterpolatorVectorType
ImageSamplerBase< FixedImageType > ImageSamplerType
TMovingFeatureImage MovingFeatureImageType
std::vector< FixedFeatureInterpolatorPointer > FixedFeatureInterpolatorVectorType
Superclass::DerivativeType DerivativeType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::MeasureType MeasureType
std::vector< MovingFeatureImagePointer > MovingFeatureImageVectorType
ImageToImageMetricWithFeatures Self
Superclass::TransformType TransformType
Superclass::MovingImageRegionType MovingImageRegionType
Superclass::RealType RealType
const MovingFeatureImageType * GetMovingFeatureImage(void) const
TransformType::OutputPointType MovingImagePointType
TFixedFeatureImage FixedFeatureImageType
Superclass::FixedImageType FixedImageType
LimiterFunctionBase< RealType, FixedImageDimension > FixedImageLimiterType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientPixelType GradientPixelType
Superclass::GradientImageType GradientImageType
const MovingFeatureInterpolatorType * GetMovingFeatureInterpolator(void) const
Superclass::TransformPointer TransformPointer
InterpolateImageFunction< MovingFeatureImageType, double > MovingFeatureInterpolatorType
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
const FixedFeatureImageType * GetFixedFeatureImage(void) const
MovingFeatureInterpolatorType::Pointer MovingFeatureInterpolatorPointer
FixedFeatureInterpolatorVectorType m_FixedFeatureInterpolators
virtual void Initialize(void)
Superclass::ImageSamplerType ImageSamplerType
Superclass::GradientImageFilterType GradientImageFilterType
FixedFeatureImageVectorType m_FixedFeatureImages
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::GradientImageFilterType GradientImageFilterType
ImageSamplerType::Pointer ImageSamplerPointer
Superclass::TransformJacobianType TransformJacobianType
MovingImageType::RegionType MovingImageRegionType
Superclass::OutputPointType OutputPointType
ImageToImageMetricWithFeatures()
Superclass::InterpolatorType InterpolatorType
void SetFixedFeatureInterpolator(unsigned int i, FixedFeatureInterpolatorType *interpolator)
Superclass::TransformJacobianType TransformJacobianType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
MovingFeatureImageVectorType m_MovingFeatureImages
Superclass::MovingImageType MovingImageType
BSplineFeatureInterpolatorVectorType m_MovingFeatureBSplineInterpolators
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::MovingImagePixelType MovingImagePixelType
void SetMovingFeatureInterpolator(unsigned int i, MovingFeatureInterpolatorType *interpolator)
SmartPointer< Self > Pointer
Superclass::RealType RealType
Superclass::FixedImageLimiterType FixedImageLimiterType
virtual void CheckForBSplineFeatureInterpolators(void)
Superclass::MovingImageMaskPointer MovingImageMaskPointer
FixedFeatureImageType::Pointer FixedFeatureImagePointer
Superclass::FixedImageConstPointer FixedImageConstPointer
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
MovingFeatureInterpolatorVectorType m_MovingFeatureInterpolators
LimiterFunctionBase< RealType, MovingImageDimension > MovingImageLimiterType
std::vector< FixedFeatureImagePointer > FixedFeatureImageVectorType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
const FixedFeatureInterpolatorType * GetFixedFeatureInterpolator(void) const
FixedImageType::PixelType FixedImagePixelType
FixedFeatureInterpolatorType::Pointer FixedFeatureInterpolatorPointer
void PrintSelf(std::ostream &os, Indent indent) const
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::MovingImageConstPointer MovingImageConstPointer
BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
unsigned int m_NumberOfFixedFeatureImages
void SetMovingFeatureInterpolator(MovingFeatureInterpolatorType *interpolator)
Superclass::ParametersType ParametersType
BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::DerivativeType DerivativeType
Superclass::BSplineInterpolatorType BSplineInterpolatorType
Superclass::FixedImageType FixedImageType
void SetMovingFeatureImage(unsigned int i, MovingFeatureImageType *im)
Superclass::TransformPointer TransformPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImagePointer GradientImagePointer