18 #ifndef itkImageBoundaryCondition_h
19 #define itkImageBoundaryCondition_h
51 template<
typename TInputImage,
typename TOutputImage = TInputImage >
57 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
85 return "itkImageBoundaryCondition";
91 os << i << this->GetNameOfClass() <<
" (" <<
this <<
")" << std::endl;
98 virtual OutputPixelType operator()(
const OffsetType & point_index,
99 const OffsetType & boundary_offset,
100 const NeighborhoodType *data)
const = 0;
104 virtual OutputPixelType operator()(
105 const OffsetType & point_index,
106 const OffsetType & boundary_offset,
107 const NeighborhoodType *data,
108 const NeighborhoodAccessorFunctorType & neighborhoodAccessorFunctor)
const = 0;
130 const RegionType & outputRequestedRegion )
const
132 (void) outputRequestedRegion;
133 return inputLargestPossibleRegion;
145 virtual OutputPixelType GetPixel(
const IndexType & index,
146 const TInputImage * image )
const = 0;
virtual bool RequiresCompleteNeighborhood()
virtual const char * GetNameOfClass() const
Represent a n-dimensional index in a n-dimensional image.
virtual RegionType GetInputRequestedRegion(const RegionType &inputLargestPossibleRegion, const RegionType &outputRequestedRegion) const
A light-weight container object for storing an N-dimensional neighborhood of values.
An image region represents a structured region of data.
ImageBaseType::IndexType IndexType
typename itk::Image::PixelType OutputPixelType
virtual void Print(std::ostream &os, Indent i=0) const
typename itk::Image::PixelType PixelType
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
typename itk::Image::InternalPixelType * PixelPointerType
Control indentation during Print() invocation.
typename itk::Image::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
Templated n-dimensional image class.