Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Common
ImageSamplers
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
18
#include "
itkImageRandomSamplerBase.h
"
19
20
21
namespace
itk
22
{
23
37
template
<
class
TInputImage >
38
class
ImageRandomSampler
:
39
public
ImageRandomSamplerBase
< TInputImage >
40
{
41
public
:
42
44
typedef
ImageRandomSampler
Self
;
45
typedef
ImageRandomSamplerBase< TInputImage >
Superclass
;
46
typedef
SmartPointer<Self>
Pointer
;
47
typedef
SmartPointer<const Self>
ConstPointer
;
48
50
itkNewMacro(
Self
);
51
53
itkTypeMacro(
ImageRandomSampler
,
ImageRandomSamplerBase
);
54
56
typedef
typename
Superclass::DataObjectPointer
DataObjectPointer
;
57
typedef
typename
Superclass::OutputVectorContainerType
OutputVectorContainerType
;
58
typedef
typename
Superclass::OutputVectorContainerPointer
OutputVectorContainerPointer
;
59
typedef
typename
Superclass::InputImageType
InputImageType
;
60
typedef
typename
Superclass::InputImagePointer
InputImagePointer
;
61
typedef
typename
Superclass::InputImageConstPointer
InputImageConstPointer
;
62
typedef
typename
Superclass::InputImageRegionType
InputImageRegionType
;
63
typedef
typename
Superclass::InputImagePixelType
InputImagePixelType
;
64
typedef
typename
Superclass::ImageSampleType
ImageSampleType
;
65
typedef
typename
Superclass::ImageSampleContainerType
ImageSampleContainerType
;
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
79
ImageRandomSampler
(){};
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
Generated on 27-06-2013 for elastix by
1.8.3.1