FastFeatureDetector.java
4.09 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
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
import java.lang.String;
// C++: class FastFeatureDetector
//javadoc: FastFeatureDetector
public class FastFeatureDetector extends Feature2D {
protected FastFeatureDetector(long addr) { super(addr); }
public static final int
TYPE_5_8 = 0,
TYPE_7_12 = 1,
TYPE_9_16 = 2,
THRESHOLD = 10000,
NONMAX_SUPPRESSION = 10001,
FAST_N = 10002;
//
// C++: static Ptr_FastFeatureDetector create(int threshold = 10, bool nonmaxSuppression = true, int type = FastFeatureDetector::TYPE_9_16)
//
//javadoc: FastFeatureDetector::create(threshold, nonmaxSuppression, type)
public static FastFeatureDetector create(int threshold, boolean nonmaxSuppression, int type)
{
FastFeatureDetector retVal = new FastFeatureDetector(create_0(threshold, nonmaxSuppression, type));
return retVal;
}
//javadoc: FastFeatureDetector::create()
public static FastFeatureDetector create()
{
FastFeatureDetector retVal = new FastFeatureDetector(create_1());
return retVal;
}
//
// C++: String getDefaultName()
//
//javadoc: FastFeatureDetector::getDefaultName()
public String getDefaultName()
{
String retVal = getDefaultName_0(nativeObj);
return retVal;
}
//
// C++: bool getNonmaxSuppression()
//
//javadoc: FastFeatureDetector::getNonmaxSuppression()
public boolean getNonmaxSuppression()
{
boolean retVal = getNonmaxSuppression_0(nativeObj);
return retVal;
}
//
// C++: int getThreshold()
//
//javadoc: FastFeatureDetector::getThreshold()
public int getThreshold()
{
int retVal = getThreshold_0(nativeObj);
return retVal;
}
//
// C++: int getType()
//
//javadoc: FastFeatureDetector::getType()
public int getType()
{
int retVal = getType_0(nativeObj);
return retVal;
}
//
// C++: void setNonmaxSuppression(bool f)
//
//javadoc: FastFeatureDetector::setNonmaxSuppression(f)
public void setNonmaxSuppression(boolean f)
{
setNonmaxSuppression_0(nativeObj, f);
return;
}
//
// C++: void setThreshold(int threshold)
//
//javadoc: FastFeatureDetector::setThreshold(threshold)
public void setThreshold(int threshold)
{
setThreshold_0(nativeObj, threshold);
return;
}
//
// C++: void setType(int type)
//
//javadoc: FastFeatureDetector::setType(type)
public void setType(int type)
{
setType_0(nativeObj, type);
return;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: static Ptr_FastFeatureDetector create(int threshold = 10, bool nonmaxSuppression = true, int type = FastFeatureDetector::TYPE_9_16)
private static native long create_0(int threshold, boolean nonmaxSuppression, int type);
private static native long create_1();
// C++: String getDefaultName()
private static native String getDefaultName_0(long nativeObj);
// C++: bool getNonmaxSuppression()
private static native boolean getNonmaxSuppression_0(long nativeObj);
// C++: int getThreshold()
private static native int getThreshold_0(long nativeObj);
// C++: int getType()
private static native int getType_0(long nativeObj);
// C++: void setNonmaxSuppression(bool f)
private static native void setNonmaxSuppression_0(long nativeObj, boolean f);
// C++: void setThreshold(int threshold)
private static native void setThreshold_0(long nativeObj, int threshold);
// C++: void setType(int type)
private static native void setType_0(long nativeObj, int type);
// native support for java finalize()
private static native void delete(long nativeObj);
}