ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <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 Member Functions | |
const ImageType * | GetImageKernel () const |
ImageKernelOperator () | |
ImageKernelOperator (const Self &orig) | |
void | SetImageKernel (const ImageType *kernel) |
Self & | operator= (const Self &orig) |
virtual void | PrintSelf (std::ostream &os, Indent i) const |
Protected Member Functions | |
void | Fill (const CoefficientVector &coeff) |
CoefficientVector | GenerateCoefficients () |
Private Member Functions | |
const char * | GetNameOfClass () |
Private Attributes | |
ImageType::ConstPointer | m_ImageKernel |
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.
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.
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.
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 54 of file itkImageKernelOperator.h.
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.
typedef NeighborhoodOperator< TPixel, VDimension, TAllocator > itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Superclass |
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 55 of file itkImageKernelOperator.h.
itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::ImageKernelOperator | ( | ) | [inline] |
Constructor.
Definition at line 62 of file itkImageKernelOperator.h.
itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::ImageKernelOperator | ( | const Self & | orig | ) | [inline] |
Copy constructor
Definition at line 65 of file itkImageKernelOperator.h.
void itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Fill | ( | const CoefficientVector & | coeff | ) | [protected, virtual] |
Arranges coefficients spatially in the memory buffer.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
CoefficientVector itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::GenerateCoefficients | ( | ) | [protected, virtual] |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
const ImageType* itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::GetImageKernel | ( | ) | const |
Get the image kernel.
const char* itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::GetNameOfClass | ( | ) | [inline, private] |
For compatibility with itkWarningMacro
Definition at line 105 of file itkImageKernelOperator.h.
Self& itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::operator= | ( | const Self & | orig | ) | [inline] |
Assignment operator.
Definition at line 70 of file itkImageKernelOperator.h.
virtual void itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::PrintSelf | ( | std::ostream & | os, |
Indent | i | ||
) | const [inline, virtual] |
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.
ImageType::ConstPointer itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::m_ImageKernel [private] |
Definition at line 102 of file itkImageKernelOperator.h.