go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
elastix::RandomSamplerSparseMask< TElastix > Class Template Reference

#include <elxRandomSamplerSparseMask.h>

Detailed Description

template<class TElastix>
class elastix::RandomSamplerSparseMask< TElastix >

An interpolator based on the itk::ImageRandomSamplerSparseMask.

This image sampler randomly samples 'NumberOfSamples' voxels in the InputImageRegion. Voxels may be selected multiple times. If a mask is given, the sampler tries to find samples within the mask. If the mask is very sparse, this image sampler is a better choice than the random sampler.

Todo:
Write something similar for the RandomCoordinate sampler.

This sampler is suitable to used in combination with the NewSamplesEveryIteration parameter (defined in the elx::OptimizerBase).

The parameters used in this class are:

Parameters:

ImageSampler: Select this image sampler as follows:
(ImageSampler "RandomSparseMask")

NumberOfSpatialSamples: The number of image voxels used for computing the metric value and its derivative in each iteration. Must be given for each resolution.
example: (NumberOfSpatialSamples 2048 2048 4000)
The default is 5000.

Definition at line 54 of file elxRandomSamplerSparseMask.h.

+ Inheritance diagram for elastix::RandomSamplerSparseMask< TElastix >:

Public Types

typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const Self > ConstPointer
 
typedef Superclass1::DataObjectPointer DataObjectPointer
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass1::ImageSampleType ImageSampleType
 
typedef Superclass1::InputImageConstPointer InputImageConstPointer
 
typedef Superclass1::InputImageIndexType InputImageIndexType
 
typedef Superclass1::InputImagePixelType InputImagePixelType
 
typedef Superclass1::InputImagePointer InputImagePointer
 
typedef Superclass1::InputImagePointType InputImagePointType
 
typedef Superclass1::InputImageRegionType InputImageRegionType
 
typedef Superclass1::InputImageType InputImageType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::MaskType MaskType
 
typedef Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
 
typedef Superclass1::OutputVectorContainerType OutputVectorContainerType
 
typedef itk::SmartPointer< Self > Pointer
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef RandomSamplerSparseMask Self
 
typedef itk::ImageRandomSamplerSparseMask< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
 
typedef elx::ImageSamplerBase< TElastix > Superclass2
 
- Public Types inherited from itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass::ImageSampleType ImageSampleType
 
typedef Superclass::InputImageConstPointer InputImageConstPointer
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef Superclass::InputImagePixelType InputImagePixelType
 
typedef Superclass::InputImagePointer InputImagePointer
 
typedef InputImageType::PointType InputImagePointType
 
typedef Superclass::InputImageRegionType InputImageRegionType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::MaskType MaskType
 
typedef Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
 
typedef Superclass::OutputVectorContainerType OutputVectorContainerType
 
typedef SmartPointer< Self > Pointer
 
typedef RandomGeneratorType::Pointer RandomGeneratorPointer
 
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType
 
typedef ImageRandomSamplerSparseMask Self
 
typedef ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType > Superclass
 
- Public Types inherited from itk::ImageRandomSamplerBase< TInputImage >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass::ImageSampleType ImageSampleType
 
typedef Superclass::InputImageConstPointer InputImageConstPointer
 
typedef Superclass::InputImagePixelType InputImagePixelType
 
typedef Superclass::InputImagePointer InputImagePointer
 
typedef Superclass::InputImageRegionType InputImageRegionType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::MaskType MaskType
 
typedef Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
 
typedef Superclass::OutputVectorContainerType OutputVectorContainerType
 
typedef SmartPointer< Self > Pointer
 
typedef ImageRandomSamplerBase Self
 
typedef ImageSamplerBase< TInputImage > Superclass
 
- Public Types inherited from itk::ImageSamplerBase< TInputImage >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef ImageSampleContainerType::Pointer ImageSampleContainerPointer
 
typedef VectorDataContainer< std::vcl_size_t, ImageSampleType > ImageSampleContainerType
 
typedef ImageSample< InputImageType > ImageSampleType
 
typedef ImageSampleType::RealType ImageSampleValueType
 
typedef Superclass::InputImageConstPointer InputImageConstPointer
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef Superclass::InputImagePixelType InputImagePixelType
 
typedef Superclass::InputImagePointer InputImagePointer
 
typedef InputImageType::PointType InputImagePointType
 
typedef InputImagePointType::ValueType InputImagePointValueType
 
typedef Superclass::InputImageRegionType InputImageRegionType
 
typedef std::vector< InputImageRegionType > InputImageRegionVectorType
 
