ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput > Class Template Reference

#include <itkDiscreteGradientMagnitudeGaussianImageFunction.h>

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

Detailed Description

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

Compute the discrete gradient magnitude gaussian of an the image at a specific location in space, i.e. point, index or continuous index. This class computes a single derivative given the order in each direction (by default zero). 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 47 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

Public Types

using ConstPointer = SmartPointer< const Self >
 
using ContinuousIndexType = typename Superclass::ContinuousIndexType
 
using GaussianDerivativeOperatorArrayType = FixedArray< GaussianDerivativeOperatorType, 2 *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 >
 
using KernelType = Neighborhood< TOutput, Self::ImageDimension2 >
 
using OperatorImageFunctionPointer = typename OperatorImageFunctionType::Pointer
 
using OperatorImageFunctionType = NeighborhoodOperatorImageFunction< InputImageType, TOutput >
 
using OrderArrayType = FixedArray< unsigned int, Self::ImageDimension2 >
 
using OutputType = typename Superclass::OutputType
 
using Pointer = SmartPointer< Self >
 
using PointType = typename Superclass::PointType
 
using Self = DiscreteGradientMagnitudeGaussianImageFunction
 
using Superclass = ImageFunction< TInputImage, TOutput, TOutput >
 
using VarianceArrayType = FixedArray< double, Self::ImageDimension2 >
 
- Public Types inherited from itk::ImageFunction< TInputImage, TOutput, 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 = TOutput
 
using Pointer = SmartPointer< Self >
 
using PointType = Point< TOutput, Self::ImageDimension >
 
using Self = ImageFunction
 
using Superclass = FunctionBase< Point< TOutput, Self::ImageDimension >, TOutput >
 
- Public Types inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, TOutput >
using ConstPointer = SmartPointer< const Self >
 
using InputType = Point< TOutput, TInputImage::ImageDimension >
 
using OutputType = TOutput
 
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
 
virtual void Initialize ()
 
void SetInputImage (const InputImageType *ptr) override
 
void SetSigma (const double sigma)
 
virtual void SetVariance (VarianceArrayType _arg)
 
virtual const VarianceArrayType GetVariance () const
 
virtual void SetVariance (double data[])
 
virtual void SetVariance (double variance)
 
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
 
- Public Member Functions inherited from itk::ImageFunction< TInputImage, TOutput, TOutput >
void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
 
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
 
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
 
TOutput Evaluate (const PointType &point) const override=0
 
virtual TOutput EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
 
virtual TOutput EvaluateAtIndex (const IndexType &index) const =0
 
virtual const ContinuousIndexTypeGetEndContinuousIndex () const
 
virtual const IndexTypeGetEndIndex () const
 
const InputImageTypeGetInputImage () const
 
virtual const ContinuousIndexTypeGetStartContinuousIndex () const
 
virtual const IndexTypeGetStartIndex () 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
 
- 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 noexceptoverride
 
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, TOutput, TOutput >
static constexpr unsigned int ImageDimension
 

Protected Member Functions

 DiscreteGradientMagnitudeGaussianImageFunction ()
 
 DiscreteGradientMagnitudeGaussianImageFunction (const Self &)
 
void operator= (const Self &)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void RecomputeGaussianKernel ()
 
 ~DiscreteGradientMagnitudeGaussianImageFunction () override
 
- Protected Member Functions inherited from itk::ImageFunction< TInputImage, TOutput, TOutput >
 ImageFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ImageFunction () override=default
 
- Protected Member Functions inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, TOutput >
 FunctionBase ()=default
 
 ~FunctionBase () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- 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 ()
 

Private Attributes

InterpolationModeType m_InterpolationMode
 
KernelArrayType m_KernelArray
 
double m_MaximumError
 
unsigned int m_MaximumKernelWidth
 
bool m_NormalizeAcrossScale
 
GaussianDerivativeOperatorArrayType m_OperatorArray
 
OperatorImageFunctionPointer m_OperatorImageFunction
 
bool m_UseImageSpacing
 
VarianceArrayType m_Variance
 

Additional Inherited Members

- Protected Attributes inherited from itk::ImageFunction< TInputImage, TOutput, TOutput >
ContinuousIndexType m_EndContinuousIndex
 
IndexType m_EndIndex
 
InputImageConstPointer m_Image
 
ContinuousIndexType m_StartContinuousIndex
 
IndexType m_StartIndex
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::ConstPointer = SmartPointer< const Self >
template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::ContinuousIndexType = typename Superclass::ContinuousIndexType
template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::GaussianDerivativeOperatorArrayType = FixedArray< GaussianDerivativeOperatorType, 2 *Self::ImageDimension2 >

