ITK  5.1.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput > Class Template Reference

#include <itkDiscreteHessianGaussianImageFunction.h>

+ Inheritance diagram for itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >:
+ Collaboration diagram for itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using ContinuousIndexType = typename Superclass::ContinuousIndexType
 
using GaussianDerivativeOperatorArrayType = FixedArray< GaussianDerivativeOperatorType, 3 *Self::ImageDimension2 >
 
using GaussianDerivativeOperatorType = itk::GaussianDerivativeOperator< TOutput, Self::ImageDimension2 >
 
using IndexType = typename Superclass::IndexType
 
using IndexValueType = typename Superclass::IndexValueType
 
using InputImageType = typename Superclass::InputImageType
 
using InputPixelType = typename Superclass::InputPixelType
 
enum  InterpolationModeType {
  NearestNeighbourInterpolation,
  LinearInterpolation
}
 
using KernelArrayType = FixedArray< KernelType, Self::ImageDimension2 *(Self::ImageDimension2+1)/2 >
 
using KernelType = Neighborhood< TOutput, Self::ImageDimension2 >
 
using OperatorImageFunctionPointer = typename OperatorImageFunctionType::Pointer
 
using OperatorImageFunctionType = NeighborhoodOperatorImageFunction< InputImageType, TOutput >
 
using OutputType = typename Superclass::OutputType
 
using Pointer = SmartPointer< Self >
 
using PointType = typename Superclass::PointType
 
using Self = DiscreteHessianGaussianImageFunction
 
using Superclass = ImageFunction< TInputImage, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >, TOutput >
 
using TensorType = SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >
 
using VarianceArrayType = FixedArray< double, Self::ImageDimension2 >
 
- Public Types inherited from itk::ImageFunction< TInputImage, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >, TOutput >
using ConstPointer = SmartPointer< const Self >
 
using ContinuousIndexType = ContinuousIndex< TOutput, Self::ImageDimension >
 
using CoordRepType = TOutput
 
using IndexType = typename InputImageType::IndexType
 
using IndexValueType = typename InputImageType::IndexValueType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImageType = TInputImage
 
using InputPixelType = typename InputImageType::PixelType
 
using OutputType = SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >
 
using Pointer = SmartPointer< Self >
 
using PointType = Point< TOutput, Self::ImageDimension >
 
using Self = ImageFunction
 
using Superclass = FunctionBase< Point< TOutput, Self::ImageDimension >, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension > >
 
- Public Types inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension > >
using ConstPointer = SmartPointer< const Self >
 
using InputType = Point< TOutput, TInputImage::ImageDimension >
 
using OutputType = SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = FunctionBase
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
OutputType Evaluate (const PointType &point) const override
 
OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override
 
OutputType EvaluateAtIndex (const IndexType &index) const override
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ImageFunction< TInputImage, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >, TOutput >
SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension > Evaluate (const PointType &point) const override=0
 
virtual SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension > EvaluateAtContinuousIndex (const ContinuousIndexType &index) const=0
 
virtual SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension > EvaluateAtIndex (const IndexType &index) const=0
 
const InputImageTypeGetInputImage () const
 
virtual void SetInputImage (const InputImageType *ptr)
 
virtual bool IsInsideBuffer (const IndexType &index) const
 
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
 
virtual bool IsInsideBuffer (const PointType &point) const
 
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
 
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
 
void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
 
virtual const IndexTypeGetStartIndex () const
 
virtual const IndexTypeGetEndIndex () const
 
virtual const ContinuousIndexTypeGetStartContinuousIndex () const
 
virtual const ContinuousIndexTypeGetEndContinuousIndex () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension2 = InputImageType::ImageDimension
 
- Static Public Attributes inherited from itk::ImageFunction< TInputImage, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >, TOutput >
static constexpr unsigned int ImageDimension
 
VarianceArrayType m_Variance
 
double m_MaximumError
 
unsigned int m_MaximumKernelWidth
 
GaussianDerivativeOperatorArrayType m_OperatorArray
 
KernelArrayType m_KernelArray
 
OperatorImageFunctionPointer m_OperatorImageFunction
 
bool m_NormalizeAcrossScale
 
bool m_UseImageSpacing
 
InterpolationModeType m_InterpolationMode
 
virtual void SetVariance (VarianceArrayType _arg)
 
virtual const VarianceArrayType GetVariance () const
 
virtual void SetVariance (double data[])
 
virtual void SetVariance (double variance)
 
void SetSigma (const double sigma)
 
virtual void SetMaximumError (double _arg)
 
virtual double GetMaximumError () const
 
virtual void SetNormalizeAcrossScale (bool _arg)
 
virtual bool GetNormalizeAcrossScale () const
 
virtual void NormalizeAcrossScaleOn ()
 
virtual void NormalizeAcrossScaleOff ()
 
virtual void SetUseImageSpacing (bool _arg)
 
virtual bool GetUseImageSpacing () const
 
virtual void UseImageSpacingOn ()
 
virtual void UseImageSpacingOff ()
 
virtual void SetMaximumKernelWidth (unsigned int _arg)
 
virtual unsigned int GetMaximumKernelWidth () const
 
virtual void SetInterpolationMode (InterpolationModeType _arg)
 
virtual InterpolationModeType GetInterpolationMode () const
 
void SetInputImage (const InputImageType *ptr) override
 
virtual void Initialize ()
 
 DiscreteHessianGaussianImageFunction ()
 
 DiscreteHessianGaussianImageFunction (const Self &)
 
 ~DiscreteHessianGaussianImageFunction () override
 
void operator= (const Self &)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void RecomputeGaussianKernel ()
 

Additional Inherited Members

- Protected Member Functions inherited from itk::ImageFunction< TInputImage, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >, TOutput >
 ImageFunction ()
 
 ~ImageFunction () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension > >
 FunctionBase ()=default
 
 ~FunctionBase () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Protected Attributes inherited from itk::ImageFunction< TInputImage, SymmetricSecondRankTensor< TOutput, TInputImage::ImageDimension >, TOutput >
InputImageConstPointer m_Image
 
IndexType m_StartIndex
 
IndexType m_EndIndex
 
ContinuousIndexType m_StartContinuousIndex
 
ContinuousIndexType m_EndContinuousIndex
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TInputImage, typename TOutput = double>
class itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >

Compute the Hessian Gaussian of an image at a specific location in space by calculating discrete second-order gaussian derivatives. This class is templated over the input image type.

The Initialize() method must be called after setting the parameters and before evaluating the function.

Author
Ivan Macia, VICOMTech, Spain, http://www.vicomtech.es

This implementation was taken from the Insight Journal paper: https://hdl.handle.net/1926/1290

See also
NeighborhoodOperator
ImageFunction

Definition at line 46 of file itkDiscreteHessianGaussianImageFunction.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::ConstPointer = SmartPointer<const Self>

Definition at line 60 of file itkDiscreteHessianGaussianImageFunction.h.

◆ ContinuousIndexType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::ContinuousIndexType = typename Superclass::ContinuousIndexType

Definition at line 73 of file itkDiscreteHessianGaussianImageFunction.h.

◆ GaussianDerivativeOperatorArrayType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GaussianDerivativeOperatorArrayType = FixedArray<GaussianDerivativeOperatorType, 3 * Self::ImageDimension2>

Array to store gaussian derivative operators from zero to second order (3*ImageDimension operators)

Definition at line 89 of file itkDiscreteHessianGaussianImageFunction.h.

◆ GaussianDerivativeOperatorType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GaussianDerivativeOperatorType = itk::GaussianDerivativeOperator<TOutput, Self::ImageDimension2>

Definition at line 85 of file itkDiscreteHessianGaussianImageFunction.h.

◆ IndexType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::IndexType = typename Superclass::IndexType

Definition at line 71 of file itkDiscreteHessianGaussianImageFunction.h.

◆ IndexValueType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::IndexValueType = typename Superclass::IndexValueType

Definition at line 72 of file itkDiscreteHessianGaussianImageFunction.h.

◆ InputImageType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::InputImageType = typename Superclass::InputImageType

