#include <itkBackwardDifferenceOperator.h>
Operator whose inner product with a neighborhood returns a "half" derivative at the center of the neighborhood.
BackwardDifferenceOperator uses backward differences i.e. \( F(x) - F(x-1) \) 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 48 of file itkBackwardDifferenceOperator.h.
Inheritance diagram for itk::BackwardDifferenceOperator< TPixel, TDimension, TAllocator >:
Collaboration diagram for itk::BackwardDifferenceOperator< TPixel, TDimension, TAllocator >:Public Types | |
| using | PixelType = TPixel |
| using | Self = BackwardDifferenceOperator |
| using | Superclass = NeighborhoodOperator<TPixel, TDimension, 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::BackwardDifferenceOperator< TPixel, TDimension, TAllocator >::PixelType = TPixel |
Type alias support for pixel type.
Definition at line 59 of file itkBackwardDifferenceOperator.h.
| using itk::BackwardDifferenceOperator< TPixel, TDimension, TAllocator >::Self = BackwardDifferenceOperator |
Standard class type aliases.
Definition at line 52 of file itkBackwardDifferenceOperator.h.
| using itk::BackwardDifferenceOperator< TPixel, TDimension, TAllocator >::Superclass = NeighborhoodOperator<TPixel, TDimension, TAllocator> |
Definition at line 53 of file itkBackwardDifferenceOperator.h.
|
inlineoverrideprotectedvirtual |
Arranges coefficients spatially in the memory buffer.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
Definition at line 71 of file itkBackwardDifferenceOperator.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 >.