95#if defined(_MSC_VER) && (_MSC_VER == 1300)
98 using typename Superclass::RealType;
101 using typename Superclass::TransformType;
103 using typename Superclass::TransformPointer;
104 using typename Superclass::TransformParametersType;
105 using typename Superclass::TransformJacobianType;
106 using typename Superclass::InterpolatorType;
108 using typename Superclass::MeasureType;
109 using typename Superclass::DerivativeType;
110 using typename Superclass::FixedImageType;
111 using typename Superclass::MovingImageType;
112 using typename Superclass::FixedImageConstPointer;
113 using typename Superclass::MovingImageConstPointer;
139 GetDerivative(
const TransformParametersType & parameters, DerivativeType & derivative)
const override;
143 GetValue(
const TransformParametersType & parameters)
const override;
149 DerivativeType & derivative)
const override;
164 itkSetMacro(DerivativeDelta,
double);
165 itkGetConstReferenceMacro(DerivativeDelta,
double);
171 PrintSelf(std::ostream & os, Indent indent)
const override;
183 ComputeMeasure(
const TransformParametersType & parameters,
const double * subtractionFactor)
const;
185 using FixedSobelFilter = NeighborhoodOperatorImageFilter<FixedGradientImageType, FixedGradientImageType>;
187 using MovedSobelFilter = NeighborhoodOperatorImageFilter<MovedGradientImageType, MovedGradientImageType>;
202 typename TransformMovingImageFilterType::Pointer m_TransformMovingImageFilter{
203 TransformMovingImageFilterType::New()
209 SobelOperator<FixedGradientPixelType, Self::FixedImageDimension> m_FixedSobelOperators[FixedImageDimension]{};
211 typename FixedSobelFilter::Pointer m_FixedSobelFilters[Self::FixedImageDimension]{};
213 ZeroFluxNeumannBoundaryCondition<MovedGradientImageType> m_MovedBoundCond{};
214 ZeroFluxNeumannBoundaryCondition<FixedGradientImageType> m_FixedBoundCond{};
219 SobelOperator<MovedGradientPixelType, Self::MovedImageDimension> m_MovedSobelOperators[MovedImageDimension]{};
221 typename MovedSobelFilter::Pointer m_MovedSobelFilters[Self::MovedImageDimension]{};
224 double m_DerivativeDelta{ 0.001 };
225 double m_Rescalingfactor{ 1.0 };