ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkLaplacianOperator.h>
Public Types | |
typedef Superclass::PixelType | PixelType |
typedef LaplacianOperator | Self |
typedef Superclass::SizeType | SizeType |
typedef NeighborhoodOperator < TPixel, VDimension, TAllocator > | Superclass |
Public Member Functions | |
void | CreateOperator () |
void | SetDerivativeScalings (const double *s) |
LaplacianOperator () | |
LaplacianOperator (const Self &other) | |
Self & | operator= (const Self &other) |
virtual void | PrintSelf (std::ostream &os, Indent i) const |
Protected Types | |
typedef Superclass::CoefficientVector | CoefficientVector |
Protected Member Functions | |
void | Fill (const CoefficientVector &) |
CoefficientVector | GenerateCoefficients () |
Private Attributes | |
double | m_DerivativeScalings [VDimension] |
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:
0 1 0 1 -4 1 0 1 0
Definition at line 64 of file itkLaplacianOperator.h.
typedef Superclass::CoefficientVector itk::LaplacianOperator< TPixel, VDimension, TAllocator >::CoefficientVector [protected] |
Typedef support for coefficient vector type. Necessary to work around compiler bug on VC++.
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 127 of file itkLaplacianOperator.h.
typedef Superclass::PixelType itk::LaplacianOperator< TPixel, VDimension, TAllocator >::PixelType |
External support for pixel type
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 75 of file itkLaplacianOperator.h.
typedef LaplacianOperator itk::LaplacianOperator< TPixel, VDimension, TAllocator >::Self |
Standard "Self" typedef support.
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 70 of file itkLaplacianOperator.h.
typedef Superclass::SizeType itk::LaplacianOperator< TPixel, VDimension, TAllocator >::SizeType |
Size object typedef support
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 76 of file itkLaplacianOperator.h.
typedef NeighborhoodOperator< TPixel, VDimension, TAllocator > itk::LaplacianOperator< TPixel, VDimension, TAllocator >::Superclass |
Standard "Superclass" typedef.
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 73 of file itkLaplacianOperator.h.
itk::LaplacianOperator< TPixel, VDimension, TAllocator >::LaplacianOperator | ( | ) | [inline] |
Default constructor
Definition at line 79 of file itkLaplacianOperator.h.
itk::LaplacianOperator< TPixel, VDimension, TAllocator >::LaplacianOperator | ( | const Self & | other | ) | [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
void itk::LaplacianOperator< TPixel, VDimension, TAllocator >::Fill | ( | const CoefficientVector & | ) | [protected, virtual] |
Arranges coefficients spatially in the memory buffer, default function was NOT used.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
CoefficientVector itk::LaplacianOperator< TPixel, VDimension, TAllocator >::GenerateCoefficients | ( | ) | [protected, virtual] |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Self& itk::LaplacianOperator< TPixel, VDimension, TAllocator >::operator= | ( | const Self & | other | ) | [inline] |
Assignment operator
Definition at line 103 of file itkLaplacianOperator.h.
virtual void itk::LaplacianOperator< TPixel, VDimension, TAllocator >::PrintSelf | ( | std::ostream & | os, |
Indent | i | ||
) | const [inline, virtual] |
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
double itk::LaplacianOperator< TPixel, VDimension, TAllocator >::m_DerivativeScalings[VDimension] [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().