Go to the documentation of this file.
18 #ifndef __itkAdvancedMeanSquaresImageToImageMetric_h
19 #define __itkAdvancedMeanSquaresImageToImageMetric_h
23 #include "itkSmoothingRecursiveGaussianImageFilter.h"
25 #include "itkNearestNeighborInterpolateImageFunction.h"
55 template<
class TFixedImage,
class TMovingImage >
128 FixedImageType::ImageDimension );
132 MovingImageType::ImageDimension );
154 itkSetMacro( SelfHessianSmoothingSigma,
double );
155 itkGetConstMacro( SelfHessianSmoothingSigma,
double );
158 itkSetMacro( SelfHessianNoiseRange,
double );
159 itkGetConstMacro( SelfHessianNoiseRange,
double );
162 itkSetMacro( NumberOfSamplesForSelfHessian,
unsigned int );
163 itkGetConstMacro( NumberOfSamplesForSelfHessian,
unsigned int );
178 itkSetMacro( UseNormalization,
bool );
179 itkGetConstMacro( UseNormalization,
bool );
186 itkSetMacro( UseOpenMP,
bool );
193 void PrintSelf( std::ostream & os, Indent indent )
const;
210 typedef SmoothingRecursiveGaussianImageFilter<
212 typedef BSplineInterpolateImageFunction<
214 typedef NearestNeighborInterpolateImageFunction<
264 #ifndef ITK_MANUAL_INSTANTIATION
265 #include "itkAdvancedMeanSquaresImageToImageMetric.hxx"
268 #endif // end #ifndef __itkAdvancedMeanSquaresImageToImageMetric_h
void UpdateSelfHessianTerms(const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji, HessianType &H) const
Superclass::TransformParametersType TransformParametersType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::MeasureType MeasureType
Superclass::TransformParametersType TransformParametersType
DerivativeType::ValueType HessianValueType
void GetValueAndDerivativeSingleThreaded(const TransformParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const
void UpdateValueAndDerivativeTerms(const RealType fixedImageValue, const RealType movingImageValue, const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji, MeasureType &measure, DerivativeType &deriv) const
virtual void Initialize(void)
Superclass::DerivativeValueType DerivativeValueType
Superclass::DerivativeType DerivativeType
Superclass::FixedImageRegionType FixedImageRegionType
ImageSamplerType::Pointer ImageSamplerPointer
Superclass::TransformPointer TransformPointer
Superclass::MovingImageIndexType MovingImageIndexType
Superclass::GradientImageType GradientImageType
Superclass::MovingImageType MovingImageType
virtual void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const
void ThreadedGetValue(ThreadIdType threadID)
Superclass::FixedImagePixelType FixedImagePixelType
vnl_sparse_matrix< HessianValueType > HessianType
DerivativeType::ValueType DerivativeValueType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
Superclass::DerivativeType DerivativeType
AdvancedTransformType::NumberOfParametersType NumberOfParametersType
Superclass::InterpolatorType InterpolatorType
Superclass::FixedImageLimiterType FixedImageLimiterType
Superclass::MovingImageRegionType MovingImageRegionType
Superclass::ThreaderType ThreaderType
Superclass::OutputPointType OutputPointType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
FixedArray< double, Self::MovingImageDimension > MovingImageDerivativeScalesType
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
void ThreadedGetValueAndDerivative(ThreadIdType threadID)
Superclass::ThreadInfoType ThreadInfoType
virtual void GetSelfHessian(const TransformParametersType ¶meters, HessianType &H) const
double m_NormalizationFactor
Superclass::TransformType TransformType
Superclass::OutputPointType OutputPointType
Superclass::ParametersType ParametersType
LimiterFunctionBase< RealType, MovingImageDimension > MovingImageLimiterType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::GradientImageType GradientImageType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::GradientImagePointer GradientImagePointer
AdvancedMeanSquaresImageToImageMetric(const Self &)
ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
Superclass::FixedImageType FixedImageType
Superclass::InterpolatorType InterpolatorType
double m_SelfHessianNoiseRange
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::MovingImagePointType MovingImagePointType
Compute Mean square difference between two images, based on AdvancedImageToImageMetric....
Superclass::CoordinateRepresentationType CoordinateRepresentationType
AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::TransformJacobianType TransformJacobianType
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::ParametersType ParametersType
Superclass::FixedImageMaskType FixedImageMaskType
FixedImageType::IndexType FixedImageIndexType
MovingImageType::RegionType MovingImageRegionType
AdvancedMeanSquaresImageToImageMetric()
double m_SelfHessianSmoothingSigma
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
void AfterThreadedGetValueAndDerivative(MeasureType &value, DerivativeType &derivative) const
Superclass::HessianValueType HessianValueType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::NumberOfParametersType NumberOfParametersType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::FixedImageType FixedImageType
itk::MultiThreader ThreaderType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::MovingImageDerivativeType MovingImageDerivativeType
FixedImageType::PixelType FixedImagePixelType
TransformType::InputPointType FixedImagePointType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
SmartPointer< Self > Pointer
Superclass::FixedImagePointType FixedImagePointType
Superclass::ImageSampleContainerType ImageSampleContainerType
SmartPointer< const Self > ConstPointer
virtual MeasureType GetValueSingleThreaded(const TransformParametersType ¶meters) const
Superclass::MovingImageMaskPointer MovingImageMaskPointer
ImageGridSampler< FixedImageType > SelfHessianSamplerType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
BSplineInterpolateImageFunction< FixedImageType, CoordinateRepresentationType > FixedImageInterpolatorType
LimiterFunctionBase< RealType, FixedImageDimension > FixedImageLimiterType
Superclass::RealType RealType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::MovingImageConstPointer MovingImageConstPointer
InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
Superclass::MeasureType MeasureType
virtual ~AdvancedMeanSquaresImageToImageMetric()
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::RealType RealType
TransformType::OutputPointType MovingImagePointType
void AfterThreadedGetValue(MeasureType &value) const
unsigned int m_NumberOfSamplesForSelfHessian
Superclass::TransformJacobianType TransformJacobianType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
AdvancedMeanSquaresImageToImageMetric Self
Superclass::InputPointType InputPointType
NearestNeighborInterpolateImageFunction< FixedImageType, CoordinateRepresentationType > DummyFixedImageInterpolatorType
Superclass::GradientPixelType GradientPixelType
Superclass::MovingImageType MovingImageType
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
Superclass::ImageSamplerPointer ImageSamplerPointer
virtual MeasureType GetValue(const TransformParametersType ¶meters) const
SmoothingRecursiveGaussianImageFilter< FixedImageType, FixedImageType > SmootherType
Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Samples image voxels on a regular grid.
Superclass::MovingImageLimiterType MovingImageLimiterType
Superclass::FixedImageIndexType FixedImageIndexType
Superclass::GradientPixelType GradientPixelType
GradientImageFilter< MovingImageType, RealType, RealType > CentralDifferenceGradientFilterType
Superclass::BSplineInterpolatorType BSplineInterpolatorType
Superclass::GradientImagePointer GradientImagePointer
Superclass::TransformPointer TransformPointer
Superclass::ImageSamplerType ImageSamplerType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::TransformType TransformType
MovingImageType::IndexType MovingImageIndexType
FixedImageIndexType::IndexValueType FixedImageIndexValueType
Superclass::HessianType HessianType
void operator=(const Self &)
virtual void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::InputPointType InputPointType
ImageSamplerBase< FixedImageType > ImageSamplerType
ThreaderType::ThreadInfoStruct ThreadInfoType
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|