18#ifndef itkWarpHarmonicEnergyCalculator_h
19#define itkWarpHarmonicEnergyCalculator_h
44template <
typename TInputImage>
81 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
102 itkGetConstMacro(UseImageSpacing,
bool);
103 itkBooleanMacro(UseImageSpacing);
123 itkGetConstMacro(HarmonicEnergy,
double);
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"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
Compute the harmonic energy of a deformation field.
~WarpHarmonicEnergyCalculator() override=default
void SetRegion(const RegionType ®ion)
void PrintSelf(std::ostream &os, Indent indent) const override
typename TInputImage::RegionType RegionType
void SetUseImageSpacing(bool)
typename ConstNeighborhoodIteratorType::RadiusType RadiusType
typename TInputImage::IndexType IndexType
typename TInputImage::ConstPointer ImageConstPointer
double EvaluateAtNeighborhood(ConstNeighborhoodIteratorType &it) const
WarpHarmonicEnergyCalculator()
typename TInputImage::PixelType PixelType
typename TInputImage::Pointer ImagePointer
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
constexpr unsigned int Dimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....