18 #ifndef __itkWarpHarmonicEnergyCalculator_h
19 #define __itkWarpHarmonicEnergyCalculator_h
44 template<
class TInputImage >
79 itkStaticConstMacro(ImageDimension,
unsigned int,
80 TInputImage::ImageDimension);
83 itkStaticConstMacro(VectorDimension,
unsigned int,
84 PixelType::Dimension);
94 void SetUseImageSpacingOn()
96 this->SetUseImageSpacing(
true);
102 void SetUseImageSpacingOff()
104 this->SetUseImageSpacing(
false);
109 void SetUseImageSpacing(
bool);
111 itkGetConstMacro(UseImageSpacing,
bool);
118 itkGetConstReferenceMacro(DerivativeWeights,
WeightsType);
128 itkGetConstMacro(HarmonicEnergy,
double);
136 void PrintSelf(std::ostream & os,
Indent indent)
const;
139 itkGetConstReferenceMacro(NeighborhoodRadius, RadiusType);
140 itkSetMacro(NeighborhoodRadius, RadiusType);
143 double EvaluateAtNeighborhood(ConstNeighborhoodIteratorType & it)
const;
147 void operator=(
const Self &);
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "itkWarpHarmonicEnergyCalculator.hxx"