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 Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
itk::MultiInputImageRandomCoordinateSampler< TInputImage > Class Template Reference

#include <itkMultiInputImageRandomCoordinateSampler.h>

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

Public Types

typedef SmartPointer< const SelfConstPointer
typedef double CoordRepType
typedef
Superclass::DataObjectPointer 
DataObjectPointer
typedef
BSplineInterpolateImageFunction
< InputImageType, CoordRepType,
double
DefaultInterpolatorType
typedef
Superclass::ImageSampleContainerType 
ImageSampleContainerType
typedef Superclass::ImageSampleType ImageSampleType
typedef
Superclass::ImageSampleValueType 
ImageSampleValueType
typedef
Superclass::InputImageConstPointer 
InputImageConstPointer
typedef
Superclass::InputImageIndexType 
InputImageIndexType
typedef
Superclass::InputImagePixelType 
InputImagePixelType
typedef
Superclass::InputImagePointer 
InputImagePointer
typedef
Superclass::InputImagePointType 
InputImagePointType
typedef
Superclass::InputImagePointValueType 
InputImagePointValueType
typedef
Superclass::InputImageRegionType 
InputImageRegionType
typedef
Superclass::InputImageSizeType 
InputImageSizeType
typedef InputImageType::SpacingType InputImageSpacingType
typedef Superclass::InputImageType InputImageType
typedef
InterpolateImageFunction
< InputImageType, CoordRepType
InterpolatorType
typedef Superclass::MaskType MaskType
typedef
Superclass::OutputVectorContainerPointer 
OutputVectorContainerPointer
typedef
Superclass::OutputVectorContainerType 
OutputVectorContainerType
typedef SmartPointer< SelfPointer
typedef
itk::Statistics::MersenneTwisterRandomVariateGenerator 
RandomGeneratorType
typedef
MultiInputImageRandomCoordinateSampler 
Self
typedef ImageRandomSamplerBase
< TInputImage > 
Superclass

Public Member Functions

virtual const char * GetClassName () const
virtual InterpolatorTypeGetInterpolator ()
virtual const
InputImageSpacingType
GetSampleRegionSize ()
virtual bool GetUseRandomSampleRegion () const
 itkStaticConstMacro (InputImageDimension, unsigned int, Superclass::InputImageDimension)
virtual void SetInterpolator (InterpolatorType *_arg)
virtual void SetSampleRegionSize (InputImageSpacingType _arg)
virtual void SetUseRandomSampleRegion (bool _arg)

Static Public Member Functions

static Pointer New ()

Protected Types

typedef
InterpolatorType::ContinuousIndexType 
InputImageContinuousIndexType

Protected Member Functions

virtual void GenerateData (void)
virtual void GenerateRandomCoordinate (const InputImageContinuousIndexType &smallestContIndex, const InputImageContinuousIndexType &largestContIndex, InputImageContinuousIndexType &randomContIndex)
virtual void GenerateSampleRegion (InputImageContinuousIndexType &smallestContIndex, InputImageContinuousIndexType &largestContIndex)
 MultiInputImageRandomCoordinateSampler ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~MultiInputImageRandomCoordinateSampler ()

Protected Attributes

InterpolatorType::Pointer m_Interpolator
RandomGeneratorType::Pointer m_RandomGenerator
InputImageSpacingType m_SampleRegionSize

Private Member Functions

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

Private Attributes

bool m_UseRandomSampleRegion

Detailed Description

template<class TInputImage>
class itk::MultiInputImageRandomCoordinateSampler< TInputImage >

Samples an image by randomly composing a set of physical coordinates.

This image sampler generates not only samples that correspond with pixel locations, but selects points in physical space.

Definition at line 38 of file itkMultiInputImageRandomCoordinateSampler.h.


Member Typedef Documentation

template<class TInputImage>
typedef SmartPointer<const Self> itk::MultiInputImageRandomCoordinateSampler< TInputImage >::ConstPointer
template<class TInputImage>
typedef double itk::MultiInputImageRandomCoordinateSampler< TInputImage >::CoordRepType

This image sampler samples the image on physical coordinates and thus needs an interpolator.

Reimplemented in elastix::MultiInputRandomCoordinateSampler< TElastix >.

Definition at line 81 of file itkMultiInputImageRandomCoordinateSampler.h.

Typedefs inherited from the superclass.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::MultiInputRandomCoordinateSampler< TElastix >.

Definition at line 53 of file itkMultiInputImageRandomCoordinateSampler.h.

template<class TInputImage>
typedef InterpolatorType::ContinuousIndexType itk::MultiInputImageRandomCoordinateSampler< TInputImage >::InputImageContinuousIndexType [protected]

Definition at line 103 of file itkMultiInputImageRandomCoordinateSampler.h.

