18#ifndef __ImageRandomSamplerSparseMask_h
19#define __ImageRandomSamplerSparseMask_h
22#include "itkMersenneTwisterRandomVariateGenerator.h"
37template<
class TInputImage >
71 Superclass::InputImageDimension );
92 void PrintSelf( std::ostream & os, Indent indent )
const override;
102 ThreadIdType threadId )
override;
118#ifndef ITK_MANUAL_INSTANTIATION
119#include "itkImageRandomSamplerSparseMask.hxx"
Samples all voxels in the InputImageRegion.
SmartPointer< Self > Pointer
This class is a base class for any image sampler that randomly picks samples.
Superclass::InputImageRegionType InputImageRegionType
Samples randomly some voxels of an image.
void ThreadedGenerateData(const InputImageRegionType &inputRegionForThread, ThreadIdType threadId) override
void operator=(const Self &)
InputImageType::IndexType InputImageIndexType
Superclass::MaskType MaskType
Superclass::ImageSampleType ImageSampleType
RandomGeneratorType::Pointer RandomGeneratorPointer
ImageRandomSamplerSparseMask Self
SmartPointer< Self > Pointer
Superclass::InputImageRegionType InputImageRegionType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
InternalFullSamplerPointer m_InternalFullSampler
itk::ImageFullSampler< InputImageType > InternalFullSamplerType
void GenerateData(void) override
void PrintSelf(std::ostream &os, Indent indent) const override
void BeforeThreadedGenerateData(void) override
Superclass::InputImageType InputImageType
InternalFullSamplerType::Pointer InternalFullSamplerPointer
Superclass::InputImagePixelType InputImagePixelType
Superclass::InputImagePointer InputImagePointer
~ImageRandomSamplerSparseMask() override
SmartPointer< const Self > ConstPointer
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::DataObjectPointer DataObjectPointer
ImageRandomSamplerSparseMask(const Self &)
Superclass::OutputVectorContainerType OutputVectorContainerType
RandomGeneratorPointer m_RandomGenerator
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
ImageRandomSamplerSparseMask()
Superclass::InputImageConstPointer InputImageConstPointer
ImageRandomSamplerBase< TInputImage > Superclass
InputImageType::PointType InputImagePointType
A class that defines an image sample, which is the coordinates of a point and its value.
Superclass::InputImagePixelType InputImagePixelType
SpatialObject< Self::InputImageDimension > MaskType
Superclass::DataObjectPointer DataObjectPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass::InputImageType InputImageType
Superclass::InputImagePointer InputImagePointer
Superclass::InputImageConstPointer InputImageConstPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.