ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageKernelOperator.h>
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
Definition at line 48 of file itkImageKernelOperator.h.
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 NeighborhoodOperator | Self |
typedef Superclass::SizeType | SizeType |
typedef SliceIterator< TPixel, Self > | SliceIteratorType |
typedef Neighborhood< TPixel, VDimension, TAllocator > | Superclass |
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 TPixel | PixelType |
typedef Neighborhood | Self |
typedef SizeType::SizeValueType | SizeValueType |
typedef SliceIterator< TPixel, Self > | SliceIteratorType |
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 | |
Public Attributes inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
typedef::itk::Size< VDimension > | RadiusType |
typedef::itk::Size< VDimension > | SizeType |
Static Public Attributes inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
static const unsigned int | NeighborhoodDimension = VDimension |
Protected Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
typedef std::vector< double > | CoefficientVector |
typedef Superclass::CoefficientVector itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::CoefficientVector |
Definition at line 59 of file itkImageKernelOperator.h.
typedef Image< TPixel, VDimension > itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::ImageType |
Definition at line 57 of file itkImageKernelOperator.h.
typedef ImageKernelOperator itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Self |
Standard class typedefs.
Definition at line 54 of file itkImageKernelOperator.h.
typedef Superclass::SizeType itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::SizeType |
Definition at line 58 of file itkImageKernelOperator.h.
typedef NeighborhoodOperator< TPixel, VDimension, TAllocator > itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Superclass |
Definition at line 55 of file itkImageKernelOperator.h.
|
inline |
Constructor.
Definition at line 62 of file itkImageKernelOperator.h.
|
inline |
Copy constructor
Definition at line 65 of file itkImageKernelOperator.h.
|
protectedvirtual |
Arranges coefficients spatially in the memory buffer.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
protectedvirtual |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
const ImageType* itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::GetImageKernel | ( | ) | const |
Get the image kernel.
|
inlineprivate |
For compatibility with itkWarningMacro
Definition at line 105 of file itkImageKernelOperator.h.
|
inline |
Assignment operator.
Definition at line 70 of file itkImageKernelOperator.h.
|
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().
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.
|
private |
Definition at line 102 of file itkImageKernelOperator.h.