typedef InputImageType::SizeType InputImageSizeType
 
typedef Superclass::InputImageType InputImageType
 
typedef MaskType::ConstPointer MaskConstPointer
 
typedef MaskType::Pointer MaskPointer
 
typedef SpatialObject< Self::InputImageDimension > MaskType
 
typedef std::vector< MaskConstPointer > MaskVectorType
 
typedef Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
 
typedef Superclass::OutputVectorContainerType OutputVectorContainerType
 
typedef SmartPointer< Self > Pointer
 
typedef ImageSamplerBase Self
 
typedef ImageToVectorContainerFilter< TInputImage, VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > > Superclass
 
- Public Types inherited from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
 
typedef Superclass::OutputVectorContainerType OutputVectorContainerType
 
typedef SmartPointer< Self > Pointer
 
typedef ImageToVectorContainerFilter Self
 
typedef VectorContainerSource< VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > > Superclass
 
- Public Types inherited from itk::VectorContainerSource< VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef OutputVectorContainerType::Pointer OutputVectorContainerPointer
 
typedef VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > OutputVectorContainerType
 
typedef SmartPointer< Self > Pointer
 
typedef VectorContainerSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ImageSamplerBase< TElastix >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef ImageSampleContainerType::Pointer ImageSampleContainerPointer
 
typedef VectorDataContainer< std::vcl_size_t, ImageSampleType > ImageSampleContainerType
 
typedef ImageSample< InputImageType > ImageSampleType
 
typedef ImageSampleType::RealType ImageSampleValueType
 
typedef Superclass::InputImageConstPointer InputImageConstPointer
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef Superclass::InputImagePixelType InputImagePixelType
 
typedef Superclass::InputImagePointer InputImagePointer
 
typedef InputImageType::PointType InputImagePointType
 
typedef InputImagePointType::ValueType InputImagePointValueType
 
typedef Superclass::InputImageRegionType InputImageRegionType
 
typedef std::vector< InputImageRegionType > InputImageRegionVectorType
 
typedef InputImageType::SizeType InputImageSizeType
 
typedef Superclass::InputImageType InputImageType
 
typedef MaskType::ConstPointer MaskConstPointer
 
typedef MaskType::Pointer MaskPointer
 
typedef SpatialObject< Self::InputImageDimension > MaskType
 
typedef std::vector< MaskConstPointer > MaskVectorType
 
typedef Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
 
typedef Superclass::OutputVectorContainerType OutputVectorContainerType
 
typedef SmartPointer< Self > Pointer
 
typedef ImageSamplerBase Self
 
typedef ImageToVectorContainerFilter< TElastix, VectorDataContainer< std::vcl_size_t, ImageSample< TElastix > > > Superclass
 
- Public Types inherited from itk::ImageToVectorContainerFilter< TInputImage, TOutputVectorContainer >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
 
typedef Superclass::OutputVectorContainerType OutputVectorContainerType
 
typedef SmartPointer< Self > Pointer
 
typedef ImageToVectorContainerFilter Self
 
typedef VectorContainerSource< TOutputVectorContainer > Superclass
 
- Public Types inherited from itk::VectorContainerSource< TOutputVectorContainer >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef OutputVectorContainerType::Pointer OutputVectorContainerPointer
 
typedef TOutputVectorContainer OutputVectorContainerType
 
typedef SmartPointer< Self > Pointer
 
typedef VectorContainerSource Self
 
typedef ProcessObject Superclass
 

Public Member Functions

void BeforeEachResolution (void) override
 
 elxClassNameMacro ("RandomSparseMask")
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (InputImageDimension, unsigned int, Superclass1::InputImageDimension)
 
- Public Member Functions inherited from itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >
 itkStaticConstMacro (InputImageDimension, unsigned int, Superclass::InputImageDimension)
 
- Public Member Functions inherited from itk::ImageRandomSamplerBase< TInputImage >
 itkStaticConstMacro (InputImageDimension, unsigned int, Superclass::InputImageDimension)
 
- Public Member Functions inherited from itk::ImageSamplerBase< TInputImage >
virtual const InputImageRegionType & GetCroppedInputImageRegion ()
 
virtual const InputImageRegionType & GetInputImageRegion (unsigned int pos) const
 
virtual const InputImageRegionType & GetInputImageRegion (void) const
 
virtual const MaskType * GetMask (unsigned int pos) const
 
virtual const MaskType * GetMask (void) const
 
virtual unsigned int GetNumberOfInputImageRegions () const
 
virtual unsigned int GetNumberOfMasks () const
 
virtual unsigned long GetNumberOfSamples () const
 
 itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension)
 
