go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkImageRandomSamplerBase.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 __ImageRandomSamplerBase_h
19#define __ImageRandomSamplerBase_h
20
21#include "itkImageSamplerBase.h"
22
23namespace itk
24{
25
35template< class TInputImage >
37 public ImageSamplerBase< TInputImage >
38{
39public:
40
45 typedef SmartPointer< const Self > ConstPointer;
46
48 itkNewMacro( Self );
49
52
66
68 itkStaticConstMacro( InputImageDimension, unsigned int,
69 Superclass::InputImageDimension );
70
71protected:
72
75
78
80 void BeforeThreadedGenerateData( void ) override;
81
83 void PrintSelf( std::ostream & os, Indent indent ) const override;
84
86 std::vector< double > m_RandomNumberList;
87
88private:
89
91 ImageRandomSamplerBase( const Self & ); // purposely not implemented
93 void operator=( const Self & ); // purposely not implemented
94
95};
96
97} // end namespace itk
98
99#ifndef ITK_MANUAL_INSTANTIATION
100#include "itkImageRandomSamplerBase.hxx"
101#endif
102
103#endif // end #ifndef __ImageRandomSamplerBase_h
This class is a base class for any image sampler that randomly picks samples.
Superclass::InputImagePixelType InputImagePixelType
Superclass::OutputVectorContainerType OutputVectorContainerType
Superclass::InputImageType InputImageType
Superclass::InputImagePointer InputImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::DataObjectPointer DataObjectPointer
void BeforeThreadedGenerateData(void) override
std::vector< double > m_RandomNumberList
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
Superclass::ImageSampleType ImageSampleType
SmartPointer< const Self > ConstPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
void operator=(const Self &)
Superclass::InputImageConstPointer InputImageConstPointer
ImageRandomSamplerBase(const Self &)
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
ImageSamplerBase< TInputImage > Superclass
A class that defines an image sample, which is the coordinates of a point and its value.
This class is a base class for any image sampler.
Superclass::InputImagePixelType InputImagePixelType
SpatialObject< Self::InputImageDimension > MaskType
Superclass::DataObjectPointer DataObjectPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass::InputImageType InputImageType
Superclass::InputImagePointer InputImagePointer
Superclass::InputImageConstPointer InputImageConstPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo