#include <itkSobelOperator.h>
Inheritance diagram for itk::SobelOperator:


Public Types | |
| typedef SobelOperator | Self |
| typedef NeighborhoodOperator< TPixel, VDimension, TAllocator > | Superclass |
Public Methods | |
| SobelOperator () | |
| SobelOperator (const Self &other) | |
| void | CreateOperator () |
| Self & | operator= (const Self &other) |
| virtual void | PrintSelf (std::ostream &os, Indent i) const |
Protected Types | |
| typedef Superclass::CoefficientVector | CoefficientVector |
| typedef Superclass::PixelType | PixelType |
Protected Methods | |
| CoefficientVector | GenerateCoefficients () |
| void | Fill (const CoefficientVector &) |
SobelOperator's coefficients are a tightest-fitting convolution kernel for calculating the laplacian value at a pixel. SobelOperator is a directional NeighborhoodOperator that should be applied to a Neighborhood or NeighborhoodPointer using the inner product method. To create the operator, you need:
1) Set the direction 2) call CreateOperator() For example, the Sobel Operator in vertical direction is -1 -2 -1 0 0 0 1 2 1 while the Sobel Operator in horizonal direction is -1 0 1 -2 0 2 -1 0 1
The Sobel Operator in the Nth dimension can be calculated accordingly.
Definition at line 58 of file itkSobelOperator.h.
|
|||||
|
Typedef support for coefficient vector type. Necessary to work around compiler bug on VC++. Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >. Definition at line 119 of file itkSobelOperator.h. |
|
|||||
|
External support for pixel type Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >. Definition at line 120 of file itkSobelOperator.h. |
|
|||||
|
Standard "Self" typedef support. Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >. Definition at line 66 of file itkSobelOperator.h. |
|
|||||
|
Standard "Superclass" typedef. Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >. Definition at line 71 of file itkSobelOperator.h. |
|
|||||||||
|
Default constructor Definition at line 78 of file itkSobelOperator.h. |
|
||||||||||
|
Copy constructor Definition at line 84 of file itkSobelOperator.h. |
|
|||||||||
|
This function is called to create the operator |
|
||||||||||
|
Arranges coefficients spatially in the memory buffer. Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >. |
|
|||||||||
|
Calculates operator coefficients. Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >. |
|
||||||||||
|
Assignment operator Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >. Definition at line 97 of file itkSobelOperator.h. |
|
||||||||||||||||
|
Prints some debugging information Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >. Definition at line 106 of file itkSobelOperator.h. |
1.2.15 written by Dimitri van Heesch,
© 1997-2000