ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#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 45 of file itkForwardDifferenceOperator.h.
Public Types | |
using | PixelType = typename Superclass::PixelType |
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 | SizeType = typename Superclass::SizeType |
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 Superclass::CoefficientVector |
Protected Types inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
using | CoefficientVector = std::vector< PixelRealType > |
Protected Member Functions | |
CoefficientVector | GenerateCoefficients () override |
void | Fill (const CoefficientVector &coeff) override |
Protected Member Functions inherited from itk::NeighborhoodOperator< TPixel, VDimension, TAllocator > | |
virtual void | Fill (const CoefficientVector &)=0 |
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 |
Necessary to work around VC++ compiler bug.
Definition at line 73 of file itkForwardDifferenceOperator.h.
using itk::ForwardDifferenceOperator< TPixel, VDimension, TAllocator >::PixelType = typename Superclass::PixelType |
Definition at line 54 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.
|
default |
Constructor.
|
inline |
Copy constructor
Definition at line 60 of file itkForwardDifferenceOperator.h.
|
inlineoverrideprotected |
Arranges coefficients spatially in the memory buffer.
Definition at line 79 of file itkForwardDifferenceOperator.h.
|
overrideprotectedvirtual |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >.
|
inline |
Assignment operator
Definition at line 64 of file itkForwardDifferenceOperator.h.