Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Src
elx
5.1.0
Common
OpenCL
Filters
itkGPUAdvancedSimilarity2DTransform.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 itkGPUAdvancedSimilarity2DTransform_h
19
#define itkGPUAdvancedSimilarity2DTransform_h
20
21
#include "
itkAdvancedSimilarity2DTransform.h
"
22
#include "
itkGPUMatrixOffsetTransformBase.h
"
23
24
namespace
itk
25
{
37
template
<
typename
TScalarType =
float
,
typename
TParentTransform = AdvancedSimilarity2DTransform<TScalarType>>
38
class
ITK_TEMPLATE_EXPORT
GPUAdvancedSimilarity2DTransform
39
:
public
TParentTransform
40
,
public
GPUMatrixOffsetTransformBase
<TScalarType, 2, 2>
41
{
42
public
:
44
using
Self
=
GPUAdvancedSimilarity2DTransform
;
45
using
CPUSuperclass
= TParentTransform;
46
using
GPUSuperclass
=
GPUMatrixOffsetTransformBase<TScalarType, 2, 2>
;
47
using
Pointer
= SmartPointer<Self>;
48
using
ConstPointer
= SmartPointer<const Self>;
49
51
itkNewMacro(
Self
);
52
54
itkTypeMacro(
GPUAdvancedSimilarity2DTransform
,
CPUSuperclass
);
55
57
using
CPUMatrixType
=
typename
GPUSuperclass::CPUMatrixType
;
58
using
CPUInverseMatrixType
=
typename
GPUSuperclass::CPUInverseMatrixType
;
59
using
CPUOutputVectorType
=
typename
GPUSuperclass::CPUOutputVectorType
;
60
62
const
CPUMatrixType
&
63
GetCPUMatrix
()
const override
64
{
65
return
this->GetMatrix();
66
}
67
69
const
CPUOutputVectorType &
70
GetCPUOffset
()
const override
71
{
72
return
this->GetOffset();
73
}
74
75
protected
:
76
GPUAdvancedSimilarity2DTransform
() =
default
;
77
~GPUAdvancedSimilarity2DTransform
()
override
=
default
;
78
79
private
:
80
GPUAdvancedSimilarity2DTransform
(
const
Self
& other) =
delete
;
81
const
Self
&
82
operator=
(
const
Self
&) =
delete
;
83
};
84
85
}
// end namespace itk
86
87
#endif
/* itkGPUAdvancedSimilarity2DTransform_h */
SmartPointer< Self >
itk::GPUAdvancedSimilarity2DTransform
GPU version of AdvancedSimilarity2DTransform.
Definition:
itkGPUAdvancedSimilarity2DTransform.h:41
itk::GPUAdvancedSimilarity2DTransform::GetCPUOffset
const CPUOutputVectorType & GetCPUOffset() const override
Definition:
itkGPUAdvancedSimilarity2DTransform.h:70
itk::GPUAdvancedSimilarity2DTransform::GetCPUMatrix
const CPUMatrixType & GetCPUMatrix() const override
Definition:
itkGPUAdvancedSimilarity2DTransform.h:63
itk::GPUAdvancedSimilarity2DTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition:
itkGPUAdvancedSimilarity2DTransform.h:45
itk::GPUAdvancedSimilarity2DTransform::GPUAdvancedSimilarity2DTransform
GPUAdvancedSimilarity2DTransform()=default
itk::GPUAdvancedSimilarity2DTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUAdvancedSimilarity2DTransform::~GPUAdvancedSimilarity2DTransform
~GPUAdvancedSimilarity2DTransform() override=default
itk::GPUAdvancedSimilarity2DTransform::CPUInverseMatrixType
typename GPUSuperclass::CPUInverseMatrixType CPUInverseMatrixType
Definition:
itkGPUAdvancedSimilarity2DTransform.h:58
itk::GPUAdvancedSimilarity2DTransform::CPUMatrixType
typename GPUSuperclass::CPUMatrixType CPUMatrixType
Definition:
itkGPUAdvancedSimilarity2DTransform.h:57
itk::GPUAdvancedSimilarity2DTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkGPUAdvancedSimilarity2DTransform.h:48
itk::GPUAdvancedSimilarity2DTransform::CPUOutputVectorType
typename GPUSuperclass::CPUOutputVectorType CPUOutputVectorType
Definition:
itkGPUAdvancedSimilarity2DTransform.h:59
itk::GPUAdvancedSimilarity2DTransform::GPUAdvancedSimilarity2DTransform
GPUAdvancedSimilarity2DTransform(const Self &other)=delete
itk::GPUMatrixOffsetTransformBase
Base version of the GPU MatrixOffsetTransform.
Definition:
itkGPUMatrixOffsetTransformBase.h:45
itk::GPUMatrixOffsetTransformBase::CPUInverseMatrixType
Matrix< TScalarType, Self::InputSpaceDimension, Self::OutputSpaceDimension > CPUInverseMatrixType
Definition:
itkGPUMatrixOffsetTransformBase.h:71
itk::GPUMatrixOffsetTransformBase::CPUMatrixType
Matrix< TScalarType, Self::OutputSpaceDimension, Self::InputSpaceDimension > CPUMatrixType
Definition:
itkGPUMatrixOffsetTransformBase.h:70
itk::GPUMatrixOffsetTransformBase::CPUOutputVectorType
Vector< TScalarType, Self::OutputSpaceDimension > CPUOutputVectorType
Definition:
itkGPUMatrixOffsetTransformBase.h:72
itkAdvancedSimilarity2DTransform.h
itkGPUMatrixOffsetTransformBase.h
itk
Definition:
itkAdvancedImageToImageMetric.h:44
Generated on 2023-01-13 for elastix by
1.9.6