18#ifndef itkVarianceImageFunction_h
19#define itkVarianceImageFunction_h
42template <
typename TInputImage,
typename TCoordinate =
float>
44 :
public ImageFunction<TInputImage, typename NumericTraits<typename TInputImage::PixelType>::RealType, TCoordinate>
79 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
109 itkSetMacro(NeighborhoodRadius,
unsigned int);
110 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
124#ifndef ITK_MANUAL_INSTANTIATION
125# include "itkVarianceImageFunction.hxx"
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
typename InputImageType::IndexType IndexType
Point< TCoordinate, Self::ImageDimension > PointType
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
Control indentation during Print() invocation.
Implements transparent reference counting.
typename NumericTraits< typename InputImageType::PixelType >::RealType RealType
RealType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
SmartPointer< const Self > ConstPointer
TInputImage InputImageType
static constexpr unsigned int ImageDimension
RealType EvaluateAtIndex(const IndexType &index) const override
SmartPointer< Self > Pointer
unsigned int m_NeighborhoodRadius
RealType Evaluate(const PointType &point) const override
~VarianceImageFunction() override=default
typename InputImageType::IndexType IndexType
Point< TCoordinate, Self::ImageDimension > PointType
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
VarianceImageFunction Self
void PrintSelf(std::ostream &os, Indent indent) const override
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordinate > Superclass
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents