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 #ifndef __elxRandomSampler_h
15 #define __elxRandomSampler_h
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
18 #include "itkImageRandomSampler.h"
19 
20 namespace elastix
21 {
22 
47 template< class TElastix >
49  public
51  typename elx::ImageSamplerBase< TElastix >::InputImageType >,
52  public
53  elx::ImageSamplerBase< TElastix >
54 {
55 public:
56 
63  typedef itk::SmartPointer< Self > Pointer;
64  typedef itk::SmartPointer< const Self > ConstPointer;
65 
67  itkNewMacro( Self );
68 
70  itkTypeMacro( RandomSampler, itk::ImageRandomSampler );
71 
76  elxClassNameMacro( "Random" );
77 
89  typedef typename Superclass1::MaskType MaskType;
92 
94  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
95 
97  typedef typename Superclass2::ElastixType ElastixType;
98  typedef typename Superclass2::ElastixPointer ElastixPointer;
99  typedef typename Superclass2::ConfigurationType ConfigurationType;
100  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
101  typedef typename Superclass2::RegistrationType RegistrationType;
102  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
103  typedef typename Superclass2::ITKBaseType ITKBaseType;
104 
108  virtual void BeforeEachResolution( void );
109 
110 protected:
111 
115  virtual ~RandomSampler() {}
116 
117 private:
118 
120  RandomSampler( const Self & ); // purposely not implemented
122  void operator=( const Self & ); // purposely not implemented
123 
124 };
125 
126 } // end namespace elastix
127 
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "elxRandomSampler.hxx"
130 #endif
131 
132 #endif // end #ifndef __elxRandomSampler_h
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
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
Superclass1::ImageSampleType ImageSampleType
itk::ImageRandomSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Superclass::DataObjectPointer DataObjectPointer
This class is a base class for any image sampler.
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::InputImagePointer InputImagePointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Superclass1::InputImageRegionType InputImageRegionType
Superclass2::ConfigurationType ConfigurationType
Superclass1::DataObjectPointer DataObjectPointer
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
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)
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
Superclass1::InputImageConstPointer InputImageConstPointer
Superclass1::InputImageIndexType InputImageIndexType
Superclass::InputImagePointer InputImagePointer
InputImageType::IndexType InputImageIndexType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass::InputImageType InputImageType


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo