Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes

itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput > Class Template Reference

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. More...

#include <itkDiscreteGradientMagnitudeGaussianImageFunction.h>

Inheritance diagram for itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >:
Inheritance graph
[legend]
Collaboration diagram for itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
typedef TOutput CoordRepType
typedef FixedArray
< GaussianDerivativeOperatorType,
2 *itkGetStaticConstMacro(ImageDimension2)> 
GaussianDerivativeOperatorArrayType
typedef
itk::GaussianDerivativeOperator
< TOutput,
itkGetStaticConstMacro(ImageDimension2)> 
GaussianDerivativeOperatorType
typedef Superclass::IndexType IndexType
typedef Superclass::IndexValueType IndexValueType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef Superclass::InputImageType InputImageType
typedef Superclass::InputPixelType InputPixelType
typedef Point< TOutput,::itk::GetImageDimension
< TInputImage >
::ImageDimension
InputType
enum  InterpolationModeType {
  NearestNeighbourInterpolation,
  LinearInterpolation
}
typedef FixedArray< KernelType,
itkGetStaticConstMacro(ImageDimension2)> 
KernelArrayType
typedef Neighborhood< TOutput,
itkGetStaticConstMacro(ImageDimension2)> 
KernelType
typedef
OperatorImageFunctionType::Pointer 
OperatorImageFunctionPointer
typedef
NeighborhoodOperatorImageFunction
< InputImageType, TOutput > 
OperatorImageFunctionType
typedef Superclass::OutputType OutputType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef
DiscreteGradientMagnitudeGaussianImageFunction 
Self
typedef ImageFunction
< TInputImage, TOutput,
TOutput > 
Superclass

typedef FixedArray< double,
itkGetStaticConstMacro(ImageDimension2)> 
VarianceArrayType
typedef FixedArray< unsigned
int, itkGetStaticConstMacro(ImageDimension2)> 
OrderArrayType

Public Member Functions

void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
virtual TOutput Evaluate (const PointType &point) const =0
virtual OutputType Evaluate (const PointType &point) const
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
virtual TOutput EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
virtual TOutput EvaluateAtIndex (const IndexType &index) const =0
virtual OutputType EvaluateAtIndex (const IndexType &index) const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual const ContinuousIndexTypeGetEndContinuousIndex ()
virtual const IndexTypeGetEndIndex ()
const InputImageTypeGetInputImage () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
virtual int GetReferenceCount () const
virtual const ContinuousIndexTypeGetStartContinuousIndex ()
virtual const IndexTypeGetStartIndex ()
bool HasObserver (const EventObject &event) const
virtual void Initialize ()
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
virtual void Modified () const
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
virtual void SetInputImage (const InputImageType *ptr)
virtual void SetInputImage (const InputImageType *ptr)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
void SetSigma (const double sigma)
virtual void UnRegister () const

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

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 ConvertPointToContinousIndex (const PointType &point, ContinuousIndexType &cindex) const

unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()

static void SetGlobalWarningDisplay (bool flag)
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOn ()
static void GlobalWarningDisplayOff ()

Static Public Attributes

static const unsigned int ImageDimension
static const unsigned int ImageDimension2 = InputImageType::ImageDimension

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

 DiscreteGradientMagnitudeGaussianImageFunction ()
 DiscreteGradientMagnitudeGaussianImageFunction (const Self &)
void operator= (const Self &)
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
void RecomputeGaussianKernel ()
 ~DiscreteGradientMagnitudeGaussianImageFunction ()

virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

ContinuousIndexType m_EndContinuousIndex
IndexType m_EndIndex
InputImageConstPointer m_Image
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
ContinuousIndexType m_StartContinuousIndex
IndexType m_StartIndex

Detailed Description

template<class TInputImage, class 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: http://hdl.handle.net/1926/1290

See also:
NeighborhoodOperator
ImageFunction

Definition at line 49 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.


Member Typedef Documentation

template<class TInputImage , class TOutput = double>
typedef SmartPointer<const Self> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::ConstPointer
template<class TInputImage , class TOutput = double>
typedef Superclass::ContinuousIndexType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::ContinuousIndexType
typedef TOutput itk::ImageFunction< TInputImage, TOutput, TOutput >::CoordRepType [inherited]

CoordRepType typedef support.

Definition at line 94 of file itkImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef FixedArray<GaussianDerivativeOperatorType, 2*itkGetStaticConstMacro(ImageDimension2)> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::GaussianDerivativeOperatorArrayType

Array to store gaussian derivative operators one for each dimension

