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);
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
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const
Superclass::PointType PointType
SmartPointer< const Self > ConstPointer
Superclass::OutputType OutputType
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
InputImageType::IndexType IndexType
void PrintSelf(std::ostream &os, Indent indent) const
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
void operator=(const Self &)
SumOfSquaresImageFunction()
~SumOfSquaresImageFunction()
Control indentation during Print() invocation.
TInputImage InputImageType
virtual RealType Evaluate(const PointType &point) const
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
Evaluates a function of an image at specified position.
void SetNeighborhoodRadius(unsigned int radius)