![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxMultiInputRandomCoordinateSampler.h>
Static Public Member Functions | |
static Pointer | New () |
Private Member Functions | |
MultiInputRandomCoordinateSampler (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
![]() | |
typedef InterpolatorType::ContinuousIndexType | InputImageContinuousIndexType |
![]() | |
InterpolatorType::Pointer | m_Interpolator |
RandomGeneratorType::Pointer | m_RandomGenerator |
InputImageSpacingType | m_SampleRegionSize |
An interpolator based on the itk::MultiInputImageRandomCoordinateSampler.
This image sampler randomly samples 'NumberOfSamples' coordinates in the InputImageRegion. 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. The MultiInputRandomCoordinate sampler samples not only positions that correspond to voxels, but also positions between voxels. An interpolator for the fixed image is thus required. A B-spline interpolator is used, the order of which can be specified by the user. Typically, the MultiInputRandomCoordinate gives a smoother cost function, because the so-called 'grid-effect' is avoided.
Compared to the elx::RandomCoordinateSampler this sampler takes into account the image regions and masks of multiple input images. Thus, only samples are selected that lie within all input images. This is useful when using the MultiResolutionRegistrationWithFeatures.
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 "MultiInputRandomCoordinate")
(NumberOfSpatialSamples 2048 2048 4000)
(UseRandomSampleRegion "true")
(SampleRegionSize 50.0 50.0 50.0)
(SampleRegionSize 50.0 50.0 50.0 30.0 30.0 30.0)
(FixedImageBSplineInterpolationOrder 0 0 1)
Definition at line 83 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass2::ConfigurationPointer elastix::MultiInputRandomCoordinateSampler< TElastix >::ConfigurationPointer |
Definition at line 145 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass2::ConfigurationType elastix::MultiInputRandomCoordinateSampler< TElastix >::ConfigurationType |
Definition at line 144 of file elxMultiInputRandomCoordinateSampler.h.
typedef SmartPointer<const Self> elastix::MultiInputRandomCoordinateSampler< TElastix >::ConstPointer |
Definition at line 99 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::CoordRepType elastix::MultiInputRandomCoordinateSampler< TElastix >::CoordRepType |
This image sampler samples the image on physical coordinates and thus needs an interpolator.
Definition at line 134 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::DataObjectPointer elastix::MultiInputRandomCoordinateSampler< TElastix >::DataObjectPointer |
Typedefs inherited from the superclass.
Definition at line 114 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::DefaultInterpolatorType elastix::MultiInputRandomCoordinateSampler< TElastix >::DefaultInterpolatorType |
Definition at line 136 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass2::ElastixPointer elastix::MultiInputRandomCoordinateSampler< TElastix >::ElastixPointer |
Definition at line 143 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass2::ElastixType elastix::MultiInputRandomCoordinateSampler< TElastix >::ElastixType |
Typedefs inherited from Elastix.
Definition at line 142 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::ImageSampleContainerType elastix::MultiInputRandomCoordinateSampler< TElastix >::ImageSampleContainerType |
Definition at line 123 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::ImageSampleType elastix::MultiInputRandomCoordinateSampler< TElastix >::ImageSampleType |
Definition at line 122 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::ImageSampleValueType elastix::MultiInputRandomCoordinateSampler< TElastix >::ImageSampleValueType |
Definition at line 130 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImageConstPointer elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImageConstPointer |
Definition at line 119 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImageIndexType elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImageIndexType |
Definition at line 125 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImagePixelType elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImagePixelType |
Definition at line 121 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImagePointer elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImagePointer |
Definition at line 118 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImagePointType elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImagePointType |
Definition at line 126 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImagePointValueType elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImagePointValueType |
Definition at line 129 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImageRegionType elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImageRegionType |
Definition at line 120 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImageSizeType elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImageSizeType |
Definition at line 127 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImageSpacingType elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImageSpacingType |
Definition at line 128 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InputImageType elastix::MultiInputRandomCoordinateSampler< TElastix >::InputImageType |
Definition at line 117 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::InterpolatorType elastix::MultiInputRandomCoordinateSampler< TElastix >::InterpolatorType |
Definition at line 135 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass2::ITKBaseType elastix::MultiInputRandomCoordinateSampler< TElastix >::ITKBaseType |
Definition at line 148 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::MaskType elastix::MultiInputRandomCoordinateSampler< TElastix >::MaskType |
Definition at line 124 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::OutputVectorContainerPointer elastix::MultiInputRandomCoordinateSampler< TElastix >::OutputVectorContainerPointer |
Definition at line 116 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass1::OutputVectorContainerType elastix::MultiInputRandomCoordinateSampler< TElastix >::OutputVectorContainerType |
Definition at line 115 of file elxMultiInputRandomCoordinateSampler.h.
typedef SmartPointer<Self> elastix::MultiInputRandomCoordinateSampler< TElastix >::Pointer |
Definition at line 98 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass2::RegistrationPointer elastix::MultiInputRandomCoordinateSampler< TElastix >::RegistrationPointer |
Definition at line 147 of file elxMultiInputRandomCoordinateSampler.h.
typedef Superclass2::RegistrationType elastix::MultiInputRandomCoordinateSampler< TElastix >::RegistrationType |
Definition at line 146 of file elxMultiInputRandomCoordinateSampler.h.
typedef MultiInputRandomCoordinateSampler elastix::MultiInputRandomCoordinateSampler< TElastix >::Self |
Standard ITK-stuff.
Definition at line 93 of file elxMultiInputRandomCoordinateSampler.h.
typedef MultiInputImageRandomCoordinateSampler< typename elx::ImageSamplerBase<TElastix>::InputImageType > elastix::MultiInputRandomCoordinateSampler< TElastix >::Superclass1 |
Definition at line 96 of file elxMultiInputRandomCoordinateSampler.h.
typedef elx::ImageSamplerBase<TElastix> elastix::MultiInputRandomCoordinateSampler< TElastix >::Superclass2 |
Definition at line 97 of file elxMultiInputRandomCoordinateSampler.h.
|
inlineprotected |
The constructor.
Definition at line 160 of file elxMultiInputRandomCoordinateSampler.h.
|
inlineprotectedvirtual |
The destructor.
Definition at line 162 of file elxMultiInputRandomCoordinateSampler.h.
|
private |
The private constructor.
|
virtual |
Execute stuff before each resolution:
elastix::MultiInputRandomCoordinateSampler< TElastix >::elxClassNameMacro | ( | "MultiInputRandomCoordinate" | ) |
Name of this class. Use this name in the parameter file to select this specific interpolator.
example: (ImageSampler "MultiInputRandomCoordinate")
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSamplerBase< TElastix >.
elastix::MultiInputRandomCoordinateSampler< TElastix >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned | int, | ||
Superclass1::InputImageDimension | |||
) |
The input image dimension.
|
static |
Method for creation through the object factory.
Reimplemented from itk::ImageSamplerBase< TElastix >.
|
private |
The private copy constructor.
Generated on 21-03-2014 for elastix by ![]() |
![]() |