ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkPeriodicBoundaryCondition.h>
A function object that determines values outside of image boundaries according to periodic (wrap-around) conditions.
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 38 of file itkPeriodicBoundaryCondition.h.
Public Member Functions | |
RegionType | GetInputRequestedRegion (const RegionType &inputLargestPossibleRegion, const RegionType &outputRequestedRegion) const override |
const char * | GetNameOfClass () const override |
OutputPixelType | GetPixel (const IndexType &index, const TInputImage *image) const override |
OutputPixelType | operator() (const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data) const override |
OutputPixelType | operator() (const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const NeighborhoodAccessorFunctorType &neighborhoodAccessorFunctor) const override |
PeriodicBoundaryCondition ()=default | |
Public Member Functions inherited from itk::ImageBoundaryCondition< TInputImage, TOutputImage > | |
ImageBoundaryCondition ()=default | |
virtual void | Print (std::ostream &os, Indent i=0) const |
virtual bool | RequiresCompleteNeighborhood () |
virtual | ~ImageBoundaryCondition ()=default |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::ImageBoundaryCondition< TInputImage, TOutputImage > | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::IndexType = typename Superclass::IndexType |
Definition at line 51 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::NeighborhoodAccessorFunctorType = typename Superclass::NeighborhoodAccessorFunctorType |
Definition at line 56 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::NeighborhoodType = typename Superclass::NeighborhoodType |
Definition at line 54 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::OffsetType = typename Superclass::OffsetType |
Definition at line 53 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::OutputPixelType = typename Superclass::OutputPixelType |
Definition at line 49 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::PixelPointerType = typename Superclass::PixelPointerType |
Definition at line 48 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::PixelType = typename Superclass::PixelType |
Extract information from the image type.
Definition at line 47 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::RegionType = typename Superclass::RegionType |
Definition at line 50 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::Self = PeriodicBoundaryCondition |
Standard class type aliases.
Definition at line 43 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::SizeType = typename Superclass::SizeType |
Definition at line 52 of file itkPeriodicBoundaryCondition.h.
using itk::PeriodicBoundaryCondition< TInputImage, TOutputImage >::Superclass = ImageBoundaryCondition< TInputImage, TOutputImage > |
Definition at line 44 of file itkPeriodicBoundaryCondition.h.
|
default |
Default constructor.
|
overridevirtual |
Determines the necessary input region for the output region. For this boundary condition, the output region is mapped into the input image index space. If the mapped region crosses an image boundary in some dimension, then the entire size of the image in that dimension is requested. For this reason, it is most memory efficient to request regions that map to regions that do cross image boundaries.
inputLargestPossibleRegion | Largest possible region of the input image. |
outputRequestedRegion | The output requested region. |
Reimplemented from itk::ImageBoundaryCondition< TInputImage, TOutputImage >.
|
inlineoverridevirtual |
Runtime information support.
Reimplemented from itk::ImageBoundaryCondition< TInputImage, TOutputImage >.
Definition at line 65 of file itkPeriodicBoundaryCondition.h.
|
overridevirtual |
Returns a value for a given pixel at an index. If the index is inside the bounds of the input image, then the pixel value is obtained from the input image. Otherwise, the pixel at the desired index (modulo the size of the image) is returned.
index | The index of the desired pixel. |
image | The image from which pixel values should be determined. |
Implements itk::ImageBoundaryCondition< TInputImage, TOutputImage >.
|
overridevirtual |
Computes and returns a neighborhood of appropriate values from neighborhood iterator data..
Implements itk::ImageBoundaryCondition< TInputImage, TOutputImage >.
|
overridevirtual |
Computes and returns the appropriate pixel value from neighborhood iterator data, using the functor.
Implements itk::ImageBoundaryCondition< TInputImage, TOutputImage >.
|
static |
Extract information from the image type.
Definition at line 59 of file itkPeriodicBoundaryCondition.h.