18 #ifndef itkWarpHarmonicEnergyCalculator_h 19 #define itkWarpHarmonicEnergyCalculator_h 44 template<
typename TInputImage >
80 TInputImage::ImageDimension);
84 PixelType::Dimension);
111 itkGetConstMacro(UseImageSpacing,
bool);
117 itkSetMacro(DerivativeWeights, WeightsType);
118 itkGetConstReferenceMacro(DerivativeWeights, WeightsType);
122 itkSetConstObjectMacro(
Image, ImageType);
128 itkGetConstMacro(HarmonicEnergy,
double);
131 void SetRegion(
const RegionType & region);
136 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
139 itkGetConstReferenceMacro(NeighborhoodRadius, RadiusType);
140 itkSetMacro(NeighborhoodRadius, RadiusType);
147 void operator=(
const Self &) ITK_DELETE_FUNCTION;
164 #ifndef ITK_MANUAL_INSTANTIATION 165 #include "itkWarpHarmonicEnergyCalculator.hxx" SmartPointer< Self > Pointer
void SetUseImageSpacing(bool)
WarpHarmonicEnergyCalculator Self
static const unsigned int ImageDimension
void SetUseImageSpacingOn()
void operator=(const Self &) ITK_DELETE_FUNCTION
WarpHarmonicEnergyCalculator()
virtual ~WarpHarmonicEnergyCalculator()
ConstNeighborhoodIteratorType::RadiusType RadiusType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::RadiusType RadiusType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
WeightsType m_DerivativeWeights
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
TInputImage::PixelType PixelType
static const unsigned int VectorDimension
double EvaluateAtNeighborhood(ConstNeighborhoodIteratorType &it) const
TInputImage::RegionType RegionType
void SetRegion(const RegionType ®ion)
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