virtual bool SelectingNewSamplesOnUpdateSupported (void) const
 
virtual bool SelectNewSamplesOnUpdate (void)
 
virtual void SetInputImageRegion (const InputImageRegionType _arg)
 
virtual void SetInputImageRegion (const InputImageRegionType _arg, unsigned int pos)
 
virtual void SetMask (const MaskType *_arg)
 
virtual void SetMask (const MaskType *_arg, unsigned int pos)
 
virtual void SetNumberOfInputImageRegions (const unsigned int _arg)
 
virtual void SetNumberOfMasks (const unsigned int _arg)
 
virtual void SetNumberOfSamples (unsigned long _arg)
 
virtual void SetUseMultiThread (bool _arg)
 
- Public Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > >
void GenerateData (void) override
 
const InputImageType * GetInput (unsigned int idx)
 
const InputImageType * GetInput (void)
 
OutputVectorContainerType * GetOutput (void)
 
DataObject::Pointer MakeOutput (unsigned int idx) override
 
void SetInput (const InputImageType *input)
 
void SetInput (unsigned int idx, const InputImageType *input)
 
virtual unsigned int SplitRequestedRegion (const ThreadIdType &threadId, const ThreadIdType &numberOfSplits, InputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const InputImageRegionType &inputRegionForThread, ThreadIdType threadId)
 
- Public Member Functions inherited from itk::VectorContainerSource< VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > >
OutputVectorContainerType * GetOutput (unsigned int idx)
 
OutputVectorContainerType * GetOutput (void)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
- Public Member Functions inherited from itk::ImageSamplerBase< TElastix >
virtual const InputImageRegionType & GetCroppedInputImageRegion ()
 
virtual const InputImageRegionType & GetInputImageRegion (unsigned int pos) const
 
virtual const InputImageRegionType & GetInputImageRegion (void) const
 
virtual const MaskType * GetMask (unsigned int pos) const
 
virtual const MaskType * GetMask (void) const
 
virtual unsigned int GetNumberOfInputImageRegions () const
 
virtual unsigned int GetNumberOfMasks () const
 
virtual unsigned long GetNumberOfSamples () const
 
 itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension)
 
virtual bool SelectingNewSamplesOnUpdateSupported (void) const
 
virtual bool SelectNewSamplesOnUpdate (void)
 
virtual void SetInputImageRegion (const InputImageRegionType _arg)
 
virtual void SetInputImageRegion (const InputImageRegionType _arg, unsigned int pos)
 
virtual void SetMask (const MaskType *_arg)
 
virtual void SetMask (const MaskType *_arg, unsigned int pos)
 
virtual void SetNumberOfInputImageRegions (const unsigned int _arg)
 
virtual void SetNumberOfMasks (const unsigned int _arg)
 
virtual void SetNumberOfSamples (unsigned long _arg)
 
virtual void SetUseMultiThread (bool _arg)
 
- Public Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, TOutputVectorContainer >
void GenerateData (void) override
 
const InputImageType * GetInput (unsigned int idx)
 
const InputImageType * GetInput (void)
 
OutputVectorContainerType * GetOutput (void)
 
DataObject::Pointer MakeOutput (unsigned int idx) override
 
void SetInput (const InputImageType *input)
 
void SetInput (unsigned int idx, const InputImageType *input)
 
virtual unsigned int SplitRequestedRegion (const ThreadIdType &threadId, const ThreadIdType &numberOfSplits, InputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const InputImageRegionType &inputRegionForThread, ThreadIdType threadId)
 
- Public Member Functions inherited from itk::VectorContainerSource< TOutputVectorContainer >
OutputVectorContainerType * GetOutput (unsigned int idx)
 
OutputVectorContainerType * GetOutput (void)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageRandomSamplerBase< TInputImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageSamplerBase< TInputImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > >
static Pointer New ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Public Member Functions inherited from itk::VectorContainerSource< VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageSamplerBase< TElastix >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, TOutputVectorContainer >
static Pointer New ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Public Member Functions inherited from itk::VectorContainerSource< TOutputVectorContainer >
static Pointer New ()
 

Protected Member Functions

 RandomSamplerSparseMask ()
 
 ~RandomSamplerSparseMask () override
 
- Protected Member Functions inherited from itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >
void BeforeThreadedGenerateData (void) override
 
void GenerateData (void) override
 
 ImageRandomSamplerSparseMask ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ThreadedGenerateData (const InputImageRegionType &inputRegionForThread, ThreadIdType threadId) override
 
 ~ImageRandomSamplerSparseMask () override
 
