go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRandomSamplerSparseMask.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 __elxRandomSamplerSparseMask_h
19 #define __elxRandomSamplerSparseMask_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
53 template< class TElastix >
55  public
57  typename elx::ImageSamplerBase< TElastix >::InputImageType >,
58  public
59  elx::ImageSamplerBase< TElastix >
60 {
61 public:
62 
69  typedef itk::SmartPointer< Self > Pointer;
70  typedef itk::SmartPointer< const Self > ConstPointer;
71 
73  itkNewMacro( Self );
74 
77 
82  elxClassNameMacro( "RandomSparseMask" );
83 
95  typedef typename Superclass1::MaskType MaskType;
98 
100  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
101 
103  typedef typename Superclass2::ElastixType ElastixType;
104  typedef typename Superclass2::ElastixPointer ElastixPointer;
105  typedef typename Superclass2::ConfigurationType ConfigurationType;
106  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
107  typedef typename Superclass2::RegistrationType RegistrationType;
108  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
109  typedef typename Superclass2::ITKBaseType ITKBaseType;
110 
114  virtual void BeforeEachResolution( void );
115 
116 protected:
117 
122 
123 private:
124 
126  RandomSamplerSparseMask( const Self & ); // purposely not implemented
128  void operator=( const Self & ); // purposely not implemented
129 
130 };
131 
132 } // end namespace elastix
133 
134 #ifndef ITK_MANUAL_INSTANTIATION
135 #include "elxRandomSamplerSparseMask.hxx"
136 #endif
137 
138 #endif // end #ifndef __elxRandomSamplerSparseMask_h
Superclass1::InputImagePointType InputImagePointType
Superclass1::InputImagePixelType InputImagePixelType
itk::ImageRandomSamplerSparseMask< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Superclass1::InputImageConstPointer InputImageConstPointer
Superclass1::InputImageRegionType InputImageRegionType
A class that defines an image sample, which is the coordinates of a point and its value...
Superclass::InputImagePointer InputImagePointer
Superclass::InputImagePixelType InputImagePixelType
Samples randomly some voxels of an image.
This class is a base class for any image sampler.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
Superclass1::ImageSampleType ImageSampleType
An interpolator based on the itk::ImageRandomSamplerSparseMask.
virtual void BeforeEachResolution(void)
Superclass::InputImageConstPointer InputImageConstPointer
Superclass1::InputImageIndexType InputImageIndexType
Superclass1::InputImageType InputImageType
Superclass1::ImageSampleContainerType ImageSampleContainerType
elx::ImageSamplerBase< TElastix > Superclass2
Superclass2::ElastixPointer ElastixPointer
itk::SmartPointer< const Self > ConstPointer
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass2::ConfigurationType ConfigurationType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::InputImagePointer InputImagePointer
Superclass1::DataObjectPointer DataObjectPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass2::RegistrationType RegistrationType
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass::DataObjectPointer DataObjectPointer
elxClassNameMacro("RandomSparseMask")


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