18 #ifndef itkImageBoundaryCondition_h
19 #define itkImageBoundaryCondition_h
51 template<
typename TInputImage,
typename TOutputImage = TInputImage >
57 itkStaticConstMacro(ImageDimension,
unsigned int,
58 TInputImage::ImageDimension);
78 typedef typename TInputImage::NeighborhoodAccessorFunctorType
87 return "itkImageBoundaryCondition";
93 os << i << this->GetNameOfClass() <<
" (" <<
this <<
")" << std::endl;
100 virtual OutputPixelType operator()(
const OffsetType & point_index,
101 const OffsetType & boundary_offset,
102 const NeighborhoodType *data)
const = 0;
106 virtual OutputPixelType operator()(
107 const OffsetType & point_index,
108 const OffsetType & boundary_offset,
109 const NeighborhoodType *data,
110 const NeighborhoodAccessorFunctorType & neighborhoodAccessorFunctor)
const = 0;
132 const RegionType & outputRequestedRegion )
const
134 (void) outputRequestedRegion;
135 return inputLargestPossibleRegion;
147 virtual OutputPixelType GetPixel(
const IndexType & index,
148 const TInputImage * image )
const = 0;
virtual bool RequiresCompleteNeighborhood()
virtual const char * GetNameOfClass() const
Represent the offset between two n-dimensional indexes 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.
Neighborhood< PixelPointerType, itkGetStaticConstMacro(ImageDimension) > NeighborhoodType
An image region represents a structured region of data.
Index< itkGetStaticConstMacro(ImageDimension) > IndexType
virtual ~ImageBoundaryCondition()
TInputImage::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
ImageRegion< itkGetStaticConstMacro(ImageDimension) > RegionType
TInputImage::PixelType PixelType
ImageBoundaryCondition Self
virtual void Print(std::ostream &os, Indent i=0) const
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
Size< itkGetStaticConstMacro(ImageDimension) > SizeType
TInputImage::InternalPixelType * PixelPointerType
Offset< itkGetStaticConstMacro(ImageDimension) > OffsetType
Control indentation during Print() invocation.
TOutputImage::PixelType OutputPixelType
ImageBaseType::IndexType IndexType