- Protected Member Functions inherited from itk::ImageRandomSamplerBase< TInputImage >
 ImageRandomSamplerBase ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ImageRandomSamplerBase () override
 
- Protected Member Functions inherited from itk::ImageSamplerBase< TInputImage >
void AfterThreadedGenerateData (void) override
 
virtual bool CheckInputImageRegions (void)
 
void CropInputImageRegion (void)
 
void GenerateInputRequestedRegion (void) override
 
 ImageSamplerBase ()
 
virtual bool IsInsideAllMasks (const InputImagePointType &point) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void UpdateAllMasks (void)
 
 ~ImageSamplerBase () override
 
- Protected Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > >
 ImageToVectorContainerFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ImageToVectorContainerFilter () override
 
- Protected Member Functions inherited from itk::VectorContainerSource< VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 VectorContainerSource ()
 
 ~VectorContainerSource () override
 
- Protected Member Functions inherited from itk::ImageSamplerBase< TElastix >
void AfterThreadedGenerateData (void) override
 
void BeforeThreadedGenerateData (void) override
 
virtual bool CheckInputImageRegions (void)
 
void CropInputImageRegion (void)
 
void GenerateInputRequestedRegion (void) override
 
 ImageSamplerBase ()
 
virtual bool IsInsideAllMasks (const InputImagePointType &point) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void UpdateAllMasks (void)
 
 ~ImageSamplerBase () override
 
- Protected Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, TOutputVectorContainer >
 ImageToVectorContainerFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ImageToVectorContainerFilter () override
 
- Protected Member Functions inherited from itk::VectorContainerSource< TOutputVectorContainer >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 VectorContainerSource ()
 
 ~VectorContainerSource () override
 

Private Member Functions

