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
void PrintSelf(std::ostream &os, Indent indent) const
virtual RealType Evaluate(const PointType &point) const
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
TInputImage InputImageType
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
virtual RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const
Calculate the variance in the neighborhood of a pixel.
VarianceImageFunction Self
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
InputImageType::IndexType IndexType
virtual RealType EvaluateAtIndex(const IndexType &index) const
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
Control indentation during Print() invocation.
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
Evaluates a function of an image at specified position.