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  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __elxRandomSamplerSparseMask_h
16 #define __elxRandomSamplerSparseMask_h
17 
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 using namespace itk;
25 
52  template < class TElastix >
54  public
56  ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >,
57  public
58  elx::ImageSamplerBase<TElastix>
59  {
60  public:
61 
67  typedef SmartPointer<Self> Pointer;
68  typedef SmartPointer<const Self> ConstPointer;
69 
71  itkNewMacro(Self);
72 
75 
80  elxClassNameMacro( "RandomSparseMask" );
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 
120 
121  private:
122 
124  RandomSamplerSparseMask( const Self& ); // purposely not implemented
126  void operator=( const Self& ); // purposely not implemented
127 
128  }; // end class RandomSamplerSparseMask
129 
130 
131 } // end namespace elastix
132 
133 #ifndef ITK_MANUAL_INSTANTIATION
134 #include "elxRandomSamplerSparseMask.hxx"
135 #endif
136 
137 #endif // end #ifndef __elxRandomSamplerSparseMask_h
138 
Superclass1::InputImagePointType InputImagePointType
Superclass1::InputImagePixelType InputImagePixelType
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
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 &quot;vector&quot; container that conforms to the IndexedContainerInterface.
Superclass1::ImageSampleType ImageSampleType
An interpolator based on the itk::ImageRandomSamplerSparseMask.
Superclass::InputImageConstPointer InputImageConstPointer
Superclass1::InputImageIndexType InputImageIndexType
Superclass1::InputImageType InputImageType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass2::ElastixPointer ElastixPointer
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
ImageRandomSamplerSparseMask< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass2::ConfigurationType ConfigurationType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::InputImagePointer InputImagePointer
Superclass1::DataObjectPointer DataObjectPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass2::RegistrationType RegistrationType
elx::ImageSamplerBase< TElastix > Superclass2
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass::DataObjectPointer DataObjectPointer


Generated on 05-12-2013 for elastix by doxygen 1.8.5 elastix logo