Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep > Class Template Reference
[Image Functions]

Calculate the derivative by central differencing. More...

#include <itkVectorCentralDifferenceImageFunction.h>

Inheritance diagram for itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >:

Inheritance graph
[legend]
Collaboration diagram for itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
typedef TCoordRep CoordRepType
typedef Superclass::IndexType IndexType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef TInputImage InputImageType
typedef TInputImage::PixelType InputPixelType
typedef Point< TCoordRep,::itk::GetImageDimension
< TInputImage >
::ImageDimension > 
InputType
typedef Superclass::OutputType OutputType
typedef Superclass::PointType PointType
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef
VectorCentralDifferenceImageFunction 
Self
typedef ImageFunction
< TInputImage, Matrix< double,
itkGetStaticConstMacro(Dimension),
itkGetStaticConstMacro(ImageDimension)>
, TCoordRep > 
Superclass

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 Matrix< double,::itk::GetDimension
< TInputImage::PixelType >
::Dimension,::itk::GetImageDimension
< TInputImage >
::ImageDimension > 
Evaluate (const PointType &point) const =0
virtual Matrix< double,::itk::GetDimension
< TInputImage::PixelType >
::Dimension,::itk::GetImageDimension
< TInputImage >
::ImageDimension > 
EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
virtual Matrix< double,::itk::GetDimension
< TInputImage::PixelType >
::Dimension,::itk::GetImageDimension
< TInputImage >
::ImageDimension > 
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
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
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
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (Dimension, unsigned int, InputPixelType::Dimension)
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)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
void ConvertPointToContinousIndex (const PointType &point, ContinuousIndexType &cindex) const
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
virtual OutputType Evaluate (const PointType &point) const
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const
virtual bool GetUseImageDirection () const
virtual void SetUseImageDirection (bool _arg)
virtual void UseImageDirectionOff ()
virtual void UseImageDirectionOn ()
virtual bool IsInsideBuffer (const PointType &point) const
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
virtual bool IsInsideBuffer (const IndexType &index) const

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
 VectorCentralDifferenceImageFunction ()
 ~VectorCentralDifferenceImageFunction ()
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 TCoordRep = float>
class itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >

Calculate the derivative by central differencing.

This class is templated over the input image type and the coordinate representation type (e.g. float or double).

Possible improvements:

Author:
Tom Vercauteren, INRIA & Mauna Kea Technologies
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/510

Definition at line 63 of file itkVectorCentralDifferenceImageFunction.h.


Member Typedef Documentation

template<class TInputImage , class TCoordRep = float>
typedef SmartPointer<const Self> itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::ConstPointer

template<class TInputImage , class TCoordRep = float>
typedef Superclass::ContinuousIndexType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::ContinuousIndexType

typedef TCoordRep itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::CoordRepType [inherited]

CoordRepType typedef support.

Definition at line 94 of file itkImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef Superclass::IndexType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::IndexType

typedef InputImageType::ConstPointer itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::InputImageConstPointer [inherited]

InputImagePointer typedef support

Definition at line 88 of file itkImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef TInputImage itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::InputImageType

template<class TInputImage , class TCoordRep = float>
typedef TInputImage::PixelType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::InputPixelType

typedef Point< TCoordRep,::itk::GetImageDimension< TInputImage >::ImageDimension > itk::FunctionBase< Point< TCoordRep,::itk::GetImageDimension< TInputImage >::ImageDimension > , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > >::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 TCoordRep = float>
typedef Superclass::OutputType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::OutputType

template<class TInputImage , class TCoordRep = float>
typedef SmartPointer<Self> itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::Pointer

template<class TInputImage , class TCoordRep = float>
typedef Superclass::PointType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::PointType

template<class TInputImage , class TCoordRep = float>
typedef VectorCentralDifferenceImageFunction itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::Self

template<class TInputImage , class TCoordRep = float>
typedef ImageFunction<TInputImage, Matrix<double,itkGetStaticConstMacro(Dimension), itkGetStaticConstMacro(ImageDimension)>, TCoordRep> itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::Superclass


Constructor & Destructor Documentation

template<class TInputImage , class TCoordRep = float>
itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::VectorCentralDifferenceImageFunction (  )  [protected]

template<class TInputImage , class TCoordRep = float>
itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::~VectorCentralDifferenceImageFunction (  )  [inline, protected]

Definition at line 162 of file itkVectorCentralDifferenceImageFunction.h.


Member Function Documentation

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

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

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 , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::ConvertContinuousIndexToNearestIndex ( const ContinuousIndexType cindex,
IndexType &  index 
) const [inline, inherited]

