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);
100 const ContinuousIndexType & cindex)
const ITK_OVERRIDE
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.
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
SumOfSquaresImageFunction Self
Superclass::IndexType IndexType
unsigned int m_NeighborhoodRadius
void operator=(const Self &) ITK_DELETE_FUNCTION
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::PointType PointType
virtual RealType Evaluate(const PointType &point) const override
SmartPointer< const Self > ConstPointer
Superclass::OutputType OutputType
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
Superclass::ContinuousIndexType ContinuousIndexType
unsigned int m_NeighborhoodSize
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
static const unsigned int ImageDimension
SmartPointer< Self > Pointer
virtual RealType EvaluateAtIndex(const IndexType &index) const override
InputImageType::IndexType IndexType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
SumOfSquaresImageFunction()
~SumOfSquaresImageFunction()
Control indentation during Print() invocation.
TInputImage InputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
Evaluates a function of an image at specified position.
void SetNeighborhoodRadius(unsigned int radius)