![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxRandomSamplerSparseMask.h>
Public Member Functions | |
virtual void | BeforeEachResolution (void) |
elxClassNameMacro ("RandomSparseMask") | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (InputImageDimension, unsigned int, Superclass1::InputImageDimension) | |
![]() | |
itkStaticConstMacro (InputImageDimension, unsigned int, Superclass::InputImageDimension) | |
![]() | |
virtual unsigned long | GetNumberOfSamples () const |
itkStaticConstMacro (InputImageDimension, unsigned int, Superclass::InputImageDimension) | |
virtual void | SetNumberOfSamples (unsigned long _arg) |
![]() | |
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 |
itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension) | |
virtual bool | SelectingNewSamplesOnUpdateSupported (void) const |
virtual bool | SelectNewSamplesOnUpdate (void) |
virtual void | SetInputImageRegion (const InputImageRegionType _arg, unsigned int pos) |
virtual void | SetInputImageRegion (const InputImageRegionType _arg) |
virtual void | SetMask (const MaskType *_arg, unsigned int pos) |
virtual void | SetMask (const MaskType *_arg) |
virtual void | SetNumberOfInputImageRegions (const unsigned int _arg) |
virtual void | SetNumberOfMasks (const unsigned int _arg) |
![]() | |
const InputImageType * | GetInput (void) |
const InputImageType * | GetInput (unsigned int idx) |
OutputVectorContainerType * | GetOutput (void) |
DataObject::Pointer | MakeOutput (unsigned int idx) |
void | SetInput (unsigned int idx, const InputImageType *input) |
void | SetInput (const InputImageType *input) |
![]() | |
OutputVectorContainerType * | GetOutput (void) |
OutputVectorContainerType * | GetOutput (unsigned int idx) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
virtual void | GraftOutput (DataObject *output) |
![]() | |
virtual void | BeforeEachResolutionBase (void) |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
![]() | |
virtual ConfigurationType * | GetConfiguration (void) const |
virtual ElastixType * | GetElastix (void) const |
virtual RegistrationPointer | GetRegistration (void) const |
virtual void | SetConfiguration (ConfigurationType *_arg) |
virtual void | SetElastix (ElastixType *_arg) |
![]() | |
virtual void | AfterEachIteration (void) |
virtual void | AfterEachIterationBase (void) |
virtual void | AfterEachResolution (void) |
virtual void | AfterEachResolutionBase (void) |
virtual void | AfterRegistration (void) |
virtual void | AfterRegistrationBase (void) |
virtual int | BeforeAll (void) |
virtual int | BeforeAllBase (void) |
virtual void | BeforeRegistration (void) |
virtual void | BeforeRegistrationBase (void) |
virtual const char * | elxGetClassName (void) const |
virtual const char * | GetComponentLabel (void) const |
virtual void | SetComponentLabel (const char *label, unsigned int idx) |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
Private Member Functions | |
void | operator= (const Self &) |
RandomSamplerSparseMask (const Self &) | |
Additional Inherited Members | |
![]() | |
typedef itk::ImageFullSampler < InputImageType > | InternalFullSamplerType |
![]() | |
InternalFullSamplerType::Pointer | m_InternalFullSampler |
RandomGeneratorType::Pointer | m_RandomGenerator |
![]() | |
unsigned long | m_NumberOfSamples |
![]() | |
ConfigurationPointer | m_Configuration |
ElastixPointer | m_Elastix |
RegistrationPointer | m_Registration |
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.
This sampler is suitable to used in combination with the NewSamplesEveryIteration parameter (defined in the elx::OptimizerBase).
The parameters used in this class are:
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 52 of file elxRandomSamplerSparseMask.h.
typedef Superclass2::ConfigurationPointer elastix::RandomSamplerSparseMask< TElastix >::ConfigurationPointer |
Definition at line 104 of file elxRandomSamplerSparseMask.h.
typedef Superclass2::ConfigurationType elastix::RandomSamplerSparseMask< TElastix >::ConfigurationType |
Definition at line 103 of file elxRandomSamplerSparseMask.h.
typedef itk::SmartPointer<const Self> elastix::RandomSamplerSparseMask< TElastix >::ConstPointer |
Definition at line 68 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::DataObjectPointer elastix::RandomSamplerSparseMask< TElastix >::DataObjectPointer |
Typedefs inherited from the superclass.
Definition at line 83 of file elxRandomSamplerSparseMask.h.
typedef Superclass2::ElastixPointer elastix::RandomSamplerSparseMask< TElastix >::ElastixPointer |
Definition at line 102 of file elxRandomSamplerSparseMask.h.
typedef Superclass2::ElastixType elastix::RandomSamplerSparseMask< TElastix >::ElastixType |
Typedefs inherited from Elastix.
Definition at line 101 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::ImageSampleContainerType elastix::RandomSamplerSparseMask< TElastix >::ImageSampleContainerType |
Definition at line 92 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::ImageSampleType elastix::RandomSamplerSparseMask< TElastix >::ImageSampleType |
Definition at line 91 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::InputImageConstPointer elastix::RandomSamplerSparseMask< TElastix >::InputImageConstPointer |
Definition at line 88 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::InputImageIndexType elastix::RandomSamplerSparseMask< TElastix >::InputImageIndexType |
Definition at line 94 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::InputImagePixelType elastix::RandomSamplerSparseMask< TElastix >::InputImagePixelType |
Definition at line 90 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::InputImagePointer elastix::RandomSamplerSparseMask< TElastix >::InputImagePointer |
Definition at line 87 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::InputImagePointType elastix::RandomSamplerSparseMask< TElastix >::InputImagePointType |
Definition at line 95 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::InputImageRegionType elastix::RandomSamplerSparseMask< TElastix >::InputImageRegionType |
Definition at line 89 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::InputImageType elastix::RandomSamplerSparseMask< TElastix >::InputImageType |
Definition at line 86 of file elxRandomSamplerSparseMask.h.
typedef Superclass2::ITKBaseType elastix::RandomSamplerSparseMask< TElastix >::ITKBaseType |
Definition at line 107 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::MaskType elastix::RandomSamplerSparseMask< TElastix >::MaskType |
Definition at line 93 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::OutputVectorContainerPointer elastix::RandomSamplerSparseMask< TElastix >::OutputVectorContainerPointer |
Definition at line 85 of file elxRandomSamplerSparseMask.h.
typedef Superclass1::OutputVectorContainerType elastix::RandomSamplerSparseMask< TElastix >::OutputVectorContainerType |
Definition at line 84 of file elxRandomSamplerSparseMask.h.
typedef itk::SmartPointer<Self> elastix::RandomSamplerSparseMask< TElastix >::Pointer |
Definition at line 67 of file elxRandomSamplerSparseMask.h.
typedef Superclass2::RegistrationPointer elastix::RandomSamplerSparseMask< TElastix >::RegistrationPointer |
Definition at line 106 of file elxRandomSamplerSparseMask.h.
typedef Superclass2::RegistrationType elastix::RandomSamplerSparseMask< TElastix >::RegistrationType |
Definition at line 105 of file elxRandomSamplerSparseMask.h.
typedef RandomSamplerSparseMask elastix::RandomSamplerSparseMask< TElastix >::Self |
Standard ITK-stuff.
Definition at line 62 of file elxRandomSamplerSparseMask.h.
typedef itk::ImageRandomSamplerSparseMask< typename elx::ImageSamplerBase<TElastix>::InputImageType > elastix::RandomSamplerSparseMask< TElastix >::Superclass1 |
Definition at line 65 of file elxRandomSamplerSparseMask.h.
typedef elx::ImageSamplerBase<TElastix> elastix::RandomSamplerSparseMask< TElastix >::Superclass2 |
Definition at line 66 of file elxRandomSamplerSparseMask.h.
|
inlineprotected |
The constructor.
Definition at line 117 of file elxRandomSamplerSparseMask.h.
|
inlineprotectedvirtual |
The destructor.
Definition at line 119 of file elxRandomSamplerSparseMask.h.
|
private |
The private constructor.
|
virtual |
Execute stuff before each resolution:
Reimplemented from elastix::BaseComponent.
elastix::RandomSamplerSparseMask< TElastix >::elxClassNameMacro | ( | "RandomSparseMask" | ) |
Name of this class. Use this name in the parameter file to select this specific interpolator.
example: (ImageSampler "RandomSparseMask")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::ImageSamplerBase< TElastix >.
elastix::RandomSamplerSparseMask< TElastix >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned | int, | ||
Superclass1::InputImageDimension | |||
) |
The input image dimension.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
Generated on 04-01-2014 for elastix by ![]() |
![]() |