Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Src
E
elastix
Common
Transforms
itkUpsampleBSplineParametersFilter.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 itkUpsampleBSplineParametersFilter_h
19
#define itkUpsampleBSplineParametersFilter_h
20
21
#include "itkObject.h"
22
#include "itkArray.h"
23
24
namespace
itk
25
{
26
38
template
<
class
TArray,
class
TImage>
39
class
ITK_TEMPLATE_EXPORT
UpsampleBSplineParametersFilter
:
public
Object
40
{
41
public
:
42
ITK_DISALLOW_COPY_AND_MOVE
(
UpsampleBSplineParametersFilter
);
43
45
using
Self
=
UpsampleBSplineParametersFilter
;
46
using
Superclass
= Object;
47
using
Pointer
= SmartPointer<Self>;
48
using
ConstPointer
= SmartPointer<const Self>;
49
51
itkNewMacro(
Self
);
52
54
itkTypeMacro(
UpsampleBSplineParametersFilter
, Object);
55
57
using
ArrayType
= TArray;
58
using
ValueType
=
typename
ArrayType::ValueType;
59
using
ImageType
= TImage;
60
using
ImagePointer
=
typename
ImageType::Pointer;
61
using
PixelType =
typename
ImageType::PixelType;
62
using
SpacingType
=
typename
ImageType::SpacingType;
63
using
OriginType
=
typename
ImageType::PointType;
64
using
DirectionType
=
typename
ImageType::DirectionType;
65
using
RegionType
=
typename
ImageType::RegionType;
66
68
itkStaticConstMacro
(Dimension,
unsigned
int
, ImageType::ImageDimension);
69
71
itkSetMacro(CurrentGridOrigin,
OriginType
);
72
74
itkSetMacro(CurrentGridSpacing,
SpacingType
);
75
77
itkSetMacro(CurrentGridDirection,
DirectionType
);
78
80
itkSetMacro(CurrentGridRegion,
RegionType
);
81
83
itkSetMacro(RequiredGridOrigin,
OriginType
);
84
86
itkSetMacro(RequiredGridSpacing,
SpacingType
);
87
89
itkSetMacro(RequiredGridDirection,
DirectionType
);
90
92
itkSetMacro(RequiredGridRegion,
RegionType
);
93
95
itkSetMacro(BSplineOrder,
unsigned
int
);
96
98
virtual
void
99
UpsampleParameters
(
const
ArrayType
& param_in,
ArrayType
& param_out);
100
101
protected
:
103
UpsampleBSplineParametersFilter
();
104
106
~UpsampleBSplineParametersFilter
()
override
=
default
;
107
109
void
110
PrintSelf
(std::ostream & os, Indent indent)
const override
;
111
113
virtual
bool
114
DoUpsampling
();
115
116
private
:
118
OriginType
m_CurrentGridOrigin{};
119
SpacingType
m_CurrentGridSpacing{};
120
DirectionType
m_CurrentGridDirection{};
121
RegionType
m_CurrentGridRegion{};
122
OriginType
m_RequiredGridOrigin{};
123
SpacingType
m_RequiredGridSpacing{};
124
DirectionType
m_RequiredGridDirection{};
125
RegionType
m_RequiredGridRegion{};
126
unsigned
int
m_BSplineOrder{};
127
};
128
129
}
// end namespace itk
130
131
#ifndef ITK_MANUAL_INSTANTIATION
132
# include "itkUpsampleBSplineParametersFilter.hxx"
133
#endif
134
135
#endif
// end #ifndef itkUpsampleBSplineParametersFilter_h
SmartPointer< Self >
itk::UpsampleBSplineParametersFilter
Convenience class for upsampling a B-spline coefficient image.
Definition
itkUpsampleBSplineParametersFilter.h:40
itk::UpsampleBSplineParametersFilter::OriginType
typename ImageType::PointType OriginType
Definition
itkUpsampleBSplineParametersFilter.h:63
itk::UpsampleBSplineParametersFilter::UpsampleBSplineParametersFilter
UpsampleBSplineParametersFilter()
itk::UpsampleBSplineParametersFilter::ConstPointer
SmartPointer< const Self > ConstPointer
Definition
itkUpsampleBSplineParametersFilter.h:48
itk::UpsampleBSplineParametersFilter::itkStaticConstMacro
itkStaticConstMacro(Dimension, unsigned int, ImageType::ImageDimension)
itk::UpsampleBSplineParametersFilter::DoUpsampling
virtual bool DoUpsampling()
itk::UpsampleBSplineParametersFilter::UpsampleParameters
virtual void UpsampleParameters(const ArrayType ¶m_in, ArrayType ¶m_out)
itk::UpsampleBSplineParametersFilter::SpacingType
typename ImageType::SpacingType SpacingType
Definition
itkUpsampleBSplineParametersFilter.h:62
itk::UpsampleBSplineParametersFilter::ImagePointer
typename ImageType::Pointer ImagePointer
Definition
itkUpsampleBSplineParametersFilter.h:60
itk::UpsampleBSplineParametersFilter::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::UpsampleBSplineParametersFilter::RegionType
typename ImageType::RegionType RegionType
Definition
itkUpsampleBSplineParametersFilter.h:65
itk::UpsampleBSplineParametersFilter::~UpsampleBSplineParametersFilter
~UpsampleBSplineParametersFilter() override=default
itk::UpsampleBSplineParametersFilter::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(UpsampleBSplineParametersFilter)
itk::UpsampleBSplineParametersFilter::ValueType
typename ArrayType::ValueType ValueType
Definition
itkUpsampleBSplineParametersFilter.h:58
itk::UpsampleBSplineParametersFilter::ImageType
TImage ImageType
Definition
itkUpsampleBSplineParametersFilter.h:59
itk::UpsampleBSplineParametersFilter::Superclass
Object Superclass
Definition
itkUpsampleBSplineParametersFilter.h:46
itk::UpsampleBSplineParametersFilter::ArrayType
TArray ArrayType
Definition
itkUpsampleBSplineParametersFilter.h:57
itk::UpsampleBSplineParametersFilter::DirectionType
typename ImageType::DirectionType DirectionType
Definition
itkUpsampleBSplineParametersFilter.h:64
itk
Definition
itkAdvancedImageToImageMetric.h:43
Generated on 2024-07-17 for elastix by
1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d)