18 #ifndef itkGaussianDerivativeImageFunction_h
19 #define itkGaussianDerivativeImageFunction_h
49 template<
typename TInputImage,
typename TOutput =
double >
52 Vector< TOutput, TInputImage::ImageDimension >,
78 static constexpr
unsigned int ImageDimension = InputImageType::ImageDimension;
80 #if !defined( ITK_LEGACY_REMOVE )
81 static constexpr
unsigned int ImageDimension2 = ImageDimension;
97 #if !defined( ITK_LEGACY_REMOVE )
122 if(val != this->m_UseImageSpacing)
124 this->m_UseImageSpacing = val;
125 this->RecomputeGaussianKernel();
128 itkBooleanMacro(UseImageSpacing);
129 itkGetMacro(UseImageSpacing,
bool);
137 void SetSigma(
const double *sigma);
139 void SetSigma(
const double sigma);
141 const double *
GetSigma()
const {
return m_Sigma; }
144 void SetExtent(
const double *extent);
146 void SetExtent(
const double extent);
154 void SetInputImage(
const InputImageType *ptr)
override;
160 void PrintSelf(std::ostream & os,
Indent indent)
const override;
164 void RecomputeGaussianKernel();
168 double m_Sigma[ImageDimension];
175 std::vector<Offset<ImageDimension>> m_ImageNeighborhoodOffsets[ImageDimension];
177 double m_Extent[ImageDimension];
180 bool m_UseImageSpacing{
true };
187 #ifndef ITK_MANUAL_INSTANTIATION
188 #include "itkGaussianDerivativeImageFunction.hxx"
typename GaussianDerivativeSpatialFunctionType::Pointer GaussianDerivativeSpatialFunctionPointer
Light weight base class for most itk classes.
A light-weight container object for storing an N-dimensional neighborhood of values.
typename Superclass::OutputType OutputType
typename InputImageType::IndexType IndexType
void SetUseImageSpacing(const bool val)
const double * GetExtent() const
const double * GetSigma() const
typename InputImageType::PointType PointType
N-dimensional Gaussian spatial function class.
A templated class holding a n-Dimensional vector.
const GaussianDerivativeSpatialFunctionPointer m_GaussianDerivativeSpatialFunction
ImageBaseType::IndexType IndexType
OperatorArrayType m_OperatorArray
TInputImage InputImageType
A templated class holding a point in n-Dimensional image space.
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
Compute the Gaussian derivatives of an the image at a specific location in space, i...
Evaluates a function of an image at specified position.
typename InputImageType::PixelType InputPixelType