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::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep > Class Template Reference
[Image FunctionsImage Interpolators]

Use the windowed sinc function to interpolate. More...

#include <itkWindowedSincInterpolateImageFunction.h>

Inheritance diagram for itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >:
Inheritance graph
[legend]
Collaboration diagram for itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
typedef TCoordRep CoordRepType
typedef TInputImage ImageType
typedef Superclass::IndexType IndexType
typedef Superclass::IndexValueType IndexValueType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef Superclass::InputImageType InputImageType
typedef InputImageType::PixelType InputPixelType
typedef Point< TCoordRep,::itk::GetImageDimension
< TInputImage >
::ImageDimension
InputType
typedef Superclass::OutputType OutputType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef Superclass::RealType RealType
typedef
WindowedSincInterpolateImageFunction 
Self
typedef
InterpolateImageFunction
< TInputImage, 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 OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
virtual OutputType EvaluateAtIndex (const IndexType &index) const
virtual NumericTraits
< TInputImage::PixelType >
::RealType 
EvaluateAtIndex (const IndexType &index) const =0
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 &)
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 ImageType *image)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const

virtual OutputType Evaluate (const PointType &point) 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 = Superclass::ImageDimension

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
 WindowedSincInterpolateImageFunction ()
virtual ~WindowedSincInterpolateImageFunction ()

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, unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
class itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >

Use the windowed sinc function to interpolate.

Author:
Paul A. Yushkevich
THEORY

This function is intended to provide an interpolation function that has minimum aliasing artifacts, in contrast to linear interpolation. According to sampling theory, the infinite-support sinc filter, whose Fourier transform is the box filter, is optimal for resampling a function. In practice, the infinite support sinc filter is approximated using a limited support 'windowed' sinc filter.

This function is based on the following publication:
Erik H. W. Meijering, Wiro J. Niessen, Josien P. W. Pluim, Max A. Viergever: Quantitative Comparison of Sinc-Approximating Kernels for Medical Image Interpolation. MICCAI 1999, pp. 210-217
In this work, several 'windows' are estimated. In two dimensions, the interpolation at a position (x,y) is given by the following expression:

\[ I(x,y) = \sum_{i = \lfloor x \rfloor + 1 - m}^{\lfloor x \rfloor + m} \sum_{j = \lfloor y \rfloor + 1 - m}^{\lfloor y \rfloor + m} I_{i,j} K(x-i) K(y-j), \]

where m is the 'radius' of the window, (3,4 are reasonable numbers), and K(t) is the kernel function, composed of the sinc function and one of several possible window functions:

\[ K(t) = w(t) \textrm{sinc}(t) = w(t) \frac{\sin(\pi t)}{\pi t} \]

Several window functions are provided here in the itk::Function namespace. The conclusions of the referenced paper suggest to use the Welch, Cosine, Kaiser, and Lanczos windows for m = 4,5. These are based on error in rotating medical images w.r.t. the linear interpolation method. In some cases the results achieve a 20-fold improvement in accuracy.
USING THIS FILTER

Use this filter the way you would use any ImageInterpolationFunction, so for instance, you can plug it into the ResampleImageFilter class. In order to initialize the filter you must choose several template parameters.

The first (TInputImage) is the image type, that's standard.
The second (VRadius) is the radius of the kernel, i.e., the $ m $ from the formula above.
The third (TWindowFunction) is the window function object, which you can choose from about five different functions defined in this header. The default is the Hamming window, which is commonly used but not optimal according to the cited paper.
The fourth (TBoundaryCondition) is the boundary condition class used to determine the values of pixels that fall off the image boundary. This class has the same meaning here as in the NeighborhoodItetator classes.
The fifth (TCoordRep) is again standard for interpolating functions, and should be float or double.
CAVEATS

There are a few improvements that an enthusiasting ITK developer could make to this filter. One issue is with the way that the kernel is applied. The computational expense comes from two sources: computing the kernel weights K(t) and multiplying the pixels in the window by the kernel weights. The first is done more or less efficiently in $ 2 m d $ operations (where d is the dimensionality of the image). The second can be done better. Presently, each pixel $ I(i,j,k) $ is multiplied by the weights $ K(x-i), K(y-j), K(z-k) $ and added to the running total. This results in $ d (2m)^d $ multiplication operations. However, by keeping intermediate sums, it would be possible to do the operation in $ O ( (2m)^d ) $ operations. This would require some creative coding. In addition, in the case when one of the coordinates is integer, the computation could be reduced by an order of magnitude.

See also:
LinearInterpolateImageFunction ResampleImageFilter
Function::HammingWindowFunction
Function::CosineWindowFunction
Function::WelchWindowFunction
Function::LanczosWindowFunction
Function::BlackmanWindowFunction

Definition at line 253 of file itkWindowedSincInterpolateImageFunction.h.


Member Typedef Documentation

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef SmartPointer<const Self> itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::ConstPointer
template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef Superclass::ContinuousIndexType itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::ContinuousIndexType
typedef TCoordRep itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::CoordRepType [inherited]

