go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxMultiInputRandomCoordinateSampler.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 __elxMultiInputRandomCoordinateSampler_h
19 #define __elxMultiInputRandomCoordinateSampler_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
83 template< class TElastix >
85  public
87  typename elx::ImageSamplerBase< TElastix >::InputImageType >,
88  public
89  elx::ImageSamplerBase< TElastix >
90 {
91 public:
92 
99  typedef itk::SmartPointer< Self > Pointer;
100  typedef itk::SmartPointer< const Self > ConstPointer;
101 
103  itkNewMacro( Self );
104 
107 
112  elxClassNameMacro( "MultiInputRandomCoordinate" );
113 
125  typedef typename Superclass1::MaskType MaskType;
132 
138 
140  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
141 
143  typedef typename Superclass2::ElastixType ElastixType;
144  typedef typename Superclass2::ElastixPointer ElastixPointer;
145  typedef typename Superclass2::ConfigurationType ConfigurationType;
146  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
147  typedef typename Superclass2::RegistrationType RegistrationType;
148  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
149  typedef typename Superclass2::ITKBaseType ITKBaseType;
150 
156  virtual void BeforeEachResolution( void );
157 
158 protected:
159 
164 
165 private:
166 
168  MultiInputRandomCoordinateSampler( const Self & ); // purposely not implemented
170  void operator=( const Self & ); // purposely not implemented
171 
172 };
173 
174 } // end namespace elastix
175 
176 #ifndef ITK_MANUAL_INSTANTIATION
177 #include "elxMultiInputRandomCoordinateSampler.hxx"
178 #endif
179 
180 #endif // end #ifndef __elxMultiInputRandomCoordinateSampler_h
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::InputImagePointValueType InputImagePointValueType
BSplineInterpolateImageFunction< InputImageType, CoordRepType, double > DefaultInterpolatorType
A class that defines an image sample, which is the coordinates of a point and its value...
Superclass1::OutputVectorContainerType OutputVectorContainerType
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
This class is a base class for any image sampler.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
itk::MultiInputImageRandomCoordinateSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
elxClassNameMacro("MultiInputRandomCoordinate")
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
An interpolator based on the itk::MultiInputImageRandomCoordinateSampler.
InterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
Samples an image by randomly composing a set of physical coordinates.


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo