18#ifndef itkImageBoundaryCondition_h
19#define itkImageBoundaryCondition_h
51template <
typename TInputImage,
typename TOutputImage = TInputImage>
57 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
89 os << i << this->
GetNameOfClass() <<
" (" <<
this <<
')' << std::endl;
96 virtual OutputPixelType
134 [[maybe_unused]]
const RegionType & itkNotUsed(outputRequestedRegion))
const
136 return inputLargestPossibleRegion;
147 virtual OutputPixelType
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
ImageBoundaryCondition()=default
typename TInputImage::PixelType PixelType
typename TInputImage::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
virtual bool RequiresCompleteNeighborhood()
typename TInputImage::InternalPixelType * PixelPointerType
virtual void Print(std::ostream &os, Indent i=0) const
TOutputImage OutputImageType
virtual OutputPixelType GetPixel(const IndexType &index, const TInputImage *image) const =0
virtual OutputPixelType operator()(const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data) const =0
virtual OutputPixelType operator()(const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const NeighborhoodAccessorFunctorType &neighborhoodAccessorFunctor) const =0
typename TOutputImage::PixelType OutputPixelType
virtual ~ImageBoundaryCondition()=default
virtual RegionType GetInputRequestedRegion(const RegionType &inputLargestPossibleRegion, const RegionType &) const
TInputImage InputImageType
An image region represents a structured region of data.
Control indentation during Print() invocation.
A light-weight container object for storing an N-dimensional neighborhood of values.
const char * GetNameOfClass() const override
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional index in a n-dimensional image.