ITK
6.0.0
Insight 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 67 of file itkLaplacianOperator.h.
Public Types | |
using | Self = LaplacianOperator |
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 = itk::Size< VDimension > |
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 Types | |
using | CoefficientVector = typename std::vector< PixelRealType > |
Protected Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
using | CoefficientVector = typename std::vector< PixelRealType > |
Protected Member Functions | |
void | Fill (const CoefficientVector &) 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 | |
double | m_DerivativeScalings [VDimension] {} |
Additional Inherited Members | |
Static Public Attributes inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
static constexpr unsigned int | NeighborhoodDimension = VDimension |
|
protected |
Type alias support for coefficient vector type. Necessary to fix bug in the microsoft VC++ compiler.
Definition at line 153 of file itkNeighborhoodOperator.h.
using itk::LaplacianOperator< TPixel, VDimension, TAllocator >::Self = LaplacianOperator |
Standard class type aliases.
Definition at line 72 of file itkLaplacianOperator.h.
using itk::LaplacianOperator< TPixel, VDimension, TAllocator >::Superclass = NeighborhoodOperator<TPixel, VDimension, TAllocator> |
Definition at line 73 of file itkLaplacianOperator.h.
|
inline |
Definition at line 80 of file itkLaplacianOperator.h.
void itk::LaplacianOperator< TPixel, VDimension, TAllocator >::CreateOperator | ( | ) |
Create the operator.
|
overrideprotectedvirtual |
Arranges coefficients spatially in the memory buffer, default function was NOT used.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
overrideprotectedvirtual |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
virtual |
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
|
overridevirtual |
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
|
inlineoverridevirtual |
Standard itk object method.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 93 of file itkLaplacianOperator.h.
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 123 of file itkLaplacianOperator.h.