18#ifndef itkImageRandomSampler_h
19#define itkImageRandomSampler_h
38template <
class TInputImage>
57 using typename Superclass::DataObjectPointer;
95#ifndef ITK_MANUAL_INSTANTIATION
96# include "itkImageRandomSampler.hxx"
This class is a base class for any image sampler that randomly picks samples.
SpatialObject< Self::InputImageDimension > MaskType
typename ImageSampleContainerType::Pointer ImageSampleContainerPointer
Samples randomly some voxels of an image.
~ImageRandomSampler() override=default
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
typename InputImageType::PointType InputImagePointType
SmartPointer< const Self > ConstPointer
typename InputImageType::IndexType InputImageIndexType
ImageRandomSampler()=default
ITK_DISALLOW_COPY_AND_MOVE(ImageRandomSampler)
void GenerateData() override
void ThreadedGenerateData(const InputImageRegionType &inputRegionForThread, ThreadIdType threadId) override
A class that defines an image sample, which is the coordinates of a point and its value.
typename InputImageType::SizeType InputImageSizeType
typename ImageSampleType::RealType ImageSampleValueType
TInputImage InputImageType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::Pointer InputImagePointer
TOutputVectorContainer OutputVectorContainerType
typename OutputVectorContainerType::Pointer OutputVectorContainerPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.