18 #ifndef itkWarpHarmonicEnergyCalculator_h
19 #define itkWarpHarmonicEnergyCalculator_h
44 template <
typename TInputImage>
81 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
89 using RadiusType =
typename ConstNeighborhoodIteratorType::RadiusType;
101 SetUseImageSpacing(
bool);
102 itkGetConstMacro(UseImageSpacing,
bool);
103 itkBooleanMacro(UseImageSpacing);
112 itkGetConstReferenceMacro(DerivativeWeights,
WeightsType);
123 itkGetConstMacro(HarmonicEnergy,
double);
133 PrintSelf(std::ostream & os,
Indent indent)
const override;
136 itkGetConstReferenceMacro(NeighborhoodRadius,
RadiusType);
144 double m_HarmonicEnergy{ 0.0 };
148 bool m_RegionSetByUser{
false };
150 bool m_UseImageSpacing{
true };
158 #ifndef ITK_MANUAL_INSTANTIATION
159 # include "itkWarpHarmonicEnergyCalculator.hxx"