Definition at line 95 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef itk::GaussianDerivativeOperator<TOutput, itkGetStaticConstMacro(ImageDimension2)> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::GaussianDerivativeOperatorType
template<class TInputImage , class TOutput = double>
typedef Superclass::IndexType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::IndexType
template<class TInputImage , class TOutput = double>
typedef Superclass::IndexValueType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::IndexValueType
typedef InputImageType::ConstPointer itk::ImageFunction< TInputImage, TOutput, TOutput >::InputImageConstPointer [inherited]

InputImagePointer typedef support

Definition at line 88 of file itkImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Superclass::InputImageType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::InputImageType
template<class TInputImage , class TOutput = double>
typedef Superclass::InputPixelType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::InputPixelType

InputPixel typedef support

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

Definition at line 72 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

typedef Point< TOutput,::itk::GetImageDimension< TInputImage >::ImageDimension > itk::FunctionBase< Point< TOutput,::itk::GetImageDimension< TInputImage >::ImageDimension > , TOutput >::InputType [inherited]

Input type

Definition at line 54 of file itkFunctionBase.h.

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 139 of file itkLightObject.h.

template<class TInputImage , class TOutput = double>
typedef FixedArray<KernelType,itkGetStaticConstMacro(ImageDimension2)> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::KernelArrayType

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

Definition at line 101 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Neighborhood<TOutput,itkGetStaticConstMacro(ImageDimension2)> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::KernelType

Precomputed N-dimensional derivative kernel

Definition at line 98 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

Image function that performs convolution with the neighborhood operator

Definition at line 105 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef FixedArray<unsigned int,itkGetStaticConstMacro(ImageDimension2)> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::OrderArrayType

Arrays for native types

Definition at line 87 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Superclass::OutputType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::OutputType
template<class TInputImage , class TOutput = double>
typedef SmartPointer<Self> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::Pointer

Smart pointer typedef support

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

Definition at line 61 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef Superclass::PointType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::PointType
template<class TInputImage , class TOutput = double>
typedef DiscreteGradientMagnitudeGaussianImageFunction itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::Self

Standard "Self" typedef

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

Definition at line 55 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef ImageFunction<TInputImage, TOutput, TOutput> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::Superclass

Standard "Superclass" typedef

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

Definition at line 58 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<class TInputImage , class TOutput = double>
typedef FixedArray<double,itkGetStaticConstMacro(ImageDimension2)> itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::VarianceArrayType

Arrays for native types

Definition at line 86 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.


Member Enumeration Documentation

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

Interpolation modes

Enumerator:
NearestNeighbourInterpolation 
LinearInterpolation 

Definition at line 109 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.


Constructor & Destructor Documentation

template<class TInputImage , class TOutput = double>
itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::DiscreteGradientMagnitudeGaussianImageFunction (  )  [protected]
template<class TInputImage , class TOutput = double>
itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::DiscreteGradientMagnitudeGaussianImageFunction ( const Self  )  [inline, protected]
template<class TInputImage , class TOutput = double>
itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::~DiscreteGradientMagnitudeGaussianImageFunction (  )  [inline, protected]