CoordRepType typedef support.

Reimplemented in itk::VectorInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 94 of file itkImageFunction.h.

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef TInputImage itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::ImageType

Image type definition

Definition at line 289 of file itkWindowedSincInterpolateImageFunction.h.

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef Superclass::IndexType itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::IndexType

Index typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 285 of file itkWindowedSincInterpolateImageFunction.h.

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef Superclass::IndexValueType itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::IndexValueType
typedef InputImageType::ConstPointer itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::InputImageConstPointer [inherited]

InputImagePointer typedef support

Definition at line 88 of file itkImageFunction.h.

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef Superclass::InputImageType itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::InputImageType

InputImageType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 276 of file itkWindowedSincInterpolateImageFunction.h.

typedef InputImageType::PixelType itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::InputPixelType [inherited]
typedef Point< TCoordRep,::itk::GetImageDimension< TInputImage >::ImageDimension > itk::FunctionBase< Point< TCoordRep,::itk::GetImageDimension< TInputImage >::ImageDimension > , NumericTraits< TInputImage::PixelType >::RealType >::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 , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef Superclass::OutputType itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::OutputType

OutputType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 270 of file itkWindowedSincInterpolateImageFunction.h.

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef SmartPointer<Self> itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::Pointer
template<class TInputImage, class TCoordRep = double>
typedef Superclass::PointType itk::InterpolateImageFunction< TInputImage, TCoordRep >::PointType [inherited]
template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef Superclass::RealType itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::RealType

RealType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 279 of file itkWindowedSincInterpolateImageFunction.h.

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef WindowedSincInterpolateImageFunction itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::Self

Standard class typedefs.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 259 of file itkWindowedSincInterpolateImageFunction.h.

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
typedef InterpolateImageFunction<TInputImage,TCoordRep> itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::WindowedSincInterpolateImageFunction (  )  [protected]
template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
virtual itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::~WindowedSincInterpolateImageFunction (  )  [protected, virtual]

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, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::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, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::ConvertPointToContinousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 200 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::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, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::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 TCoordRep = double>
virtual OutputType itk::InterpolateImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point  )  const [inline, virtual, inherited]

Interpolate the image at a point position

Returns the interpolated image intensity at a specified point position. 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.

Implements itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Reimplemented in itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 89 of file itkInterpolateImageFunction.h.

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
virtual OutputType itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType index  )  const [virtual]

Evaluate the function at a ContinuousIndex position

Returns the interpolated image intensity at a specified point position. Bounds checking is based on the type of the TBoundaryCondition specified.

Implements itk::InterpolateImageFunction< TInputImage, TCoordRep >.

virtual NumericTraits< TInputImage::PixelType >::RealType itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , 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 = double>
virtual OutputType itk::InterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex ( const IndexType index  )  const [inline, virtual, inherited]

Interpolate the image at an index position.

Simply returns the image value at the specified index position. 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 118 of file itkInterpolateImageFunction.h.

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, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::GetEndContinuousIndex (  )  [virtual, inherited]
virtual const IndexType& itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , 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, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::GetInputImage (  )  const [inline, inherited]

Get the input image.

Definition at line 114 of file itkImageFunction.h.

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 , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
virtual const char* itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

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, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::GetStartContinuousIndex (  )  [virtual, inherited]
virtual const IndexType& itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::GetStartIndex (  )  [virtual, inherited]
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  )  [inherited]

Call Execute on all the Commands observing this event id.

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.

virtual bool itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , 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.

Reimplemented in itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 157 of file itkImageFunction.h.

virtual bool itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , 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.

Reimplemented in itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >, and itk::VectorLinearInterpolateNearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >.

Definition at line 181 of file itkImageFunction.h.

virtual bool itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , 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 137 of file itkImageFunction.h.

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 , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
static Pointer itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, 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 , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
void itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, 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::InterpolateImageFunction< TInputImage, 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().

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
virtual void itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::SetInputImage ( const ImageType image  )  [virtual]
virtual void itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , 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.

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

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.


Member Data Documentation

template<class TInputImage , unsigned int VRadius, class TWindowFunction = Function::HammingWindowFunction<VRadius>, class TBoundaryCondition = ConstantBoundaryCondition<TInputImage>, class TCoordRep = double>
const unsigned int itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >::ImageDimension = Superclass::ImageDimension [static]

Dimension underlying input image.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 282 of file itkWindowedSincInterpolateImageFunction.h.

ContinuousIndexType itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::m_EndContinuousIndex [protected, inherited]

Definition at line 243 of file itkImageFunction.h.

IndexType itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::m_EndIndex [protected, inherited]

Definition at line 241 of file itkImageFunction.h.

InputImageConstPointer itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::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, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::m_StartContinuousIndex [protected, inherited]

Definition at line 242 of file itkImageFunction.h.

IndexType itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType , TCoordRep >::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 Tue Jul 13 2010 03:26:51 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000