void operator= (const Self &)
 
 RandomSamplerSparseMask (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >
typedef InternalFullSamplerType::Pointer InternalFullSamplerPointer
 
typedef itk::ImageFullSampler< InputImageType > InternalFullSamplerType
 
- Protected Attributes inherited from itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >
InternalFullSamplerPointer m_InternalFullSampler
 
RandomGeneratorPointer m_RandomGenerator
 
- Protected Attributes inherited from itk::ImageRandomSamplerBase< TInputImage >
std::vector< double > m_RandomNumberList
 
- Protected Attributes inherited from itk::ImageSamplerBase< TInputImage >
unsigned long m_NumberOfSamples
 
std::vector< ImageSampleContainerPointer > m_ThreaderSampleContainer
 
bool m_UseMultiThread
 
- Protected Attributes inherited from itk::ImageSamplerBase< TElastix >
unsigned long m_NumberOfSamples
 
std::vector< ImageSampleContainerPointer > m_ThreaderSampleContainer
 
bool m_UseMultiThread
 

Member Typedef Documentation

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass2::ConfigurationPointer elastix::RandomSamplerSparseMask< TElastix >::ConfigurationPointer

Definition at line 106 of file elxRandomSamplerSparseMask.h.

◆ ConfigurationType

template<class TElastix >
typedef Superclass2::ConfigurationType elastix::RandomSamplerSparseMask< TElastix >::ConfigurationType

Definition at line 105 of file elxRandomSamplerSparseMask.h.

◆ ConstPointer

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::RandomSamplerSparseMask< TElastix >::ConstPointer

Definition at line 70 of file elxRandomSamplerSparseMask.h.

◆ DataObjectPointer

Typedefs inherited from the superclass.

Definition at line 85 of file elxRandomSamplerSparseMask.h.

◆ ElastixPointer

template<class TElastix >
typedef Superclass2::ElastixPointer elastix::RandomSamplerSparseMask< TElastix >::ElastixPointer

Definition at line 104 of file elxRandomSamplerSparseMask.h.

◆ ElastixType

template<class TElastix >
typedef Superclass2::ElastixType elastix::RandomSamplerSparseMask< TElastix >::ElastixType

Typedefs inherited from Elastix.

Definition at line 103 of file elxRandomSamplerSparseMask.h.

◆ ImageSampleContainerType

Definition at line 94 of file elxRandomSamplerSparseMask.h.

◆ ImageSampleType

template<class TElastix >
typedef Superclass1::ImageSampleType elastix::RandomSamplerSparseMask< TElastix >::ImageSampleType

Definition at line 93 of file elxRandomSamplerSparseMask.h.

◆ InputImageConstPointer

Definition at line 90 of file elxRandomSamplerSparseMask.h.

◆ InputImageIndexType

Definition at line 96 of file elxRandomSamplerSparseMask.h.

◆ InputImagePixelType

Definition at line 92 of file elxRandomSamplerSparseMask.h.

◆ InputImagePointer

Definition at line 89 of file elxRandomSamplerSparseMask.h.

◆ InputImagePointType

Definition at line 97 of file elxRandomSamplerSparseMask.h.

◆ InputImageRegionType

Definition at line 91 of file elxRandomSamplerSparseMask.h.

◆ InputImageType

template<class TElastix >
typedef Superclass1::InputImageType elastix::RandomSamplerSparseMask< TElastix >::InputImageType

Definition at line 88 of file elxRandomSamplerSparseMask.h.

◆ ITKBaseType

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::RandomSamplerSparseMask< TElastix >::ITKBaseType

Definition at line 109 of file elxRandomSamplerSparseMask.h.

◆ MaskType

template<class TElastix >
typedef Superclass1::MaskType elastix::RandomSamplerSparseMask< TElastix >::MaskType

Definition at line 95 of file elxRandomSamplerSparseMask.h.

◆ OutputVectorContainerPointer

Definition at line 87 of file elxRandomSamplerSparseMask.h.

◆ OutputVectorContainerType

Definition at line 86 of file elxRandomSamplerSparseMask.h.

◆ Pointer

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::RandomSamplerSparseMask< TElastix >::Pointer

Definition at line 69 of file elxRandomSamplerSparseMask.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass2::RegistrationPointer elastix::RandomSamplerSparseMask< TElastix >::RegistrationPointer

Definition at line 108 of file elxRandomSamplerSparseMask.h.

◆ RegistrationType

template<class TElastix >
typedef Superclass2::RegistrationType elastix::RandomSamplerSparseMask< TElastix >::RegistrationType

Definition at line 107 of file elxRandomSamplerSparseMask.h.

◆ Self

template<class TElastix >
typedef RandomSamplerSparseMask elastix::RandomSamplerSparseMask< TElastix >::Self

Standard ITK-stuff.

Definition at line 64 of file elxRandomSamplerSparseMask.h.

◆ Superclass1

template<class TElastix >
typedef itk::ImageRandomSamplerSparseMask< typename elx::ImageSamplerBase< TElastix >::InputImageType > elastix::RandomSamplerSparseMask< TElastix >::Superclass1

Definition at line 67 of file elxRandomSamplerSparseMask.h.

◆ Superclass2

template<class TElastix >
typedef elx::ImageSamplerBase< TElastix > elastix::RandomSamplerSparseMask< TElastix >::Superclass2

Definition at line 68 of file elxRandomSamplerSparseMask.h.

Constructor & Destructor Documentation

◆ RandomSamplerSparseMask() [1/2]

template<class TElastix >
elastix::RandomSamplerSparseMask< TElastix >::RandomSamplerSparseMask ( )
inlineprotected

The constructor.

Definition at line 119 of file elxRandomSamplerSparseMask.h.

◆ ~RandomSamplerSparseMask()

template<class TElastix >
elastix::RandomSamplerSparseMask< TElastix >::~RandomSamplerSparseMask ( )
inlineoverrideprotected

The destructor.

Definition at line 121 of file elxRandomSamplerSparseMask.h.

◆ RandomSamplerSparseMask() [2/2]

template<class TElastix >
elastix::RandomSamplerSparseMask< TElastix >::RandomSamplerSparseMask ( const Self &  )
private

The private constructor.

Member Function Documentation

◆ BeforeEachResolution()

template<class TElastix >
void elastix::RandomSamplerSparseMask< TElastix >::BeforeEachResolution ( void  )
override

Execute stuff before each resolution:

  • Set the number of samples.

◆ elxClassNameMacro()

template<class TElastix >
elastix::RandomSamplerSparseMask< TElastix >::elxClassNameMacro ( "RandomSparseMask"  )

Name of this class. Use this name in the parameter file to select this specific interpolator.
example: (ImageSampler "RandomSparseMask")

◆ GetClassName()

template<class TElastix >
virtual const char* elastix::RandomSamplerSparseMask< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >.

◆ itkStaticConstMacro()

template<class TElastix >
elastix::RandomSamplerSparseMask< TElastix >::itkStaticConstMacro ( InputImageDimension  ,
unsigned int  ,
Superclass1::InputImageDimension   
)

The input image dimension.

◆ New()

template<class TElastix >
static Pointer elastix::RandomSamplerSparseMask< TElastix >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TElastix >
void elastix::RandomSamplerSparseMask< TElastix >::operator= ( const Self &  )
private

The private copy constructor.



Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.9.1 elastix logo