go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRandomCoordinateSampler.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 __elxRandomCoordinateSampler_h
19 #define __elxRandomCoordinateSampler_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
77 template< class TElastix >
79  public
81  typename elx::ImageSamplerBase< TElastix >::InputImageType >,
82  public
83  elx::ImageSamplerBase< TElastix >
84 {
85 public:
86 
93  typedef itk::SmartPointer< Self > Pointer;
94  typedef itk::SmartPointer< const Self > ConstPointer;
95 
97  itkNewMacro( Self );
98 
101 
106  elxClassNameMacro( "RandomCoordinate" );
107 
119  typedef typename Superclass1::MaskType MaskType;
126 
132 
134  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
135 
137  typedef typename Superclass2::ElastixType ElastixType;
138  typedef typename Superclass2::ElastixPointer ElastixPointer;
139  typedef typename Superclass2::ConfigurationType ConfigurationType;
140  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
141  typedef typename Superclass2::RegistrationType RegistrationType;
142  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
143  typedef typename Superclass2::ITKBaseType ITKBaseType;
144 
150  virtual void BeforeEachResolution( void );
151 
152 protected:
153 
158 
159 private:
160 
162  RandomCoordinateSampler( const Self & ); // purposely not implemented
164  void operator=( const Self & ); // purposely not implemented
165 
166 };
167 
168 } // end namespace elastix
169 
170 #ifndef ITK_MANUAL_INSTANTIATION
171 #include "elxRandomCoordinateSampler.hxx"
172 #endif
173 
174 #endif // end #ifndef __elxRandomCoordinateSampler_h
Superclass1::InputImagePixelType InputImagePixelType
itk::SmartPointer< const Self > ConstPointer
Superclass1::DataObjectPointer DataObjectPointer
Superclass::DataObjectPointer DataObjectPointer
Superclass1::DefaultInterpolatorType DefaultInterpolatorType
Superclass1::ImageSampleValueType ImageSampleValueType
Superclass1::InputImagePointValueType InputImagePointValueType
Superclass2::RegistrationType RegistrationType
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass1::InputImageSizeType InputImageSizeType
Superclass1::InputImageType InputImageType
Superclass::ImageSampleValueType ImageSampleValueType
Superclass2::ConfigurationType ConfigurationType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass::InputImageSizeType InputImageSizeType
Superclass1::InputImagePointType InputImagePointType
A class that defines an image sample, which is the coordinates of a point and its value...
Superclass1::InputImageIndexType InputImageIndexType
Superclass::InputImageConstPointer InputImageConstPointer
An interpolator based on the itk::ImageRandomCoordinateSampler.
BSplineInterpolateImageFunction< InputImageType, CoordRepType, double > DefaultInterpolatorType
Superclass1::ImageSampleType ImageSampleType
Superclass::InputImagePointType InputImagePointType
This class is a base class for any image sampler.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
virtual void BeforeEachResolution(void)
Superclass1::InputImageSpacingType InputImageSpacingType
Superclass::InputImagePointValueType InputImagePointValueType
Superclass::InputImageRegionType InputImageRegionType
Superclass2::ConfigurationPointer ConfigurationPointer
Samples an image by randomly composing a set of physical coordinates.
Superclass2::ElastixPointer ElastixPointer
Superclass1::InterpolatorType InterpolatorType
Superclass1::InputImageConstPointer InputImageConstPointer
Superclass2::RegistrationPointer RegistrationPointer
Superclass::InputImagePixelType InputImagePixelType
Superclass::InputImagePointer InputImagePointer
elx::ImageSamplerBase< TElastix > Superclass2
Superclass1::InputImageRegionType InputImageRegionType
Superclass1::InputImagePointer InputImagePointer
InterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
itk::ImageRandomCoordinateSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
elxClassNameMacro("RandomCoordinate")
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass::InputImageIndexType InputImageIndexType
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)


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