go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRandomSampler.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 __elxRandomSampler_h
16 #define __elxRandomSampler_h
17 
18 #include "itkImageRandomSampler.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 
49  template < class TElastix >
50  class RandomSampler :
51  public
53  typename elx::ImageSamplerBase<TElastix>::InputImageType >,
54  public
55  elx::ImageSamplerBase<TElastix>
56  {
57  public:
58 
65  typedef itk::SmartPointer<Self> Pointer;
66  typedef itk::SmartPointer<const Self> ConstPointer;
67 
69  itkNewMacro(Self);
70 
72  itkTypeMacro( RandomSampler, itk::ImageRandomSampler );
73 
78  elxClassNameMacro( "Random" );
79 
91  typedef typename Superclass1::MaskType MaskType;
94 
96  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
97 
106 
110  virtual void BeforeEachResolution(void);
111 
112  protected:
113 
117  virtual ~RandomSampler() {}
118 
119  private:
120 
122  RandomSampler( const Self& ); // purposely not implemented
124  void operator=( const Self& ); // purposely not implemented
125 
126  }; // end class RandomSampler
127 
128 
129 } // end namespace elastix
130 
131 #ifndef ITK_MANUAL_INSTANTIATION
132 #include "elxRandomSampler.hxx"
133 #endif
134 
135 #endif // end #ifndef __elxRandomSampler_h
136 
Superclass::ElastixType ElastixType
Superclass::ElastixPointer ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Samples randomly some voxels of an image.
virtual void BeforeEachResolution(void)
Superclass2::ITKBaseType ITKBaseType
Superclass1::InputImageType InputImageType
Superclass1::InputImagePixelType InputImagePixelType
elx::ImageSamplerBase< TElastix > Superclass2
This class is the elastix base class for all ImageSamplers.
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::InputImagePointType InputImagePointType
An interpolator based on the itk::ImageRandomSampler.
Superclass::MaskType MaskType
A class that defines an image sample, which is the coordinates of a point and its value...
InputImageType::PointType InputImagePointType
Superclass::InputImageConstPointer InputImageConstPointer
Superclass2::RegistrationType RegistrationType
Superclass::RegistrationType RegistrationType
Superclass1::ImageSampleType ImageSampleType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::DataObjectPointer DataObjectPointer
This class is a base class for any image sampler.
itk::SmartPointer< Self > Pointer
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::InputImagePointer InputImagePointer
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
Superclass1::InputImageRegionType InputImageRegionType
Superclass2::ConfigurationType ConfigurationType
Superclass1::DataObjectPointer DataObjectPointer
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass::ConfigurationType ConfigurationType
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass2::ElastixType ElastixType
Superclass1::MaskType MaskType
Superclass::InputImagePixelType InputImagePixelType
void operator=(const Self &)
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
Superclass::RegistrationPointer RegistrationPointer
Superclass1::InputImageConstPointer InputImageConstPointer
Superclass1::InputImageIndexType InputImageIndexType
itk::ImageRandomSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Superclass::InputImagePointer InputImagePointer
InputImageType::IndexType InputImageIndexType
itk::SmartPointer< const Self > ConstPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass::InputImageType InputImageType


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo