KeyPoint.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  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>KeyPoint</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="KeyPoint";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":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/DMatch.html" title="class in org.opencv.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/core/Mat.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/KeyPoint.html" target="_top">Frames</a></li>
  56. <li><a href="KeyPoint.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 KeyPoint" class="title">Class KeyPoint</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.KeyPoint</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">KeyPoint</span>
  112. extends java.lang.Object</pre>
  113. </li>
  114. </ul>
  115. </div>
  116. <div class="summary">
  117. <ul class="blockList">
  118. <li class="blockList">
  119. <!-- =========== FIELD SUMMARY =========== -->
  120. <ul class="blockList">
  121. <li class="blockList"><a name="field.summary">
  122. <!-- -->
  123. </a>
  124. <h3>Field Summary</h3>
  125. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  126. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  127. <tr>
  128. <th class="colFirst" scope="col">Modifier and Type</th>
  129. <th class="colLast" scope="col">Field and Description</th>
  130. </tr>
  131. <tr class="altColor">
  132. <td class="colFirst"><code>float</code></td>
  133. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#angle">angle</a></span></code>
  134. <div class="block">Computed orientation of the keypoint (-1 if not applicable).</div>
  135. </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/KeyPoint.html#class_id">class_id</a></span></code>
  140. <div class="block">Object ID, that can be used to cluster keypoints by an object they
  141. belong to.</div>
  142. </td>
  143. </tr>
  144. <tr class="altColor">
  145. <td class="colFirst"><code>int</code></td>
  146. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#octave">octave</a></span></code>
  147. <div class="block">Octave (pyramid layer), from which the keypoint has been extracted.</div>
  148. </td>
  149. </tr>
  150. <tr class="rowColor">
  151. <td class="colFirst"><code><a href="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</a></code></td>
  152. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#pt">pt</a></span></code>
  153. <div class="block">Coordinates of the keypoint.</div>
  154. </td>
  155. </tr>
  156. <tr class="altColor">
  157. <td class="colFirst"><code>float</code></td>
  158. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#response">response</a></span></code>
  159. <div class="block">The response, by which the strongest keypoints have been selected.</div>
  160. </td>
  161. </tr>
  162. <tr class="rowColor">
  163. <td class="colFirst"><code>float</code></td>
  164. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#size">size</a></span></code>
  165. <div class="block">Diameter of the useful keypoint adjacent area.</div>
  166. </td>
  167. </tr>
  168. </table>
  169. </li>
  170. </ul>
  171. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  172. <ul class="blockList">
  173. <li class="blockList"><a name="constructor.summary">
  174. <!-- -->
  175. </a>
  176. <h3>Constructor Summary</h3>
  177. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  178. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  179. <tr>
  180. <th class="colOne" scope="col">Constructor and Description</th>
  181. </tr>
  182. <tr class="altColor">
  183. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#KeyPoint--">KeyPoint</a></span>()</code>&nbsp;</td>
  184. </tr>
  185. <tr class="rowColor">
  186. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#KeyPoint-float-float-float-">KeyPoint</a></span>(float&nbsp;x,
  187. float&nbsp;y,
  188. float&nbsp;_size)</code>&nbsp;</td>
  189. </tr>
  190. <tr class="altColor">
  191. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#KeyPoint-float-float-float-float-">KeyPoint</a></span>(float&nbsp;x,
  192. float&nbsp;y,
  193. float&nbsp;_size,
  194. float&nbsp;_angle)</code>&nbsp;</td>
  195. </tr>
  196. <tr class="rowColor">
  197. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#KeyPoint-float-float-float-float-float-">KeyPoint</a></span>(float&nbsp;x,
  198. float&nbsp;y,
  199. float&nbsp;_size,
  200. float&nbsp;_angle,
  201. float&nbsp;_response)</code>&nbsp;</td>
  202. </tr>
  203. <tr class="altColor">
  204. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#KeyPoint-float-float-float-float-float-int-">KeyPoint</a></span>(float&nbsp;x,
  205. float&nbsp;y,
  206. float&nbsp;_size,
  207. float&nbsp;_angle,
  208. float&nbsp;_response,
  209. int&nbsp;_octave)</code>&nbsp;</td>
  210. </tr>
  211. <tr class="rowColor">
  212. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#KeyPoint-float-float-float-float-float-int-int-">KeyPoint</a></span>(float&nbsp;x,
  213. float&nbsp;y,
  214. float&nbsp;_size,
  215. float&nbsp;_angle,
  216. float&nbsp;_response,
  217. int&nbsp;_octave,
  218. int&nbsp;_class_id)</code>&nbsp;</td>
  219. </tr>
  220. </table>
  221. </li>
  222. </ul>
  223. <!-- ========== METHOD SUMMARY =========== -->
  224. <ul class="blockList">
  225. <li class="blockList"><a name="method.summary">
  226. <!-- -->
  227. </a>
  228. <h3>Method Summary</h3>
  229. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  230. <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>
  231. <tr>
  232. <th class="colFirst" scope="col">Modifier and Type</th>
  233. <th class="colLast" scope="col">Method and Description</th>
  234. </tr>
  235. <tr id="i0" class="altColor">
  236. <td class="colFirst"><code>java.lang.String</code></td>
  237. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/KeyPoint.html#toString--">toString</a></span>()</code>&nbsp;</td>
  238. </tr>
  239. </table>
  240. <ul class="blockList">
  241. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  242. <!-- -->
  243. </a>
  244. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  245. <code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  246. </ul>
  247. </li>
  248. </ul>
  249. </li>
  250. </ul>
  251. </div>
  252. <div class="details">
  253. <ul class="blockList">
  254. <li class="blockList">
  255. <!-- ============ FIELD DETAIL =========== -->
  256. <ul class="blockList">
  257. <li class="blockList"><a name="field.detail">
  258. <!-- -->
  259. </a>
  260. <h3>Field Detail</h3>
  261. <a name="angle">
  262. <!-- -->
  263. </a>
  264. <ul class="blockList">
  265. <li class="blockList">
  266. <h4>angle</h4>
  267. <pre>public&nbsp;float angle</pre>
  268. <div class="block">Computed orientation of the keypoint (-1 if not applicable).</div>
  269. </li>
  270. </ul>
  271. <a name="class_id">
  272. <!-- -->
  273. </a>
  274. <ul class="blockList">
  275. <li class="blockList">
  276. <h4>class_id</h4>
  277. <pre>public&nbsp;int class_id</pre>
  278. <div class="block">Object ID, that can be used to cluster keypoints by an object they
  279. belong to.</div>
  280. </li>
  281. </ul>
  282. <a name="octave">
  283. <!-- -->
  284. </a>
  285. <ul class="blockList">
  286. <li class="blockList">
  287. <h4>octave</h4>
  288. <pre>public&nbsp;int octave</pre>
  289. <div class="block">Octave (pyramid layer), from which the keypoint has been extracted.</div>
  290. </li>
  291. </ul>
  292. <a name="pt">
  293. <!-- -->
  294. </a>
  295. <ul class="blockList">
  296. <li class="blockList">
  297. <h4>pt</h4>
  298. <pre>public&nbsp;<a href="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</a> pt</pre>
  299. <div class="block">Coordinates of the keypoint.</div>
  300. </li>
  301. </ul>
  302. <a name="response">
  303. <!-- -->
  304. </a>
  305. <ul class="blockList">
  306. <li class="blockList">
  307. <h4>response</h4>
  308. <pre>public&nbsp;float response</pre>
  309. <div class="block">The response, by which the strongest keypoints have been selected. Can
  310. be used for further sorting or subsampling.</div>
  311. </li>
  312. </ul>
  313. <a name="size">
  314. <!-- -->
  315. </a>
  316. <ul class="blockListLast">
  317. <li class="blockList">
  318. <h4>size</h4>
  319. <pre>public&nbsp;float size</pre>
  320. <div class="block">Diameter of the useful keypoint adjacent area.</div>
  321. </li>
  322. </ul>
  323. </li>
  324. </ul>
  325. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  326. <ul class="blockList">
  327. <li class="blockList"><a name="constructor.detail">
  328. <!-- -->
  329. </a>
  330. <h3>Constructor Detail</h3>
  331. <a name="KeyPoint--">
  332. <!-- -->
  333. </a>
  334. <ul class="blockList">
  335. <li class="blockList">
  336. <h4>KeyPoint</h4>
  337. <pre>public&nbsp;KeyPoint()</pre>
  338. </li>
  339. </ul>
  340. <a name="KeyPoint-float-float-float-">
  341. <!-- -->
  342. </a>
  343. <ul class="blockList">
  344. <li class="blockList">
  345. <h4>KeyPoint</h4>
  346. <pre>public&nbsp;KeyPoint(float&nbsp;x,
  347. float&nbsp;y,
  348. float&nbsp;_size)</pre>
  349. </li>
  350. </ul>
  351. <a name="KeyPoint-float-float-float-float-">
  352. <!-- -->
  353. </a>
  354. <ul class="blockList">
  355. <li class="blockList">
  356. <h4>KeyPoint</h4>
  357. <pre>public&nbsp;KeyPoint(float&nbsp;x,
  358. float&nbsp;y,
  359. float&nbsp;_size,
  360. float&nbsp;_angle)</pre>
  361. </li>
  362. </ul>
  363. <a name="KeyPoint-float-float-float-float-float-">
  364. <!-- -->
  365. </a>
  366. <ul class="blockList">
  367. <li class="blockList">
  368. <h4>KeyPoint</h4>
  369. <pre>public&nbsp;KeyPoint(float&nbsp;x,
  370. float&nbsp;y,
  371. float&nbsp;_size,
  372. float&nbsp;_angle,
  373. float&nbsp;_response)</pre>
  374. </li>
  375. </ul>
  376. <a name="KeyPoint-float-float-float-float-float-int-">
  377. <!-- -->
  378. </a>
  379. <ul class="blockList">
  380. <li class="blockList">
  381. <h4>KeyPoint</h4>
  382. <pre>public&nbsp;KeyPoint(float&nbsp;x,
  383. float&nbsp;y,
  384. float&nbsp;_size,
  385. float&nbsp;_angle,
  386. float&nbsp;_response,
  387. int&nbsp;_octave)</pre>
  388. </li>
  389. </ul>
  390. <a name="KeyPoint-float-float-float-float-float-int-int-">
  391. <!-- -->
  392. </a>
  393. <ul class="blockListLast">
  394. <li class="blockList">
  395. <h4>KeyPoint</h4>
  396. <pre>public&nbsp;KeyPoint(float&nbsp;x,
  397. float&nbsp;y,
  398. float&nbsp;_size,
  399. float&nbsp;_angle,
  400. float&nbsp;_response,
  401. int&nbsp;_octave,
  402. int&nbsp;_class_id)</pre>
  403. </li>
  404. </ul>
  405. </li>
  406. </ul>
  407. <!-- ============ METHOD DETAIL ========== -->
  408. <ul class="blockList">
  409. <li class="blockList"><a name="method.detail">
  410. <!-- -->
  411. </a>
  412. <h3>Method Detail</h3>
  413. <a name="toString--">
  414. <!-- -->
  415. </a>
  416. <ul class="blockListLast">
  417. <li class="blockList">
  418. <h4>toString</h4>
  419. <pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
  420. <dl>
  421. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  422. <dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  423. </dl>
  424. </li>
  425. </ul>
  426. </li>
  427. </ul>
  428. </li>
  429. </ul>
  430. </div>
  431. </div>
  432. <!-- ========= END OF CLASS DATA ========= -->
  433. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  434. <div class="bottomNav"><a name="navbar.bottom">
  435. <!-- -->
  436. </a>
  437. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  438. <a name="navbar.bottom.firstrow">
  439. <!-- -->
  440. </a>
  441. <ul class="navList" title="Navigation">
  442. <li><a href="../../../overview-summary.html">Overview</a></li>
  443. <li><a href="package-summary.html">Package</a></li>
  444. <li class="navBarCell1Rev">Class</li>
  445. <li><a href="package-tree.html">Tree</a></li>
  446. <li><a href="../../../index-all.html">Index</a></li>
  447. <li><a href="../../../help-doc.html">Help</a></li>
  448. </ul>
  449. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  450. </div>
  451. <div class="subNav">
  452. <ul class="navList">
  453. <li><a href="../../../org/opencv/core/DMatch.html" title="class in org.opencv.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  454. <li><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  455. </ul>
  456. <ul class="navList">
  457. <li><a href="../../../index.html?org/opencv/core/KeyPoint.html" target="_top">Frames</a></li>
  458. <li><a href="KeyPoint.html" target="_top">No&nbsp;Frames</a></li>
  459. </ul>
  460. <ul class="navList" id="allclasses_navbar_bottom">
  461. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  462. </ul>
  463. <div>
  464. <script type="text/javascript"><!--
  465. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  466. if(window==top) {
  467. allClassesLink.style.display = "block";
  468. }
  469. else {
  470. allClassesLink.style.display = "none";
  471. }
  472. //-->
  473. </script>
  474. </div>
  475. <div>
  476. <ul class="subNavList">
  477. <li>Summary:&nbsp;</li>
  478. <li>Nested&nbsp;|&nbsp;</li>
  479. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  480. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  481. <li><a href="#method.summary">Method</a></li>
  482. </ul>
  483. <ul class="subNavList">
  484. <li>Detail:&nbsp;</li>
  485. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  486. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  487. <li><a href="#method.detail">Method</a></li>
  488. </ul>
  489. </div>
  490. <a name="skip.navbar.bottom">
  491. <!-- -->
  492. </a></div>
  493. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  494. </body>
  495. </html>