17 #ifndef itkGaussianInterpolateImageFunction_h
18 #define itkGaussianInterpolateImageFunction_h
24 #include "vnl/vnl_erf.h"
50 template <
typename TInputImage,
typename TCoordRep =
double>
69 TInputImage::ImageDimension );
105 itkDebugMacro(
"setting Sigma to " << s );
130 itkDebugMacro(
"setting Alpha to " << a );
138 itkGetConstMacro( Alpha,
RealType );
168 vnl_vector<RealType> &erfArray, vnl_vector<RealType> &gerfArray,
169 bool evaluateGradient =
false )
const;
181 void operator=( const
Self& ) ITK_DELETE_FUNCTION;
192 #ifndef ITK_MANUAL_INSTANTIATION
193 #include "itkGaussianInterpolateImageFunction.hxx"
Light weight base class for most itk classes.
~GaussianInterpolateImageFunction()
virtual void SetAlpha(const RealType a)
ArrayType m_ScalingFactor
GaussianInterpolateImageFunction Self
virtual void SetSigma(RealType *s)
Evaluates the Gaussian interpolation of an image.
SmartPointer< Self > Pointer
GaussianInterpolateImageFunction()
static const unsigned int ImageDimension
virtual void SetParameters(RealType *sigma, RealType alpha)
ArrayType m_CutoffDistance
virtual void ComputeBoundingBox()
virtual void SetInputImage(const InputImageType *ptr)
Superclass::IndexType IndexType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
Superclass::OutputType OutputType
Superclass::OutputType OutputType
virtual void ComputeErrorFunctionArray(unsigned int dimension, RealType cindex, vnl_vector< RealType > &erfArray, vnl_vector< RealType > &gerfArray, bool evaluateGradient=false) const
Superclass::InputImageType InputImageType
ArrayType m_BoundingBoxStart
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
virtual void Modified() const
ArrayType m_BoundingBoxEnd
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::ContinuousIndexType ContinuousIndexType
Base class for all image interpolaters.
virtual void SetInputImage(const TInputImage *image) override
SmartPointer< const Self > ConstPointer
Superclass::IndexType IndexType
Control indentation during Print() invocation.
InterpolateImageFunction< TInputImage, TCoordRep > Superclass
virtual void SetSigma(const ArrayType s)
void PrintSelf(std::ostream &os, Indent indent) const override
FixedArray< RealType, ImageDimension > ArrayType
Superclass::InputImageType InputImageType
NumericTraits< typename TInputImage::PixelType >::RealType RealType
Superclass::RealType RealType