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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __ImageRandomSampler_h
19 #define __ImageRandomSampler_h
20 
22 
23 namespace itk
24 {
38 template< class TInputImage >
40  public ImageRandomSamplerBase< TInputImage >
41 {
42 public:
43 
48  typedef SmartPointer< const Self > ConstPointer;
49 
51  itkNewMacro( Self );
52 
55 
69  typedef typename Superclass::MaskType MaskType;
71 
73  itkStaticConstMacro( InputImageDimension, unsigned int,
74  Superclass::InputImageDimension );
75 
77  typedef typename InputImageType::IndexType InputImageIndexType;
78  typedef typename InputImageType::PointType InputImagePointType;
79 
80 protected:
81 
85  virtual ~ImageRandomSampler() {}
86 
88  virtual void GenerateData( void );
89 
90  virtual void ThreadedGenerateData(
91  const InputImageRegionType & inputRegionForThread,
92  ThreadIdType threadId );
93 
94 private:
95 
97  ImageRandomSampler( const Self & ); // purposely not implemented
99  void operator=( const Self & ); // purposely not implemented
100 
101 };
102 
103 } // end namespace itk
104 
105 #ifndef ITK_MANUAL_INSTANTIATION
106 #include "itkImageRandomSampler.hxx"
107 #endif
108 
109 #endif // end #ifndef __ImageRandomSampler_h
itk::ImageRandomSampler
Samples randomly some voxels of an image.
Definition: itkImageRandomSampler.h:41
itk::ImageRandomSampler::InputImageSizeType
Superclass::InputImageSizeType InputImageSizeType
Definition: itkImageRandomSampler.h:70
itk::ImageRandomSampler::Superclass
ImageRandomSamplerBase< TInputImage > Superclass
Definition: itkImageRandomSampler.h:46
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::ImageSampleValueType
ImageSampleType::RealType ImageSampleValueType
Definition: itkImageSamplerBase.h:84
itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::MaskType
Superclass::MaskType MaskType
Definition: itkImageRandomSamplerBase.h:65
itk::ImageRandomSampler::ImageSampleContainerPointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: itkImageRandomSampler.h:68
SmartPointer< Self >
itk::ImageRandomSampler::InputImagePixelType
Superclass::InputImagePixelType InputImagePixelType
Definition: itkImageRandomSampler.h:64
itk::ImageRandomSampler::GenerateData
virtual void GenerateData(void)
itk::ImageRandomSampler::Pointer
SmartPointer< Self > Pointer
Definition: itkImageRandomSampler.h:47
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImageSizeType
InputImageType::SizeType InputImageSizeType
Definition: itkImageSamplerBase.h:80
itk::ImageRandomSampler::Self
ImageRandomSampler Self
Definition: itkImageRandomSampler.h:45
itk::ImageRandomSampler::InputImageIndexType
InputImageType::IndexType InputImageIndexType
Definition: itkImageRandomSampler.h:77
itk::ImageRandomSampler::OutputVectorContainerType
Superclass::OutputVectorContainerType OutputVectorContainerType
Definition: itkImageRandomSampler.h:58
itk::ImageRandomSampler::InputImagePointer
Superclass::InputImagePointer InputImagePointer
Definition: itkImageRandomSampler.h:61
itk::ImageSample
A class that defines an image sample, which is the coordinates of a point and its value.
Definition: itkImageSample.h:35
itk::ImageRandomSampler::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkImageRandomSampler.h:48
itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImagePixelType
Superclass::InputImagePixelType InputImagePixelType
Definition: itkImageRandomSamplerBase.h:61
itk::ImageRandomSampler::ImageRandomSampler
ImageRandomSampler()
Definition: itkImageRandomSampler.h:83
itk::ImageRandomSampler::MaskType
Superclass::MaskType MaskType
Definition: itkImageRandomSampler.h:69
ThreadIdType
itk::ImageRandomSampler::operator=
void operator=(const Self &)
itk::ImageRandomSampler::ImageRandomSampler
ImageRandomSampler(const Self &)
itk::ImageRandomSampler::ImageSampleContainerType
Superclass::ImageSampleContainerType ImageSampleContainerType
Definition: itkImageRandomSampler.h:67
itk::ImageRandomSampler::ImageSampleValueType
Superclass::ImageSampleValueType ImageSampleValueType
Definition: itkImageRandomSampler.h:66
itk::ImageRandomSampler::~ImageRandomSampler
virtual ~ImageRandomSampler()
Definition: itkImageRandomSampler.h:85
itk::ImageRandomSampler::itkStaticConstMacro
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImagePointer
Superclass::InputImagePointer InputImagePointer
Definition: itkImageRandomSamplerBase.h:58
itkImageRandomSamplerBase.h
itk::ImageRandomSampler::OutputVectorContainerPointer
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
Definition: itkImageRandomSampler.h:59
itk::ImageRandomSampler::ImageSampleType
Superclass::ImageSampleType ImageSampleType
Definition: itkImageRandomSampler.h:65
itk::ImageRandomSampler::InputImageConstPointer
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkImageRandomSampler.h:62
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::ImageRandomSampler::InputImageRegionType
Superclass::InputImageRegionType InputImageRegionType
Definition: itkImageRandomSampler.h:63
itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImageRegionType
Superclass::InputImageRegionType InputImageRegionType
Definition: itkImageRandomSamplerBase.h:60
itk::ImageRandomSampler::InputImagePointType
InputImageType::PointType InputImagePointType
Definition: itkImageRandomSampler.h:78
itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImageType
Superclass::InputImageType InputImageType
Definition: itkImageRandomSamplerBase.h:57
itk::VectorDataContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorDataContainer.h:79
itk::ImageRandomSampler::InputImageType
Superclass::InputImageType InputImageType
Definition: itkImageRandomSampler.h:60
itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::DataObjectPointer
Superclass::DataObjectPointer DataObjectPointer
Definition: itkImageRandomSamplerBase.h:51
itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImageConstPointer
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkImageRandomSamplerBase.h:59
itk::ImageRandomSamplerBase
This class is a base class for any image sampler that randomly picks samples.
Definition: itkImageRandomSamplerBase.h:38
itk::ImageRandomSampler::ThreadedGenerateData
virtual void ThreadedGenerateData(const InputImageRegionType &inputRegionForThread, ThreadIdType threadId)
itk::ImageRandomSampler::DataObjectPointer
Superclass::DataObjectPointer DataObjectPointer
Definition: itkImageRandomSampler.h:54


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo