19#ifndef itkGaussianInterpolateImageFunction_h
20#define itkGaussianInterpolateImageFunction_h
26#include "vnl/vnl_erf.h"
53template <
typename TInputImage,
typename TCoordinate =
double>
179 unsigned int dimension,
181 vnl_vector<RealType> & erfArray,
182 vnl_vector<RealType> & gerfArray,
183 bool evaluateGradient =
false)
const;
217#ifndef ITK_MANUAL_INSTANTIATION
218# include "itkGaussianInterpolateImageFunction.hxx"
Simulate a standard C array with copy semantics.
virtual void SetParameters(RealType *sigma, RealType alpha)
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
SizeType GetRadius() const override
FixedArray< RealType, ImageDimension > ArrayType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &, OutputType *) const
RegionType ComputeInterpolationRegion(const ContinuousIndexType &) const
ArrayType m_CutOffDistance
typename NumericTraits< typename TInputImage::PixelType >::RealType RealType
GaussianInterpolateImageFunction()
virtual void SetSigma(RealType *s)
SmartPointer< const Self > ConstPointer
InterpolateImageFunction< TInputImage, TCoordinate > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
ImageRegion< ImageDimension > RegionType
virtual void SetSigma(const ArrayType s)
SmartPointer< Self > Pointer
virtual void ComputeBoundingBox()
ArrayType m_ScalingFactor
GaussianInterpolateImageFunction Self
void SetInputImage(const TInputImage *image) override
static constexpr unsigned int ImageDimension
ArrayType m_BoundingBoxStart
virtual void SetAlpha(const RealType a)
ArrayType m_BoundingBoxEnd
virtual void ComputeErrorFunctionArray(const RegionType ®ion, unsigned int dimension, RealType cindex, vnl_vector< RealType > &erfArray, vnl_vector< RealType > &gerfArray, bool evaluateGradient=false) const
~GaussianInterpolateImageFunction() override=default
virtual void SetInputImage(const InputImageType *ptr)
An image region represents a structured region of data.
Control indentation during Print() invocation.
typename NumericTraits< typename TInputImage::PixelType >::RealType RealType
InterpolateImageFunction()=default
typename InputImageType::SizeType SizeType
typename InputImageType::IndexType IndexType
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
TInputImage InputImageType
virtual void Modified() const
Implements transparent reference counting.
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....