Array to store gaussian derivative operators one for each dimension

Definition at line 91 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::GaussianDerivativeOperatorType = itk::GaussianDerivativeOperator< TOutput, Self::ImageDimension2 >
template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::IndexType = typename Superclass::IndexType
template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::IndexValueType = typename Superclass::IndexValueType
template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::InputImageType = typename Superclass::InputImageType

Image dependent types

Definition at line 69 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::InputPixelType = typename Superclass::InputPixelType
template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::KernelArrayType = FixedArray< KernelType, Self::ImageDimension2 >

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

Definition at line 98 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Precomputed N-dimensional derivative kernel

Definition at line 94 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::OperatorImageFunctionPointer = typename OperatorImageFunctionType::Pointer
template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::OperatorImageFunctionType = NeighborhoodOperatorImageFunction < InputImageType, TOutput >

Image function that performs convolution with the neighborhood operator

Definition at line 102 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::OrderArrayType = FixedArray< unsigned int, Self::ImageDimension2 >
template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::OutputType = typename Superclass::OutputType

Output type

Definition at line 80 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Smart pointer type alias support

Definition at line 59 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Standard "Self" type alias

Definition at line 53 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<typename TInputImage , typename TOutput = double>
using itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::Superclass = ImageFunction< TInputImage, TOutput, TOutput >

Standard "Superclass" type alias

Definition at line 56 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Arrays for native types

Definition at line 83 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

Member Enumeration Documentation

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

Interpolation modes

Enumerator
NearestNeighbourInterpolation 
LinearInterpolation 

Definition at line 106 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

Constructor & Destructor Documentation

template<typename TInputImage , typename TOutput = double>
itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::DiscreteGradientMagnitudeGaussianImageFunction ( )
protected
template<typename TInputImage , typename TOutput = double>
itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::DiscreteGradientMagnitudeGaussianImageFunction ( const Self )
inlineprotected
template<typename TInputImage , typename TOutput = double>
itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::~DiscreteGradientMagnitudeGaussianImageFunction ( )
inlineoverrideprotected

Member Function Documentation

template<typename TInputImage , typename TOutput = double>
virtual::itk::LightObject::Pointer itk::DiscreteGradientMagnitudeGaussianImageFunction< 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.

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

Evaluate the function in the given dimension at specified point

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

Evaluate the function at specified ContinuousIndex position

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

Evaluate the function at specified Index position

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

Set/Get the interpolation mode.

template<typename TInputImage , typename TOutput = double>
virtual double itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::GetMaximumError ( ) const
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.

template<typename TInputImage , typename TOutput = double>
virtual unsigned int itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::GetMaximumKernelWidth ( ) const
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.

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

Run-time type information (and related methods)

Reimplemented from itk::ImageFunction< TInputImage, TOutput, TOutput >.

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

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

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

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

template<typename TInputImage , typename TOutput = double>
virtual const VarianceArrayType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::GetVariance ( ) const
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

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< 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 188 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Method for creation through the object factory

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

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

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

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

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

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

template<typename TInputImage , typename TOutput = double>
void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::RecomputeGaussianKernel ( )
protected
template<typename TInputImage , typename TOutput = double>
void itk::DiscreteGradientMagnitudeGaussianImageFunction< 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.
template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::SetInterpolationMode ( InterpolationModeType  _arg)
virtual

Set/Get the interpolation mode.

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< 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.

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< 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.

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< 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.

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

Convenience method for setting the variance through the standard deviation

Definition at line 139 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

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

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< 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

template<typename TInputImage , typename TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::SetVariance ( double  data[])
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

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

Convenience method for setting the variance for all dimensions

Definition at line 130 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

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

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

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

Member Data Documentation

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

Dimension of the underlying image

Definition at line 77 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Interpolation mode

Definition at line 237 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Array of N-dimensional kernels used to calculate gradient components

Definition at line 225 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

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

Definition at line 212 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<typename TInputImage , typename TOutput = double>
unsigned int itk::DiscreteGradientMagnitudeGaussianImageFunction< 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 217 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Flag for scale-space normalization of derivatives

Definition at line 231 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<typename TInputImage , typename TOutput = double>
GaussianDerivativeOperatorArrayType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::m_OperatorArray
private

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

Definition at line 222 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

OperatorImageFunction

Definition at line 228 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Flag to indicate whether to use image spacing

Definition at line 234 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Desired variance of the discrete Gaussian function

Definition at line 208 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.


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