OTB
9.0.0
Orfeo Toolbox
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Variables
a
c
d
f
g
h
i
l
m
n
p
r
s
t
u
v
Typedefs
b
c
d
f
g
i
k
l
m
n
p
r
s
u
v
z
Enumerations
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
f
h
i
l
m
o
p
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
a
b
c
e
f
g
i
l
m
n
o
r
Files
File List
File Members
All
_
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
_
b
c
d
g
i
o
r
t
u
Examples
Modules
Core
Convolution
include
otbGaborFilterGenerator.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1999-2011 Insight Software Consortium
3
* Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
4
*
5
* This file is part of Orfeo Toolbox
6
*
7
* https://www.orfeo-toolbox.org/
8
*
9
* Licensed under the Apache License, Version 2.0 (the "License");
10
* you may not use this file except in compliance with the License.
11
* You may obtain a copy of the License at
12
*
13
* http://www.apache.org/licenses/LICENSE-2.0
14
*
15
* Unless required by applicable law or agreed to in writing, software
16
* distributed under the License is distributed on an "AS IS" BASIS,
17
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
* See the License for the specific language governing permissions and
19
* limitations under the License.
20
*/
21
22
#ifndef otbGaborFilterGenerator_h
23
#define otbGaborFilterGenerator_h
24
25
#include "itkObject.h"
26
#include "itkObjectFactory.h"
27
28
#include "itkArray.h"
29
#include "itkSize.h"
30
31
namespace
otb
32
{
33
72
template
<
class
TPrecision>
73
class
GaborFilterGenerator
:
public
itk::Object
74
{
75
public
:
76
// Standard class typedefs
77
typedef
GaborFilterGenerator
Self
;
78
typedef
itk::Object
Superclass
;
79
typedef
itk::SmartPointer<Self>
Pointer
;
80
typedef
itk::SmartPointer<const Self>
ConstPointer
;
81
82
// Standard new and type macro
83
itkNewMacro(
Self
);
84
itkTypeMacro(
GaborFilterGenerator
, Object);
85
86
// useful typedefs
87
typedef
TPrecision
PrecisionType
;
88
typedef
itk::Array<PrecisionType>
ArrayType
;
89
typedef
itk::Size<2>
RadiusType
;
90
92
itkSetMacro(A,
PrecisionType
);
93
itkGetMacro(A,
PrecisionType
);
94
itkSetMacro(B,
PrecisionType
);
95
itkGetMacro(B,
PrecisionType
);
96
itkSetMacro(Theta,
PrecisionType
);
97
itkGetMacro(Theta,
PrecisionType
);
98
itkSetMacro(Phi,
PrecisionType
);
99
itkGetMacro(Phi,
PrecisionType
);
100
itkSetMacro(U0,
PrecisionType
);
101
itkGetMacro(U0,
PrecisionType
);
102
itkSetMacro(V0,
PrecisionType
);
103
itkGetMacro(V0,
PrecisionType
);
104
itkSetMacro(Radius,
RadiusType
);
105
itkGetConstReferenceMacro(Radius,
RadiusType
);
107
109
const
ArrayType
&
GetFilter
();
110
111
protected
:
113
GaborFilterGenerator
();
114
116
~GaborFilterGenerator
()
override
117
{
118
}
119
121
void
PrintSelf
(std::ostream& os, itk::Indent indent)
const override
;
122
124
void
GenerateFilter
();
125
128
void
Modified
()
const override
;
129
130
private
:
131
GaborFilterGenerator
(
const
Self
&) =
delete
;
132
void
operator=
(
const
Self
&) =
delete
;
133
135
RadiusType
m_Radius
;
136
138
PrecisionType
m_A
;
139
PrecisionType
m_B
;
140
PrecisionType
m_Theta
;
141
PrecisionType
m_U0
;
142
PrecisionType
m_V0
;
143
PrecisionType
m_Phi
;
144
146
ArrayType
m_Filter
;
147
149
mutable
bool
m_NeedToRegenerateFilter
;
150
};
151
}
// end namespace otb
152
153
#ifndef OTB_MANUAL_INSTANTIATION
154
#include "
otbGaborFilterGenerator.hxx
"
155
#endif
156
157
#endif
otb::GaborFilterGenerator::~GaborFilterGenerator
~GaborFilterGenerator() override
Definition:
otbGaborFilterGenerator.h:116
otb::GaborFilterGenerator
Definition:
otbGaborFilterGenerator.h:73
otb::GaborFilterGenerator::RadiusType
itk::Size< 2 > RadiusType
Definition:
otbGaborFilterGenerator.h:89
otb::GaborFilterGenerator::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
otbGaborFilterGenerator.h:80
otb::GaborFilterGenerator::m_V0
PrecisionType m_V0
Definition:
otbGaborFilterGenerator.h:142
otb::GaborFilterGenerator::ArrayType
itk::Array< PrecisionType > ArrayType
Definition:
otbGaborFilterGenerator.h:88
otb::GaborFilterGenerator::m_Theta
PrecisionType m_Theta
Definition:
otbGaborFilterGenerator.h:140
otb::GaborFilterGenerator::PrecisionType
TPrecision PrecisionType
Definition:
otbGaborFilterGenerator.h:84
otb::GaborFilterGenerator::m_Phi
PrecisionType m_Phi
Definition:
otbGaborFilterGenerator.h:143
otb::GaborFilterGenerator::m_A
PrecisionType m_A
Definition:
otbGaborFilterGenerator.h:138
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition:
otbJoinContainer.h:32
otb::GaborFilterGenerator::Pointer
itk::SmartPointer< Self > Pointer
Definition:
otbGaborFilterGenerator.h:79
otb::GaborFilterGenerator::Superclass
itk::Object Superclass
Definition:
otbGaborFilterGenerator.h:78
otb::GaborFilterGenerator::PrintSelf
void PrintSelf(std::ostream &os, itk::Indent indent) const override
Definition:
otbGaborFilterGenerator.hxx:85
otb::GaborFilterGenerator::GenerateFilter
void GenerateFilter()
Definition:
otbGaborFilterGenerator.hxx:53
otb::GaborFilterGenerator::m_B
PrecisionType m_B
Definition:
otbGaborFilterGenerator.h:139
otb::GaborFilterGenerator::m_NeedToRegenerateFilter
bool m_NeedToRegenerateFilter
Definition:
otbGaborFilterGenerator.h:149
otb::GaborFilterGenerator::m_Radius
RadiusType m_Radius
Definition:
otbGaborFilterGenerator.h:135
otb::GaborFilterGenerator::operator=
void operator=(const Self &)=delete
otb::GaborFilterGenerator::Self
GaborFilterGenerator Self
Definition:
otbGaborFilterGenerator.h:77
otb::GaborFilterGenerator::GetFilter
const ArrayType & GetFilter()
Definition:
otbGaborFilterGenerator.hxx:43
otbGaborFilterGenerator.hxx
otb::GaborFilterGenerator::GaborFilterGenerator
GaborFilterGenerator()
Definition:
otbGaborFilterGenerator.hxx:31
otb::GaborFilterGenerator::Modified
void Modified() const override
Definition:
otbGaborFilterGenerator.hxx:78
otb::GaborFilterGenerator::m_U0
PrecisionType m_U0
Definition:
otbGaborFilterGenerator.h:141
otb::GaborFilterGenerator::m_Filter
ArrayType m_Filter
Definition:
otbGaborFilterGenerator.h:146
Generated at Wed Feb 28 2024 15:22:03 for
OTB
with
1.8.17