64 using typename Superclass::FixedImageRegionType;
74 itkSetMacro(SampleLastDimensionRandomly,
bool);
75 itkSetMacro(NumSamplesLastDimension,
unsigned int);
76 itkSetMacro(NumAdditionalSamplesFixed,
unsigned int);
77 itkSetMacro(ReducedDimensionIndex,
unsigned int);
78 itkSetMacro(UseZeroAverageDisplacementConstraint,
bool);
80 itkSetMacro(TransformIsStackTransform,
bool);
83 itkGetConstMacro(SampleLastDimensionRandomly,
bool);
84 itkGetConstMacro(NumSamplesLastDimension,
int);
87 using typename Superclass::CoordinateRepresentationType;
88 using typename Superclass::MovingImageType;
89 using typename Superclass::MovingImagePixelType;
90 using typename Superclass::MovingImageConstPointer;
91 using typename Superclass::FixedImageType;
92 using typename Superclass::FixedImageConstPointer;
93 using typename Superclass::TransformType;
94 using typename Superclass::TransformPointer;
95 using typename Superclass::InputPointType;
96 using typename Superclass::OutputPointType;
97 using typename Superclass::TransformParametersType;
98 using typename Superclass::TransformJacobianType;
99 using typename Superclass::InterpolatorType;
100 using typename Superclass::InterpolatorPointer;
101 using typename Superclass::RealType;
102 using typename Superclass::GradientPixelType;
103 using typename Superclass::GradientImageType;
104 using typename Superclass::GradientImagePointer;
109 using typename Superclass::MeasureType;
110 using typename Superclass::DerivativeType;
112 using typename Superclass::ParametersType;
133 GetValue(
const TransformParametersType & parameters)
const override;
137 GetDerivative(
const TransformParametersType & parameters, DerivativeType & derivative)
const override;
143 DerivativeType & Derivative)
const override;
155 PrintSelf(std::ostream & os, Indent indent)
const override;
165 typename itk::ContinuousIndex<CoordinateRepresentationType, FixedImageDimension>;
178 DerivativeType & imageJacobian)
const override;
183 SampleRandom(
const int n,
const int m, std::vector<int> & numbers)
const;
186 bool m_SampleLastDimensionRandomly{
false };
187 unsigned int m_NumSamplesLastDimension{ 10 };
188 unsigned int m_NumAdditionalSamplesFixed{};
189 unsigned int m_ReducedDimensionIndex{};
192 bool m_UseZeroAverageDisplacementConstraint{
true };
195 float m_InitialVariance{};
201 bool m_TransformIsStackTransform{
false };