Convert continuous index to nearest index.

Definition at line 218 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::ConvertPointToContinousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 199 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::ConvertPointToContinuousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 211 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::ConvertPointToNearestIndex ( const PointType point,
IndexType &  index 
) const [inline, inherited]

Convert point to nearest index.

Definition at line 189 of file itkImageFunction.h.

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

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::LightObject.

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.

virtual Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::Evaluate ( const PointType point  )  const [pure virtual, inherited]

template<class TInputImage , class TCoordRep = float>
virtual OutputType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point  )  const [inline, virtual]

Evalulate the image derivative by central differencing at non-integer positions.

No bounds checking is done. The point is assume to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Definition at line 129 of file itkVectorCentralDifferenceImageFunction.h.

virtual Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType index  )  const [pure virtual, inherited]

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

template<class TInputImage , class TCoordRep = float>
virtual OutputType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType cindex  )  const [inline, virtual]

Evalulate the image derivative by central differencing at non-integer positions.

No bounds checking is done. The point is assume to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Definition at line 135 of file itkVectorCentralDifferenceImageFunction.h.

virtual Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::EvaluateAtIndex ( const IndexType &  index  )  const [pure virtual, inherited]

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

template<class TInputImage , class TCoordRep = float>
virtual OutputType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex ( const IndexType index  )  const [virtual]

Evalulate the image derivative by central differencing at specified index.

No bounds checking is done. The point is assume to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

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 , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::GetEndContinuousIndex (  )  [virtual, inherited]

virtual const IndexType& itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::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 , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::GetInputImage (  )  const [inline, inherited]

Get the input image.

Definition at line 113 of file itkImageFunction.h.

const MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  const [inherited]

Returns:
A constant reference to this objects MetaDataDictionary.

MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  [inherited]

Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.

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::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, PixelAccessor >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, 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 TCoordRep = float>
virtual const char* itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::GetNameOfClass (  )  const [virtual]

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 , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::GetStartContinuousIndex (  )  [virtual, inherited]

virtual const IndexType& itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::GetStartIndex (  )  [virtual, inherited]

template<class TInputImage , class TCoordRep = float>
virtual bool itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::GetUseImageDirection (  )  const [virtual]

The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is the same as the CMAKE option ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE (i.e ON by default when ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is ON, and OFF by default when ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is OFF).

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.

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 , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::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 180 of file itkImageFunction.h.

virtual bool itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::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 156 of file itkImageFunction.h.

virtual bool itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::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 136 of file itkImageFunction.h.

template<class TInputImage , class TCoordRep = float>
itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

template<class TInputImage , class TCoordRep = float>
itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
InputPixelType::Dimension   
)

Extract the vector dimension from the pixel template parameter.

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::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, PixelAccessor >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >.

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

template<class TInputImage , class TCoordRep = float>
static Pointer itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::New (  )  [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

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 TCoordRep = float>
void itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::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, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.

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.

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 , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::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.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs  )  [inherited]

Returns:
Set the MetaDataDictionary

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

Sets the reference count (use with care)

Reimplemented from itk::LightObject.

template<class TInputImage , class TCoordRep = float>
virtual void itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::SetUseImageDirection ( bool  _arg  )  [virtual]

The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is the same as the CMAKE option ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE (i.e ON by default when ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is ON, and OFF by default when ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is OFF).

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

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.

template<class TInputImage , class TCoordRep = float>
virtual void itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::UseImageDirectionOff (  )  [virtual]

The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is the same as the CMAKE option ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE (i.e ON by default when ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is ON, and OFF by default when ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is OFF).

template<class TInputImage , class TCoordRep = float>
virtual void itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::UseImageDirectionOn (  )  [virtual]

The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is the same as the CMAKE option ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE (i.e ON by default when ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is ON, and OFF by default when ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is OFF).


Member Data Documentation

ContinuousIndexType itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::m_EndContinuousIndex [protected, inherited]

Definition at line 242 of file itkImageFunction.h.

IndexType itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::m_EndIndex [protected, inherited]

Definition at line 240 of file itkImageFunction.h.

InputImageConstPointer itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::m_Image [protected, inherited]

Const pointer to the input image.

Definition at line 236 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 , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::m_StartContinuousIndex [protected, inherited]

Definition at line 241 of file itkImageFunction.h.

IndexType itk::ImageFunction< TInputImage , Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension > , TCoordRep >::m_StartIndex [protected, inherited]

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

Definition at line 239 of file itkImageFunction.h.


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

Generated at Tue Sep 15 14:17:34 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000