18 #ifndef itkSpatialNeighborSubsampler_h
19 #define itkSpatialNeighborSubsampler_h
50 template <
typename TSample,
typename TRegion>
70 using typename Superclass::SampleType;
71 using typename Superclass::SampleConstPointer;
72 using typename Superclass::MeasurementVectorType;
73 using typename Superclass::InstanceIdentifier;
75 using typename Superclass::SubsampleType;
76 using typename Superclass::SubsamplePointer;
77 using typename Superclass::SubsampleConstIterator;
78 using typename Superclass::InstanceIdentifierHolder;
87 static constexpr
unsigned int ImageDimension = RegionType::ImageDimension;
95 SetRadius(
unsigned int radius);
102 itkGetConstReferenceMacro(RadiusInitialized,
bool);
119 InternalClone()
const override;
125 PrintSelf(std::ostream & os,
Indent indent)
const override;
128 bool m_RadiusInitialized{};
134 #ifndef ITK_MANUAL_INSTANTIATION
135 # include "itkSpatialNeighborSubsampler.hxx"