ORB.html 55 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_312) on Wed Jun 28 12:47:23 UTC 2023 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>ORB (OpenCV 4.8.0 Java documentation)</title>
  8. <meta name="date" content="2023-06-28">
  9. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  10. <script type="text/javascript" src="../../../script.js"></script>
  11. </head>
  12. <body>
  13. <script type="text/javascript"><!--
  14. try {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="ORB (OpenCV 4.8.0 Java documentation)";
  17. }
  18. }
  19. catch(err) {
  20. }
  21. //-->
  22. var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10};
  23. var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  24. var altColor = "altColor";
  25. var rowColor = "rowColor";
  26. var tableTab = "tableTab";
  27. var activeTableTab = "activeTableTab";
  28. </script>
  29. <noscript>
  30. <div>JavaScript is disabled on your browser.</div>
  31. </noscript>
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <div class="topNav"><a name="navbar.top">
  34. <!-- -->
  35. </a>
  36. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  37. <a name="navbar.top.firstrow">
  38. <!-- -->
  39. </a>
  40. <ul class="navList" title="Navigation">
  41. <li><a href="../../../overview-summary.html">Overview</a></li>
  42. <li><a href="package-summary.html">Package</a></li>
  43. <li class="navBarCell1Rev">Class</li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../../../index-all.html">Index</a></li>
  46. <li><a href="../../../help-doc.html">Help</a></li>
  47. </ul>
  48. <div class="aboutLanguage">
  49. <script>
  50. var url = window.location.href;
  51. var pos = url.lastIndexOf('/javadoc/');
  52. url = pos >= 0 ? (url.substring(0, pos) + '/javadoc/mymath.js') : (window.location.origin + '/mymath.js');
  53. var script = document.createElement('script');
  54. script.src = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML,' + url;
  55. document.getElementsByTagName('head')[0].appendChild(script);
  56. </script>
  57. </div>
  58. </div>
  59. <div class="subNav">
  60. <ul class="navList">
  61. <li><a href="../../../org/opencv/features2d/MSER.html" title="class in org.opencv.features2d"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  62. <li><a href="../../../org/opencv/features2d/SIFT.html" title="class in org.opencv.features2d"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  63. </ul>
  64. <ul class="navList">
  65. <li><a href="../../../index.html?org/opencv/features2d/ORB.html" target="_top">Frames</a></li>
  66. <li><a href="ORB.html" target="_top">No&nbsp;Frames</a></li>
  67. </ul>
  68. <ul class="navList" id="allclasses_navbar_top">
  69. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  70. </ul>
  71. <div>
  72. <script type="text/javascript"><!--
  73. allClassesLink = document.getElementById("allclasses_navbar_top");
  74. if(window==top) {
  75. allClassesLink.style.display = "block";
  76. }
  77. else {
  78. allClassesLink.style.display = "none";
  79. }
  80. //-->
  81. </script>
  82. </div>
  83. <div>
  84. <ul class="subNavList">
  85. <li>Summary:&nbsp;</li>
  86. <li>Nested&nbsp;|&nbsp;</li>
  87. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  88. <li>Constr&nbsp;|&nbsp;</li>
  89. <li><a href="#method.summary">Method</a></li>
  90. </ul>
  91. <ul class="subNavList">
  92. <li>Detail:&nbsp;</li>
  93. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  94. <li>Constr&nbsp;|&nbsp;</li>
  95. <li><a href="#method.detail">Method</a></li>
  96. </ul>
  97. </div>
  98. <a name="skip.navbar.top">
  99. <!-- -->
  100. </a></div>
  101. <!-- ========= END OF TOP NAVBAR ========= -->
  102. <!-- ======== START OF CLASS DATA ======== -->
  103. <div class="header">
  104. <div class="subTitle">org.opencv.features2d</div>
  105. <h2 title="Class ORB" class="title">Class ORB</h2>
  106. </div>
  107. <div class="contentContainer">
  108. <ul class="inheritance">
  109. <li>java.lang.Object</li>
  110. <li>
  111. <ul class="inheritance">
  112. <li><a href="../../../org/opencv/core/Algorithm.html" title="class in org.opencv.core">org.opencv.core.Algorithm</a></li>
  113. <li>
  114. <ul class="inheritance">
  115. <li><a href="../../../org/opencv/features2d/Feature2D.html" title="class in org.opencv.features2d">org.opencv.features2d.Feature2D</a></li>
  116. <li>
  117. <ul class="inheritance">
  118. <li>org.opencv.features2d.ORB</li>
  119. </ul>
  120. </li>
  121. </ul>
  122. </li>
  123. </ul>
  124. </li>
  125. </ul>
  126. <div class="description">
  127. <ul class="blockList">
  128. <li class="blockList">
  129. <hr>
  130. <br>
  131. <pre>public class <span class="typeNameLabel">ORB</span>
  132. extends <a href="../../../org/opencv/features2d/Feature2D.html" title="class in org.opencv.features2d">Feature2D</a></pre>
  133. <div class="block">Class implementing the ORB (*oriented BRIEF*) keypoint detector and descriptor extractor
  134. described in CITE: RRKB11 . The algorithm uses FAST in pyramids to detect stable keypoints, selects
  135. the strongest features using FAST or Harris response, finds their orientation using first-order
  136. moments and computes the descriptors using BRIEF (where the coordinates of random point pairs (or
  137. k-tuples) are rotated according to the measured orientation).</div>
  138. </li>
  139. </ul>
  140. </div>
  141. <div class="summary">
  142. <ul class="blockList">
  143. <li class="blockList">
  144. <!-- =========== FIELD SUMMARY =========== -->
  145. <ul class="blockList">
  146. <li class="blockList"><a name="field.summary">
  147. <!-- -->
  148. </a>
  149. <h3>Field Summary</h3>
  150. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  151. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  152. <tr>
  153. <th class="colFirst" scope="col">Modifier and Type</th>
  154. <th class="colLast" scope="col">Field and Description</th>
  155. </tr>
  156. <tr class="altColor">
  157. <td class="colFirst"><code>static int</code></td>
  158. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#FAST_SCORE">FAST_SCORE</a></span></code>&nbsp;</td>
  159. </tr>
  160. <tr class="rowColor">
  161. <td class="colFirst"><code>static int</code></td>
  162. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#HARRIS_SCORE">HARRIS_SCORE</a></span></code>&nbsp;</td>
  163. </tr>
  164. </table>
  165. </li>
  166. </ul>
  167. <!-- ========== METHOD SUMMARY =========== -->
  168. <ul class="blockList">
  169. <li class="blockList"><a name="method.summary">
  170. <!-- -->
  171. </a>
  172. <h3>Method Summary</h3>
  173. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  174. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  175. <tr>
  176. <th class="colFirst" scope="col">Modifier and Type</th>
  177. <th class="colLast" scope="col">Method and Description</th>
  178. </tr>
  179. <tr id="i0" class="altColor">
  180. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  181. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#Z:Z__fromPtr__-long-">__fromPtr__</a></span>(long&nbsp;addr)</code>&nbsp;</td>
  182. </tr>
  183. <tr id="i1" class="rowColor">
  184. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create--">create</a></span>()</code>
  186. <div class="block">The ORB constructor
  187. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  188. will degrade feature matching scores dramatically.</div>
  189. </td>
  190. </tr>
  191. <tr id="i2" class="altColor">
  192. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  193. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-">create</a></span>(int&nbsp;nfeatures)</code>
  194. <div class="block">The ORB constructor</div>
  195. </td>
  196. </tr>
  197. <tr id="i3" class="rowColor">
  198. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  199. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-float-">create</a></span>(int&nbsp;nfeatures,
  200. float&nbsp;scaleFactor)</code>
  201. <div class="block">The ORB constructor</div>
  202. </td>
  203. </tr>
  204. <tr id="i4" class="altColor">
  205. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  206. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-float-int-">create</a></span>(int&nbsp;nfeatures,
  207. float&nbsp;scaleFactor,
  208. int&nbsp;nlevels)</code>
  209. <div class="block">The ORB constructor</div>
  210. </td>
  211. </tr>
  212. <tr id="i5" class="rowColor">
  213. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  214. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-float-int-int-">create</a></span>(int&nbsp;nfeatures,
  215. float&nbsp;scaleFactor,
  216. int&nbsp;nlevels,
  217. int&nbsp;edgeThreshold)</code>
  218. <div class="block">The ORB constructor</div>
  219. </td>
  220. </tr>
  221. <tr id="i6" class="altColor">
  222. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  223. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-float-int-int-int-">create</a></span>(int&nbsp;nfeatures,
  224. float&nbsp;scaleFactor,
  225. int&nbsp;nlevels,
  226. int&nbsp;edgeThreshold,
  227. int&nbsp;firstLevel)</code>
  228. <div class="block">The ORB constructor</div>
  229. </td>
  230. </tr>
  231. <tr id="i7" class="rowColor">
  232. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  233. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-float-int-int-int-int-">create</a></span>(int&nbsp;nfeatures,
  234. float&nbsp;scaleFactor,
  235. int&nbsp;nlevels,
  236. int&nbsp;edgeThreshold,
  237. int&nbsp;firstLevel,
  238. int&nbsp;WTA_K)</code>
  239. <div class="block">The ORB constructor</div>
  240. </td>
  241. </tr>
  242. <tr id="i8" class="altColor">
  243. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  244. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-float-int-int-int-int-int-">create</a></span>(int&nbsp;nfeatures,
  245. float&nbsp;scaleFactor,
  246. int&nbsp;nlevels,
  247. int&nbsp;edgeThreshold,
  248. int&nbsp;firstLevel,
  249. int&nbsp;WTA_K,
  250. int&nbsp;scoreType)</code>
  251. <div class="block">The ORB constructor</div>
  252. </td>
  253. </tr>
  254. <tr id="i9" class="rowColor">
  255. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  256. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-float-int-int-int-int-int-int-">create</a></span>(int&nbsp;nfeatures,
  257. float&nbsp;scaleFactor,
  258. int&nbsp;nlevels,
  259. int&nbsp;edgeThreshold,
  260. int&nbsp;firstLevel,
  261. int&nbsp;WTA_K,
  262. int&nbsp;scoreType,
  263. int&nbsp;patchSize)</code>
  264. <div class="block">The ORB constructor</div>
  265. </td>
  266. </tr>
  267. <tr id="i10" class="altColor">
  268. <td class="colFirst"><code>static <a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a></code></td>
  269. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#create-int-float-int-int-int-int-int-int-int-">create</a></span>(int&nbsp;nfeatures,
  270. float&nbsp;scaleFactor,
  271. int&nbsp;nlevels,
  272. int&nbsp;edgeThreshold,
  273. int&nbsp;firstLevel,
  274. int&nbsp;WTA_K,
  275. int&nbsp;scoreType,
  276. int&nbsp;patchSize,
  277. int&nbsp;fastThreshold)</code>
  278. <div class="block">The ORB constructor</div>
  279. </td>
  280. </tr>
  281. <tr id="i11" class="rowColor">
  282. <td class="colFirst"><code>java.lang.String</code></td>
  283. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getDefaultName--">getDefaultName</a></span>()</code>
  284. <div class="block">Returns the algorithm string identifier.</div>
  285. </td>
  286. </tr>
  287. <tr id="i12" class="altColor">
  288. <td class="colFirst"><code>int</code></td>
  289. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getEdgeThreshold--">getEdgeThreshold</a></span>()</code>&nbsp;</td>
  290. </tr>
  291. <tr id="i13" class="rowColor">
  292. <td class="colFirst"><code>int</code></td>
  293. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getFastThreshold--">getFastThreshold</a></span>()</code>&nbsp;</td>
  294. </tr>
  295. <tr id="i14" class="altColor">
  296. <td class="colFirst"><code>int</code></td>
  297. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getFirstLevel--">getFirstLevel</a></span>()</code>&nbsp;</td>
  298. </tr>
  299. <tr id="i15" class="rowColor">
  300. <td class="colFirst"><code>int</code></td>
  301. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getMaxFeatures--">getMaxFeatures</a></span>()</code>&nbsp;</td>
  302. </tr>
  303. <tr id="i16" class="altColor">
  304. <td class="colFirst"><code>int</code></td>
  305. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getNLevels--">getNLevels</a></span>()</code>&nbsp;</td>
  306. </tr>
  307. <tr id="i17" class="rowColor">
  308. <td class="colFirst"><code>int</code></td>
  309. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getPatchSize--">getPatchSize</a></span>()</code>&nbsp;</td>
  310. </tr>
  311. <tr id="i18" class="altColor">
  312. <td class="colFirst"><code>double</code></td>
  313. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getScaleFactor--">getScaleFactor</a></span>()</code>&nbsp;</td>
  314. </tr>
  315. <tr id="i19" class="rowColor">
  316. <td class="colFirst"><code>int</code></td>
  317. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getScoreType--">getScoreType</a></span>()</code>&nbsp;</td>
  318. </tr>
  319. <tr id="i20" class="altColor">
  320. <td class="colFirst"><code>int</code></td>
  321. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#getWTA_K--">getWTA_K</a></span>()</code>&nbsp;</td>
  322. </tr>
  323. <tr id="i21" class="rowColor">
  324. <td class="colFirst"><code>void</code></td>
  325. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setEdgeThreshold-int-">setEdgeThreshold</a></span>(int&nbsp;edgeThreshold)</code>&nbsp;</td>
  326. </tr>
  327. <tr id="i22" class="altColor">
  328. <td class="colFirst"><code>void</code></td>
  329. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setFastThreshold-int-">setFastThreshold</a></span>(int&nbsp;fastThreshold)</code>&nbsp;</td>
  330. </tr>
  331. <tr id="i23" class="rowColor">
  332. <td class="colFirst"><code>void</code></td>
  333. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setFirstLevel-int-">setFirstLevel</a></span>(int&nbsp;firstLevel)</code>&nbsp;</td>
  334. </tr>
  335. <tr id="i24" class="altColor">
  336. <td class="colFirst"><code>void</code></td>
  337. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setMaxFeatures-int-">setMaxFeatures</a></span>(int&nbsp;maxFeatures)</code>&nbsp;</td>
  338. </tr>
  339. <tr id="i25" class="rowColor">
  340. <td class="colFirst"><code>void</code></td>
  341. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setNLevels-int-">setNLevels</a></span>(int&nbsp;nlevels)</code>&nbsp;</td>
  342. </tr>
  343. <tr id="i26" class="altColor">
  344. <td class="colFirst"><code>void</code></td>
  345. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setPatchSize-int-">setPatchSize</a></span>(int&nbsp;patchSize)</code>&nbsp;</td>
  346. </tr>
  347. <tr id="i27" class="rowColor">
  348. <td class="colFirst"><code>void</code></td>
  349. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setScaleFactor-double-">setScaleFactor</a></span>(double&nbsp;scaleFactor)</code>&nbsp;</td>
  350. </tr>
  351. <tr id="i28" class="altColor">
  352. <td class="colFirst"><code>void</code></td>
  353. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setScoreType-int-">setScoreType</a></span>(int&nbsp;scoreType)</code>&nbsp;</td>
  354. </tr>
  355. <tr id="i29" class="rowColor">
  356. <td class="colFirst"><code>void</code></td>
  357. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/features2d/ORB.html#setWTA_K-int-">setWTA_K</a></span>(int&nbsp;wta_k)</code>&nbsp;</td>
  358. </tr>
  359. </table>
  360. <ul class="blockList">
  361. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.features2d.Feature2D">
  362. <!-- -->
  363. </a>
  364. <h3>Methods inherited from class&nbsp;org.opencv.features2d.<a href="../../../org/opencv/features2d/Feature2D.html" title="class in org.opencv.features2d">Feature2D</a></h3>
  365. <code><a href="../../../org/opencv/features2d/Feature2D.html#compute-java.util.List-java.util.List-java.util.List-">compute</a>, <a href="../../../org/opencv/features2d/Feature2D.html#compute-org.opencv.core.Mat-org.opencv.core.MatOfKeyPoint-org.opencv.core.Mat-">compute</a>, <a href="../../../org/opencv/features2d/Feature2D.html#defaultNorm--">defaultNorm</a>, <a href="../../../org/opencv/features2d/Feature2D.html#descriptorSize--">descriptorSize</a>, <a href="../../../org/opencv/features2d/Feature2D.html#descriptorType--">descriptorType</a>, <a href="../../../org/opencv/features2d/Feature2D.html#detect-java.util.List-java.util.List-">detect</a>, <a href="../../../org/opencv/features2d/Feature2D.html#detect-java.util.List-java.util.List-java.util.List-">detect</a>, <a href="../../../org/opencv/features2d/Feature2D.html#detect-org.opencv.core.Mat-org.opencv.core.MatOfKeyPoint-">detect</a>, <a href="../../../org/opencv/features2d/Feature2D.html#detect-org.opencv.core.Mat-org.opencv.core.MatOfKeyPoint-org.opencv.core.Mat-">detect</a>, <a href="../../../org/opencv/features2d/Feature2D.html#detectAndCompute-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.MatOfKeyPoint-org.opencv.core.Mat-">detectAndCompute</a>, <a href="../../../org/opencv/features2d/Feature2D.html#detectAndCompute-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.MatOfKeyPoint-org.opencv.core.Mat-boolean-">detectAndCompute</a>, <a href="../../../org/opencv/features2d/Feature2D.html#empty--">empty</a>, <a href="../../../org/opencv/features2d/Feature2D.html#read-java.lang.String-">read</a>, <a href="../../../org/opencv/features2d/Feature2D.html#write-java.lang.String-">write</a></code></li>
  366. </ul>
  367. <ul class="blockList">
  368. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.core.Algorithm">
  369. <!-- -->
  370. </a>
  371. <h3>Methods inherited from class&nbsp;org.opencv.core.<a href="../../../org/opencv/core/Algorithm.html" title="class in org.opencv.core">Algorithm</a></h3>
  372. <code><a href="../../../org/opencv/core/Algorithm.html#clear--">clear</a>, <a href="../../../org/opencv/core/Algorithm.html#getNativeObjAddr--">getNativeObjAddr</a>, <a href="../../../org/opencv/core/Algorithm.html#save-java.lang.String-">save</a></code></li>
  373. </ul>
  374. <ul class="blockList">
  375. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  376. <!-- -->
  377. </a>
  378. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  379. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  380. </ul>
  381. </li>
  382. </ul>
  383. </li>
  384. </ul>
  385. </div>
  386. <div class="details">
  387. <ul class="blockList">
  388. <li class="blockList">
  389. <!-- ============ FIELD DETAIL =========== -->
  390. <ul class="blockList">
  391. <li class="blockList"><a name="field.detail">
  392. <!-- -->
  393. </a>
  394. <h3>Field Detail</h3>
  395. <a name="FAST_SCORE">
  396. <!-- -->
  397. </a>
  398. <ul class="blockList">
  399. <li class="blockList">
  400. <h4>FAST_SCORE</h4>
  401. <pre>public static final&nbsp;int FAST_SCORE</pre>
  402. <dl>
  403. <dt><span class="seeLabel">See Also:</span></dt>
  404. <dd><a href="../../../constant-values.html#org.opencv.features2d.ORB.FAST_SCORE">Constant Field Values</a></dd>
  405. </dl>
  406. </li>
  407. </ul>
  408. <a name="HARRIS_SCORE">
  409. <!-- -->
  410. </a>
  411. <ul class="blockListLast">
  412. <li class="blockList">
  413. <h4>HARRIS_SCORE</h4>
  414. <pre>public static final&nbsp;int HARRIS_SCORE</pre>
  415. <dl>
  416. <dt><span class="seeLabel">See Also:</span></dt>
  417. <dd><a href="../../../constant-values.html#org.opencv.features2d.ORB.HARRIS_SCORE">Constant Field Values</a></dd>
  418. </dl>
  419. </li>
  420. </ul>
  421. </li>
  422. </ul>
  423. <!-- ============ METHOD DETAIL ========== -->
  424. <ul class="blockList">
  425. <li class="blockList"><a name="method.detail">
  426. <!-- -->
  427. </a>
  428. <h3>Method Detail</h3>
  429. <a name="Z:Z__fromPtr__-long-">
  430. <!-- -->
  431. </a>
  432. <ul class="blockList">
  433. <li class="blockList">
  434. <h4>__fromPtr__</h4>
  435. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;__fromPtr__(long&nbsp;addr)</pre>
  436. </li>
  437. </ul>
  438. <a name="create--">
  439. <!-- -->
  440. </a>
  441. <ul class="blockList">
  442. <li class="blockList">
  443. <h4>create</h4>
  444. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create()</pre>
  445. <div class="block">The ORB constructor
  446. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  447. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  448. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  449. will suffer.
  450. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  451. roughly match the patchSize parameter.
  452. with upscaled source image.
  453. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  454. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  455. random points (of course, those point coordinates are random, but they are generated from the
  456. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  457. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  458. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  459. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  460. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  461. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  462. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  463. but it is a little faster to compute.
  464. pyramid layers the perceived image area covered by a feature will be larger.</div>
  465. <dl>
  466. <dt><span class="returnLabel">Returns:</span></dt>
  467. <dd>automatically generated</dd>
  468. </dl>
  469. </li>
  470. </ul>
  471. <a name="create-int-">
  472. <!-- -->
  473. </a>
  474. <ul class="blockList">
  475. <li class="blockList">
  476. <h4>create</h4>
  477. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures)</pre>
  478. <div class="block">The ORB constructor</div>
  479. <dl>
  480. <dt><span class="paramLabel">Parameters:</span></dt>
  481. <dd><code>nfeatures</code> - The maximum number of features to retain.
  482. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  483. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  484. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  485. will suffer.
  486. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  487. roughly match the patchSize parameter.
  488. with upscaled source image.
  489. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  490. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  491. random points (of course, those point coordinates are random, but they are generated from the
  492. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  493. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  494. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  495. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  496. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  497. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  498. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  499. but it is a little faster to compute.
  500. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  501. <dt><span class="returnLabel">Returns:</span></dt>
  502. <dd>automatically generated</dd>
  503. </dl>
  504. </li>
  505. </ul>
  506. <a name="create-int-float-">
  507. <!-- -->
  508. </a>
  509. <ul class="blockList">
  510. <li class="blockList">
  511. <h4>create</h4>
  512. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures,
  513. float&nbsp;scaleFactor)</pre>
  514. <div class="block">The ORB constructor</div>
  515. <dl>
  516. <dt><span class="paramLabel">Parameters:</span></dt>
  517. <dd><code>nfeatures</code> - The maximum number of features to retain.</dd>
  518. <dd><code>scaleFactor</code> - Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  519. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  520. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  521. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  522. will suffer.
  523. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  524. roughly match the patchSize parameter.
  525. with upscaled source image.
  526. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  527. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  528. random points (of course, those point coordinates are random, but they are generated from the
  529. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  530. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  531. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  532. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  533. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  534. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  535. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  536. but it is a little faster to compute.
  537. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  538. <dt><span class="returnLabel">Returns:</span></dt>
  539. <dd>automatically generated</dd>
  540. </dl>
  541. </li>
  542. </ul>
  543. <a name="create-int-float-int-">
  544. <!-- -->
  545. </a>
  546. <ul class="blockList">
  547. <li class="blockList">
  548. <h4>create</h4>
  549. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures,
  550. float&nbsp;scaleFactor,
  551. int&nbsp;nlevels)</pre>
  552. <div class="block">The ORB constructor</div>
  553. <dl>
  554. <dt><span class="paramLabel">Parameters:</span></dt>
  555. <dd><code>nfeatures</code> - The maximum number of features to retain.</dd>
  556. <dd><code>scaleFactor</code> - Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  557. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  558. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  559. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  560. will suffer.</dd>
  561. <dd><code>nlevels</code> - The number of pyramid levels. The smallest level will have linear size equal to
  562. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  563. roughly match the patchSize parameter.
  564. with upscaled source image.
  565. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  566. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  567. random points (of course, those point coordinates are random, but they are generated from the
  568. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  569. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  570. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  571. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  572. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  573. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  574. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  575. but it is a little faster to compute.
  576. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  577. <dt><span class="returnLabel">Returns:</span></dt>
  578. <dd>automatically generated</dd>
  579. </dl>
  580. </li>
  581. </ul>
  582. <a name="create-int-float-int-int-">
  583. <!-- -->
  584. </a>
  585. <ul class="blockList">
  586. <li class="blockList">
  587. <h4>create</h4>
  588. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures,
  589. float&nbsp;scaleFactor,
  590. int&nbsp;nlevels,
  591. int&nbsp;edgeThreshold)</pre>
  592. <div class="block">The ORB constructor</div>
  593. <dl>
  594. <dt><span class="paramLabel">Parameters:</span></dt>
  595. <dd><code>nfeatures</code> - The maximum number of features to retain.</dd>
  596. <dd><code>scaleFactor</code> - Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  597. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  598. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  599. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  600. will suffer.</dd>
  601. <dd><code>nlevels</code> - The number of pyramid levels. The smallest level will have linear size equal to
  602. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).</dd>
  603. <dd><code>edgeThreshold</code> - This is size of the border where the features are not detected. It should
  604. roughly match the patchSize parameter.
  605. with upscaled source image.
  606. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  607. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  608. random points (of course, those point coordinates are random, but they are generated from the
  609. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  610. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  611. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  612. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  613. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  614. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  615. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  616. but it is a little faster to compute.
  617. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  618. <dt><span class="returnLabel">Returns:</span></dt>
  619. <dd>automatically generated</dd>
  620. </dl>
  621. </li>
  622. </ul>
  623. <a name="create-int-float-int-int-int-">
  624. <!-- -->
  625. </a>
  626. <ul class="blockList">
  627. <li class="blockList">
  628. <h4>create</h4>
  629. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures,
  630. float&nbsp;scaleFactor,
  631. int&nbsp;nlevels,
  632. int&nbsp;edgeThreshold,
  633. int&nbsp;firstLevel)</pre>
  634. <div class="block">The ORB constructor</div>
  635. <dl>
  636. <dt><span class="paramLabel">Parameters:</span></dt>
  637. <dd><code>nfeatures</code> - The maximum number of features to retain.</dd>
  638. <dd><code>scaleFactor</code> - Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  639. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  640. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  641. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  642. will suffer.</dd>
  643. <dd><code>nlevels</code> - The number of pyramid levels. The smallest level will have linear size equal to
  644. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).</dd>
  645. <dd><code>edgeThreshold</code> - This is size of the border where the features are not detected. It should
  646. roughly match the patchSize parameter.</dd>
  647. <dd><code>firstLevel</code> - The level of pyramid to put source image to. Previous layers are filled
  648. with upscaled source image.
  649. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  650. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  651. random points (of course, those point coordinates are random, but they are generated from the
  652. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  653. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  654. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  655. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  656. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  657. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  658. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  659. but it is a little faster to compute.
  660. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  661. <dt><span class="returnLabel">Returns:</span></dt>
  662. <dd>automatically generated</dd>
  663. </dl>
  664. </li>
  665. </ul>
  666. <a name="create-int-float-int-int-int-int-">
  667. <!-- -->
  668. </a>
  669. <ul class="blockList">
  670. <li class="blockList">
  671. <h4>create</h4>
  672. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures,
  673. float&nbsp;scaleFactor,
  674. int&nbsp;nlevels,
  675. int&nbsp;edgeThreshold,
  676. int&nbsp;firstLevel,
  677. int&nbsp;WTA_K)</pre>
  678. <div class="block">The ORB constructor</div>
  679. <dl>
  680. <dt><span class="paramLabel">Parameters:</span></dt>
  681. <dd><code>nfeatures</code> - The maximum number of features to retain.</dd>
  682. <dd><code>scaleFactor</code> - Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  683. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  684. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  685. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  686. will suffer.</dd>
  687. <dd><code>nlevels</code> - The number of pyramid levels. The smallest level will have linear size equal to
  688. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).</dd>
  689. <dd><code>edgeThreshold</code> - This is size of the border where the features are not detected. It should
  690. roughly match the patchSize parameter.</dd>
  691. <dd><code>firstLevel</code> - The level of pyramid to put source image to. Previous layers are filled
  692. with upscaled source image.</dd>
  693. <dd><code>WTA_K</code> - The number of points that produce each element of the oriented BRIEF descriptor. The
  694. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  695. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  696. random points (of course, those point coordinates are random, but they are generated from the
  697. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  698. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  699. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  700. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  701. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  702. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  703. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  704. but it is a little faster to compute.
  705. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  706. <dt><span class="returnLabel">Returns:</span></dt>
  707. <dd>automatically generated</dd>
  708. </dl>
  709. </li>
  710. </ul>
  711. <a name="create-int-float-int-int-int-int-int-">
  712. <!-- -->
  713. </a>
  714. <ul class="blockList">
  715. <li class="blockList">
  716. <h4>create</h4>
  717. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures,
  718. float&nbsp;scaleFactor,
  719. int&nbsp;nlevels,
  720. int&nbsp;edgeThreshold,
  721. int&nbsp;firstLevel,
  722. int&nbsp;WTA_K,
  723. int&nbsp;scoreType)</pre>
  724. <div class="block">The ORB constructor</div>
  725. <dl>
  726. <dt><span class="paramLabel">Parameters:</span></dt>
  727. <dd><code>nfeatures</code> - The maximum number of features to retain.</dd>
  728. <dd><code>scaleFactor</code> - Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  729. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  730. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  731. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  732. will suffer.</dd>
  733. <dd><code>nlevels</code> - The number of pyramid levels. The smallest level will have linear size equal to
  734. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).</dd>
  735. <dd><code>edgeThreshold</code> - This is size of the border where the features are not detected. It should
  736. roughly match the patchSize parameter.</dd>
  737. <dd><code>firstLevel</code> - The level of pyramid to put source image to. Previous layers are filled
  738. with upscaled source image.</dd>
  739. <dd><code>WTA_K</code> - The number of points that produce each element of the oriented BRIEF descriptor. The
  740. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  741. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  742. random points (of course, those point coordinates are random, but they are generated from the
  743. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  744. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  745. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  746. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  747. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).</dd>
  748. <dd><code>scoreType</code> - The default HARRIS_SCORE means that Harris algorithm is used to rank features
  749. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  750. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  751. but it is a little faster to compute.
  752. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  753. <dt><span class="returnLabel">Returns:</span></dt>
  754. <dd>automatically generated</dd>
  755. </dl>
  756. </li>
  757. </ul>
  758. <a name="create-int-float-int-int-int-int-int-int-">
  759. <!-- -->
  760. </a>
  761. <ul class="blockList">
  762. <li class="blockList">
  763. <h4>create</h4>
  764. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures,
  765. float&nbsp;scaleFactor,
  766. int&nbsp;nlevels,
  767. int&nbsp;edgeThreshold,
  768. int&nbsp;firstLevel,
  769. int&nbsp;WTA_K,
  770. int&nbsp;scoreType,
  771. int&nbsp;patchSize)</pre>
  772. <div class="block">The ORB constructor</div>
  773. <dl>
  774. <dt><span class="paramLabel">Parameters:</span></dt>
  775. <dd><code>nfeatures</code> - The maximum number of features to retain.</dd>
  776. <dd><code>scaleFactor</code> - Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  777. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  778. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  779. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  780. will suffer.</dd>
  781. <dd><code>nlevels</code> - The number of pyramid levels. The smallest level will have linear size equal to
  782. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).</dd>
  783. <dd><code>edgeThreshold</code> - This is size of the border where the features are not detected. It should
  784. roughly match the patchSize parameter.</dd>
  785. <dd><code>firstLevel</code> - The level of pyramid to put source image to. Previous layers are filled
  786. with upscaled source image.</dd>
  787. <dd><code>WTA_K</code> - The number of points that produce each element of the oriented BRIEF descriptor. The
  788. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  789. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  790. random points (of course, those point coordinates are random, but they are generated from the
  791. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  792. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  793. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  794. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  795. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).</dd>
  796. <dd><code>scoreType</code> - The default HARRIS_SCORE means that Harris algorithm is used to rank features
  797. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  798. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  799. but it is a little faster to compute.</dd>
  800. <dd><code>patchSize</code> - size of the patch used by the oriented BRIEF descriptor. Of course, on smaller
  801. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  802. <dt><span class="returnLabel">Returns:</span></dt>
  803. <dd>automatically generated</dd>
  804. </dl>
  805. </li>
  806. </ul>
  807. <a name="create-int-float-int-int-int-int-int-int-int-">
  808. <!-- -->
  809. </a>
  810. <ul class="blockList">
  811. <li class="blockList">
  812. <h4>create</h4>
  813. <pre>public static&nbsp;<a href="../../../org/opencv/features2d/ORB.html" title="class in org.opencv.features2d">ORB</a>&nbsp;create(int&nbsp;nfeatures,
  814. float&nbsp;scaleFactor,
  815. int&nbsp;nlevels,
  816. int&nbsp;edgeThreshold,
  817. int&nbsp;firstLevel,
  818. int&nbsp;WTA_K,
  819. int&nbsp;scoreType,
  820. int&nbsp;patchSize,
  821. int&nbsp;fastThreshold)</pre>
  822. <div class="block">The ORB constructor</div>
  823. <dl>
  824. <dt><span class="paramLabel">Parameters:</span></dt>
  825. <dd><code>nfeatures</code> - The maximum number of features to retain.</dd>
  826. <dd><code>scaleFactor</code> - Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  827. pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  828. will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  829. will mean that to cover certain scale range you will need more pyramid levels and so the speed
  830. will suffer.</dd>
  831. <dd><code>nlevels</code> - The number of pyramid levels. The smallest level will have linear size equal to
  832. input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).</dd>
  833. <dd><code>edgeThreshold</code> - This is size of the border where the features are not detected. It should
  834. roughly match the patchSize parameter.</dd>
  835. <dd><code>firstLevel</code> - The level of pyramid to put source image to. Previous layers are filled
  836. with upscaled source image.</dd>
  837. <dd><code>WTA_K</code> - The number of points that produce each element of the oriented BRIEF descriptor. The
  838. default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  839. so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  840. random points (of course, those point coordinates are random, but they are generated from the
  841. pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  842. rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  843. output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  844. denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  845. bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).</dd>
  846. <dd><code>scoreType</code> - The default HARRIS_SCORE means that Harris algorithm is used to rank features
  847. (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  848. FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  849. but it is a little faster to compute.</dd>
  850. <dd><code>patchSize</code> - size of the patch used by the oriented BRIEF descriptor. Of course, on smaller
  851. pyramid layers the perceived image area covered by a feature will be larger.</dd>
  852. <dd><code>fastThreshold</code> - the fast threshold</dd>
  853. <dt><span class="returnLabel">Returns:</span></dt>
  854. <dd>automatically generated</dd>
  855. </dl>
  856. </li>
  857. </ul>
  858. <a name="getDefaultName--">
  859. <!-- -->
  860. </a>
  861. <ul class="blockList">
  862. <li class="blockList">
  863. <h4>getDefaultName</h4>
  864. <pre>public&nbsp;java.lang.String&nbsp;getDefaultName()</pre>
  865. <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../org/opencv/core/Algorithm.html#getDefaultName--">Algorithm</a></code></span></div>
  866. <div class="block">Returns the algorithm string identifier.
  867. This string is used as top level xml/yml node tag when the object is saved to a file or string.</div>
  868. <dl>
  869. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  870. <dd><code><a href="../../../org/opencv/features2d/Feature2D.html#getDefaultName--">getDefaultName</a></code>&nbsp;in class&nbsp;<code><a href="../../../org/opencv/features2d/Feature2D.html" title="class in org.opencv.features2d">Feature2D</a></code></dd>
  871. <dt><span class="returnLabel">Returns:</span></dt>
  872. <dd>automatically generated</dd>
  873. </dl>
  874. </li>
  875. </ul>
  876. <a name="getEdgeThreshold--">
  877. <!-- -->
  878. </a>
  879. <ul class="blockList">
  880. <li class="blockList">
  881. <h4>getEdgeThreshold</h4>
  882. <pre>public&nbsp;int&nbsp;getEdgeThreshold()</pre>
  883. </li>
  884. </ul>
  885. <a name="getFastThreshold--">
  886. <!-- -->
  887. </a>
  888. <ul class="blockList">
  889. <li class="blockList">
  890. <h4>getFastThreshold</h4>
  891. <pre>public&nbsp;int&nbsp;getFastThreshold()</pre>
  892. </li>
  893. </ul>
  894. <a name="getFirstLevel--">
  895. <!-- -->
  896. </a>
  897. <ul class="blockList">
  898. <li class="blockList">
  899. <h4>getFirstLevel</h4>
  900. <pre>public&nbsp;int&nbsp;getFirstLevel()</pre>
  901. </li>
  902. </ul>
  903. <a name="getMaxFeatures--">
  904. <!-- -->
  905. </a>
  906. <ul class="blockList">
  907. <li class="blockList">
  908. <h4>getMaxFeatures</h4>
  909. <pre>public&nbsp;int&nbsp;getMaxFeatures()</pre>
  910. </li>
  911. </ul>
  912. <a name="getNLevels--">
  913. <!-- -->
  914. </a>
  915. <ul class="blockList">
  916. <li class="blockList">
  917. <h4>getNLevels</h4>
  918. <pre>public&nbsp;int&nbsp;getNLevels()</pre>
  919. </li>
  920. </ul>
  921. <a name="getPatchSize--">
  922. <!-- -->
  923. </a>
  924. <ul class="blockList">
  925. <li class="blockList">
  926. <h4>getPatchSize</h4>
  927. <pre>public&nbsp;int&nbsp;getPatchSize()</pre>
  928. </li>
  929. </ul>
  930. <a name="getScaleFactor--">
  931. <!-- -->
  932. </a>
  933. <ul class="blockList">
  934. <li class="blockList">
  935. <h4>getScaleFactor</h4>
  936. <pre>public&nbsp;double&nbsp;getScaleFactor()</pre>
  937. </li>
  938. </ul>
  939. <a name="getScoreType--">
  940. <!-- -->
  941. </a>
  942. <ul class="blockList">
  943. <li class="blockList">
  944. <h4>getScoreType</h4>
  945. <pre>public&nbsp;int&nbsp;getScoreType()</pre>
  946. </li>
  947. </ul>
  948. <a name="getWTA_K--">
  949. <!-- -->
  950. </a>
  951. <ul class="blockList">
  952. <li class="blockList">
  953. <h4>getWTA_K</h4>
  954. <pre>public&nbsp;int&nbsp;getWTA_K()</pre>
  955. </li>
  956. </ul>
  957. <a name="setEdgeThreshold-int-">
  958. <!-- -->
  959. </a>
  960. <ul class="blockList">
  961. <li class="blockList">
  962. <h4>setEdgeThreshold</h4>
  963. <pre>public&nbsp;void&nbsp;setEdgeThreshold(int&nbsp;edgeThreshold)</pre>
  964. </li>
  965. </ul>
  966. <a name="setFastThreshold-int-">
  967. <!-- -->
  968. </a>
  969. <ul class="blockList">
  970. <li class="blockList">
  971. <h4>setFastThreshold</h4>
  972. <pre>public&nbsp;void&nbsp;setFastThreshold(int&nbsp;fastThreshold)</pre>
  973. </li>
  974. </ul>
  975. <a name="setFirstLevel-int-">
  976. <!-- -->
  977. </a>
  978. <ul class="blockList">
  979. <li class="blockList">
  980. <h4>setFirstLevel</h4>
  981. <pre>public&nbsp;void&nbsp;setFirstLevel(int&nbsp;firstLevel)</pre>
  982. </li>
  983. </ul>
  984. <a name="setMaxFeatures-int-">
  985. <!-- -->
  986. </a>
  987. <ul class="blockList">
  988. <li class="blockList">
  989. <h4>setMaxFeatures</h4>
  990. <pre>public&nbsp;void&nbsp;setMaxFeatures(int&nbsp;maxFeatures)</pre>
  991. </li>
  992. </ul>
  993. <a name="setNLevels-int-">
  994. <!-- -->
  995. </a>
  996. <ul class="blockList">
  997. <li class="blockList">
  998. <h4>setNLevels</h4>
  999. <pre>public&nbsp;void&nbsp;setNLevels(int&nbsp;nlevels)</pre>
  1000. </li>
  1001. </ul>
  1002. <a name="setPatchSize-int-">
  1003. <!-- -->
  1004. </a>
  1005. <ul class="blockList">
  1006. <li class="blockList">
  1007. <h4>setPatchSize</h4>
  1008. <pre>public&nbsp;void&nbsp;setPatchSize(int&nbsp;patchSize)</pre>
  1009. </li>
  1010. </ul>
  1011. <a name="setScaleFactor-double-">
  1012. <!-- -->
  1013. </a>
  1014. <ul class="blockList">
  1015. <li class="blockList">
  1016. <h4>setScaleFactor</h4>
  1017. <pre>public&nbsp;void&nbsp;setScaleFactor(double&nbsp;scaleFactor)</pre>
  1018. </li>
  1019. </ul>
  1020. <a name="setScoreType-int-">
  1021. <!-- -->
  1022. </a>
  1023. <ul class="blockList">
  1024. <li class="blockList">
  1025. <h4>setScoreType</h4>
  1026. <pre>public&nbsp;void&nbsp;setScoreType(int&nbsp;scoreType)</pre>
  1027. </li>
  1028. </ul>
  1029. <a name="setWTA_K-int-">
  1030. <!-- -->
  1031. </a>
  1032. <ul class="blockListLast">
  1033. <li class="blockList">
  1034. <h4>setWTA_K</h4>
  1035. <pre>public&nbsp;void&nbsp;setWTA_K(int&nbsp;wta_k)</pre>
  1036. </li>
  1037. </ul>
  1038. </li>
  1039. </ul>
  1040. </li>
  1041. </ul>
  1042. </div>
  1043. </div>
  1044. <!-- ========= END OF CLASS DATA ========= -->
  1045. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  1046. <div class="bottomNav"><a name="navbar.bottom">
  1047. <!-- -->
  1048. </a>
  1049. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  1050. <a name="navbar.bottom.firstrow">
  1051. <!-- -->
  1052. </a>
  1053. <ul class="navList" title="Navigation">
  1054. <li><a href="../../../overview-summary.html">Overview</a></li>
  1055. <li><a href="package-summary.html">Package</a></li>
  1056. <li class="navBarCell1Rev">Class</li>
  1057. <li><a href="package-tree.html">Tree</a></li>
  1058. <li><a href="../../../index-all.html">Index</a></li>
  1059. <li><a href="../../../help-doc.html">Help</a></li>
  1060. </ul>
  1061. <div class="aboutLanguage">
  1062. <script>
  1063. var url = window.location.href;
  1064. var pos = url.lastIndexOf('/javadoc/');
  1065. url = pos >= 0 ? (url.substring(0, pos) + '/javadoc/mymath.js') : (window.location.origin + '/mymath.js');
  1066. var script = document.createElement('script');
  1067. script.src = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML,' + url;
  1068. document.getElementsByTagName('head')[0].appendChild(script);
  1069. </script>
  1070. </div>
  1071. </div>
  1072. <div class="subNav">
  1073. <ul class="navList">
  1074. <li><a href="../../../org/opencv/features2d/MSER.html" title="class in org.opencv.features2d"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  1075. <li><a href="../../../org/opencv/features2d/SIFT.html" title="class in org.opencv.features2d"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  1076. </ul>
  1077. <ul class="navList">
  1078. <li><a href="../../../index.html?org/opencv/features2d/ORB.html" target="_top">Frames</a></li>
  1079. <li><a href="ORB.html" target="_top">No&nbsp;Frames</a></li>
  1080. </ul>
  1081. <ul class="navList" id="allclasses_navbar_bottom">
  1082. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  1083. </ul>
  1084. <div>
  1085. <script type="text/javascript"><!--
  1086. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  1087. if(window==top) {
  1088. allClassesLink.style.display = "block";
  1089. }
  1090. else {
  1091. allClassesLink.style.display = "none";
  1092. }
  1093. //-->
  1094. </script>
  1095. </div>
  1096. <div>
  1097. <ul class="subNavList">
  1098. <li>Summary:&nbsp;</li>
  1099. <li>Nested&nbsp;|&nbsp;</li>
  1100. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  1101. <li>Constr&nbsp;|&nbsp;</li>
  1102. <li><a href="#method.summary">Method</a></li>
  1103. </ul>
  1104. <ul class="subNavList">
  1105. <li>Detail:&nbsp;</li>
  1106. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  1107. <li>Constr&nbsp;|&nbsp;</li>
  1108. <li><a href="#method.detail">Method</a></li>
  1109. </ul>
  1110. </div>
  1111. <a name="skip.navbar.bottom">
  1112. <!-- -->
  1113. </a></div>
  1114. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1115. <p class="legalCopy"><small>Generated on 2023-06-28 12:47:21 / OpenCV 4.8.0</small></p>
  1116. </body>
  1117. </html>