19#ifndef itkImageNeighborhoodOffsets_h
20#define itkImageNeighborhoodOffsets_h
29template <
typename TImageNeighborhoodShape>
30std::vector<Offset<TImageNeighborhoodShape::ImageDimension>>
33 std::vector<Offset<TImageNeighborhoodShape::ImageDimension>> offsets(shape.GetNumberOfOffsets());
34 shape.FillOffsets(offsets.data());
41template <
unsigned int VImageDimension>
42std::vector<Offset<VImageDimension>>
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
std::vector< Offset< VImageDimension > > GenerateRectangularImageNeighborhoodOffsets(const Size< VImageDimension > &radius)
std::vector< Offset< TImageNeighborhoodShape::ImageDimension > > GenerateImageNeighborhoodOffsets(const TImageNeighborhoodShape &shape)