go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRandomSampler.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxRandomSampler_h
19 #define __elxRandomSampler_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkImageRandomSampler.h"
23 
24 namespace elastix
25 {
26 
51 template< class TElastix >
53  public
55  typename elx::ImageSamplerBase< TElastix >::InputImageType >,
56  public
57  elx::ImageSamplerBase< TElastix >
58 {
59 public:
60 
67  typedef itk::SmartPointer< Self > Pointer;
68  typedef itk::SmartPointer< const Self > ConstPointer;
69 
71  itkNewMacro( Self );
72 
75 
80  elxClassNameMacro( "Random" );
81 
93  typedef typename Superclass1::MaskType MaskType;
96 
98  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
99 
101  typedef typename Superclass2::ElastixType ElastixType;
102  typedef typename Superclass2::ElastixPointer ElastixPointer;
103  typedef typename Superclass2::ConfigurationType ConfigurationType;
104  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
105  typedef typename Superclass2::RegistrationType RegistrationType;
106  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
107  typedef typename Superclass2::ITKBaseType ITKBaseType;
108 
112  virtual void BeforeEachResolution( void );
113 
114 protected:
115 
119  virtual ~RandomSampler() {}
120 
121 private:
122 
124  RandomSampler( const Self & ); // purposely not implemented
126  void operator=( const Self & ); // purposely not implemented
127 
128 };
129 
130 } // end namespace elastix
131 
132 #ifndef ITK_MANUAL_INSTANTIATION
133 #include "elxRandomSampler.hxx"
134 #endif
135 
136 #endif // end #ifndef __elxRandomSampler_h
itk::ImageRandomSampler
Samples randomly some voxels of an image.
Definition: itkImageRandomSampler.h:41
elastix::RandomSampler::Superclass1
itk::ImageRandomSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Definition: elxRandomSampler.h:65
elastix::RandomSampler::OutputVectorContainerPointer
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Definition: elxRandomSampler.h:85
elastix::RandomSampler::InputImagePointer
Superclass1::InputImagePointer InputImagePointer
Definition: elxRandomSampler.h:87
elastix::RandomSampler::BeforeEachResolution
virtual void BeforeEachResolution(void)
SmartPointer< Self >
itk::ImageRandomSampler::InputImagePixelType
Superclass::InputImagePixelType InputImagePixelType
Definition: itkImageRandomSampler.h:64
elastix::RandomSampler::Superclass2
elx::ImageSamplerBase< TElastix > Superclass2
Definition: elxRandomSampler.h:66
elastix::RandomSampler
An interpolator based on the itk::ImageRandomSampler.
Definition: elxRandomSampler.h:58
elastix::RandomSampler::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxRandomSampler.h:101
elastix::RandomSampler::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxRandomSampler.h:106
itkImageRandomSampler.h
elastix::RandomSampler::ImageSampleType
Superclass1::ImageSampleType ImageSampleType
Definition: elxRandomSampler.h:91
elastix::RandomSampler::InputImageType
Superclass1::InputImageType InputImageType
Definition: elxRandomSampler.h:86
elastix::RandomSampler::DataObjectPointer
Superclass1::DataObjectPointer DataObjectPointer
Definition: elxRandomSampler.h:83
elastix::RandomSampler::RandomSampler
RandomSampler(const Self &)
itk::ImageRandomSampler::InputImageIndexType
InputImageType::IndexType InputImageIndexType
Definition: itkImageRandomSampler.h:77
elastix::RandomSampler::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxRandomSampler.h:105
elastix::RandomSampler::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxRandomSampler.h:104
itk::ImageRandomSampler::InputImagePointer
Superclass::InputImagePointer InputImagePointer
Definition: itkImageRandomSampler.h:61
elastix::RandomSampler::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxRandomSampler.h:102
elastix::RandomSampler::InputImageIndexType
Superclass1::InputImageIndexType InputImageIndexType
Definition: elxRandomSampler.h:94
itk::ImageSample
A class that defines an image sample, which is the coordinates of a point and its value.
Definition: itkImageSample.h:35
elastix::RandomSampler::InputImagePointType
Superclass1::InputImagePointType InputImagePointType
Definition: elxRandomSampler.h:95
elastix::RandomSampler::MaskType
Superclass1::MaskType MaskType
Definition: elxRandomSampler.h:93
itk::ImageRandomSampler::MaskType
Superclass::MaskType MaskType
Definition: itkImageRandomSampler.h:69
elastix::RandomSampler::Self
RandomSampler Self
Definition: elxRandomSampler.h:62
elastix::RandomSampler::InputImageRegionType
Superclass1::InputImageRegionType InputImageRegionType
Definition: elxRandomSampler.h:89
elastix::RandomSampler::ImageSampleContainerType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Definition: elxRandomSampler.h:92
elastix::RandomSampler::operator=
void operator=(const Self &)
elastix::RandomSampler::InputImagePixelType
Superclass1::InputImagePixelType InputImagePixelType
Definition: elxRandomSampler.h:90
elxIncludes.h
elastix::RandomSampler::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxRandomSampler.h:67
elastix::RandomSampler::OutputVectorContainerType
Superclass1::OutputVectorContainerType OutputVectorContainerType
Definition: elxRandomSampler.h:84
itk::ImageRandomSampler::InputImageConstPointer
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkImageRandomSampler.h:62
elastix::RandomSampler::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxRandomSampler.h:103
elastix::RandomSampler::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxRandomSampler.h:68
itk::ImageRandomSampler::InputImageRegionType
Superclass::InputImageRegionType InputImageRegionType
Definition: itkImageRandomSampler.h:63
itk::ImageRandomSampler::InputImagePointType
InputImageType::PointType InputImagePointType
Definition: itkImageRandomSampler.h:78
elastix::RandomSampler::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxRandomSampler.h:107
elastix::RandomSampler::RandomSampler
RandomSampler()
Definition: elxRandomSampler.h:117
itk::ImageSamplerBase
This class is a base class for any image sampler.
Definition: itkImageSamplerBase.h:45
elastix::RandomSampler::InputImageConstPointer
Superclass1::InputImageConstPointer InputImageConstPointer
Definition: elxRandomSampler.h:88
itk::VectorDataContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorDataContainer.h:79
elastix::RandomSampler::~RandomSampler
virtual ~RandomSampler()
Definition: elxRandomSampler.h:119
itk::ImageRandomSampler::InputImageType
Superclass::InputImageType InputImageType
Definition: itkImageRandomSampler.h:60
elastix::RandomSampler::itkStaticConstMacro
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
elastix::RandomSampler::elxClassNameMacro
elxClassNameMacro("Random")
elastix
Definition: elxFixedGenericPyramid.h:25
itk::ImageRandomSampler::DataObjectPointer
Superclass::DataObjectPointer DataObjectPointer
Definition: itkImageRandomSampler.h:54


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo