2 // This file is auto-generated. Please don't modify it!
4 package org.opencv.features2d;
6 import java.lang.String;
7 import org.opencv.features2d.Feature2D;
8 import org.opencv.features2d.ORB;
13 public class ORB extends Feature2D {
15 protected ORB(long addr) { super(addr); }
17 // internal usage only
18 public static ORB __fromPtr__(long addr) { return new ORB(addr); }
20 // C++: enum ScoreType
21 public static final int
27 // C++: ORB_ScoreType cv::ORB::getScoreType()
30 //javadoc: ORB::getScoreType()
31 public int getScoreType()
34 int retVal = getScoreType_0(nativeObj);
41 // C++: static Ptr_ORB cv::ORB::create(int nfeatures = 500, float scaleFactor = 1.2f, int nlevels = 8, int edgeThreshold = 31, int firstLevel = 0, int WTA_K = 2, ORB_ScoreType scoreType = ORB::HARRIS_SCORE, int patchSize = 31, int fastThreshold = 20)
44 //javadoc: ORB::create(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel, WTA_K, scoreType, patchSize, fastThreshold)
45 public static ORB create(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel, int WTA_K, int scoreType, int patchSize, int fastThreshold)
48 ORB retVal = ORB.__fromPtr__(create_0(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel, WTA_K, scoreType, patchSize, fastThreshold));
53 //javadoc: ORB::create(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel, WTA_K, scoreType, patchSize)
54 public static ORB create(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel, int WTA_K, int scoreType, int patchSize)
57 ORB retVal = ORB.__fromPtr__(create_1(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel, WTA_K, scoreType, patchSize));
62 //javadoc: ORB::create(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel, WTA_K, scoreType)
63 public static ORB create(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel, int WTA_K, int scoreType)
66 ORB retVal = ORB.__fromPtr__(create_2(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel, WTA_K, scoreType));
71 //javadoc: ORB::create(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel, WTA_K)
72 public static ORB create(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel, int WTA_K)
75 ORB retVal = ORB.__fromPtr__(create_3(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel, WTA_K));
80 //javadoc: ORB::create(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel)
81 public static ORB create(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel)
84 ORB retVal = ORB.__fromPtr__(create_4(nfeatures, scaleFactor, nlevels, edgeThreshold, firstLevel));
89 //javadoc: ORB::create(nfeatures, scaleFactor, nlevels, edgeThreshold)
90 public static ORB create(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold)
93 ORB retVal = ORB.__fromPtr__(create_5(nfeatures, scaleFactor, nlevels, edgeThreshold));
98 //javadoc: ORB::create(nfeatures, scaleFactor, nlevels)
99 public static ORB create(int nfeatures, float scaleFactor, int nlevels)
102 ORB retVal = ORB.__fromPtr__(create_6(nfeatures, scaleFactor, nlevels));
107 //javadoc: ORB::create(nfeatures, scaleFactor)
108 public static ORB create(int nfeatures, float scaleFactor)
111 ORB retVal = ORB.__fromPtr__(create_7(nfeatures, scaleFactor));
116 //javadoc: ORB::create(nfeatures)
117 public static ORB create(int nfeatures)
120 ORB retVal = ORB.__fromPtr__(create_8(nfeatures));
125 //javadoc: ORB::create()
126 public static ORB create()
129 ORB retVal = ORB.__fromPtr__(create_9());
136 // C++: String cv::ORB::getDefaultName()
139 //javadoc: ORB::getDefaultName()
140 public String getDefaultName()
143 String retVal = getDefaultName_0(nativeObj);
150 // C++: double cv::ORB::getScaleFactor()
153 //javadoc: ORB::getScaleFactor()
154 public double getScaleFactor()
157 double retVal = getScaleFactor_0(nativeObj);
164 // C++: int cv::ORB::getEdgeThreshold()
167 //javadoc: ORB::getEdgeThreshold()
168 public int getEdgeThreshold()
171 int retVal = getEdgeThreshold_0(nativeObj);
178 // C++: int cv::ORB::getFastThreshold()
181 //javadoc: ORB::getFastThreshold()
182 public int getFastThreshold()
185 int retVal = getFastThreshold_0(nativeObj);
192 // C++: int cv::ORB::getFirstLevel()
195 //javadoc: ORB::getFirstLevel()
196 public int getFirstLevel()
199 int retVal = getFirstLevel_0(nativeObj);
206 // C++: int cv::ORB::getMaxFeatures()
209 //javadoc: ORB::getMaxFeatures()
210 public int getMaxFeatures()
213 int retVal = getMaxFeatures_0(nativeObj);
220 // C++: int cv::ORB::getNLevels()
223 //javadoc: ORB::getNLevels()
224 public int getNLevels()
227 int retVal = getNLevels_0(nativeObj);
234 // C++: int cv::ORB::getPatchSize()
237 //javadoc: ORB::getPatchSize()
238 public int getPatchSize()
241 int retVal = getPatchSize_0(nativeObj);
248 // C++: int cv::ORB::getWTA_K()
251 //javadoc: ORB::getWTA_K()
252 public int getWTA_K()
255 int retVal = getWTA_K_0(nativeObj);
262 // C++: void cv::ORB::setEdgeThreshold(int edgeThreshold)
265 //javadoc: ORB::setEdgeThreshold(edgeThreshold)
266 public void setEdgeThreshold(int edgeThreshold)
269 setEdgeThreshold_0(nativeObj, edgeThreshold);
276 // C++: void cv::ORB::setFastThreshold(int fastThreshold)
279 //javadoc: ORB::setFastThreshold(fastThreshold)
280 public void setFastThreshold(int fastThreshold)
283 setFastThreshold_0(nativeObj, fastThreshold);
290 // C++: void cv::ORB::setFirstLevel(int firstLevel)
293 //javadoc: ORB::setFirstLevel(firstLevel)
294 public void setFirstLevel(int firstLevel)
297 setFirstLevel_0(nativeObj, firstLevel);
304 // C++: void cv::ORB::setMaxFeatures(int maxFeatures)
307 //javadoc: ORB::setMaxFeatures(maxFeatures)
308 public void setMaxFeatures(int maxFeatures)
311 setMaxFeatures_0(nativeObj, maxFeatures);
318 // C++: void cv::ORB::setNLevels(int nlevels)
321 //javadoc: ORB::setNLevels(nlevels)
322 public void setNLevels(int nlevels)
325 setNLevels_0(nativeObj, nlevels);
332 // C++: void cv::ORB::setPatchSize(int patchSize)
335 //javadoc: ORB::setPatchSize(patchSize)
336 public void setPatchSize(int patchSize)
339 setPatchSize_0(nativeObj, patchSize);
346 // C++: void cv::ORB::setScaleFactor(double scaleFactor)
349 //javadoc: ORB::setScaleFactor(scaleFactor)
350 public void setScaleFactor(double scaleFactor)
353 setScaleFactor_0(nativeObj, scaleFactor);
360 // C++: void cv::ORB::setScoreType(ORB_ScoreType scoreType)
363 //javadoc: ORB::setScoreType(scoreType)
364 public void setScoreType(int scoreType)
367 setScoreType_0(nativeObj, scoreType);
374 // C++: void cv::ORB::setWTA_K(int wta_k)
377 //javadoc: ORB::setWTA_K(wta_k)
378 public void setWTA_K(int wta_k)
381 setWTA_K_0(nativeObj, wta_k);
388 protected void finalize() throws Throwable {
394 // C++: ORB_ScoreType cv::ORB::getScoreType()
395 private static native int getScoreType_0(long nativeObj);
397 // C++: static Ptr_ORB cv::ORB::create(int nfeatures = 500, float scaleFactor = 1.2f, int nlevels = 8, int edgeThreshold = 31, int firstLevel = 0, int WTA_K = 2, ORB_ScoreType scoreType = ORB::HARRIS_SCORE, int patchSize = 31, int fastThreshold = 20)
398 private static native long create_0(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel, int WTA_K, int scoreType, int patchSize, int fastThreshold);
399 private static native long create_1(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel, int WTA_K, int scoreType, int patchSize);
400 private static native long create_2(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel, int WTA_K, int scoreType);
401 private static native long create_3(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel, int WTA_K);
402 private static native long create_4(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold, int firstLevel);
403 private static native long create_5(int nfeatures, float scaleFactor, int nlevels, int edgeThreshold);
404 private static native long create_6(int nfeatures, float scaleFactor, int nlevels);
405 private static native long create_7(int nfeatures, float scaleFactor);
406 private static native long create_8(int nfeatures);
407 private static native long create_9();
409 // C++: String cv::ORB::getDefaultName()
410 private static native String getDefaultName_0(long nativeObj);
412 // C++: double cv::ORB::getScaleFactor()
413 private static native double getScaleFactor_0(long nativeObj);
415 // C++: int cv::ORB::getEdgeThreshold()
416 private static native int getEdgeThreshold_0(long nativeObj);
418 // C++: int cv::ORB::getFastThreshold()
419 private static native int getFastThreshold_0(long nativeObj);
421 // C++: int cv::ORB::getFirstLevel()
422 private static native int getFirstLevel_0(long nativeObj);
424 // C++: int cv::ORB::getMaxFeatures()
425 private static native int getMaxFeatures_0(long nativeObj);
427 // C++: int cv::ORB::getNLevels()
428 private static native int getNLevels_0(long nativeObj);
430 // C++: int cv::ORB::getPatchSize()
431 private static native int getPatchSize_0(long nativeObj);
433 // C++: int cv::ORB::getWTA_K()
434 private static native int getWTA_K_0(long nativeObj);
436 // C++: void cv::ORB::setEdgeThreshold(int edgeThreshold)
437 private static native void setEdgeThreshold_0(long nativeObj, int edgeThreshold);
439 // C++: void cv::ORB::setFastThreshold(int fastThreshold)
440 private static native void setFastThreshold_0(long nativeObj, int fastThreshold);
442 // C++: void cv::ORB::setFirstLevel(int firstLevel)
443 private static native void setFirstLevel_0(long nativeObj, int firstLevel);
445 // C++: void cv::ORB::setMaxFeatures(int maxFeatures)
446 private static native void setMaxFeatures_0(long nativeObj, int maxFeatures);
448 // C++: void cv::ORB::setNLevels(int nlevels)
449 private static native void setNLevels_0(long nativeObj, int nlevels);
451 // C++: void cv::ORB::setPatchSize(int patchSize)
452 private static native void setPatchSize_0(long nativeObj, int patchSize);
454 // C++: void cv::ORB::setScaleFactor(double scaleFactor)
455 private static native void setScaleFactor_0(long nativeObj, double scaleFactor);
457 // C++: void cv::ORB::setScoreType(ORB_ScoreType scoreType)
458 private static native void setScoreType_0(long nativeObj, int scoreType);
460 // C++: void cv::ORB::setWTA_K(int wta_k)
461 private static native void setWTA_K_0(long nativeObj, int wta_k);
463 // native support for java finalize()
464 private static native void delete(long nativeObj);