ITK
4.8.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) override |
CoefficientVector | GenerateCoefficients () override |
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 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 < PixelRealType > | 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 64 of file itkImageKernelOperator.h.
|
inline |
Copy constructor
Definition at line 67 of file itkImageKernelOperator.h.
|
overrideprotectedvirtual |
Arranges coefficients spatially in the memory buffer.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
overrideprotectedvirtual |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
const ImageType* itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::GetImageKernel | ( | ) | const |
Get the image kernel.
|
virtual |
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
inline |
Assignment operator.
Definition at line 72 of file itkImageKernelOperator.h.
References itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >::operator=().
|
inlineoverridevirtual |
Prints information about the object.
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 88 of file itkImageKernelOperator.h.
References itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >::PrintSelf().
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 104 of file itkImageKernelOperator.h.