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;
192 #ifndef ITK_MANUAL_INSTANTIATION
193 #include "itkGaussianInterpolateImageFunction.hxx"
Light weight base class for most itk classes.
~GaussianInterpolateImageFunction()
virtual void SetInputImage(const TInputImage *image)
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)
void PrintSelf(std::ostream &os, Indent indent) const
ArrayType m_CutoffDistance
virtual void ComputeBoundingBox()
virtual void SetInputImage(const InputImageType *ptr)
Superclass::IndexType IndexType
Superclass::OutputType OutputType
void operator=(const Self &)
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const
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
virtual void Modified() const
ArrayType m_BoundingBoxEnd
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::ContinuousIndexType ContinuousIndexType
Base class for all image interpolaters.
SmartPointer< const Self > ConstPointer
Superclass::IndexType IndexType
Control indentation during Print() invocation.
InterpolateImageFunction< TInputImage, TCoordRep > Superclass
virtual void SetSigma(const ArrayType s)
FixedArray< RealType, ImageDimension > ArrayType
Superclass::InputImageType InputImageType
NumericTraits< typename TInputImage::PixelType >::RealType RealType
Superclass::RealType RealType