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
itk::ImageRandomSampler< TInputImage > Class Template Reference

#include <itkImageRandomSampler.h>

Inheritance diagram for itk::ImageRandomSampler< TInputImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::ImageRandomSampler< TInputImage >:
Collaboration graph
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::DataObjectPointer 
DataObjectPointer
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< SelfPointer
typedef ImageRandomSampler Self
typedef ImageRandomSamplerBase
< TInputImage > 
Superclass

Public Member Functions

virtual const char * GetClassName () const
 itkStaticConstMacro (InputImageDimension, unsigned int, Superclass::InputImageDimension)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual void GenerateData (void)
 ImageRandomSampler ()
virtual ~ImageRandomSampler ()

Private Member Functions

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

Detailed Description

template<class TInputImage>
class itk::ImageRandomSampler< TInputImage >

Samples randomly some voxels of an image.

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 may take some time. In this case, consider using the ImageRandomSamplerSparseMask.

Definition at line 38 of file itkImageRandomSampler.h.


Member Typedef Documentation

template<class TInputImage>
typedef SmartPointer<const Self> itk::ImageRandomSampler< TInputImage >::ConstPointer

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 47 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::DataObjectPointer itk::ImageRandomSampler< TInputImage >::DataObjectPointer

Typedefs inherited from the superclass.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 53 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::ImageSampleContainerType itk::ImageRandomSampler< TInputImage >::ImageSampleContainerType

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 65 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::ImageSampleType itk::ImageRandomSampler< TInputImage >::ImageSampleType

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 64 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::InputImageConstPointer itk::ImageRandomSampler< TInputImage >::InputImageConstPointer

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 61 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef InputImageType::IndexType itk::ImageRandomSampler< TInputImage >::InputImageIndexType

Other typedefs.

Reimplemented from itk::ImageSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 73 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::InputImagePixelType itk::ImageRandomSampler< TInputImage >::InputImagePixelType

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 63 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::InputImagePointer itk::ImageRandomSampler< TInputImage >::InputImagePointer

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 60 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef InputImageType::PointType itk::ImageRandomSampler< TInputImage >::InputImagePointType

Reimplemented from itk::ImageSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 74 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::InputImageRegionType itk::ImageRandomSampler< TInputImage >::InputImageRegionType

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 62 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::InputImageType itk::ImageRandomSampler< TInputImage >::InputImageType

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 59 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef Superclass::MaskType itk::ImageRandomSampler< TInputImage >::MaskType

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 66 of file itkImageRandomSampler.h.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 58 of file itkImageRandomSampler.h.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 57 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef SmartPointer<Self> itk::ImageRandomSampler< TInputImage >::Pointer

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 46 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef ImageRandomSampler itk::ImageRandomSampler< TInputImage >::Self

Standard ITK-stuff.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

Definition at line 44 of file itkImageRandomSampler.h.

template<class TInputImage>
typedef ImageRandomSamplerBase< TInputImage > itk::ImageRandomSampler< TInputImage >::Superclass

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Definition at line 45 of file itkImageRandomSampler.h.


Constructor & Destructor Documentation

template<class TInputImage>
itk::ImageRandomSampler< TInputImage >::ImageRandomSampler ( ) [inline, protected]

The constructor.

Definition at line 79 of file itkImageRandomSampler.h.

template<class TInputImage>
virtual itk::ImageRandomSampler< TInputImage >::~ImageRandomSampler ( ) [inline, protected, virtual]

The destructor.

Definition at line 81 of file itkImageRandomSampler.h.

template<class TInputImage>
itk::ImageRandomSampler< TInputImage >::ImageRandomSampler ( const Self ) [private]

The private constructor.


Member Function Documentation

template<class TInputImage>
virtual void itk::ImageRandomSampler< TInputImage >::GenerateData ( void  ) [protected, virtual]

Function that does the work.

template<class TInputImage>
virtual const char* itk::ImageRandomSampler< TInputImage >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

template<class TInputImage>
itk::ImageRandomSampler< TInputImage >::itkStaticConstMacro ( InputImageDimension  ,
unsigned  int,
Superclass::InputImageDimension   
)

The input image dimension.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

template<class TInputImage>
static Pointer itk::ImageRandomSampler< TInputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::RandomSampler< TElastix >.

template<class TInputImage>
void itk::ImageRandomSampler< TInputImage >::operator= ( const Self ) [private]

The private copy constructor.



Generated on 24-05-2012 for elastix by doxygen 1.7.6.1 elastix logo