ITK
5.0.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. https://hdl.handle.net/1926/1323 http://www.insight-journal.org/browse/publication/208
Definition at line 48 of file itkImageKernelOperator.h.
Public Types | |
using | CoefficientVector = typename Superclass::CoefficientVector |
using | ImageType = Image< TPixel, VDimension > |
using | Self = ImageKernelOperator |
using | SizeType = typename Superclass::SizeType |
using | Superclass = NeighborhoodOperator< TPixel, VDimension, TAllocator > |
Public Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
using | PixelRealType = typename NumericTraits< TPixel >::RealType |
using | PixelType = TPixel |
using | Self = NeighborhoodOperator |
using | SizeType = typename Superclass::SizeType |
using | SliceIteratorType = SliceIterator< TPixel, Self > |
using | Superclass = Neighborhood< TPixel, VDimension, TAllocator > |
Public Types inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
using | AllocatorType = TAllocator |
using | ConstIterator = typename AllocatorType::const_iterator |
using | DimensionValueType = unsigned int |
using | Iterator = typename AllocatorType::iterator |
using | NeighborIndexType = SizeValueType |
using | OffsetType = Offset< VDimension > |
using | PixelType = TPixel |
using | RadiusType = ::itk::Size< VDimension > |
using | Self = Neighborhood |
using | SizeType = ::itk::Size< VDimension > |
using | SizeValueType = typename SizeType::SizeValueType |
using | SliceIteratorType = SliceIterator< TPixel, Self > |
Protected Member Functions | |
void | Fill (const CoefficientVector &coeff) override |
CoefficientVector | GenerateCoefficients () override |
Protected Member Functions inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
virtual void | Fill (const CoefficientVector &)=0 |
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 | |
Static Public Attributes inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
static constexpr unsigned int | NeighborhoodDimension = VDimension |
Protected Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
using | CoefficientVector = std::vector< PixelRealType > |
using itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::CoefficientVector = typename Superclass::CoefficientVector |
Definition at line 59 of file itkImageKernelOperator.h.
using itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::ImageType = Image< TPixel, VDimension > |
Definition at line 57 of file itkImageKernelOperator.h.
using itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Self = ImageKernelOperator |
Standard class type aliases.
Definition at line 54 of file itkImageKernelOperator.h.
using itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::SizeType = typename Superclass::SizeType |
Definition at line 58 of file itkImageKernelOperator.h.
using itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::Superclass = NeighborhoodOperator< TPixel, VDimension, TAllocator > |
Definition at line 55 of file itkImageKernelOperator.h.
|
default |
Constructor.
|
inline |
Copy constructor
Definition at line 67 of file itkImageKernelOperator.h.
|
overrideprotected |
Arranges coefficients spatially in the memory buffer.
|
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.
|
inlineoverridevirtual |
Prints information about the object.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 88 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 104 of file itkImageKernelOperator.h.