DMatch.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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_65) on Fri Dec 18 18:19:51 MSK 2015 -->
  6. <title>DMatch</title>
  7. <meta name="date" content="2015-12-18">
  8. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="DMatch";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../index-all.html">Index</a></li>
  45. <li><a href="../../../help-doc.html">Help</a></li>
  46. </ul>
  47. <div class="aboutLanguage">OpenCV 3.1.0</div>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../org/opencv/core/CvType.html" title="class in org.opencv.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/core/KeyPoint.html" title="class in org.opencv.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/core/DMatch.html" target="_top">Frames</a></li>
  56. <li><a href="DMatch.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">org.opencv.core</div>
  95. <h2 title="Class DMatch" class="title">Class DMatch</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li>java.lang.Object</li>
  100. <li>
  101. <ul class="inheritance">
  102. <li>org.opencv.core.DMatch</li>
  103. </ul>
  104. </li>
  105. </ul>
  106. <div class="description">
  107. <ul class="blockList">
  108. <li class="blockList">
  109. <hr>
  110. <br>
  111. <pre>public class <span class="typeNameLabel">DMatch</span>
  112. extends java.lang.Object</pre>
  113. <div class="block">Structure for matching: query descriptor index, train descriptor index, train
  114. image index and distance between descriptors.</div>
  115. </li>
  116. </ul>
  117. </div>
  118. <div class="summary">
  119. <ul class="blockList">
  120. <li class="blockList">
  121. <!-- =========== FIELD SUMMARY =========== -->
  122. <ul class="blockList">
  123. <li class="blockList"><a name="field.summary">
  124. <!-- -->
  125. </a>
  126. <h3>Field Summary</h3>
  127. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  128. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  129. <tr>
  130. <th class="colFirst" scope="col">Modifier and Type</th>
  131. <th class="colLast" scope="col">Field and Description</th>
  132. </tr>
  133. <tr class="altColor">
  134. <td class="colFirst"><code>float</code></td>
  135. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#distance">distance</a></span></code>&nbsp;</td>
  136. </tr>
  137. <tr class="rowColor">
  138. <td class="colFirst"><code>int</code></td>
  139. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#imgIdx">imgIdx</a></span></code>
  140. <div class="block">Train image index.</div>
  141. </td>
  142. </tr>
  143. <tr class="altColor">
  144. <td class="colFirst"><code>int</code></td>
  145. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#queryIdx">queryIdx</a></span></code>
  146. <div class="block">Query descriptor index.</div>
  147. </td>
  148. </tr>
  149. <tr class="rowColor">
  150. <td class="colFirst"><code>int</code></td>
  151. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#trainIdx">trainIdx</a></span></code>
  152. <div class="block">Train descriptor index.</div>
  153. </td>
  154. </tr>
  155. </table>
  156. </li>
  157. </ul>
  158. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  159. <ul class="blockList">
  160. <li class="blockList"><a name="constructor.summary">
  161. <!-- -->
  162. </a>
  163. <h3>Constructor Summary</h3>
  164. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  165. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  166. <tr>
  167. <th class="colOne" scope="col">Constructor and Description</th>
  168. </tr>
  169. <tr class="altColor">
  170. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#DMatch--">DMatch</a></span>()</code>&nbsp;</td>
  171. </tr>
  172. <tr class="rowColor">
  173. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#DMatch-int-int-float-">DMatch</a></span>(int&nbsp;_queryIdx,
  174. int&nbsp;_trainIdx,
  175. float&nbsp;_distance)</code>&nbsp;</td>
  176. </tr>
  177. <tr class="altColor">
  178. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#DMatch-int-int-int-float-">DMatch</a></span>(int&nbsp;_queryIdx,
  179. int&nbsp;_trainIdx,
  180. int&nbsp;_imgIdx,
  181. float&nbsp;_distance)</code>&nbsp;</td>
  182. </tr>
  183. </table>
  184. </li>
  185. </ul>
  186. <!-- ========== METHOD SUMMARY =========== -->
  187. <ul class="blockList">
  188. <li class="blockList"><a name="method.summary">
  189. <!-- -->
  190. </a>
  191. <h3>Method Summary</h3>
  192. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  193. <caption><span id="t0" class="activeTableTab"><span>All Methods</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>
  194. <tr>
  195. <th class="colFirst" scope="col">Modifier and Type</th>
  196. <th class="colLast" scope="col">Method and Description</th>
  197. </tr>
  198. <tr id="i0" class="altColor">
  199. <td class="colFirst"><code>boolean</code></td>
  200. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#lessThan-org.opencv.core.DMatch-">lessThan</a></span>(<a href="../../../org/opencv/core/DMatch.html" title="class in org.opencv.core">DMatch</a>&nbsp;it)</code>
  201. <div class="block">Less is better.</div>
  202. </td>
  203. </tr>
  204. <tr id="i1" class="rowColor">
  205. <td class="colFirst"><code>java.lang.String</code></td>
  206. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/DMatch.html#toString--">toString</a></span>()</code>&nbsp;</td>
  207. </tr>
  208. </table>
  209. <ul class="blockList">
  210. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  211. <!-- -->
  212. </a>
  213. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  214. <code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  215. </ul>
  216. </li>
  217. </ul>
  218. </li>
  219. </ul>
  220. </div>
  221. <div class="details">
  222. <ul class="blockList">
  223. <li class="blockList">
  224. <!-- ============ FIELD DETAIL =========== -->
  225. <ul class="blockList">
  226. <li class="blockList"><a name="field.detail">
  227. <!-- -->
  228. </a>
  229. <h3>Field Detail</h3>
  230. <a name="distance">
  231. <!-- -->
  232. </a>
  233. <ul class="blockList">
  234. <li class="blockList">
  235. <h4>distance</h4>
  236. <pre>public&nbsp;float distance</pre>
  237. </li>
  238. </ul>
  239. <a name="imgIdx">
  240. <!-- -->
  241. </a>
  242. <ul class="blockList">
  243. <li class="blockList">
  244. <h4>imgIdx</h4>
  245. <pre>public&nbsp;int imgIdx</pre>
  246. <div class="block">Train image index.</div>
  247. </li>
  248. </ul>
  249. <a name="queryIdx">
  250. <!-- -->
  251. </a>
  252. <ul class="blockList">
  253. <li class="blockList">
  254. <h4>queryIdx</h4>
  255. <pre>public&nbsp;int queryIdx</pre>
  256. <div class="block">Query descriptor index.</div>
  257. </li>
  258. </ul>
  259. <a name="trainIdx">
  260. <!-- -->
  261. </a>
  262. <ul class="blockListLast">
  263. <li class="blockList">
  264. <h4>trainIdx</h4>
  265. <pre>public&nbsp;int trainIdx</pre>
  266. <div class="block">Train descriptor index.</div>
  267. </li>
  268. </ul>
  269. </li>
  270. </ul>
  271. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  272. <ul class="blockList">
  273. <li class="blockList"><a name="constructor.detail">
  274. <!-- -->
  275. </a>
  276. <h3>Constructor Detail</h3>
  277. <a name="DMatch--">
  278. <!-- -->
  279. </a>
  280. <ul class="blockList">
  281. <li class="blockList">
  282. <h4>DMatch</h4>
  283. <pre>public&nbsp;DMatch()</pre>
  284. </li>
  285. </ul>
  286. <a name="DMatch-int-int-float-">
  287. <!-- -->
  288. </a>
  289. <ul class="blockList">
  290. <li class="blockList">
  291. <h4>DMatch</h4>
  292. <pre>public&nbsp;DMatch(int&nbsp;_queryIdx,
  293. int&nbsp;_trainIdx,
  294. float&nbsp;_distance)</pre>
  295. </li>
  296. </ul>
  297. <a name="DMatch-int-int-int-float-">
  298. <!-- -->
  299. </a>
  300. <ul class="blockListLast">
  301. <li class="blockList">
  302. <h4>DMatch</h4>
  303. <pre>public&nbsp;DMatch(int&nbsp;_queryIdx,
  304. int&nbsp;_trainIdx,
  305. int&nbsp;_imgIdx,
  306. float&nbsp;_distance)</pre>
  307. </li>
  308. </ul>
  309. </li>
  310. </ul>
  311. <!-- ============ METHOD DETAIL ========== -->
  312. <ul class="blockList">
  313. <li class="blockList"><a name="method.detail">
  314. <!-- -->
  315. </a>
  316. <h3>Method Detail</h3>
  317. <a name="lessThan-org.opencv.core.DMatch-">
  318. <!-- -->
  319. </a>
  320. <ul class="blockList">
  321. <li class="blockList">
  322. <h4>lessThan</h4>
  323. <pre>public&nbsp;boolean&nbsp;lessThan(<a href="../../../org/opencv/core/DMatch.html" title="class in org.opencv.core">DMatch</a>&nbsp;it)</pre>
  324. <div class="block">Less is better.</div>
  325. </li>
  326. </ul>
  327. <a name="toString--">
  328. <!-- -->
  329. </a>
  330. <ul class="blockListLast">
  331. <li class="blockList">
  332. <h4>toString</h4>
  333. <pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
  334. <dl>
  335. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  336. <dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  337. </dl>
  338. </li>
  339. </ul>
  340. </li>
  341. </ul>
  342. </li>
  343. </ul>
  344. </div>
  345. </div>
  346. <!-- ========= END OF CLASS DATA ========= -->
  347. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  348. <div class="bottomNav"><a name="navbar.bottom">
  349. <!-- -->
  350. </a>
  351. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  352. <a name="navbar.bottom.firstrow">
  353. <!-- -->
  354. </a>
  355. <ul class="navList" title="Navigation">
  356. <li><a href="../../../overview-summary.html">Overview</a></li>
  357. <li><a href="package-summary.html">Package</a></li>
  358. <li class="navBarCell1Rev">Class</li>
  359. <li><a href="package-tree.html">Tree</a></li>
  360. <li><a href="../../../index-all.html">Index</a></li>
  361. <li><a href="../../../help-doc.html">Help</a></li>
  362. </ul>
  363. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  364. </div>
  365. <div class="subNav">
  366. <ul class="navList">
  367. <li><a href="../../../org/opencv/core/CvType.html" title="class in org.opencv.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  368. <li><a href="../../../org/opencv/core/KeyPoint.html" title="class in org.opencv.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  369. </ul>
  370. <ul class="navList">
  371. <li><a href="../../../index.html?org/opencv/core/DMatch.html" target="_top">Frames</a></li>
  372. <li><a href="DMatch.html" target="_top">No&nbsp;Frames</a></li>
  373. </ul>
  374. <ul class="navList" id="allclasses_navbar_bottom">
  375. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  376. </ul>
  377. <div>
  378. <script type="text/javascript"><!--
  379. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  380. if(window==top) {
  381. allClassesLink.style.display = "block";
  382. }
  383. else {
  384. allClassesLink.style.display = "none";
  385. }
  386. //-->
  387. </script>
  388. </div>
  389. <div>
  390. <ul class="subNavList">
  391. <li>Summary:&nbsp;</li>
  392. <li>Nested&nbsp;|&nbsp;</li>
  393. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  394. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  395. <li><a href="#method.summary">Method</a></li>
  396. </ul>
  397. <ul class="subNavList">
  398. <li>Detail:&nbsp;</li>
  399. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  400. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  401. <li><a href="#method.detail">Method</a></li>
  402. </ul>
  403. </div>
  404. <a name="skip.navbar.bottom">
  405. <!-- -->
  406. </a></div>
  407. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  408. </body>
  409. </html>