AKAZE.java
7.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
import java.lang.String;
// C++: class AKAZE
//javadoc: AKAZE
public class AKAZE extends Feature2D {
protected AKAZE(long addr) { super(addr); }
public static final int
DESCRIPTOR_KAZE_UPRIGHT = 2,
DESCRIPTOR_KAZE = 3,
DESCRIPTOR_MLDB_UPRIGHT = 4,
DESCRIPTOR_MLDB = 5;
//
// C++: static Ptr_AKAZE create(int descriptor_type = AKAZE::DESCRIPTOR_MLDB, int descriptor_size = 0, int descriptor_channels = 3, float threshold = 0.001f, int nOctaves = 4, int nOctaveLayers = 4, int diffusivity = KAZE::DIFF_PM_G2)
//
//javadoc: AKAZE::create(descriptor_type, descriptor_size, descriptor_channels, threshold, nOctaves, nOctaveLayers, diffusivity)
public static AKAZE create(int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves, int nOctaveLayers, int diffusivity)
{
AKAZE retVal = new AKAZE(create_0(descriptor_type, descriptor_size, descriptor_channels, threshold, nOctaves, nOctaveLayers, diffusivity));
return retVal;
}
//javadoc: AKAZE::create()
public static AKAZE create()
{
AKAZE retVal = new AKAZE(create_1());
return retVal;
}
//
// C++: String getDefaultName()
//
//javadoc: AKAZE::getDefaultName()
public String getDefaultName()
{
String retVal = getDefaultName_0(nativeObj);
return retVal;
}
//
// C++: double getThreshold()
//
//javadoc: AKAZE::getThreshold()
public double getThreshold()
{
double retVal = getThreshold_0(nativeObj);
return retVal;
}
//
// C++: int getDescriptorChannels()
//
//javadoc: AKAZE::getDescriptorChannels()
public int getDescriptorChannels()
{
int retVal = getDescriptorChannels_0(nativeObj);
return retVal;
}
//
// C++: int getDescriptorSize()
//
//javadoc: AKAZE::getDescriptorSize()
public int getDescriptorSize()
{
int retVal = getDescriptorSize_0(nativeObj);
return retVal;
}
//
// C++: int getDescriptorType()
//
//javadoc: AKAZE::getDescriptorType()
public int getDescriptorType()
{
int retVal = getDescriptorType_0(nativeObj);
return retVal;
}
//
// C++: int getDiffusivity()
//
//javadoc: AKAZE::getDiffusivity()
public int getDiffusivity()
{
int retVal = getDiffusivity_0(nativeObj);
return retVal;
}
//
// C++: int getNOctaveLayers()
//
//javadoc: AKAZE::getNOctaveLayers()
public int getNOctaveLayers()
{
int retVal = getNOctaveLayers_0(nativeObj);
return retVal;
}
//
// C++: int getNOctaves()
//
//javadoc: AKAZE::getNOctaves()
public int getNOctaves()
{
int retVal = getNOctaves_0(nativeObj);
return retVal;
}
//
// C++: void setDescriptorChannels(int dch)
//
//javadoc: AKAZE::setDescriptorChannels(dch)
public void setDescriptorChannels(int dch)
{
setDescriptorChannels_0(nativeObj, dch);
return;
}
//
// C++: void setDescriptorSize(int dsize)
//
//javadoc: AKAZE::setDescriptorSize(dsize)
public void setDescriptorSize(int dsize)
{
setDescriptorSize_0(nativeObj, dsize);
return;
}
//
// C++: void setDescriptorType(int dtype)
//
//javadoc: AKAZE::setDescriptorType(dtype)
public void setDescriptorType(int dtype)
{
setDescriptorType_0(nativeObj, dtype);
return;
}
//
// C++: void setDiffusivity(int diff)
//
//javadoc: AKAZE::setDiffusivity(diff)
public void setDiffusivity(int diff)
{
setDiffusivity_0(nativeObj, diff);
return;
}
//
// C++: void setNOctaveLayers(int octaveLayers)
//
//javadoc: AKAZE::setNOctaveLayers(octaveLayers)
public void setNOctaveLayers(int octaveLayers)
{
setNOctaveLayers_0(nativeObj, octaveLayers);
return;
}
//
// C++: void setNOctaves(int octaves)
//
//javadoc: AKAZE::setNOctaves(octaves)
public void setNOctaves(int octaves)
{
setNOctaves_0(nativeObj, octaves);
return;
}
//
// C++: void setThreshold(double threshold)
//
//javadoc: AKAZE::setThreshold(threshold)
public void setThreshold(double threshold)
{
setThreshold_0(nativeObj, threshold);
return;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: static Ptr_AKAZE create(int descriptor_type = AKAZE::DESCRIPTOR_MLDB, int descriptor_size = 0, int descriptor_channels = 3, float threshold = 0.001f, int nOctaves = 4, int nOctaveLayers = 4, int diffusivity = KAZE::DIFF_PM_G2)
private static native long create_0(int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves, int nOctaveLayers, int diffusivity);
private static native long create_1();
// C++: String getDefaultName()
private static native String getDefaultName_0(long nativeObj);
// C++: double getThreshold()
private static native double getThreshold_0(long nativeObj);
// C++: int getDescriptorChannels()
private static native int getDescriptorChannels_0(long nativeObj);
// C++: int getDescriptorSize()
private static native int getDescriptorSize_0(long nativeObj);
// C++: int getDescriptorType()
private static native int getDescriptorType_0(long nativeObj);
// C++: int getDiffusivity()
private static native int getDiffusivity_0(long nativeObj);
// C++: int getNOctaveLayers()
private static native int getNOctaveLayers_0(long nativeObj);
// C++: int getNOctaves()
private static native int getNOctaves_0(long nativeObj);
// C++: void setDescriptorChannels(int dch)
private static native void setDescriptorChannels_0(long nativeObj, int dch);
// C++: void setDescriptorSize(int dsize)
private static native void setDescriptorSize_0(long nativeObj, int dsize);
// C++: void setDescriptorType(int dtype)
private static native void setDescriptorType_0(long nativeObj, int dtype);
// C++: void setDiffusivity(int diff)
private static native void setDiffusivity_0(long nativeObj, int diff);
// C++: void setNOctaveLayers(int octaveLayers)
private static native void setNOctaveLayers_0(long nativeObj, int octaveLayers);
// C++: void setNOctaves(int octaves)
private static native void setNOctaves_0(long nativeObj, int octaves);
// C++: void setThreshold(double threshold)
private static native void setThreshold_0(long nativeObj, double threshold);
// native support for java finalize()
private static native void delete(long nativeObj);
}