ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::ImageKernelOperator< TPixel, VDimension, TAllocator > Class Template Reference

#include <itkImageKernelOperator.h>

+ Inheritance diagram for itk::ImageKernelOperator< TPixel, VDimension, TAllocator >:
+ Collaboration diagram for itk::ImageKernelOperator< TPixel, VDimension, TAllocator >:

List of all members.

Public Types

typedef
Superclass::CoefficientVector 
CoefficientVector
typedef Image< TPixel, VDimension > ImageType
typedef ImageKernelOperator Self
typedef Superclass::SizeType SizeType
typedef NeighborhoodOperator
< TPixel, VDimension,
TAllocator > 
Superclass
- Public Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >
typedef NumericTraits< TPixel >
::RealType 
PixelRealType
typedef TPixel PixelType
typedef SliceIterator< TPixel,
Self
SliceIteratorType
- Public Types inherited from itk::Neighborhood< TPixel, VDimension, TAllocator >
typedef TAllocator AllocatorType
typedef
AllocatorType::const_iterator 
ConstIterator
typedef unsigned int DimensionValueType
typedef AllocatorType::iterator Iterator
typedef SizeValueType NeighborIndexType
typedef Offset< VDimension > OffsetType
typedef SizeType::SizeValueType SizeValueType

Public Member Functions

const ImageTypeGetImageKernel () const
 ImageKernelOperator ()
 ImageKernelOperator (const Self &orig)
void SetImageKernel (const ImageType *kernel)
Selfoperator= (const Self &orig)
virtual void PrintSelf (std::ostream &os, Indent i) const
- Public Member Functions inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >
virtual void CreateDirectional ()
virtual void CreateToRadius (const SizeType &)
virtual void CreateToRadius (const SizeValueType)
virtual void FlipAxes ()
unsigned long GetDirection () const
 NeighborhoodOperator ()
 NeighborhoodOperator (const Self &orig)
void ScaleCoefficients (PixelRealType)
void SetDirection (const unsigned long &direction)
Selfoperator= (const Self &orig)
- Public Member Functions inherited from itk::Neighborhood< TPixel, VDimension, TAllocator >
NeighborIndexType GetCenterNeighborhoodIndex () const
TPixel GetCenterValue () const
virtual NeighborIndexType GetNeighborhoodIndex (const OffsetType &) const
OffsetType GetOffset (NeighborIndexType i) const
const SizeType GetRadius () const
SizeValueType GetRadius (DimensionValueType n) const
SizeValueType GetSize (DimensionValueType n) const
SizeType GetSize () const
std::slice GetSlice (unsigned int) const
OffsetValueType GetStride (DimensionValueType axis) const
 Neighborhood (const Self &other)
bool operator!= (const Self &other) const
bool operator== (const Self &other) const
void Print (std::ostream &os) const
void SetRadius (const SizeType &)
void SetRadius (const SizeValueType *rad)
void SetRadius (const SizeValueType)
NeighborIndexType Size () const
virtual ~Neighborhood ()
 Neighborhood ()
Iterator End ()
Iterator Begin ()
ConstIterator End () const
ConstIterator Begin () const
TPixel & operator[] (NeighborIndexType i)
const TPixel & operator[] (NeighborIndexType i) const
TPixel & GetElement (NeighborIndexType i)
AllocatorTypeGetBufferReference ()
const AllocatorTypeGetBufferReference () const
TPixel & operator[] (const OffsetType &o)
const TPixel & operator[] (const OffsetType &o) const

Protected Member Functions

void Fill (const CoefficientVector &coeff)
CoefficientVector GenerateCoefficients ()
- Protected Member Functions inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >
virtual void FillCenteredDirectional (const CoefficientVector &)
void InitializeToZero ()
- Protected Member Functions inherited from itk::Neighborhood< TPixel, VDimension, TAllocator >
virtual void Allocate (NeighborIndexType i)
virtual void ComputeNeighborhoodOffsetTable ()
virtual void ComputeNeighborhoodStrideTable ()
void SetSize ()

Private Member Functions

const char * GetNameOfClass ()

Private Attributes

ImageType::ConstPointer m_ImageKernel

Additional Inherited Members

- Protected Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >

Detailed Description

template<class TPixel, unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
class itk::ImageKernelOperator< TPixel, VDimension, TAllocator >

A NeighborhoodOperator whose coefficients are from an image.

This code was contributed in the Insight Journal paper:

"Image Kernel Convolution" by Tustison N., Gee J. http://hdl.handle.net/1926/1323 http://www.insight-journal.org/browse/publication/208

See also:
NeighborhoodOperator
NeighborhoodIterator
Neighborhood

Definition at line 48 of file itkImageKernelOperator.h.


Member Typedef Documentation

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
typedef Superclass::CoefficientVector itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::CoefficientVector

Typedef support for coefficient vector type. Necessary to fix bug in the microsoft VC++ compiler.

Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.

Definition at line 59 of file itkImageKernelOperator.h.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
typedef Image< TPixel, VDimension > itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::ImageType

Definition at line 57 of file itkImageKernelOperator.h.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
typedef ImageKernelOperator itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Self

Standard class typedefs.

Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.

Definition at line 54 of file itkImageKernelOperator.h.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
typedef Superclass::SizeType itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::SizeType

Size object typedef support

Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.

Definition at line 58 of file itkImageKernelOperator.h.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
typedef NeighborhoodOperator< TPixel, VDimension, TAllocator > itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Superclass

Constructor & Destructor Documentation

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::ImageKernelOperator ( )
inline

Constructor.

Definition at line 62 of file itkImageKernelOperator.h.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::ImageKernelOperator ( const Self orig)
inline

Copy constructor

Definition at line 65 of file itkImageKernelOperator.h.


Member Function Documentation

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
void itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Fill ( const CoefficientVector coeff)
protectedvirtual

Arranges coefficients spatially in the memory buffer.

Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
CoefficientVector itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::GenerateCoefficients ( )
protectedvirtual

Calculates operator coefficients.

Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
const ImageType* itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::GetImageKernel ( ) const

Get the image kernel.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
const char* itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::GetNameOfClass ( )
inlineprivate

For compatibility with itkWarningMacro

Definition at line 105 of file itkImageKernelOperator.h.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
Self& itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::operator= ( const Self orig)
inline

Assignment operator.

Definition at line 70 of file itkImageKernelOperator.h.

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
virtual void itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::PrintSelf ( std::ostream &  os,
Indent  i 
) const
inlinevirtual

Prints information about the object.

Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.

Definition at line 86 of file itkImageKernelOperator.h.

References itk::Indent::GetNextIndent().

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
void itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::SetImageKernel ( const ImageType kernel)

Set the image kernel. Only images with odd size in all dimensions are allowed. If an image with an even size is passed as an argument, an exception will be thrown.


Member Data Documentation

template<class TPixel , unsigned int VDimension = 2, class TAllocator = NeighborhoodAllocator< TPixel >>
ImageType::ConstPointer itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::m_ImageKernel
private

Definition at line 102 of file itkImageKernelOperator.h.


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