18 #ifndef __itkAdvancedNormalizedCorrelationImageToImageMetric_h 19 #define __itkAdvancedNormalizedCorrelationImageToImageMetric_h 89 template<
class TFixedImage,
class TMovingImage >
160 FixedImageType::ImageDimension );
164 MovingImageType::ImageDimension );
167 MeasureType
GetValue(
const TransformParametersType & parameters )
const;
171 const TransformParametersType & parameters,
172 DerivativeType & derivative )
const;
176 const TransformParametersType & parameters,
177 MeasureType & value, DerivativeType & derivative )
const;
180 const TransformParametersType & parameters,
181 MeasureType & value, DerivativeType & derivative )
const;
188 itkSetMacro( SubtractMean,
bool );
189 itkGetConstReferenceMacro( SubtractMean,
bool );
190 itkBooleanMacro( SubtractMean );
197 void PrintSelf( std::ostream & os, Indent indent )
const;
217 const RealType & fixedImageValue,
218 const RealType & movingImageValue,
219 const DerivativeType & imageJacobian,
220 const NonZeroJacobianIndicesType & nzji,
221 DerivativeType & derivativeF,
222 DerivativeType & derivativeM,
223 DerivativeType & differential )
const;
236 MeasureType & value, DerivativeType & derivative )
const;
277 PaddedCorrelationGetValueAndDerivativePerThreadStruct );
278 itkAlignedTypedef( ITK_CACHE_LINE_ALIGNMENT, PaddedCorrelationGetValueAndDerivativePerThreadStruct,
279 AlignedCorrelationGetValueAndDerivativePerThreadStruct );
287 #ifndef ITK_MANUAL_INSTANTIATION 288 #include "itkAdvancedNormalizedCorrelationImageToImageMetric.hxx" 291 #endif // end #ifndef __itkAdvancedNormalizedCorrelationImageToImageMetric_h Superclass::MeasureType MeasureType
Superclass::ImageSamplerType ImageSamplerType
AdvancedTransformType::NumberOfParametersType NumberOfParametersType
void ThreadedGetValueAndDerivative(ThreadIdType threadID)
Superclass::MovingImagePointType MovingImagePointType
Superclass::OutputPointType OutputPointType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::TransformJacobianType TransformJacobianType
Superclass::InputPointType InputPointType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
LimiterFunctionBase< RealType, FixedImageDimension > FixedImageLimiterType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::TransformType TransformType
Superclass::TransformParametersType TransformParametersType
Superclass::ParametersType ParametersType
Superclass::MovingImageType MovingImageType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
AdvancedNormalizedCorrelationImageToImageMetric()
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::OutputPointType OutputPointType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics...
void operator=(const Self &)
Superclass::GradientImagePointer GradientImagePointer
Superclass::GradientPixelType GradientPixelType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Superclass::TransformType TransformType
RealType st_InvertedDenominator
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::FixedImagePixelType FixedImagePixelType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::FixedImageConstPointer FixedImageConstPointer
DerivativeType st_Differential
Superclass::ImageSamplerPointer ImageSamplerPointer
ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
NumericTraits< MeasureType >::AccumulateType AccumulateType
MovingImageType::IndexType MovingImageIndexType
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
itk::MultiThreader ThreaderType
InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
virtual ~AdvancedNormalizedCorrelationImageToImageMetric()
itkAlignedTypedef(ITK_CACHE_LINE_ALIGNMENT, PaddedCorrelationGetValueAndDerivativePerThreadStruct, AlignedCorrelationGetValueAndDerivativePerThreadStruct)
static ITK_THREAD_RETURN_TYPE AccumulateDerivativesThreaderCallback(void *arg)
TransformType::InputPointType FixedImagePointType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::ParametersType ParametersType
Superclass::MovingImageMaskType MovingImageMaskType
FixedArray< double, Self::MovingImageDimension > MovingImageDerivativeScalesType
Superclass::MovingImageIndexType MovingImageIndexType
SizeValueType st_NumberOfPixelsCounted
Superclass::FixedImageRegionType FixedImageRegionType
BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
Superclass::GradientPixelType GradientPixelType
ImageSamplerBase< FixedImageType > ImageSamplerType
AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const
Superclass::InterpolatorPointer InterpolatorPointer
FixedImageType::IndexType FixedImageIndexType
Superclass::FixedImageLimiterType FixedImageLimiterType
AdvancedNormalizedCorrelationImageToImageMetric * st_Metric
ThreadIdType m_CorrelationGetValueAndDerivativePerThreadVariablesSize
Superclass::GradientImageFilterPointer GradientImageFilterPointer
FixedImageIndexType::IndexValueType FixedImageIndexValueType
TransformType::OutputPointType MovingImagePointType
SmartPointer< Self > Pointer
Superclass::FixedImageType FixedImageType
Superclass::FixedImagePointType FixedImagePointType
Superclass::MovingImageMaskType MovingImageMaskType
DerivativeType st_DerivativeM
Superclass::RealType RealType
LimiterFunctionBase< RealType, MovingImageDimension > MovingImageLimiterType
Superclass::InterpolatorPointer InterpolatorPointer
void GetValueAndDerivativeSingleThreaded(const TransformParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const
Superclass::GradientImageType GradientImageType
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::TransformPointer TransformPointer
DerivativeType st_DerivativeF
SmartPointer< const Self > ConstPointer
Superclass::MeasureType MeasureType
Superclass::ThreaderType ThreaderType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::GradientImageType GradientImageType
Superclass::DerivativeType DerivativeType
Superclass::MovingImageLimiterType MovingImageLimiterType
Superclass::GradientImageFilterType GradientImageFilterType
ImageSamplerType::Pointer ImageSamplerPointer
MovingImageType::RegionType MovingImageRegionType
Superclass::TransformParametersType TransformParametersType
AlignedCorrelationGetValueAndDerivativePerThreadStruct * m_CorrelationGetValueAndDerivativePerThreadVariables
Superclass::InterpolatorType InterpolatorType
Superclass::FixedImageType FixedImageType
Superclass::BSplineInterpolatorType BSplineInterpolatorType
Superclass::TransformJacobianType TransformJacobianType
Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::MovingImageRegionType MovingImageRegionType
Computes normalized correlation between two images, based on AdvancedImageToImageMetric...
Superclass::DerivativeValueType DerivativeValueType
Superclass::MovingImagePixelType MovingImagePixelType
GradientImageFilter< MovingImageType, RealType, RealType > CentralDifferenceGradientFilterType
Superclass::InterpolatorType InterpolatorType
Superclass::RealType RealType
DerivativeType::ValueType DerivativeValueType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
void AfterThreadedGetValueAndDerivative(MeasureType &value, DerivativeType &derivative) const
Superclass::MovingImageDerivativeType MovingImageDerivativeType
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::NumberOfParametersType NumberOfParametersType
ThreaderType::ThreadInfoStruct ThreadInfoType
AdvancedNormalizedCorrelationImageToImageMetric Self
Superclass::ThreadInfoType ThreadInfoType
FixedImageType::PixelType FixedImagePixelType
DerivativeValueType * st_DerivativePointer
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
itkPadStruct(ITK_CACHE_LINE_ALIGNMENT, CorrelationGetValueAndDerivativePerThreadStruct, PaddedCorrelationGetValueAndDerivativePerThreadStruct)
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::InputPointType InputPointType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::FixedImageIndexType FixedImageIndexType
BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Superclass::MovingImageType MovingImageType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::TransformPointer TransformPointer
void UpdateDerivativeTerms(const RealType &fixedImageValue, const RealType &movingImageValue, const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji, DerivativeType &derivativeF, DerivativeType &derivativeM, DerivativeType &differential) const
Superclass::DerivativeType DerivativeType
AccumulateType st_sfm_smm
virtual void InitializeThreadingParameters(void) const
MeasureType GetValue(const TransformParametersType ¶meters) const
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImagePointer GradientImagePointer