OSDN Git Service

ライブビューデータを拾うために検討中。その4。
[gokigen/FujiCam.git] / opencv41 / src / main / java / org / opencv / features2d / FastFeatureDetector.java
1 //
2 // This file is auto-generated. Please don't modify it!
3 //
4 package org.opencv.features2d;
5
6 import java.lang.String;
7 import org.opencv.features2d.FastFeatureDetector;
8 import org.opencv.features2d.Feature2D;
9
10 // C++: class FastFeatureDetector
11 //javadoc: FastFeatureDetector
12
13 public class FastFeatureDetector extends Feature2D {
14
15     protected FastFeatureDetector(long addr) { super(addr); }
16
17     // internal usage only
18     public static FastFeatureDetector __fromPtr__(long addr) { return new FastFeatureDetector(addr); }
19
20     // C++: enum DetectorType
21     public static final int
22             TYPE_5_8 = 0,
23             TYPE_7_12 = 1,
24             TYPE_9_16 = 2;
25
26
27     // C++: enum <unnamed>
28     public static final int
29             THRESHOLD = 10000,
30             NONMAX_SUPPRESSION = 10001,
31             FAST_N = 10002;
32
33
34     //
35     // C++:  FastFeatureDetector_DetectorType cv::FastFeatureDetector::getType()
36     //
37
38     //javadoc: FastFeatureDetector::getType()
39     public  int getType()
40     {
41         
42         int retVal = getType_0(nativeObj);
43         
44         return retVal;
45     }
46
47
48     //
49     // C++: static Ptr_FastFeatureDetector cv::FastFeatureDetector::create(int threshold = 10, bool nonmaxSuppression = true, FastFeatureDetector_DetectorType type = FastFeatureDetector::TYPE_9_16)
50     //
51
52     //javadoc: FastFeatureDetector::create(threshold, nonmaxSuppression, type)
53     public static FastFeatureDetector create(int threshold, boolean nonmaxSuppression, int type)
54     {
55         
56         FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(create_0(threshold, nonmaxSuppression, type));
57         
58         return retVal;
59     }
60
61     //javadoc: FastFeatureDetector::create(threshold, nonmaxSuppression)
62     public static FastFeatureDetector create(int threshold, boolean nonmaxSuppression)
63     {
64         
65         FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(create_1(threshold, nonmaxSuppression));
66         
67         return retVal;
68     }
69
70     //javadoc: FastFeatureDetector::create(threshold)
71     public static FastFeatureDetector create(int threshold)
72     {
73         
74         FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(create_2(threshold));
75         
76         return retVal;
77     }
78
79     //javadoc: FastFeatureDetector::create()
80     public static FastFeatureDetector create()
81     {
82         
83         FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(create_3());
84         
85         return retVal;
86     }
87
88
89     //
90     // C++:  String cv::FastFeatureDetector::getDefaultName()
91     //
92
93     //javadoc: FastFeatureDetector::getDefaultName()
94     public  String getDefaultName()
95     {
96         
97         String retVal = getDefaultName_0(nativeObj);
98         
99         return retVal;
100     }
101
102
103     //
104     // C++:  bool cv::FastFeatureDetector::getNonmaxSuppression()
105     //
106
107     //javadoc: FastFeatureDetector::getNonmaxSuppression()
108     public  boolean getNonmaxSuppression()
109     {
110         
111         boolean retVal = getNonmaxSuppression_0(nativeObj);
112         
113         return retVal;
114     }
115
116
117     //
118     // C++:  int cv::FastFeatureDetector::getThreshold()
119     //
120
121     //javadoc: FastFeatureDetector::getThreshold()
122     public  int getThreshold()
123     {
124         
125         int retVal = getThreshold_0(nativeObj);
126         
127         return retVal;
128     }
129
130
131     //
132     // C++:  void cv::FastFeatureDetector::setNonmaxSuppression(bool f)
133     //
134
135     //javadoc: FastFeatureDetector::setNonmaxSuppression(f)
136     public  void setNonmaxSuppression(boolean f)
137     {
138         
139         setNonmaxSuppression_0(nativeObj, f);
140         
141         return;
142     }
143
144
145     //
146     // C++:  void cv::FastFeatureDetector::setThreshold(int threshold)
147     //
148
149     //javadoc: FastFeatureDetector::setThreshold(threshold)
150     public  void setThreshold(int threshold)
151     {
152         
153         setThreshold_0(nativeObj, threshold);
154         
155         return;
156     }
157
158
159     //
160     // C++:  void cv::FastFeatureDetector::setType(FastFeatureDetector_DetectorType type)
161     //
162
163     //javadoc: FastFeatureDetector::setType(type)
164     public  void setType(int type)
165     {
166         
167         setType_0(nativeObj, type);
168         
169         return;
170     }
171
172
173     @Override
174     protected void finalize() throws Throwable {
175         delete(nativeObj);
176     }
177
178
179
180     // C++:  FastFeatureDetector_DetectorType cv::FastFeatureDetector::getType()
181     private static native int getType_0(long nativeObj);
182
183     // C++: static Ptr_FastFeatureDetector cv::FastFeatureDetector::create(int threshold = 10, bool nonmaxSuppression = true, FastFeatureDetector_DetectorType type = FastFeatureDetector::TYPE_9_16)
184     private static native long create_0(int threshold, boolean nonmaxSuppression, int type);
185     private static native long create_1(int threshold, boolean nonmaxSuppression);
186     private static native long create_2(int threshold);
187     private static native long create_3();
188
189     // C++:  String cv::FastFeatureDetector::getDefaultName()
190     private static native String getDefaultName_0(long nativeObj);
191
192     // C++:  bool cv::FastFeatureDetector::getNonmaxSuppression()
193     private static native boolean getNonmaxSuppression_0(long nativeObj);
194
195     // C++:  int cv::FastFeatureDetector::getThreshold()
196     private static native int getThreshold_0(long nativeObj);
197
198     // C++:  void cv::FastFeatureDetector::setNonmaxSuppression(bool f)
199     private static native void setNonmaxSuppression_0(long nativeObj, boolean f);
200
201     // C++:  void cv::FastFeatureDetector::setThreshold(int threshold)
202     private static native void setThreshold_0(long nativeObj, int threshold);
203
204     // C++:  void cv::FastFeatureDetector::setType(FastFeatureDetector_DetectorType type)
205     private static native void setType_0(long nativeObj, int type);
206
207     // native support for java finalize()
208     private static native void delete(long nativeObj);
209
210 }