18 #ifndef __itkImageToImageMetricWithFeatures_h 19 #define __itkImageToImageMetricWithFeatures_h 22 #include "itkInterpolateImageFunction.h" 37 template<
class TFixedImage,
class TMovingImage,
38 class TFixedFeatureImage = TFixedImage,
class TMovingFeatureImage = TMovingImage >
98 FixedImageType::ImageDimension );
102 MovingImageType::ImageDimension );
124 itkGetConstMacro( NumberOfFixedFeatureImages,
unsigned int );
166 itkGetConstMacro( NumberOfMovingFeatureImages,
unsigned int );
205 virtual void Initialize(
void )
throw ( ExceptionObject );
211 void PrintSelf( std::ostream & os, Indent indent )
const;
247 #ifndef ITK_MANUAL_INSTANTIATION 248 #include "itkImageToImageMetricWithFeatures.hxx" 251 #endif // end #ifndef __itkImageToImageMetricWithFeatures_h Superclass::MeasureType MeasureType
Computes similarity between regions of two images.
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::MovingImageLimiterType MovingImageLimiterType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
void SetNumberOfMovingFeatureImages(unsigned int arg)
Superclass::InputPointType InputPointType
LimiterFunctionBase< RealType, FixedImageDimension > FixedImageLimiterType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::TransformParametersType TransformParametersType
Superclass::MovingImageType MovingImageType
Superclass::InternalMaskPixelType InternalMaskPixelType
void operator=(const Self &)
std::vector< BSplineInterpolatorPointer > BSplineFeatureInterpolatorVectorType
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
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
InterpolateImageFunction< FixedFeatureImageType, double > FixedFeatureInterpolatorType
Superclass::GradientPixelType GradientPixelType
Superclass::TransformParametersType TransformParametersType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Superclass::TransformType TransformType
MovingFeatureImageType::Pointer MovingFeatureImagePointer
bool m_FeatureInterpolatorsAreBSpline
Superclass::ImageSamplerPointer ImageSamplerPointer
Superclass::FixedImageRegionType FixedImageRegionType
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
SmartPointer< const Self > ConstPointer
InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
Superclass::GradientImagePointer GradientImagePointer
TransformType::InputPointType FixedImagePointType
InterpolateImageFunction< MovingFeatureImageType, double > MovingFeatureInterpolatorType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::InputPointType InputPointType
void SetFixedFeatureImage(FixedFeatureImageType *im)
Superclass::ParametersType ParametersType
void SetFixedFeatureImage(unsigned int i, FixedFeatureImageType *im)
Superclass::InternalMovingImageMaskType InternalMovingImageMaskType
void SetMovingFeatureImage(MovingFeatureImageType *im)
BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
ImageSamplerBase< FixedImageType > ImageSamplerType
std::vector< MovingFeatureInterpolatorPointer > MovingFeatureInterpolatorVectorType
TMovingFeatureImage MovingFeatureImageType
Superclass::DerivativeType DerivativeType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::MeasureType MeasureType
std::vector< FixedFeatureImagePointer > FixedFeatureImageVectorType
ImageToImageMetricWithFeatures Self
Superclass::TransformType TransformType
Superclass::MovingImageRegionType MovingImageRegionType
Superclass::RealType RealType
const MovingFeatureImageType * GetMovingFeatureImage(void) const
std::vector< FixedFeatureInterpolatorPointer > FixedFeatureInterpolatorVectorType
TransformType::OutputPointType MovingImagePointType
TFixedFeatureImage FixedFeatureImageType
std::vector< bool > m_FeatureInterpolatorsIsBSpline
Superclass::FixedImageType FixedImageType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientPixelType GradientPixelType
LimiterFunctionBase< RealType, MovingImageDimension > MovingImageLimiterType
Superclass::GradientImageType GradientImageType
const MovingFeatureInterpolatorType * GetMovingFeatureInterpolator(void) const
Superclass::TransformPointer TransformPointer
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
virtual ~ImageToImageMetricWithFeatures()
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)
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
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
SmartPointer< Self > Pointer
BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
unsigned int m_NumberOfFixedFeatureImages
void SetMovingFeatureInterpolator(MovingFeatureInterpolatorType *interpolator)
std::vector< MovingFeatureImagePointer > MovingFeatureImageVectorType
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