template<class TInputImage>
typedef InputImageType::SpacingType itk::MultiInputImageRandomCoordinateSampler< TInputImage >::InputImageSpacingType
template<class TInputImage>
typedef Superclass::InputImageType itk::MultiInputImageRandomCoordinateSampler< TInputImage >::InputImageType
template<class TInputImage>
typedef Superclass::MaskType itk::MultiInputImageRandomCoordinateSampler< TInputImage >::MaskType
template<class TInputImage>
typedef SmartPointer<Self> itk::MultiInputImageRandomCoordinateSampler< TInputImage >::Pointer
template<class TInputImage>
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator itk::MultiInputImageRandomCoordinateSampler< TInputImage >::RandomGeneratorType

The random number generator used to generate random coordinates.

Definition at line 88 of file itkMultiInputImageRandomCoordinateSampler.h.

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

Constructor & Destructor Documentation

template<class TInputImage>
itk::MultiInputImageRandomCoordinateSampler< TInputImage >::MultiInputImageRandomCoordinateSampler ( ) [protected]

The constructor.

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

The destructor.

Definition at line 113 of file itkMultiInputImageRandomCoordinateSampler.h.

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

The private constructor.


Member Function Documentation

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

Function that does the work.

template<class TInputImage>
virtual void itk::MultiInputImageRandomCoordinateSampler< TInputImage >::GenerateRandomCoordinate ( const InputImageContinuousIndexType smallestContIndex,
const InputImageContinuousIndexType largestContIndex,
InputImageContinuousIndexType randomContIndex 
) [protected, virtual]

Generate a point randomly in a bounding box. This method can be overwritten in subclasses if a different distribution is desired.

template<class TInputImage>
virtual void itk::MultiInputImageRandomCoordinateSampler< TInputImage >::GenerateSampleRegion ( InputImageContinuousIndexType smallestContIndex,
InputImageContinuousIndexType largestContIndex 
) [protected, virtual]

Generate the two corners of a sampling region.

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

Run-time type information (and related methods).

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::MultiInputRandomCoordinateSampler< TElastix >.

template<class TInputImage>
virtual InterpolatorType* itk::MultiInputImageRandomCoordinateSampler< TInputImage >::GetInterpolator ( ) [virtual]
template<class TInputImage>
virtual const InputImageSpacingType& itk::MultiInputImageRandomCoordinateSampler< TInputImage >::GetSampleRegionSize ( ) [virtual]
template<class TInputImage>
virtual bool itk::MultiInputImageRandomCoordinateSampler< TInputImage >::GetUseRandomSampleRegion ( ) const [virtual]

Set/Get whether to use randomly selected sample regions, or just the whole image Default: false.

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

The input image dimension.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

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

Method for creation through the object factory.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

Reimplemented in elastix::MultiInputRandomCoordinateSampler< TElastix >.

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

The private copy constructor.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

template<class TInputImage>
void itk::MultiInputImageRandomCoordinateSampler< TInputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected]

PrintSelf.

Reimplemented from itk::ImageRandomSamplerBase< TInputImage >.

template<class TInputImage>
virtual void itk::MultiInputImageRandomCoordinateSampler< TInputImage >::SetInterpolator ( InterpolatorType _arg) [virtual]

Set/Get the interpolator. A 3rd order B-spline interpolator is used by default.

template<class TInputImage>
virtual void itk::MultiInputImageRandomCoordinateSampler< TInputImage >::SetSampleRegionSize ( InputImageSpacingType  _arg) [virtual]

Set/Get the sample region size (in mm). Only needed when UseRandomSampleRegion==true; default: filled with ones.

template<class TInputImage>
virtual void itk::MultiInputImageRandomCoordinateSampler< TInputImage >::SetUseRandomSampleRegion ( bool  _arg) [virtual]

Field Documentation

template<class TInputImage>
InterpolatorType::Pointer itk::MultiInputImageRandomCoordinateSampler< TInputImage >::m_Interpolator [protected]

Definition at line 128 of file itkMultiInputImageRandomCoordinateSampler.h.

template<class TInputImage>
RandomGeneratorType::Pointer itk::MultiInputImageRandomCoordinateSampler< TInputImage >::m_RandomGenerator [protected]

Definition at line 129 of file itkMultiInputImageRandomCoordinateSampler.h.

template<class TInputImage>
InputImageSpacingType itk::MultiInputImageRandomCoordinateSampler< TInputImage >::m_SampleRegionSize [protected]

Definition at line 130 of file itkMultiInputImageRandomCoordinateSampler.h.

template<class TInputImage>
bool itk::MultiInputImageRandomCoordinateSampler< TInputImage >::m_UseRandomSampleRegion [private]

Definition at line 144 of file itkMultiInputImageRandomCoordinateSampler.h.



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