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
24namespace elastix
25{
26
83template< class TElastix >
85 public
87 typename elx::ImageSamplerBase< TElastix >::InputImageType >,
88 public
89 elx::ImageSamplerBase< TElastix >
90{
91public:
92
99 typedef itk::SmartPointer< Self > Pointer;
100 typedef itk::SmartPointer< const Self > ConstPointer;
101
103 itkNewMacro( Self );
104
107
112 elxClassNameMacro( "MultiInputRandomCoordinate" );
113
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 void BeforeEachResolution( void ) override;
157
158protected:
159
164
165private:
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
An interpolator based on the itk::MultiInputImageRandomCoordinateSampler.
itk::MultiInputImageRandomCoordinateSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
elxClassNameMacro("MultiInputRandomCoordinate")
Superclass1::InputImagePointValueType InputImagePointValueType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::OutputVectorContainerType OutputVectorContainerType
A class that defines an image sample, which is the coordinates of a point and its value.
This class is a base class for any image sampler.
Samples an image by randomly composing a set of physical coordinates.
BSplineInterpolateImageFunction< InputImageType, CoordRepType, double > DefaultInterpolatorType
InterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo