#include <itkForwardDifferenceOperator.h>
Operator whose inner product with a neighborhood returns a "half" derivative at the center of the neighborhood.
ForwardDifferenceOperator uses forward differences i.e. F(x+1) - F(x) to calculate a "half" derivative useful, among other things, in solving differential equations. It is a directional NeighborhoodOperator that should be applied to a Neighborhood using the inner product.
Definition at line 47 of file itkForwardDifferenceOperator.h.
Inheritance diagram for itk::ForwardDifferenceOperator< TPixel, VDimension, TAllocator >:
Collaboration diagram for itk::ForwardDifferenceOperator< TPixel, VDimension, TAllocator >:Public Types | |
| using | PixelType = TPixel |
| using | Self = ForwardDifferenceOperator |
| 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 | 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 |
Protected Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
| using | CoefficientVector = typename std::vector<PixelRealType> |
Protected Member Functions | |
| void | Fill (const CoefficientVector &coeff) 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 () |
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 152 of file itkNeighborhoodOperator.h.
| using itk::ForwardDifferenceOperator< TPixel, VDimension, TAllocator >::PixelType = TPixel |
Type alias support for pixel type.
Definition at line 58 of file itkForwardDifferenceOperator.h.
| using itk::ForwardDifferenceOperator< TPixel, VDimension, TAllocator >::Self = ForwardDifferenceOperator |
Standard class type aliases.
Definition at line 51 of file itkForwardDifferenceOperator.h.
| using itk::ForwardDifferenceOperator< TPixel, VDimension, TAllocator >::Superclass = NeighborhoodOperator<TPixel, VDimension, TAllocator> |
Definition at line 52 of file itkForwardDifferenceOperator.h.
|
inlineoverrideprotectedvirtual |
Arranges coefficients spatially in the memory buffer.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 70 of file itkForwardDifferenceOperator.h.
References itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >::FillCenteredDirectional().
|
overrideprotectedvirtual |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
virtual |
Reimplemented from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.