18 #ifndef itkSumOfSquaresImageFunction_h
19 #define itkSumOfSquaresImageFunction_h
43 template<
typename TInputImage,
typename TCoordRep =
float >
45 public ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType,
81 InputImageType::ImageDimension);
110 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
124 itkGetConstReferenceMacro(NeighborhoodSize,
unsigned int);
133 void operator=(const
Self &) ITK_DELETE_FUNCTION;
140 #ifndef ITK_MANUAL_INSTANTIATION
141 #include "itkSumOfSquaresImageFunction.hxx"
NumericTraits< typename InputImageType::PixelType >::RealType RealType
Calculate the sum of squares in the neighborhood of a pixel.
Light weight base class for most itk classes.
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
SumOfSquaresImageFunction Self
Superclass::IndexType IndexType
unsigned int m_NeighborhoodRadius
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
Superclass::PointType PointType
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
SmartPointer< const Self > ConstPointer
Superclass::OutputType OutputType
Superclass::ContinuousIndexType ContinuousIndexType
unsigned int m_NeighborhoodSize
virtual RealType EvaluateAtIndex(const IndexType &index) const override
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
static const unsigned int ImageDimension
SmartPointer< Self > Pointer
InputImageType::IndexType IndexType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
SumOfSquaresImageFunction()
~SumOfSquaresImageFunction()
Control indentation during Print() invocation.
TInputImage InputImageType
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
void PrintSelf(std::ostream &os, Indent indent) const override
Evaluates a function of an image at specified position.
virtual RealType Evaluate(const PointType &point) const override
void SetNeighborhoodRadius(unsigned int radius)