ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkDerivativeOperator.h>
A NeighborhoodOperator for taking an n-th order derivative at a pixel.
DerivativeOperator's coefficients are a tightest-fitting convolution kernel for calculating the n-th order directional derivative at a pixel. DerivativeOperator is a directional NeighborhoodOperator that should be applied to a Neighborhood or NeighborhoodPointer using the inner product method.
An example operator to compute X derivatives of a 2D image can be created with:
and creates a kernel that looks like:
Definition at line 67 of file itkDerivativeOperator.h.
Public Types | |
typedef Superclass::PixelRealType | PixelRealType |
typedef Superclass::PixelType | PixelType |
typedef DerivativeOperator | Self |
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 Types | |
typedef Superclass::CoefficientVector | CoefficientVector |
Protected Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
typedef std::vector < PixelRealType > | CoefficientVector |
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 Attributes | |
unsigned int | m_Order |
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 |
Typedef support for coefficient vector type. Necessary to work around compiler bug on VC++.
Definition at line 121 of file itkDerivativeOperator.h.
typedef Superclass::PixelRealType itk::DerivativeOperator< TPixel, VDimension, TAllocator >::PixelRealType |
Definition at line 78 of file itkDerivativeOperator.h.
typedef Superclass::PixelType itk::DerivativeOperator< TPixel, VDimension, TAllocator >::PixelType |
Definition at line 77 of file itkDerivativeOperator.h.
typedef DerivativeOperator itk::DerivativeOperator< TPixel, VDimension, TAllocator >::Self |
Standard class typedefs.
Definition at line 73 of file itkDerivativeOperator.h.
typedef NeighborhoodOperator< TPixel, VDimension, TAllocator > itk::DerivativeOperator< TPixel, VDimension, TAllocator >::Superclass |
Definition at line 75 of file itkDerivativeOperator.h.
|
inline |
Constructor.
Definition at line 81 of file itkDerivativeOperator.h.
|
inline |
Copy constructor.
Definition at line 84 of file itkDerivativeOperator.h.
|
inlineprotectedvirtual |
Arranges coefficients spatially in the memory buffer.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 127 of file itkDerivativeOperator.h.
|
protectedvirtual |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
inline |
Returns the order of the derivative.
Definition at line 107 of file itkDerivativeOperator.h.
|
inline |
Assignment operator
Definition at line 89 of file itkDerivativeOperator.h.
|
inlinevirtual |
Prints some debugging information
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 110 of file itkDerivativeOperator.h.
|
inline |
Sets the order of the derivative.
Definition at line 101 of file itkDerivativeOperator.h.
|
private |
Order of the derivative.
Definition at line 132 of file itkDerivativeOperator.h.
Referenced by itk::DerivativeOperator< OutputImagePixelType, itkGetStaticConstMacro(ImageDimension)>::DerivativeOperator(), and itk::DerivativeOperator< OutputImagePixelType, itkGetStaticConstMacro(ImageDimension)>::operator=().