18 #ifndef itkImageBoundaryCondition_h
19 #define itkImageBoundaryCondition_h
51 template <
typename TInputImage,
typename TOutputImage = TInputImage>
57 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
89 os << i << this->
GetNameOfClass() <<
" (" <<
this <<
')' << std::endl;
96 virtual OutputPixelType
97 operator()(
const OffsetType & point_index,
98 const OffsetType & boundary_offset,
99 const NeighborhoodType * data)
const = 0;
103 virtual OutputPixelType
104 operator()(
const OffsetType & point_index,
105 const OffsetType & boundary_offset,
106 const NeighborhoodType * data,
107 const NeighborhoodAccessorFunctorType & neighborhoodAccessorFunctor)
const = 0;
134 [[maybe_unused]]
const RegionType & itkNotUsed(outputRequestedRegion))
const
136 return inputLargestPossibleRegion;
147 virtual OutputPixelType
148 GetPixel(
const IndexType & index,
const TInputImage * image)
const = 0;