|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
19 #ifndef itkRectangularImageNeighborhoodShape_h
20 #define itkRectangularImageNeighborhoodShape_h
52 template <
unsigned int VImageDimension>
80 assert(offsets !=
nullptr);
85 return -static_cast<OffsetValueType>(radiusValue);
92 for (
unsigned int dimensionIndex = 0; dimensionIndex <
ImageDimension; ++dimensionIndex)
98 if (offsetValue <= static_cast<OffsetValueType>(
m_Radius[dimensionIndex]))
102 offsetValue = -static_cast<OffsetValueType>(
m_Radius[dimensionIndex]);
121 return (dimension == 0)
Size< ImageDimension > m_Radius
constexpr iterator begin()
vcl_size_t m_NumberOfOffsets
constexpr iterator begin()
static constexpr unsigned int ImageDimension
constexpr vcl_size_t GetNumberOfOffsets() const noexcept
constexpr vcl_size_t CalculateNumberOfOffsets(const unsigned int dimension) const noexcept
SizeValueType m_InternalArray[VDimension]
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
constexpr RectangularImageNeighborhoodShape(const Size< ImageDimension > &radius) noexcept
void FillOffsets(Offset< ImageDimension > *const offsets) const noexcept
unsigned long SizeValueType