Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
ImageSamplers
RandomSparseMask
elxRandomSamplerSparseMask.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 __elxRandomSamplerSparseMask_h
16
#define __elxRandomSamplerSparseMask_h
17
18
#include "
itkImageRandomSamplerSparseMask.h
"
19
#include "
elxIncludes.h
"
20
21
namespace
elastix
22
{
23
24
using namespace
itk;
25
52
template
<
class
TElastix >
53
class
RandomSamplerSparseMask
:
54
public
55
ImageRandomSamplerSparseMask
<
56
ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >,
57
public
58
elx::ImageSamplerBase
<TElastix>
59
{
60
public
:
61
63
typedef
RandomSamplerSparseMask
Self
;
64
typedef
ImageRandomSamplerSparseMask
<
65
typename
elx::ImageSamplerBase<TElastix>::InputImageType
>
Superclass1
;
66
typedef
elx::ImageSamplerBase<TElastix>
Superclass2
;
67
typedef
SmartPointer<Self>
Pointer
;
68
typedef
SmartPointer<const Self>
ConstPointer
;
69
71
itkNewMacro(
Self
);
72
74
itkTypeMacro(
RandomSamplerSparseMask
,
ImageRandomSamplerSparseMask
);
75
80
elxClassNameMacro
(
"RandomSparseMask"
);
81
83
typedef
typename
Superclass1::DataObjectPointer
DataObjectPointer
;
84
typedef
typename
Superclass1::OutputVectorContainerType
OutputVectorContainerType
;
85
typedef
typename
Superclass1::OutputVectorContainerPointer
OutputVectorContainerPointer
;
86
typedef
typename
Superclass1::InputImageType
InputImageType
;
87
typedef
typename
Superclass1::InputImagePointer
InputImagePointer
;
88
typedef
typename
Superclass1::InputImageConstPointer
InputImageConstPointer
;
89
typedef
typename
Superclass1::InputImageRegionType
InputImageRegionType
;
90
typedef
typename
Superclass1::InputImagePixelType
InputImagePixelType
;
91
typedef
typename
Superclass1::ImageSampleType
ImageSampleType
;
92
typedef
typename
Superclass1::ImageSampleContainerType
ImageSampleContainerType
;
93
typedef
typename
Superclass1::MaskType
MaskType
;
94
typedef
typename
Superclass1::InputImageIndexType
InputImageIndexType
;
95
typedef
typename
Superclass1::InputImagePointType
InputImagePointType
;
96
98
itkStaticConstMacro( InputImageDimension,
unsigned
int
, Superclass1::InputImageDimension );
99
101
typedef
typename
Superclass2::ElastixType
ElastixType
;
102
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
103
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
104
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
105
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
106
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
107
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
108
112
virtual
void
BeforeEachResolution(
void
);
113
114
protected
:
115
117
RandomSamplerSparseMask
() {}
119
virtual
~RandomSamplerSparseMask
() {}
120
121
private
:
122
124
RandomSamplerSparseMask
(
const
Self& );
// purposely not implemented
126
void
operator=(
const
Self& );
// purposely not implemented
127
128
};
// end class RandomSamplerSparseMask
129
130
131
}
// end namespace elastix
132
133
#ifndef ITK_MANUAL_INSTANTIATION
134
#include "elxRandomSamplerSparseMask.hxx"
135
#endif
136
137
#endif // end #ifndef __elxRandomSamplerSparseMask_h
138
Generated on 21-03-2014 for elastix by
1.8.1.2