Image dependent types

Definition at line 69 of file itkDiscreteHessianGaussianImageFunction.h.

◆ InputPixelType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::InputPixelType = typename Superclass::InputPixelType

Definition at line 70 of file itkDiscreteHessianGaussianImageFunction.h.

◆ KernelArrayType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::KernelArrayType = FixedArray<KernelType, Self::ImageDimension2 *(Self::ImageDimension2 + 1) / 2>

Array to store precomputed N-dimensional kernels for the hessian components

Definition at line 95 of file itkDiscreteHessianGaussianImageFunction.h.

◆ KernelType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::KernelType = Neighborhood<TOutput, Self::ImageDimension2>

Definition at line 91 of file itkDiscreteHessianGaussianImageFunction.h.

◆ OperatorImageFunctionPointer

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::OperatorImageFunctionPointer = typename OperatorImageFunctionType::Pointer

Definition at line 100 of file itkDiscreteHessianGaussianImageFunction.h.

◆ OperatorImageFunctionType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::OperatorImageFunctionType = NeighborhoodOperatorImageFunction<InputImageType, TOutput>

Image function that performs convolution with the neighborhood operator

Definition at line 99 of file itkDiscreteHessianGaussianImageFunction.h.

◆ OutputType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::OutputType = typename Superclass::OutputType

Definition at line 81 of file itkDiscreteHessianGaussianImageFunction.h.

◆ Pointer

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::Pointer = SmartPointer<Self>

Smart pointer type alias support

Definition at line 59 of file itkDiscreteHessianGaussianImageFunction.h.

◆ PointType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::PointType = typename Superclass::PointType

Definition at line 74 of file itkDiscreteHessianGaussianImageFunction.h.

◆ Self

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::Self = DiscreteHessianGaussianImageFunction

Standard "Self" type alias

Definition at line 52 of file itkDiscreteHessianGaussianImageFunction.h.

◆ Superclass

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::Superclass = ImageFunction<TInputImage, SymmetricSecondRankTensor<TOutput, TInputImage::ImageDimension>, TOutput>

Standard "Superclass" type alias

Definition at line 56 of file itkDiscreteHessianGaussianImageFunction.h.

◆ TensorType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::TensorType = SymmetricSecondRankTensor<TOutput, TInputImage::ImageDimension>

Output type

Definition at line 80 of file itkDiscreteHessianGaussianImageFunction.h.

◆ VarianceArrayType

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::VarianceArrayType = FixedArray<double, Self::ImageDimension2>

Definition at line 83 of file itkDiscreteHessianGaussianImageFunction.h.

Member Enumeration Documentation

◆ InterpolationModeType

template<typename TInputImage , typename TOutput = double>
enum itk::DiscreteHessianGaussianImageFunction::InterpolationModeType

Interpolation modes

Enumerator
NearestNeighbourInterpolation 
LinearInterpolation 

Definition at line 103 of file itkDiscreteHessianGaussianImageFunction.h.

Constructor & Destructor Documentation

◆ DiscreteHessianGaussianImageFunction() [1/2]

template<typename TInputImage , typename TOutput = double>
itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::DiscreteHessianGaussianImageFunction ( )
protected

Desired variance of the discrete Gaussian function

◆ DiscreteHessianGaussianImageFunction() [2/2]

template<typename TInputImage , typename TOutput = double>
itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::DiscreteHessianGaussianImageFunction ( const Self )
inlineprotected

Desired variance of the discrete Gaussian function

Definition at line 201 of file itkDiscreteHessianGaussianImageFunction.h.

◆ ~DiscreteHessianGaussianImageFunction()

template<typename TInputImage , typename TOutput = double>
itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::~DiscreteHessianGaussianImageFunction ( )
inlineoverrideprotected

Desired variance of the discrete Gaussian function

Definition at line 203 of file itkDiscreteHessianGaussianImageFunction.h.

Member Function Documentation

◆ CreateAnother()

template<typename TInputImage , typename TOutput = double>
virtual::itk::LightObject::Pointer itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

◆ Evaluate()

template<typename TInputImage , typename TOutput = double>
OutputType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::Evaluate ( const PointType point) const
override

Evalutate the in the given dimension at specified point

◆ EvaluateAtContinuousIndex()

template<typename TInputImage , typename TOutput = double>
OutputType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::EvaluateAtContinuousIndex ( const ContinuousIndexType index) const
override

Evaluate the function at specified ContinuousIndex position

◆ EvaluateAtIndex()

template<typename TInputImage , typename TOutput = double>
OutputType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::EvaluateAtIndex ( const IndexType index) const
override

Evaluate the function at specified Index position

◆ GetInterpolationMode()

template<typename TInputImage , typename TOutput = double>
virtual InterpolationModeType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GetInterpolationMode ( ) const
virtual

Desired variance of the discrete Gaussian function

◆ GetMaximumError()

template<typename TInputImage , typename TOutput = double>
virtual double itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GetMaximumError ( ) const
virtual

Desired variance of the discrete Gaussian function

◆ GetMaximumKernelWidth()

template<typename TInputImage , typename TOutput = double>
virtual unsigned int itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GetMaximumKernelWidth ( ) const
virtual

Desired variance of the discrete Gaussian function

◆ GetNameOfClass()

template<typename TInputImage , typename TOutput = double>
virtual const char* itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GetNameOfClass ( ) const
virtual

◆ GetNormalizeAcrossScale()

template<typename TInputImage , typename TOutput = double>
virtual bool itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GetNormalizeAcrossScale ( ) const
virtual

Desired variance of the discrete Gaussian function

◆ GetUseImageSpacing()

template<typename TInputImage , typename TOutput = double>
virtual bool itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GetUseImageSpacing ( ) const
virtual

Desired variance of the discrete Gaussian function

◆ GetVariance()

template<typename TInputImage , typename TOutput = double>
virtual const VarianceArrayType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::GetVariance ( ) const
virtual

Desired variance of the discrete Gaussian function

◆ Initialize()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::Initialize ( )
inlinevirtual

Initialize the Gaussian kernel. Call this method before evaluating the function. This method MUST be called after any changes to function parameters.

Definition at line 194 of file itkDiscreteHessianGaussianImageFunction.h.

◆ New()

template<typename TInputImage , typename TOutput = double>
static Pointer itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::New ( )
static

Method for creation through the object factory

◆ NormalizeAcrossScaleOff()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::NormalizeAcrossScaleOff ( )
virtual

Desired variance of the discrete Gaussian function

◆ NormalizeAcrossScaleOn()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::NormalizeAcrossScaleOn ( )
virtual

Desired variance of the discrete Gaussian function

◆ operator=()

template<typename TInputImage , typename TOutput = double>
void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::operator= ( const Self )
inlineprotected

Desired variance of the discrete Gaussian function

Definition at line 206 of file itkDiscreteHessianGaussianImageFunction.h.

◆ PrintSelf()

template<typename TInputImage , typename TOutput = double>
void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Desired variance of the discrete Gaussian function

Reimplemented from itk::Object.

◆ RecomputeGaussianKernel()

template<typename TInputImage , typename TOutput = double>
void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::RecomputeGaussianKernel ( )
protected

Desired variance of the discrete Gaussian function

◆ SetInputImage()

template<typename TInputImage , typename TOutput = double>
void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetInputImage ( const InputImageType ptr)
override

Set the input image.

Warning
this method caches BufferedRegion information. If the BufferedRegion has changed, user must call SetInputImage again to update cached values.

◆ SetInterpolationMode()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetInterpolationMode ( InterpolationModeType  _arg)
virtual

Set/Get the interpolation mode.

◆ SetMaximumError()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetMaximumError ( double  _arg)
virtual

Set/Get the desired maximum error of the gaussian approximation. Maximum error is the difference between the area under the discrete Gaussian curve and the area under the continuous Gaussian. Maximum error affects the Gaussian operator size. The value is clamped between 0.00001 and 0.99999.

◆ SetMaximumKernelWidth()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetMaximumKernelWidth ( unsigned int  _arg)
virtual

Set/Get a limit for growth of the kernel. Small maximum error values with large variances will yield very large kernel sizes. This value can be used to truncate a kernel in such instances. A warning will be given on truncation of the kernel.

◆ SetNormalizeAcrossScale()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetNormalizeAcrossScale ( bool  _arg)
virtual

Set/Get the flag for calculating scale-space normalized derivatives. Normalized derivatives are obtained multiplying by the scale parameter t.

◆ SetSigma()

template<typename TInputImage , typename TOutput = double>
void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetSigma ( const double  sigma)
inline

Convenience method for setting the variance through the standard deviation

Definition at line 143 of file itkDiscreteHessianGaussianImageFunction.h.

◆ SetUseImageSpacing()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetUseImageSpacing ( bool  _arg)
virtual

Set/Get the flag for using image spacing when calculating derivatives.

◆ SetVariance() [1/3]

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetVariance ( double  data[])
virtual

Desired variance of the discrete Gaussian function

◆ SetVariance() [2/3]

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetVariance ( double  variance)
inlinevirtual

Convenience method for setting the variance for all dimensions

Definition at line 133 of file itkDiscreteHessianGaussianImageFunction.h.

◆ SetVariance() [3/3]

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::SetVariance ( VarianceArrayType  _arg)
virtual

Set/Get the variance for the discrete Gaussian kernel. Sets the variance for individual dimensions. The default is 0.0 in each dimension. If UseImageSpacing is true, the units are the physical units of your image. If UseImageSpacing is false then the units are pixels.

◆ UseImageSpacingOff()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::UseImageSpacingOff ( )
virtual

Desired variance of the discrete Gaussian function

◆ UseImageSpacingOn()

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::UseImageSpacingOn ( )
virtual

Desired variance of the discrete Gaussian function

Member Data Documentation

◆ ImageDimension2

template<typename TInputImage , typename TOutput = double>
constexpr unsigned int itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::ImageDimension2 = InputImageType::ImageDimension
staticconstexpr

Dimension of the underlying image

Definition at line 77 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_InterpolationMode

template<typename TInputImage , typename TOutput = double>
InterpolationModeType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_InterpolationMode
private

Interpolation mode

Definition at line 248 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_KernelArray

template<typename TInputImage , typename TOutput = double>
KernelArrayType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_KernelArray
private

Array of N-dimensional kernels which are the result of convolving the operators for calculating hessian matrix derivatives

Definition at line 236 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_MaximumError

template<typename TInputImage , typename TOutput = double>
double itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_MaximumError
private

Difference between the areas under the curves of the continuous and discrete Gaussian functions

Definition at line 220 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_MaximumKernelWidth

template<typename TInputImage , typename TOutput = double>
unsigned int itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_MaximumKernelWidth
private

Maximum kernel size allowed. This value is used to truncate a kernel that has grown too large. A warning is given when the specified maximum error causes the kernel to exceed this size

Definition at line 225 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_NormalizeAcrossScale

template<typename TInputImage , typename TOutput = double>
bool itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_NormalizeAcrossScale
private

Flag for scale-space normalization of derivatives

Definition at line 242 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_OperatorArray

template<typename TInputImage , typename TOutput = double>
GaussianDerivativeOperatorArrayType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_OperatorArray
mutableprivate

Array of derivative operators, one for each dimension and order. First N zero-order operators are stored, then N first-order and then N second-order making 3*N operators altogether where N=ImageDimension.

Definition at line 231 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_OperatorImageFunction

template<typename TInputImage , typename TOutput = double>
OperatorImageFunctionPointer itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_OperatorImageFunction
private

OperatorImageFunction

Definition at line 239 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_UseImageSpacing

template<typename TInputImage , typename TOutput = double>
bool itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_UseImageSpacing
private

Flag to indicate whether to use image spacing

Definition at line 245 of file itkDiscreteHessianGaussianImageFunction.h.

◆ m_Variance

template<typename TInputImage , typename TOutput = double>
VarianceArrayType itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >::m_Variance
private

Desired variance of the discrete Gaussian function

Definition at line 216 of file itkDiscreteHessianGaussianImageFunction.h.


The documentation for this class was generated from the following file: