![]() |
Orfeo Toolbox
3.16
|
A function object that determines a neighborhood of values at an image boundary according to a Neumann boundary condition where first, upwind derivatives on the boundary are zero. This is a useful condition in solving some classes of differential equations. More...
#include <itkZeroFluxNeumannBoundaryCondition.h>
Inheritance diagram for itk::ZeroFluxNeumannBoundaryCondition< TImage >:
Collaboration diagram for itk::ZeroFluxNeumannBoundaryCondition< TImage >:Public Types | |
| typedef Superclass::IndexType | IndexType |
| typedef Superclass::NeighborhoodAccessorFunctorType | NeighborhoodAccessorFunctorType |
| typedef Superclass::NeighborhoodType | NeighborhoodType |
| typedef Superclass::OffsetType | OffsetType |
| typedef Superclass::PixelPointerType | PixelPointerType |
| typedef Superclass::PixelType | PixelType |
| typedef ZeroFluxNeumannBoundaryCondition | Self |
| typedef ImageBoundaryCondition < TImage > | Superclass |
Public Member Functions | |
| ZeroFluxNeumannBoundaryCondition () | |
| virtual PixelType | operator() (const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data) const |
| virtual PixelType | operator() (const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const NeighborhoodAccessorFunctorType &neighborhoodAccessorFunctor) const |
| virtual bool | RequiresCompleteNeighborhood () |
Static Public Attributes | |
| static const unsigned int | ImageDimension = Superclass::ImageDimension |
A function object that determines a neighborhood of values at an image boundary according to a Neumann boundary condition where first, upwind derivatives on the boundary are zero. This is a useful condition in solving some classes of differential equations.
For example, invoking this function object on a 7x5 iterator that masks a region at an image corner (iterator is centered on the 2):
returns the following neighborhood of values:
The input to this function object is a neighborhood iterator. This boundary condition object is designed to be given as a template argument to a NeighborhoodIterator or any of the NeighborhoodIterator subclasses.
Definition at line 58 of file itkZeroFluxNeumannBoundaryCondition.h.
| typedef Superclass::IndexType itk::ZeroFluxNeumannBoundaryCondition< TImage >::IndexType |
Reimplemented from itk::ImageBoundaryCondition< TImage >.
Definition at line 69 of file itkZeroFluxNeumannBoundaryCondition.h.
| typedef Superclass::NeighborhoodAccessorFunctorType itk::ZeroFluxNeumannBoundaryCondition< TImage >::NeighborhoodAccessorFunctorType |
Functor used to access pixels from a neighborhood of pixel pointers
Reimplemented from itk::ImageBoundaryCondition< TImage >.
Definition at line 74 of file itkZeroFluxNeumannBoundaryCondition.h.
| typedef Superclass::NeighborhoodType itk::ZeroFluxNeumannBoundaryCondition< TImage >::NeighborhoodType |
Type of the data container passed to this function object.
Reimplemented from itk::ImageBoundaryCondition< TImage >.
Definition at line 71 of file itkZeroFluxNeumannBoundaryCondition.h.
| typedef Superclass::OffsetType itk::ZeroFluxNeumannBoundaryCondition< TImage >::OffsetType |
Reimplemented from itk::ImageBoundaryCondition< TImage >.
Definition at line 70 of file itkZeroFluxNeumannBoundaryCondition.h.
| typedef Superclass::PixelPointerType itk::ZeroFluxNeumannBoundaryCondition< TImage >::PixelPointerType |
Reimplemented from itk::ImageBoundaryCondition< TImage >.
Definition at line 68 of file itkZeroFluxNeumannBoundaryCondition.h.
| typedef Superclass::PixelType itk::ZeroFluxNeumannBoundaryCondition< TImage >::PixelType |
Extract information from the image type.
Reimplemented from itk::ImageBoundaryCondition< TImage >.
Definition at line 67 of file itkZeroFluxNeumannBoundaryCondition.h.
| typedef ZeroFluxNeumannBoundaryCondition itk::ZeroFluxNeumannBoundaryCondition< TImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageBoundaryCondition< TImage >.
Definition at line 63 of file itkZeroFluxNeumannBoundaryCondition.h.
| typedef ImageBoundaryCondition<TImage> itk::ZeroFluxNeumannBoundaryCondition< TImage >::Superclass |
Definition at line 64 of file itkZeroFluxNeumannBoundaryCondition.h.
|
inline |
Default constructor.
Definition at line 80 of file itkZeroFluxNeumannBoundaryCondition.h.
|
virtual |
Computes and returns a neighborhood of appropriate values from neighborhood iterator data..
Implements itk::ImageBoundaryCondition< TImage >.
Definition at line 25 of file itkZeroFluxNeumannBoundaryCondition.txx.
References itk::Neighborhood< TPixel, VDimension, TAllocator >::GetStride().
|
virtual |
Computes and returns the appropriate pixel value from neighborhood iterator data, using the functor.
Implements itk::ImageBoundaryCondition< TImage >.
Definition at line 64 of file itkZeroFluxNeumannBoundaryCondition.txx.
References itk::Neighborhood< TPixel, VDimension, TAllocator >::GetStride().
|
inlinevirtualinherited |
Tell if the boundary condition can index to any location within the associated iterator's neighborhood or if it has some limited subset (such as none) that it relies upon. Subclasses should override this method if they can safely limit indexes to active pixels (or no pixels).
Reimplemented in itk::ConstantBoundaryCondition< TImage >.
Definition at line 102 of file itkImageBoundaryCondition.h.
|
static |
Extract information from the image type.
Reimplemented from itk::ImageBoundaryCondition< TImage >.
Definition at line 77 of file itkZeroFluxNeumannBoundaryCondition.h.