![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkLaplacianOperator.h>
A NeighborhoodOperator for use in calculating the Laplacian at a pixel.
A NeighborhoodOperator for use in calculating the Laplacian at a pixel. The LaplacianOperator's coefficients are a tightest-fitting convolution kernel.
For example, the simplest Laplacian Operator for 2D has the form:
Definition at line 64 of file itkLaplacianOperator.h.
Public Types | |
typedef Superclass::PixelType | PixelType |
typedef LaplacianOperator | Self |
typedef Superclass::SizeType | SizeType |
typedef NeighborhoodOperator < TPixel, VDimension, TAllocator > | Superclass |
![]() | |
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 |
![]() | |
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 |
![]() | |
typedef std::vector < PixelRealType > | CoefficientVector |
Protected Member Functions | |
void | Fill (const CoefficientVector &) |
CoefficientVector | GenerateCoefficients () |
![]() | |
virtual void | FillCenteredDirectional (const CoefficientVector &) |
void | InitializeToZero () |
![]() | |
virtual void | Allocate (NeighborIndexType i) |
virtual void | ComputeNeighborhoodOffsetTable () |
virtual void | ComputeNeighborhoodStrideTable () |
void | SetSize () |
Private Attributes | |
double | m_DerivativeScalings [VDimension] |
Additional Inherited Members | |
![]() | |
typedef::itk::Size< VDimension > | RadiusType |
typedef::itk::Size< VDimension > | SizeType |
![]() | |
static const unsigned int | NeighborhoodDimension = VDimension |
|
protected |
Typedef support for coefficient vector type. Necessary to work around compiler bug on VC++.
Definition at line 127 of file itkLaplacianOperator.h.
typedef Superclass::PixelType itk::LaplacianOperator< TPixel, VDimension, TAllocator >::PixelType |
Definition at line 75 of file itkLaplacianOperator.h.
typedef LaplacianOperator itk::LaplacianOperator< TPixel, VDimension, TAllocator >::Self |
Standard "Self" typedef support.
Definition at line 70 of file itkLaplacianOperator.h.
typedef Superclass::SizeType itk::LaplacianOperator< TPixel, VDimension, TAllocator >::SizeType |
Definition at line 76 of file itkLaplacianOperator.h.
typedef NeighborhoodOperator< TPixel, VDimension, TAllocator > itk::LaplacianOperator< TPixel, VDimension, TAllocator >::Superclass |
Standard "Superclass" typedef.
Definition at line 73 of file itkLaplacianOperator.h.
|
inline |
Default constructor
Definition at line 79 of file itkLaplacianOperator.h.
|
inline |
Copy constructor
Definition at line 89 of file itkLaplacianOperator.h.
References itk::LaplacianOperator< TPixel, VDimension, TAllocator >::m_DerivativeScalings.
void itk::LaplacianOperator< TPixel, VDimension, TAllocator >::CreateOperator | ( | ) |
This function is called to create the operator
|
protectedvirtual |
Arranges coefficients spatially in the memory buffer, default function was NOT used.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
protectedvirtual |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
inline |
Assignment operator
Definition at line 103 of file itkLaplacianOperator.h.
|
inlinevirtual |
Prints some debugging information
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 111 of file itkLaplacianOperator.h.
References itk::Indent::GetNextIndent().
void itk::LaplacianOperator< TPixel, VDimension, TAllocator >::SetDerivativeScalings | ( | const double * | s | ) |
Sets the weights that are applied to the derivative in each axial direction when the kernel is computed. These weights are all 1.0 by default. This method must be called BEFORE CreateOperator
|
private |
Weights applied to derivatives in each axial direction
Definition at line 138 of file itkLaplacianOperator.h.
Referenced by itk::LaplacianOperator< TPixel, VDimension, TAllocator >::LaplacianOperator().