18 #ifndef itkWarpHarmonicEnergyCalculator_h
19 #define itkWarpHarmonicEnergyCalculator_h
44 template<
typename TInputImage >
79 itkStaticConstMacro(ImageDimension,
unsigned int,
80 TInputImage::ImageDimension);
83 itkStaticConstMacro(VectorDimension,
unsigned int,
84 PixelType::Dimension);
96 this->SetUseImageSpacing(
true);
104 this->SetUseImageSpacing(
false);
109 void SetUseImageSpacing(
bool);
111 itkGetConstMacro(UseImageSpacing,
bool);
118 itkGetConstReferenceMacro(DerivativeWeights,
WeightsType);
128 itkGetConstMacro(HarmonicEnergy,
double);
136 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
139 itkGetConstReferenceMacro(NeighborhoodRadius, RadiusType);
140 itkSetMacro(NeighborhoodRadius, RadiusType);
143 double EvaluateAtNeighborhood(ConstNeighborhoodIteratorType & it)
const;
163 #ifndef ITK_MANUAL_INSTANTIATION
164 #include "itkWarpHarmonicEnergyCalculator.hxx"
SmartPointer< Self > Pointer
WarpHarmonicEnergyCalculator Self
Light weight base class for most itk classes.
void SetUseImageSpacingOn()
virtual ~WarpHarmonicEnergyCalculator()
ConstNeighborhoodIteratorType::RadiusType RadiusType
Superclass::RadiusType RadiusType
WeightsType m_DerivativeWeights
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
TInputImage::PixelType PixelType
TInputImage::RegionType RegionType
ConstNeighborhoodIterator< ImageType > ConstNeighborhoodIteratorType
TInputImage::ConstPointer ImageConstPointer
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
ImageConstPointer m_Image
Base class for most ITK classes.
TInputImage::IndexType IndexType
FixedArray< double, ImageDimension > WeightsType
void SetUseImageSpacingOff()
TInputImage::Pointer ImagePointer
Compute the harmonic energy of a deformation field.
Templated n-dimensional image class.
RadiusType m_NeighborhoodRadius