GFTTDetector.java
7.68 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
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
import java.lang.String;
// C++: class GFTTDetector
//javadoc: GFTTDetector
public class GFTTDetector extends Feature2D {
protected GFTTDetector(long addr) { super(addr); }
//
// C++: static Ptr_GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, bool useHarrisDetector = false, double k = 0.04)
//
//javadoc: GFTTDetector::create(maxCorners, qualityLevel, minDistance, blockSize, gradiantSize, useHarrisDetector, k)
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k)
{
GFTTDetector retVal = new GFTTDetector(create_0(maxCorners, qualityLevel, minDistance, blockSize, gradiantSize, useHarrisDetector, k));
return retVal;
}
//javadoc: GFTTDetector::create(maxCorners, qualityLevel, minDistance, blockSize, gradiantSize)
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize)
{
GFTTDetector retVal = new GFTTDetector(create_1(maxCorners, qualityLevel, minDistance, blockSize, gradiantSize));
return retVal;
}
//
// C++: static Ptr_GFTTDetector create(int maxCorners = 1000, double qualityLevel = 0.01, double minDistance = 1, int blockSize = 3, bool useHarrisDetector = false, double k = 0.04)
//
//javadoc: GFTTDetector::create(maxCorners, qualityLevel, minDistance, blockSize, useHarrisDetector, k)
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k)
{
GFTTDetector retVal = new GFTTDetector(create_2(maxCorners, qualityLevel, minDistance, blockSize, useHarrisDetector, k));
return retVal;
}
//javadoc: GFTTDetector::create()
public static GFTTDetector create()
{
GFTTDetector retVal = new GFTTDetector(create_3());
return retVal;
}
//
// C++: String getDefaultName()
//
//javadoc: GFTTDetector::getDefaultName()
public String getDefaultName()
{
String retVal = getDefaultName_0(nativeObj);
return retVal;
}
//
// C++: bool getHarrisDetector()
//
//javadoc: GFTTDetector::getHarrisDetector()
public boolean getHarrisDetector()
{
boolean retVal = getHarrisDetector_0(nativeObj);
return retVal;
}
//
// C++: double getK()
//
//javadoc: GFTTDetector::getK()
public double getK()
{
double retVal = getK_0(nativeObj);
return retVal;
}
//
// C++: double getMinDistance()
//
//javadoc: GFTTDetector::getMinDistance()
public double getMinDistance()
{
double retVal = getMinDistance_0(nativeObj);
return retVal;
}
//
// C++: double getQualityLevel()
//
//javadoc: GFTTDetector::getQualityLevel()
public double getQualityLevel()
{
double retVal = getQualityLevel_0(nativeObj);
return retVal;
}
//
// C++: int getBlockSize()
//
//javadoc: GFTTDetector::getBlockSize()
public int getBlockSize()
{
int retVal = getBlockSize_0(nativeObj);
return retVal;
}
//
// C++: int getMaxFeatures()
//
//javadoc: GFTTDetector::getMaxFeatures()
public int getMaxFeatures()
{
int retVal = getMaxFeatures_0(nativeObj);
return retVal;
}
//
// C++: void setBlockSize(int blockSize)
//
//javadoc: GFTTDetector::setBlockSize(blockSize)
public void setBlockSize(int blockSize)
{
setBlockSize_0(nativeObj, blockSize);
return;
}
//
// C++: void setHarrisDetector(bool val)
//
//javadoc: GFTTDetector::setHarrisDetector(val)
public void setHarrisDetector(boolean val)
{
setHarrisDetector_0(nativeObj, val);
return;
}
//
// C++: void setK(double k)
//
//javadoc: GFTTDetector::setK(k)
public void setK(double k)
{
setK_0(nativeObj, k);
return;
}
//
// C++: void setMaxFeatures(int maxFeatures)
//
//javadoc: GFTTDetector::setMaxFeatures(maxFeatures)
public void setMaxFeatures(int maxFeatures)
{
setMaxFeatures_0(nativeObj, maxFeatures);
return;
}
//
// C++: void setMinDistance(double minDistance)
//
//javadoc: GFTTDetector::setMinDistance(minDistance)
public void setMinDistance(double minDistance)
{
setMinDistance_0(nativeObj, minDistance);
return;
}
//
// C++: void setQualityLevel(double qlevel)
//
//javadoc: GFTTDetector::setQualityLevel(qlevel)
public void setQualityLevel(double qlevel)
{
setQualityLevel_0(nativeObj, qlevel);
return;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: static Ptr_GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, bool useHarrisDetector = false, double k = 0.04)
private static native long create_0(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k);
private static native long create_1(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize);
// C++: static Ptr_GFTTDetector create(int maxCorners = 1000, double qualityLevel = 0.01, double minDistance = 1, int blockSize = 3, bool useHarrisDetector = false, double k = 0.04)
private static native long create_2(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k);
private static native long create_3();
// C++: String getDefaultName()
private static native String getDefaultName_0(long nativeObj);
// C++: bool getHarrisDetector()
private static native boolean getHarrisDetector_0(long nativeObj);
// C++: double getK()
private static native double getK_0(long nativeObj);
// C++: double getMinDistance()
private static native double getMinDistance_0(long nativeObj);
// C++: double getQualityLevel()
private static native double getQualityLevel_0(long nativeObj);
// C++: int getBlockSize()
private static native int getBlockSize_0(long nativeObj);
// C++: int getMaxFeatures()
private static native int getMaxFeatures_0(long nativeObj);
// C++: void setBlockSize(int blockSize)
private static native void setBlockSize_0(long nativeObj, int blockSize);
// C++: void setHarrisDetector(bool val)
private static native void setHarrisDetector_0(long nativeObj, boolean val);
// C++: void setK(double k)
private static native void setK_0(long nativeObj, double k);
// C++: void setMaxFeatures(int maxFeatures)
private static native void setMaxFeatures_0(long nativeObj, int maxFeatures);
// C++: void setMinDistance(double minDistance)
private static native void setMinDistance_0(long nativeObj, double minDistance);
// C++: void setQualityLevel(double qlevel)
private static native void setQualityLevel_0(long nativeObj, double qlevel);
// native support for java finalize()
private static native void delete(long nativeObj);
}