Member Function Documentation

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) const [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

static void itk::LightObject::BreakOnError (  )  [static, inherited]

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

void itk::ImageFunction< TInputImage, TOutput, TOutput >::ConvertContinuousIndexToNearestIndex ( const ContinuousIndexType cindex,
IndexType index 
) const [inline, inherited]

Convert continuous index to nearest index.

Definition at line 219 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage, TOutput, TOutput >::ConvertPointToContinousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 200 of file itkImageFunction.h.

References itkWarningMacro.

void itk::ImageFunction< TInputImage, TOutput, TOutput >::ConvertPointToContinuousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 212 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage, TOutput, TOutput >::ConvertPointToNearestIndex ( const PointType point,
IndexType index 
) const [inline, inherited]

Convert point to nearest index.

Definition at line 190 of file itkImageFunction.h.

virtual LightObject::Pointer itk::Object::CreateAnother (  )  const [virtual, inherited]
virtual void itk::Object::DebugOff (  )  const [virtual, inherited]

Turn debugging output off.

virtual void itk::Object::DebugOn (  )  const [virtual, inherited]

Turn debugging output on.

virtual void itk::LightObject::Delete (  )  [virtual, inherited]

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

template<class TInputImage , class TOutput = double>
virtual OutputType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::Evaluate ( const PointType point  )  const [virtual]

Evalutate the in the given dimension at specified point

virtual TOutput itk::ImageFunction< TInputImage, TOutput, TOutput >::Evaluate ( const PointType point  )  const [pure virtual, inherited]

Evaluate the function at specified Point position. Subclasses must provide this method.

Implements itk::FunctionBase< Point< TOutput,::itk::GetImageDimension< TInputImage >::ImageDimension >, TOutput >.

virtual TOutput itk::ImageFunction< TInputImage, TOutput, TOutput >::EvaluateAtContinuousIndex ( const ContinuousIndexType index  )  const [pure virtual, inherited]

Evaluate the function at specified ContinuousIndex position. Subclasses must provide this method.

template<class TInputImage , class TOutput = double>
virtual OutputType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::EvaluateAtContinuousIndex ( const ContinuousIndexType index  )  const [virtual]

Evaluate the function at specified ContinousIndex position

virtual TOutput itk::ImageFunction< TInputImage, TOutput, TOutput >::EvaluateAtIndex ( const IndexType index  )  const [pure virtual, inherited]

Evaluate the function at specified Index position. Subclasses must provide this method.

template<class TInputImage , class TOutput = double>
virtual OutputType itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::EvaluateAtIndex ( const IndexType index  )  const [virtual]

Evaluate the function at specified Index position

Command* itk::Object::GetCommand ( unsigned long  tag  )  [inherited]

Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.

bool itk::Object::GetDebug (  )  const [inherited]

Get the value of the debug flag.

virtual const ContinuousIndexType& itk::ImageFunction< TInputImage, TOutput, TOutput >::GetEndContinuousIndex (  )  [virtual, inherited]
virtual const IndexType& itk::ImageFunction< TInputImage, TOutput, TOutput >::GetEndIndex (  )  [virtual, inherited]
static bool itk::Object::GetGlobalWarningDisplay (  )  [static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

const InputImageType* itk::ImageFunction< TInputImage, TOutput, TOutput >::GetInputImage (  )  const [inline, inherited]

Get the input image.

Definition at line 114 of file itkImageFunction.h.

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

Set/Get the interpolation mode.

template<class TInputImage , class 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<class TInputImage , class 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.

MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  [inherited]
Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.
const MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  const [inherited]
Returns:
A constant reference to this objects MetaDataDictionary.
virtual unsigned long itk::Object::GetMTime (  )  const [virtual, inherited]

Return this objects modified time.

Reimplemented in itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::ImageAdaptor< TImage, TAccessor >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::MeshSpatialObject< TMesh >, itk::SceneSpatialObject< TSpaceDimension >, itk::SpatialObject< TDimension >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::SpatialObject< 3 >, and itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >.

Referenced by itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >::GetObjectMTime().

template<class TInputImage , class 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<class TInputImage , class 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.

virtual int itk::LightObject::GetReferenceCount (  )  const [inline, virtual, inherited]

Gets the reference count on this object.

Definition at line 106 of file itkLightObject.h.

virtual const ContinuousIndexType& itk::ImageFunction< TInputImage, TOutput, TOutput >::GetStartContinuousIndex (  )  [virtual, inherited]
virtual const IndexType& itk::ImageFunction< TInputImage, TOutput, TOutput >::GetStartIndex (  )  [virtual, inherited]
template<class TInputImage , class TOutput = double>
virtual bool itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::GetUseImageSpacing (  )  const [virtual]

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

template<class TInputImage , class 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

static void itk::Object::GlobalWarningDisplayOff (  )  [inline, static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Definition at line 100 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

static void itk::Object::GlobalWarningDisplayOn (  )  [inline, static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Definition at line 98 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

bool itk::Object::HasObserver ( const EventObject event  )  const [inherited]

Return true if an observer is registered for this event.

template<class TInputImage , class TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::Initialize ( void   )  [inline, virtual]

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 190 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

void itk::Object::InvokeEvent ( const EventObject  )  const [inherited]

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

void itk::Object::InvokeEvent ( const EventObject  )  [inherited]

Call Execute on all the Commands observing this event id.

virtual bool itk::ImageFunction< TInputImage, TOutput, TOutput >::IsInsideBuffer ( const IndexType index  )  const [inline, virtual, inherited]

Check if an index is inside the image buffer. If ITK_USE_CENTERED_PIXEL_COORDINATES_CONSISTENTLY is on, we take into account the fact that each voxel has its center at the integer coordinate and extends half way to the next integer coordinate.

Warning:
For efficiency, no validity checking of the input image is done.

Definition at line 137 of file itkImageFunction.h.

References HardConnectedComponentImageFilter::ImageDimension.

virtual bool itk::ImageFunction< TInputImage, TOutput, TOutput >::IsInsideBuffer ( const PointType point  )  const [inline, virtual, inherited]

Check if a point is inside the image buffer.

Warning:
For efficiency, no validity checking of the input image pointer is done.

Definition at line 181 of file itkImageFunction.h.

virtual bool itk::ImageFunction< TInputImage, TOutput, TOutput >::IsInsideBuffer ( const ContinuousIndexType index  )  const [inline, virtual, inherited]

Check if a continuous index is inside the image buffer.

Warning:
For efficiency, no validity checking of the input image is done.

Definition at line 157 of file itkImageFunction.h.

References HardConnectedComponentImageFilter::ImageDimension.

virtual void itk::Object::Modified (  )  const [virtual, inherited]

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.

Reimplemented in itk::NormalizeImageFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, TFilter >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >.

Referenced by itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandTotalRadius(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale(), and itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation().

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

Method for creation through the object factory

Reimplemented from itk::Object.

template<class TInputImage , class 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<class TInputImage , class 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<class TInputImage , class TOutput = double>
void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::operator= ( const Self  )  [inline, protected]
void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const [inherited]

Cause the object to print itself out.

Referenced by itk::WeakPointer< ProcessObject >::Print().

virtual void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

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.

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const [protected, inherited]
template<class TInputImage , class TOutput = double>
void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

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::ImageFunction< TInputImage, TOutput, TOutput >.

virtual void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

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.

template<class TInputImage , class TOutput = double>
void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::RecomputeGaussianKernel (  )  [protected]
virtual void itk::Object::Register (  )  const [virtual, inherited]

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

void itk::Object::RemoveAllObservers (  )  [inherited]

Remove all observers .

void itk::Object::RemoveObserver ( unsigned long  tag  )  [inherited]

Remove the observer with this tag value.

void itk::Object::SetDebug ( bool  debugFlag  )  const [inherited]

Set the value of the debug flag. A non-zero value turns debugging on.

static void itk::Object::SetGlobalWarningDisplay ( bool  flag  )  [static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn().

virtual void itk::ImageFunction< TInputImage, TOutput, TOutput >::SetInputImage ( const InputImageType ptr  )  [virtual, inherited]

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<class TInputImage , class TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::SetInputImage ( const InputImageType ptr  )  [virtual]

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<class TInputImage , class TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::SetInterpolationMode ( InterpolationModeType  _arg  )  [virtual]

Set/Get the interpolation mode.

template<class TInputImage , class 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<class TInputImage , class 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.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs  )  [inherited]
Returns:
Set the MetaDataDictionary
template<class TInputImage , class 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.

virtual void itk::Object::SetReferenceCount ( int   )  [virtual, inherited]

Sets the reference count (use with care)

Reimplemented from itk::LightObject.

template<class TInputImage , class 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 141 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

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

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

template<class TInputImage , class TOutput = double>
virtual void itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::SetVariance ( double  variance  )  [inline, virtual]

Convenience method for setting the variance for all dimensions

Definition at line 133 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

template<class TInputImage , class 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<class TInputImage , class 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

virtual void itk::Object::UnRegister (  )  const [virtual, inherited]

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.

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

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

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

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


Member Data Documentation

const unsigned int itk::ImageFunction< TInputImage, TOutput, TOutput >::ImageDimension [static, inherited]

Dimension underlying input image.

Definition at line 68 of file itkImageFunction.h.

template<class TInputImage , class TOutput = double>
const unsigned int itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >::ImageDimension2 = InputImageType::ImageDimension [static]

Dimension of the underlying image

Definition at line 80 of file itkDiscreteGradientMagnitudeGaussianImageFunction.h.

ContinuousIndexType itk::ImageFunction< TInputImage, TOutput, TOutput >::m_EndContinuousIndex [protected, inherited]

Definition at line 243 of file itkImageFunction.h.

IndexType itk::ImageFunction< TInputImage, TOutput, TOutput >::m_EndIndex [protected, inherited]

Definition at line 241 of file itkImageFunction.h.

InputImageConstPointer itk::ImageFunction< TInputImage, TOutput, TOutput >::m_Image [protected, inherited]

Const pointer to the input image.

Definition at line 237 of file itkImageFunction.h.

Number of uses of this object by other objects.

Definition at line 144 of file itkLightObject.h.

Mutex lock to protect modification to the reference count

Definition at line 147 of file itkLightObject.h.

ContinuousIndexType itk::ImageFunction< TInputImage, TOutput, TOutput >::m_StartContinuousIndex [protected, inherited]

Definition at line 242 of file itkImageFunction.h.

IndexType itk::ImageFunction< TInputImage, TOutput, TOutput >::m_StartIndex [protected, inherited]

Cache some values for testing if indices are inside buffered region.

Definition at line 240 of file itkImageFunction.h.


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

Generated at Mon Jul 12 2010 22:07:09 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000