18 #ifndef __itkWarpHarmonicEnergyCalculator_h
19 #define __itkWarpHarmonicEnergyCalculator_h
45 template <
class TInputImage>
80 itkStaticConstMacro(ImageDimension,
unsigned int,
81 TInputImage::ImageDimension);
84 itkStaticConstMacro(VectorDimension,
unsigned int,
85 PixelType::Dimension);
95 void SetUseImageSpacingOn()
97 this->SetUseImageSpacing(
true);
103 void SetUseImageSpacingOff()
105 this->SetUseImageSpacing(
false);
110 void SetUseImageSpacing(
bool);
111 itkGetConstMacro(UseImageSpacing,
bool);
115 void SetDerivativeWeights(
double data[]);
119 itkSetConstObjectMacro(
Image,ImageType);
125 itkGetConstMacro(HarmonicEnergy,
double);
128 void SetRegion(
const RegionType & region );
133 void PrintSelf(std::ostream& os,
Indent indent)
const;
136 itkGetConstReferenceMacro( NeighborhoodRadius, RadiusType );
137 itkSetMacro( NeighborhoodRadius, RadiusType );
139 double EvaluateAtNeighborhood( ConstNeighborhoodIteratorType &it )
const;
143 void operator=(
const Self&);
161 #ifndef ITK_MANUAL_INSTANTIATION