go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkImageRandomSampler.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 __ImageRandomSampler_h
16 #define __ImageRandomSampler_h
17 
19 
20 
21 namespace itk
22 {
23 
37  template < class TInputImage >
39  public ImageRandomSamplerBase< TInputImage >
40  {
41  public:
42 
46  typedef SmartPointer<Self> Pointer;
47  typedef SmartPointer<const Self> ConstPointer;
48 
50  itkNewMacro( Self );
51 
54 
66  typedef typename Superclass::MaskType MaskType;
67 
69  itkStaticConstMacro( InputImageDimension, unsigned int,
70  Superclass::InputImageDimension );
71 
73  typedef typename InputImageType::IndexType InputImageIndexType;
74  typedef typename InputImageType::PointType InputImagePointType;
75 
76  protected:
77 
81  virtual ~ImageRandomSampler() {};
82 
84  virtual void GenerateData( void );
85 
86  private:
87 
89  ImageRandomSampler( const Self& ); // purposely not implemented
91  void operator=( const Self& ); // purposely not implemented
92 
93  }; // end class ImageRandomSampler
94 
95 
96 } // end namespace itk
97 
98 #ifndef ITK_MANUAL_INSTANTIATION
99 #include "itkImageRandomSampler.txx"
100 #endif
101 
102 #endif // end #ifndef __ImageRandomSampler_h
103 
Superclass::ImageSampleContainerType ImageSampleContainerType
Samples randomly some voxels of an image.
SmartPointer< const Self > ConstPointer
ImageRandomSamplerBase< TInputImage > Superclass
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
Superclass::OutputVectorContainerType OutputVectorContainerType
SmartPointer< Self > Pointer
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
Superclass::DataObjectPointer DataObjectPointer
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
virtual void GenerateData(void)
void operator=(const Self &)
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass::ImageSampleType ImageSampleType
Superclass::InputImageRegionType InputImageRegionType
Superclass::InputImagePixelType InputImagePixelType
This class is a base class for any image sampler that randomly picks samples.
Superclass::InputImagePointer InputImagePointer
InputImageType::IndexType InputImageIndexType
Superclass::InputImageType InputImageType


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