|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkConstantBoundaryCondition_h
19 #define itkConstantBoundaryCondition_h
27 template <
typename TValue>
67 template <
typename TInputImage,
typename TOutputImage = TInputImage>
88 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
97 return "itkConstantBoundaryCondition";
102 Print(std::ostream & os,
Indent i = 0)
const override;
106 template <
typename TPixel>
113 operator()(
const OffsetType &,
const OffsetType &,
const NeighborhoodType *)
const override;
118 operator()(
const OffsetType &,
120 const NeighborhoodType *,
121 const NeighborhoodAccessorFunctorType &)
const override;
125 SetConstant(
const OutputPixelType & c);
128 const OutputPixelType &
150 GetInputRequestedRegion(
const RegionType & inputLargestPossibleRegion,
151 const RegionType & outputRequestedRegion)
const override;
161 GetPixel(
const IndexType & index,
const TInputImage * image)
const override;
168 #ifndef ITK_MANUAL_INSTANTIATION
169 # include "itkConstantBoundaryCondition.hxx"
typename InputImageType ::PixelType OutputPixelType
typename InputImageType ::PixelType PixelType
typename Superclass::PixelType PixelType
typename Superclass::NeighborhoodType NeighborhoodType
OutputPixelType m_Constant
typename Superclass::RegionType RegionType
A light-weight container object for storing an N-dimensional neighborhood of values.
ImageBaseType::SizeType SizeType
Control indentation during Print() invocation.
typename Superclass::IndexType IndexType
const char * GetNameOfClass() const override
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
typename InputImageType ::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
typename Superclass::OffsetType OffsetType
ImageBaseType::IndexType IndexType
This boundary condition returns a constant value for out-of-bounds image pixels.
typename Superclass::OutputPixelType OutputPixelType
ImageBaseType::RegionType RegionType
Represents an array whose length can be defined at run-time.
typename Superclass::PixelPointerType PixelPointerType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename Superclass::SizeType SizeType
typename InputImageType ::InternalPixelType * PixelPointerType
bool RequiresCompleteNeighborhood() override
typename Superclass::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType