go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkImageRandomSamplerSparseMask.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 __ImageRandomSamplerSparseMask_h
16 #define __ImageRandomSamplerSparseMask_h
17 
19 #include "itkMersenneTwisterRandomVariateGenerator.h"
20 #include "itkImageFullSampler.h"
21 
22 namespace itk
23 {
24 
35  template < class TInputImage >
37  public ImageRandomSamplerBase< TInputImage >
38  {
39  public:
40 
44  typedef SmartPointer<Self> Pointer;
45  typedef SmartPointer<const Self> ConstPointer;
46 
48  itkNewMacro( Self );
49 
52 
64  typedef typename Superclass::MaskType MaskType;
65 
67  itkStaticConstMacro( InputImageDimension, unsigned int,
68  Superclass::InputImageDimension );
69 
71  typedef typename InputImageType::IndexType InputImageIndexType;
72  typedef typename InputImageType::PointType InputImagePointType;
73 
75  typedef itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType;
76 
77  protected:
78 
80 
85 
87  void PrintSelf( std::ostream& os, Indent indent ) const;
88 
90  virtual void GenerateData( void );
91 
92  typename RandomGeneratorType::Pointer m_RandomGenerator;
94 
95  private:
96 
98  ImageRandomSamplerSparseMask( const Self& ); // purposely not implemented
100  void operator=( const Self& ); // purposely not implemented
101 
102 
103  }; // end class ImageRandomSamplerSparseMask
104 
105 
106 } // end namespace itk
107 
108 #ifndef ITK_MANUAL_INSTANTIATION
109 #include "itkImageRandomSamplerSparseMask.txx"
110 #endif
111 
112 #endif // end #ifndef __ImageRandomSamplerSparseMask_h
113 


Generated on 27-06-2013 for elastix by doxygen 1.8.3.1 elastix logo