18 #ifndef itkVarianceImageFunction_h
19 #define itkVarianceImageFunction_h
42 template<
typename TInputImage,
typename TCoordRep =
float >
44 public ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType,
80 InputImageType::ImageDimension);
109 itkSetMacro(NeighborhoodRadius,
unsigned int);
110 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
126 #ifndef ITK_MANUAL_INSTANTIATION
127 #include "itkVarianceImageFunction.hxx"
SmartPointer< Self > Pointer
Light weight base class for most itk classes.
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
TInputImage InputImageType
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
Calculate the variance in the neighborhood of a pixel.
virtual RealType EvaluateAtIndex(const IndexType &index) const override
VarianceImageFunction Self
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
InputImageType::IndexType IndexType
virtual RealType Evaluate(const PointType &point) const override
Superclass::PointType PointType
Superclass::ContinuousIndexType ContinuousIndexType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
NumericTraits< typename InputImageType::PixelType >::RealType RealType
Superclass::IndexType IndexType
Superclass::OutputType OutputType
unsigned int m_NeighborhoodRadius
static const unsigned int ImageDimension
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
Evaluates a function of an image at specified position.