StereoSGBM.html 63 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244
  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:25 UTC 2023 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>StereoSGBM (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="StereoSGBM (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":9,"i12":9,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":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/calib3d/StereoMatcher.html" title="class in org.opencv.calib3d"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  62. <li><a href="../../../org/opencv/calib3d/UsacParams.html" title="class in org.opencv.calib3d"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  63. </ul>
  64. <ul class="navList">
  65. <li><a href="../../../index.html?org/opencv/calib3d/StereoSGBM.html" target="_top">Frames</a></li>
  66. <li><a href="StereoSGBM.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.calib3d</div>
  105. <h2 title="Class StereoSGBM" class="title">Class StereoSGBM</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/calib3d/StereoMatcher.html" title="class in org.opencv.calib3d">org.opencv.calib3d.StereoMatcher</a></li>
  116. <li>
  117. <ul class="inheritance">
  118. <li>org.opencv.calib3d.StereoSGBM</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">StereoSGBM</span>
  132. extends <a href="../../../org/opencv/calib3d/StereoMatcher.html" title="class in org.opencv.calib3d">StereoMatcher</a></pre>
  133. <div class="block">The class implements the modified H. Hirschmuller algorithm CITE: HH08 that differs from the original
  134. one as follows:
  135. <ul>
  136. <li>
  137. By default, the algorithm is single-pass, which means that you consider only 5 directions
  138. instead of 8. Set mode=StereoSGBM::MODE_HH in createStereoSGBM to run the full variant of the
  139. algorithm but beware that it may consume a lot of memory.
  140. </li>
  141. <li>
  142. The algorithm matches blocks, not individual pixels. Though, setting blockSize=1 reduces the
  143. blocks to single pixels.
  144. </li>
  145. <li>
  146. Mutual information cost function is not implemented. Instead, a simpler Birchfield-Tomasi
  147. sub-pixel metric from CITE: BT98 is used. Though, the color images are supported as well.
  148. </li>
  149. <li>
  150. Some pre- and post- processing steps from K. Konolige algorithm StereoBM are included, for
  151. example: pre-filtering (StereoBM::PREFILTER_XSOBEL type) and post-filtering (uniqueness
  152. check, quadratic interpolation and speckle filtering).
  153. </li>
  154. </ul>
  155. <b>Note:</b>
  156. <ul>
  157. <li>
  158. (Python) An example illustrating the use of the StereoSGBM matching algorithm can be found
  159. at opencv_source_code/samples/python/stereo_match.py
  160. </li>
  161. </ul></div>
  162. </li>
  163. </ul>
  164. </div>
  165. <div class="summary">
  166. <ul class="blockList">
  167. <li class="blockList">
  168. <!-- =========== FIELD SUMMARY =========== -->
  169. <ul class="blockList">
  170. <li class="blockList"><a name="field.summary">
  171. <!-- -->
  172. </a>
  173. <h3>Field Summary</h3>
  174. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  175. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  176. <tr>
  177. <th class="colFirst" scope="col">Modifier and Type</th>
  178. <th class="colLast" scope="col">Field and Description</th>
  179. </tr>
  180. <tr class="altColor">
  181. <td class="colFirst"><code>static int</code></td>
  182. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#MODE_HH">MODE_HH</a></span></code>&nbsp;</td>
  183. </tr>
  184. <tr class="rowColor">
  185. <td class="colFirst"><code>static int</code></td>
  186. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#MODE_HH4">MODE_HH4</a></span></code>&nbsp;</td>
  187. </tr>
  188. <tr class="altColor">
  189. <td class="colFirst"><code>static int</code></td>
  190. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#MODE_SGBM">MODE_SGBM</a></span></code>&nbsp;</td>
  191. </tr>
  192. <tr class="rowColor">
  193. <td class="colFirst"><code>static int</code></td>
  194. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#MODE_SGBM_3WAY">MODE_SGBM_3WAY</a></span></code>&nbsp;</td>
  195. </tr>
  196. </table>
  197. <ul class="blockList">
  198. <li class="blockList"><a name="fields.inherited.from.class.org.opencv.calib3d.StereoMatcher">
  199. <!-- -->
  200. </a>
  201. <h3>Fields inherited from class&nbsp;org.opencv.calib3d.<a href="../../../org/opencv/calib3d/StereoMatcher.html" title="class in org.opencv.calib3d">StereoMatcher</a></h3>
  202. <code><a href="../../../org/opencv/calib3d/StereoMatcher.html#DISP_SCALE">DISP_SCALE</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#DISP_SHIFT">DISP_SHIFT</a></code></li>
  203. </ul>
  204. </li>
  205. </ul>
  206. <!-- ========== METHOD SUMMARY =========== -->
  207. <ul class="blockList">
  208. <li class="blockList"><a name="method.summary">
  209. <!-- -->
  210. </a>
  211. <h3>Method Summary</h3>
  212. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  213. <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>
  214. <tr>
  215. <th class="colFirst" scope="col">Modifier and Type</th>
  216. <th class="colLast" scope="col">Method and Description</th>
  217. </tr>
  218. <tr id="i0" class="altColor">
  219. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  220. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#Z:Z__fromPtr__-long-">__fromPtr__</a></span>(long&nbsp;addr)</code>&nbsp;</td>
  221. </tr>
  222. <tr id="i1" class="rowColor">
  223. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  224. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create--">create</a></span>()</code>
  225. <div class="block">Creates StereoSGBM object
  226. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</div>
  227. </td>
  228. </tr>
  229. <tr id="i2" class="altColor">
  230. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  231. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-">create</a></span>(int&nbsp;minDisparity)</code>
  232. <div class="block">Creates StereoSGBM object</div>
  233. </td>
  234. </tr>
  235. <tr id="i3" class="rowColor">
  236. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  237. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-">create</a></span>(int&nbsp;minDisparity,
  238. int&nbsp;numDisparities)</code>
  239. <div class="block">Creates StereoSGBM object</div>
  240. </td>
  241. </tr>
  242. <tr id="i4" class="altColor">
  243. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  244. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  245. int&nbsp;numDisparities,
  246. int&nbsp;blockSize)</code>
  247. <div class="block">Creates StereoSGBM object</div>
  248. </td>
  249. </tr>
  250. <tr id="i5" class="rowColor">
  251. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  252. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  253. int&nbsp;numDisparities,
  254. int&nbsp;blockSize,
  255. int&nbsp;P1)</code>
  256. <div class="block">Creates StereoSGBM object</div>
  257. </td>
  258. </tr>
  259. <tr id="i6" class="altColor">
  260. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  261. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  262. int&nbsp;numDisparities,
  263. int&nbsp;blockSize,
  264. int&nbsp;P1,
  265. int&nbsp;P2)</code>
  266. <div class="block">Creates StereoSGBM object</div>
  267. </td>
  268. </tr>
  269. <tr id="i7" class="rowColor">
  270. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  271. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  272. int&nbsp;numDisparities,
  273. int&nbsp;blockSize,
  274. int&nbsp;P1,
  275. int&nbsp;P2,
  276. int&nbsp;disp12MaxDiff)</code>
  277. <div class="block">Creates StereoSGBM object</div>
  278. </td>
  279. </tr>
  280. <tr id="i8" class="altColor">
  281. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  282. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-int-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  283. int&nbsp;numDisparities,
  284. int&nbsp;blockSize,
  285. int&nbsp;P1,
  286. int&nbsp;P2,
  287. int&nbsp;disp12MaxDiff,
  288. int&nbsp;preFilterCap)</code>
  289. <div class="block">Creates StereoSGBM object</div>
  290. </td>
  291. </tr>
  292. <tr id="i9" class="rowColor">
  293. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  294. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-int-int-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  295. int&nbsp;numDisparities,
  296. int&nbsp;blockSize,
  297. int&nbsp;P1,
  298. int&nbsp;P2,
  299. int&nbsp;disp12MaxDiff,
  300. int&nbsp;preFilterCap,
  301. int&nbsp;uniquenessRatio)</code>
  302. <div class="block">Creates StereoSGBM object</div>
  303. </td>
  304. </tr>
  305. <tr id="i10" class="altColor">
  306. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  307. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-int-int-int-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  308. int&nbsp;numDisparities,
  309. int&nbsp;blockSize,
  310. int&nbsp;P1,
  311. int&nbsp;P2,
  312. int&nbsp;disp12MaxDiff,
  313. int&nbsp;preFilterCap,
  314. int&nbsp;uniquenessRatio,
  315. int&nbsp;speckleWindowSize)</code>
  316. <div class="block">Creates StereoSGBM object</div>
  317. </td>
  318. </tr>
  319. <tr id="i11" class="rowColor">
  320. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  321. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-int-int-int-int-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  322. int&nbsp;numDisparities,
  323. int&nbsp;blockSize,
  324. int&nbsp;P1,
  325. int&nbsp;P2,
  326. int&nbsp;disp12MaxDiff,
  327. int&nbsp;preFilterCap,
  328. int&nbsp;uniquenessRatio,
  329. int&nbsp;speckleWindowSize,
  330. int&nbsp;speckleRange)</code>
  331. <div class="block">Creates StereoSGBM object</div>
  332. </td>
  333. </tr>
  334. <tr id="i12" class="altColor">
  335. <td class="colFirst"><code>static <a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a></code></td>
  336. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#create-int-int-int-int-int-int-int-int-int-int-int-">create</a></span>(int&nbsp;minDisparity,
  337. int&nbsp;numDisparities,
  338. int&nbsp;blockSize,
  339. int&nbsp;P1,
  340. int&nbsp;P2,
  341. int&nbsp;disp12MaxDiff,
  342. int&nbsp;preFilterCap,
  343. int&nbsp;uniquenessRatio,
  344. int&nbsp;speckleWindowSize,
  345. int&nbsp;speckleRange,
  346. int&nbsp;mode)</code>
  347. <div class="block">Creates StereoSGBM object</div>
  348. </td>
  349. </tr>
  350. <tr id="i13" class="rowColor">
  351. <td class="colFirst"><code>int</code></td>
  352. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#getMode--">getMode</a></span>()</code>&nbsp;</td>
  353. </tr>
  354. <tr id="i14" class="altColor">
  355. <td class="colFirst"><code>int</code></td>
  356. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#getP1--">getP1</a></span>()</code>&nbsp;</td>
  357. </tr>
  358. <tr id="i15" class="rowColor">
  359. <td class="colFirst"><code>int</code></td>
  360. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#getP2--">getP2</a></span>()</code>&nbsp;</td>
  361. </tr>
  362. <tr id="i16" class="altColor">
  363. <td class="colFirst"><code>int</code></td>
  364. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#getPreFilterCap--">getPreFilterCap</a></span>()</code>&nbsp;</td>
  365. </tr>
  366. <tr id="i17" class="rowColor">
  367. <td class="colFirst"><code>int</code></td>
  368. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#getUniquenessRatio--">getUniquenessRatio</a></span>()</code>&nbsp;</td>
  369. </tr>
  370. <tr id="i18" class="altColor">
  371. <td class="colFirst"><code>void</code></td>
  372. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#setMode-int-">setMode</a></span>(int&nbsp;mode)</code>&nbsp;</td>
  373. </tr>
  374. <tr id="i19" class="rowColor">
  375. <td class="colFirst"><code>void</code></td>
  376. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#setP1-int-">setP1</a></span>(int&nbsp;P1)</code>&nbsp;</td>
  377. </tr>
  378. <tr id="i20" class="altColor">
  379. <td class="colFirst"><code>void</code></td>
  380. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#setP2-int-">setP2</a></span>(int&nbsp;P2)</code>&nbsp;</td>
  381. </tr>
  382. <tr id="i21" class="rowColor">
  383. <td class="colFirst"><code>void</code></td>
  384. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#setPreFilterCap-int-">setPreFilterCap</a></span>(int&nbsp;preFilterCap)</code>&nbsp;</td>
  385. </tr>
  386. <tr id="i22" class="altColor">
  387. <td class="colFirst"><code>void</code></td>
  388. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/calib3d/StereoSGBM.html#setUniquenessRatio-int-">setUniquenessRatio</a></span>(int&nbsp;uniquenessRatio)</code>&nbsp;</td>
  389. </tr>
  390. </table>
  391. <ul class="blockList">
  392. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.calib3d.StereoMatcher">
  393. <!-- -->
  394. </a>
  395. <h3>Methods inherited from class&nbsp;org.opencv.calib3d.<a href="../../../org/opencv/calib3d/StereoMatcher.html" title="class in org.opencv.calib3d">StereoMatcher</a></h3>
  396. <code><a href="../../../org/opencv/calib3d/StereoMatcher.html#compute-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">compute</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#getBlockSize--">getBlockSize</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#getDisp12MaxDiff--">getDisp12MaxDiff</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#getMinDisparity--">getMinDisparity</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#getNumDisparities--">getNumDisparities</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#getSpeckleRange--">getSpeckleRange</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#getSpeckleWindowSize--">getSpeckleWindowSize</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#setBlockSize-int-">setBlockSize</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#setDisp12MaxDiff-int-">setDisp12MaxDiff</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#setMinDisparity-int-">setMinDisparity</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#setNumDisparities-int-">setNumDisparities</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#setSpeckleRange-int-">setSpeckleRange</a>, <a href="../../../org/opencv/calib3d/StereoMatcher.html#setSpeckleWindowSize-int-">setSpeckleWindowSize</a></code></li>
  397. </ul>
  398. <ul class="blockList">
  399. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.core.Algorithm">
  400. <!-- -->
  401. </a>
  402. <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>
  403. <code><a href="../../../org/opencv/core/Algorithm.html#clear--">clear</a>, <a href="../../../org/opencv/core/Algorithm.html#empty--">empty</a>, <a href="../../../org/opencv/core/Algorithm.html#getDefaultName--">getDefaultName</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>
  404. </ul>
  405. <ul class="blockList">
  406. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  407. <!-- -->
  408. </a>
  409. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  410. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  411. </ul>
  412. </li>
  413. </ul>
  414. </li>
  415. </ul>
  416. </div>
  417. <div class="details">
  418. <ul class="blockList">
  419. <li class="blockList">
  420. <!-- ============ FIELD DETAIL =========== -->
  421. <ul class="blockList">
  422. <li class="blockList"><a name="field.detail">
  423. <!-- -->
  424. </a>
  425. <h3>Field Detail</h3>
  426. <a name="MODE_HH">
  427. <!-- -->
  428. </a>
  429. <ul class="blockList">
  430. <li class="blockList">
  431. <h4>MODE_HH</h4>
  432. <pre>public static final&nbsp;int MODE_HH</pre>
  433. <dl>
  434. <dt><span class="seeLabel">See Also:</span></dt>
  435. <dd><a href="../../../constant-values.html#org.opencv.calib3d.StereoSGBM.MODE_HH">Constant Field Values</a></dd>
  436. </dl>
  437. </li>
  438. </ul>
  439. <a name="MODE_HH4">
  440. <!-- -->
  441. </a>
  442. <ul class="blockList">
  443. <li class="blockList">
  444. <h4>MODE_HH4</h4>
  445. <pre>public static final&nbsp;int MODE_HH4</pre>
  446. <dl>
  447. <dt><span class="seeLabel">See Also:</span></dt>
  448. <dd><a href="../../../constant-values.html#org.opencv.calib3d.StereoSGBM.MODE_HH4">Constant Field Values</a></dd>
  449. </dl>
  450. </li>
  451. </ul>
  452. <a name="MODE_SGBM">
  453. <!-- -->
  454. </a>
  455. <ul class="blockList">
  456. <li class="blockList">
  457. <h4>MODE_SGBM</h4>
  458. <pre>public static final&nbsp;int MODE_SGBM</pre>
  459. <dl>
  460. <dt><span class="seeLabel">See Also:</span></dt>
  461. <dd><a href="../../../constant-values.html#org.opencv.calib3d.StereoSGBM.MODE_SGBM">Constant Field Values</a></dd>
  462. </dl>
  463. </li>
  464. </ul>
  465. <a name="MODE_SGBM_3WAY">
  466. <!-- -->
  467. </a>
  468. <ul class="blockListLast">
  469. <li class="blockList">
  470. <h4>MODE_SGBM_3WAY</h4>
  471. <pre>public static final&nbsp;int MODE_SGBM_3WAY</pre>
  472. <dl>
  473. <dt><span class="seeLabel">See Also:</span></dt>
  474. <dd><a href="../../../constant-values.html#org.opencv.calib3d.StereoSGBM.MODE_SGBM_3WAY">Constant Field Values</a></dd>
  475. </dl>
  476. </li>
  477. </ul>
  478. </li>
  479. </ul>
  480. <!-- ============ METHOD DETAIL ========== -->
  481. <ul class="blockList">
  482. <li class="blockList"><a name="method.detail">
  483. <!-- -->
  484. </a>
  485. <h3>Method Detail</h3>
  486. <a name="Z:Z__fromPtr__-long-">
  487. <!-- -->
  488. </a>
  489. <ul class="blockList">
  490. <li class="blockList">
  491. <h4>__fromPtr__</h4>
  492. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;__fromPtr__(long&nbsp;addr)</pre>
  493. </li>
  494. </ul>
  495. <a name="create--">
  496. <!-- -->
  497. </a>
  498. <ul class="blockList">
  499. <li class="blockList">
  500. <h4>create</h4>
  501. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create()</pre>
  502. <div class="block">Creates StereoSGBM object
  503. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.
  504. zero. In the current implementation, this parameter must be divisible by 16.
  505. somewhere in the 3..11 range.
  506. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  507. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  508. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  509. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  510. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).
  511. disparity check. Set it to a non-positive value to disable the check.
  512. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  513. The result values are passed to the Birchfield-Tomasi pixel cost function.
  514. value should "win" the second best value to consider the found match correct. Normally, a value
  515. within the 5-15 range is good enough.
  516. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  517. 50-200 range.
  518. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  519. Normally, 1 or 2 is good enough.
  520. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  521. huge for HD-size pictures. By default, it is set to false .
  522. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  523. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  524. to a custom value.</div>
  525. <dl>
  526. <dt><span class="returnLabel">Returns:</span></dt>
  527. <dd>automatically generated</dd>
  528. </dl>
  529. </li>
  530. </ul>
  531. <a name="create-int-">
  532. <!-- -->
  533. </a>
  534. <ul class="blockList">
  535. <li class="blockList">
  536. <h4>create</h4>
  537. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity)</pre>
  538. <div class="block">Creates StereoSGBM object</div>
  539. <dl>
  540. <dt><span class="paramLabel">Parameters:</span></dt>
  541. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  542. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.
  543. zero. In the current implementation, this parameter must be divisible by 16.
  544. somewhere in the 3..11 range.
  545. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  546. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  547. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  548. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  549. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).
  550. disparity check. Set it to a non-positive value to disable the check.
  551. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  552. The result values are passed to the Birchfield-Tomasi pixel cost function.
  553. value should "win" the second best value to consider the found match correct. Normally, a value
  554. within the 5-15 range is good enough.
  555. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  556. 50-200 range.
  557. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  558. Normally, 1 or 2 is good enough.
  559. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  560. huge for HD-size pictures. By default, it is set to false .
  561. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  562. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  563. to a custom value.</dd>
  564. <dt><span class="returnLabel">Returns:</span></dt>
  565. <dd>automatically generated</dd>
  566. </dl>
  567. </li>
  568. </ul>
  569. <a name="create-int-int-">
  570. <!-- -->
  571. </a>
  572. <ul class="blockList">
  573. <li class="blockList">
  574. <h4>create</h4>
  575. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  576. int&nbsp;numDisparities)</pre>
  577. <div class="block">Creates StereoSGBM object</div>
  578. <dl>
  579. <dt><span class="paramLabel">Parameters:</span></dt>
  580. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  581. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  582. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  583. zero. In the current implementation, this parameter must be divisible by 16.
  584. somewhere in the 3..11 range.
  585. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  586. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  587. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  588. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  589. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).
  590. disparity check. Set it to a non-positive value to disable the check.
  591. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  592. The result values are passed to the Birchfield-Tomasi pixel cost function.
  593. value should "win" the second best value to consider the found match correct. Normally, a value
  594. within the 5-15 range is good enough.
  595. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  596. 50-200 range.
  597. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  598. Normally, 1 or 2 is good enough.
  599. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  600. huge for HD-size pictures. By default, it is set to false .
  601. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  602. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  603. to a custom value.</dd>
  604. <dt><span class="returnLabel">Returns:</span></dt>
  605. <dd>automatically generated</dd>
  606. </dl>
  607. </li>
  608. </ul>
  609. <a name="create-int-int-int-">
  610. <!-- -->
  611. </a>
  612. <ul class="blockList">
  613. <li class="blockList">
  614. <h4>create</h4>
  615. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  616. int&nbsp;numDisparities,
  617. int&nbsp;blockSize)</pre>
  618. <div class="block">Creates StereoSGBM object</div>
  619. <dl>
  620. <dt><span class="paramLabel">Parameters:</span></dt>
  621. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  622. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  623. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  624. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  625. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  626. somewhere in the 3..11 range.
  627. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  628. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  629. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  630. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  631. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).
  632. disparity check. Set it to a non-positive value to disable the check.
  633. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  634. The result values are passed to the Birchfield-Tomasi pixel cost function.
  635. value should "win" the second best value to consider the found match correct. Normally, a value
  636. within the 5-15 range is good enough.
  637. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  638. 50-200 range.
  639. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  640. Normally, 1 or 2 is good enough.
  641. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  642. huge for HD-size pictures. By default, it is set to false .
  643. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  644. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  645. to a custom value.</dd>
  646. <dt><span class="returnLabel">Returns:</span></dt>
  647. <dd>automatically generated</dd>
  648. </dl>
  649. </li>
  650. </ul>
  651. <a name="create-int-int-int-int-">
  652. <!-- -->
  653. </a>
  654. <ul class="blockList">
  655. <li class="blockList">
  656. <h4>create</h4>
  657. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  658. int&nbsp;numDisparities,
  659. int&nbsp;blockSize,
  660. int&nbsp;P1)</pre>
  661. <div class="block">Creates StereoSGBM object</div>
  662. <dl>
  663. <dt><span class="paramLabel">Parameters:</span></dt>
  664. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  665. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  666. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  667. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  668. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  669. somewhere in the 3..11 range.</dd>
  670. <dd><code>P1</code> - The first parameter controlling the disparity smoothness. See below.
  671. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  672. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  673. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  674. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  675. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).
  676. disparity check. Set it to a non-positive value to disable the check.
  677. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  678. The result values are passed to the Birchfield-Tomasi pixel cost function.
  679. value should "win" the second best value to consider the found match correct. Normally, a value
  680. within the 5-15 range is good enough.
  681. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  682. 50-200 range.
  683. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  684. Normally, 1 or 2 is good enough.
  685. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  686. huge for HD-size pictures. By default, it is set to false .
  687. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  688. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  689. to a custom value.</dd>
  690. <dt><span class="returnLabel">Returns:</span></dt>
  691. <dd>automatically generated</dd>
  692. </dl>
  693. </li>
  694. </ul>
  695. <a name="create-int-int-int-int-int-">
  696. <!-- -->
  697. </a>
  698. <ul class="blockList">
  699. <li class="blockList">
  700. <h4>create</h4>
  701. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  702. int&nbsp;numDisparities,
  703. int&nbsp;blockSize,
  704. int&nbsp;P1,
  705. int&nbsp;P2)</pre>
  706. <div class="block">Creates StereoSGBM object</div>
  707. <dl>
  708. <dt><span class="paramLabel">Parameters:</span></dt>
  709. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  710. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  711. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  712. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  713. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  714. somewhere in the 3..11 range.</dd>
  715. <dd><code>P1</code> - The first parameter controlling the disparity smoothness. See below.</dd>
  716. <dd><code>P2</code> - The second parameter controlling the disparity smoothness. The larger the values are,
  717. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  718. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  719. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  720. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  721. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).
  722. disparity check. Set it to a non-positive value to disable the check.
  723. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  724. The result values are passed to the Birchfield-Tomasi pixel cost function.
  725. value should "win" the second best value to consider the found match correct. Normally, a value
  726. within the 5-15 range is good enough.
  727. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  728. 50-200 range.
  729. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  730. Normally, 1 or 2 is good enough.
  731. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  732. huge for HD-size pictures. By default, it is set to false .
  733. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  734. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  735. to a custom value.</dd>
  736. <dt><span class="returnLabel">Returns:</span></dt>
  737. <dd>automatically generated</dd>
  738. </dl>
  739. </li>
  740. </ul>
  741. <a name="create-int-int-int-int-int-int-">
  742. <!-- -->
  743. </a>
  744. <ul class="blockList">
  745. <li class="blockList">
  746. <h4>create</h4>
  747. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  748. int&nbsp;numDisparities,
  749. int&nbsp;blockSize,
  750. int&nbsp;P1,
  751. int&nbsp;P2,
  752. int&nbsp;disp12MaxDiff)</pre>
  753. <div class="block">Creates StereoSGBM object</div>
  754. <dl>
  755. <dt><span class="paramLabel">Parameters:</span></dt>
  756. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  757. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  758. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  759. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  760. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  761. somewhere in the 3..11 range.</dd>
  762. <dd><code>P1</code> - The first parameter controlling the disparity smoothness. See below.</dd>
  763. <dd><code>P2</code> - The second parameter controlling the disparity smoothness. The larger the values are,
  764. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  765. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  766. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  767. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  768. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).</dd>
  769. <dd><code>disp12MaxDiff</code> - Maximum allowed difference (in integer pixel units) in the left-right
  770. disparity check. Set it to a non-positive value to disable the check.
  771. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  772. The result values are passed to the Birchfield-Tomasi pixel cost function.
  773. value should "win" the second best value to consider the found match correct. Normally, a value
  774. within the 5-15 range is good enough.
  775. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  776. 50-200 range.
  777. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  778. Normally, 1 or 2 is good enough.
  779. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  780. huge for HD-size pictures. By default, it is set to false .
  781. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  782. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  783. to a custom value.</dd>
  784. <dt><span class="returnLabel">Returns:</span></dt>
  785. <dd>automatically generated</dd>
  786. </dl>
  787. </li>
  788. </ul>
  789. <a name="create-int-int-int-int-int-int-int-">
  790. <!-- -->
  791. </a>
  792. <ul class="blockList">
  793. <li class="blockList">
  794. <h4>create</h4>
  795. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  796. int&nbsp;numDisparities,
  797. int&nbsp;blockSize,
  798. int&nbsp;P1,
  799. int&nbsp;P2,
  800. int&nbsp;disp12MaxDiff,
  801. int&nbsp;preFilterCap)</pre>
  802. <div class="block">Creates StereoSGBM object</div>
  803. <dl>
  804. <dt><span class="paramLabel">Parameters:</span></dt>
  805. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  806. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  807. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  808. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  809. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  810. somewhere in the 3..11 range.</dd>
  811. <dd><code>P1</code> - The first parameter controlling the disparity smoothness. See below.</dd>
  812. <dd><code>P2</code> - The second parameter controlling the disparity smoothness. The larger the values are,
  813. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  814. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  815. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  816. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  817. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).</dd>
  818. <dd><code>disp12MaxDiff</code> - Maximum allowed difference (in integer pixel units) in the left-right
  819. disparity check. Set it to a non-positive value to disable the check.</dd>
  820. <dd><code>preFilterCap</code> - Truncation value for the prefiltered image pixels. The algorithm first
  821. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  822. The result values are passed to the Birchfield-Tomasi pixel cost function.
  823. value should "win" the second best value to consider the found match correct. Normally, a value
  824. within the 5-15 range is good enough.
  825. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  826. 50-200 range.
  827. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  828. Normally, 1 or 2 is good enough.
  829. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  830. huge for HD-size pictures. By default, it is set to false .
  831. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  832. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  833. to a custom value.</dd>
  834. <dt><span class="returnLabel">Returns:</span></dt>
  835. <dd>automatically generated</dd>
  836. </dl>
  837. </li>
  838. </ul>
  839. <a name="create-int-int-int-int-int-int-int-int-">
  840. <!-- -->
  841. </a>
  842. <ul class="blockList">
  843. <li class="blockList">
  844. <h4>create</h4>
  845. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  846. int&nbsp;numDisparities,
  847. int&nbsp;blockSize,
  848. int&nbsp;P1,
  849. int&nbsp;P2,
  850. int&nbsp;disp12MaxDiff,
  851. int&nbsp;preFilterCap,
  852. int&nbsp;uniquenessRatio)</pre>
  853. <div class="block">Creates StereoSGBM object</div>
  854. <dl>
  855. <dt><span class="paramLabel">Parameters:</span></dt>
  856. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  857. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  858. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  859. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  860. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  861. somewhere in the 3..11 range.</dd>
  862. <dd><code>P1</code> - The first parameter controlling the disparity smoothness. See below.</dd>
  863. <dd><code>P2</code> - The second parameter controlling the disparity smoothness. The larger the values are,
  864. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  865. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  866. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  867. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  868. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).</dd>
  869. <dd><code>disp12MaxDiff</code> - Maximum allowed difference (in integer pixel units) in the left-right
  870. disparity check. Set it to a non-positive value to disable the check.</dd>
  871. <dd><code>preFilterCap</code> - Truncation value for the prefiltered image pixels. The algorithm first
  872. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  873. The result values are passed to the Birchfield-Tomasi pixel cost function.</dd>
  874. <dd><code>uniquenessRatio</code> - Margin in percentage by which the best (minimum) computed cost function
  875. value should "win" the second best value to consider the found match correct. Normally, a value
  876. within the 5-15 range is good enough.
  877. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  878. 50-200 range.
  879. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  880. Normally, 1 or 2 is good enough.
  881. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  882. huge for HD-size pictures. By default, it is set to false .
  883. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  884. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  885. to a custom value.</dd>
  886. <dt><span class="returnLabel">Returns:</span></dt>
  887. <dd>automatically generated</dd>
  888. </dl>
  889. </li>
  890. </ul>
  891. <a name="create-int-int-int-int-int-int-int-int-int-">
  892. <!-- -->
  893. </a>
  894. <ul class="blockList">
  895. <li class="blockList">
  896. <h4>create</h4>
  897. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  898. int&nbsp;numDisparities,
  899. int&nbsp;blockSize,
  900. int&nbsp;P1,
  901. int&nbsp;P2,
  902. int&nbsp;disp12MaxDiff,
  903. int&nbsp;preFilterCap,
  904. int&nbsp;uniquenessRatio,
  905. int&nbsp;speckleWindowSize)</pre>
  906. <div class="block">Creates StereoSGBM object</div>
  907. <dl>
  908. <dt><span class="paramLabel">Parameters:</span></dt>
  909. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  910. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  911. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  912. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  913. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  914. somewhere in the 3..11 range.</dd>
  915. <dd><code>P1</code> - The first parameter controlling the disparity smoothness. See below.</dd>
  916. <dd><code>P2</code> - The second parameter controlling the disparity smoothness. The larger the values are,
  917. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  918. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  919. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  920. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  921. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).</dd>
  922. <dd><code>disp12MaxDiff</code> - Maximum allowed difference (in integer pixel units) in the left-right
  923. disparity check. Set it to a non-positive value to disable the check.</dd>
  924. <dd><code>preFilterCap</code> - Truncation value for the prefiltered image pixels. The algorithm first
  925. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  926. The result values are passed to the Birchfield-Tomasi pixel cost function.</dd>
  927. <dd><code>uniquenessRatio</code> - Margin in percentage by which the best (minimum) computed cost function
  928. value should "win" the second best value to consider the found match correct. Normally, a value
  929. within the 5-15 range is good enough.</dd>
  930. <dd><code>speckleWindowSize</code> - Maximum size of smooth disparity regions to consider their noise speckles
  931. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  932. 50-200 range.
  933. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  934. Normally, 1 or 2 is good enough.
  935. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  936. huge for HD-size pictures. By default, it is set to false .
  937. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  938. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  939. to a custom value.</dd>
  940. <dt><span class="returnLabel">Returns:</span></dt>
  941. <dd>automatically generated</dd>
  942. </dl>
  943. </li>
  944. </ul>
  945. <a name="create-int-int-int-int-int-int-int-int-int-int-">
  946. <!-- -->
  947. </a>
  948. <ul class="blockList">
  949. <li class="blockList">
  950. <h4>create</h4>
  951. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  952. int&nbsp;numDisparities,
  953. int&nbsp;blockSize,
  954. int&nbsp;P1,
  955. int&nbsp;P2,
  956. int&nbsp;disp12MaxDiff,
  957. int&nbsp;preFilterCap,
  958. int&nbsp;uniquenessRatio,
  959. int&nbsp;speckleWindowSize,
  960. int&nbsp;speckleRange)</pre>
  961. <div class="block">Creates StereoSGBM object</div>
  962. <dl>
  963. <dt><span class="paramLabel">Parameters:</span></dt>
  964. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  965. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  966. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  967. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  968. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  969. somewhere in the 3..11 range.</dd>
  970. <dd><code>P1</code> - The first parameter controlling the disparity smoothness. See below.</dd>
  971. <dd><code>P2</code> - The second parameter controlling the disparity smoothness. The larger the values are,
  972. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  973. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  974. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  975. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  976. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).</dd>
  977. <dd><code>disp12MaxDiff</code> - Maximum allowed difference (in integer pixel units) in the left-right
  978. disparity check. Set it to a non-positive value to disable the check.</dd>
  979. <dd><code>preFilterCap</code> - Truncation value for the prefiltered image pixels. The algorithm first
  980. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  981. The result values are passed to the Birchfield-Tomasi pixel cost function.</dd>
  982. <dd><code>uniquenessRatio</code> - Margin in percentage by which the best (minimum) computed cost function
  983. value should "win" the second best value to consider the found match correct. Normally, a value
  984. within the 5-15 range is good enough.</dd>
  985. <dd><code>speckleWindowSize</code> - Maximum size of smooth disparity regions to consider their noise speckles
  986. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  987. 50-200 range.</dd>
  988. <dd><code>speckleRange</code> - Maximum disparity variation within each connected component. If you do speckle
  989. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  990. Normally, 1 or 2 is good enough.
  991. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  992. huge for HD-size pictures. By default, it is set to false .
  993. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  994. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  995. to a custom value.</dd>
  996. <dt><span class="returnLabel">Returns:</span></dt>
  997. <dd>automatically generated</dd>
  998. </dl>
  999. </li>
  1000. </ul>
  1001. <a name="create-int-int-int-int-int-int-int-int-int-int-int-">
  1002. <!-- -->
  1003. </a>
  1004. <ul class="blockList">
  1005. <li class="blockList">
  1006. <h4>create</h4>
  1007. <pre>public static&nbsp;<a href="../../../org/opencv/calib3d/StereoSGBM.html" title="class in org.opencv.calib3d">StereoSGBM</a>&nbsp;create(int&nbsp;minDisparity,
  1008. int&nbsp;numDisparities,
  1009. int&nbsp;blockSize,
  1010. int&nbsp;P1,
  1011. int&nbsp;P2,
  1012. int&nbsp;disp12MaxDiff,
  1013. int&nbsp;preFilterCap,
  1014. int&nbsp;uniquenessRatio,
  1015. int&nbsp;speckleWindowSize,
  1016. int&nbsp;speckleRange,
  1017. int&nbsp;mode)</pre>
  1018. <div class="block">Creates StereoSGBM object</div>
  1019. <dl>
  1020. <dt><span class="paramLabel">Parameters:</span></dt>
  1021. <dd><code>minDisparity</code> - Minimum possible disparity value. Normally, it is zero but sometimes
  1022. rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.</dd>
  1023. <dd><code>numDisparities</code> - Maximum disparity minus minimum disparity. The value is always greater than
  1024. zero. In the current implementation, this parameter must be divisible by 16.</dd>
  1025. <dd><code>blockSize</code> - Matched block size. It must be an odd number &gt;=1 . Normally, it should be
  1026. somewhere in the 3..11 range.</dd>
  1027. <dd><code>P1</code> - The first parameter controlling the disparity smoothness. See below.</dd>
  1028. <dd><code>P2</code> - The second parameter controlling the disparity smoothness. The larger the values are,
  1029. the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
  1030. between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
  1031. pixels. The algorithm requires P2 &gt; P1 . See stereo_match.cpp sample where some reasonably good
  1032. P1 and P2 values are shown (like 8\*number_of_image_channels\*blockSize\*blockSize and
  1033. 32\*number_of_image_channels\*blockSize\*blockSize , respectively).</dd>
  1034. <dd><code>disp12MaxDiff</code> - Maximum allowed difference (in integer pixel units) in the left-right
  1035. disparity check. Set it to a non-positive value to disable the check.</dd>
  1036. <dd><code>preFilterCap</code> - Truncation value for the prefiltered image pixels. The algorithm first
  1037. computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
  1038. The result values are passed to the Birchfield-Tomasi pixel cost function.</dd>
  1039. <dd><code>uniquenessRatio</code> - Margin in percentage by which the best (minimum) computed cost function
  1040. value should "win" the second best value to consider the found match correct. Normally, a value
  1041. within the 5-15 range is good enough.</dd>
  1042. <dd><code>speckleWindowSize</code> - Maximum size of smooth disparity regions to consider their noise speckles
  1043. and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the
  1044. 50-200 range.</dd>
  1045. <dd><code>speckleRange</code> - Maximum disparity variation within each connected component. If you do speckle
  1046. filtering, set the parameter to a positive value, it will be implicitly multiplied by 16.
  1047. Normally, 1 or 2 is good enough.</dd>
  1048. <dd><code>mode</code> - Set it to StereoSGBM::MODE_HH to run the full-scale two-pass dynamic programming
  1049. algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
  1050. huge for HD-size pictures. By default, it is set to false .
  1051. The first constructor initializes StereoSGBM with all the default parameters. So, you only have to
  1052. set StereoSGBM::numDisparities at minimum. The second constructor enables you to set each parameter
  1053. to a custom value.</dd>
  1054. <dt><span class="returnLabel">Returns:</span></dt>
  1055. <dd>automatically generated</dd>
  1056. </dl>
  1057. </li>
  1058. </ul>
  1059. <a name="getMode--">
  1060. <!-- -->
  1061. </a>
  1062. <ul class="blockList">
  1063. <li class="blockList">
  1064. <h4>getMode</h4>
  1065. <pre>public&nbsp;int&nbsp;getMode()</pre>
  1066. </li>
  1067. </ul>
  1068. <a name="getP1--">
  1069. <!-- -->
  1070. </a>
  1071. <ul class="blockList">
  1072. <li class="blockList">
  1073. <h4>getP1</h4>
  1074. <pre>public&nbsp;int&nbsp;getP1()</pre>
  1075. </li>
  1076. </ul>
  1077. <a name="getP2--">
  1078. <!-- -->
  1079. </a>
  1080. <ul class="blockList">
  1081. <li class="blockList">
  1082. <h4>getP2</h4>
  1083. <pre>public&nbsp;int&nbsp;getP2()</pre>
  1084. </li>
  1085. </ul>
  1086. <a name="getPreFilterCap--">
  1087. <!-- -->
  1088. </a>
  1089. <ul class="blockList">
  1090. <li class="blockList">
  1091. <h4>getPreFilterCap</h4>
  1092. <pre>public&nbsp;int&nbsp;getPreFilterCap()</pre>
  1093. </li>
  1094. </ul>
  1095. <a name="getUniquenessRatio--">
  1096. <!-- -->
  1097. </a>
  1098. <ul class="blockList">
  1099. <li class="blockList">
  1100. <h4>getUniquenessRatio</h4>
  1101. <pre>public&nbsp;int&nbsp;getUniquenessRatio()</pre>
  1102. </li>
  1103. </ul>
  1104. <a name="setMode-int-">
  1105. <!-- -->
  1106. </a>
  1107. <ul class="blockList">
  1108. <li class="blockList">
  1109. <h4>setMode</h4>
  1110. <pre>public&nbsp;void&nbsp;setMode(int&nbsp;mode)</pre>
  1111. </li>
  1112. </ul>
  1113. <a name="setP1-int-">
  1114. <!-- -->
  1115. </a>
  1116. <ul class="blockList">
  1117. <li class="blockList">
  1118. <h4>setP1</h4>
  1119. <pre>public&nbsp;void&nbsp;setP1(int&nbsp;P1)</pre>
  1120. </li>
  1121. </ul>
  1122. <a name="setP2-int-">
  1123. <!-- -->
  1124. </a>
  1125. <ul class="blockList">
  1126. <li class="blockList">
  1127. <h4>setP2</h4>
  1128. <pre>public&nbsp;void&nbsp;setP2(int&nbsp;P2)</pre>
  1129. </li>
  1130. </ul>
  1131. <a name="setPreFilterCap-int-">
  1132. <!-- -->
  1133. </a>
  1134. <ul class="blockList">
  1135. <li class="blockList">
  1136. <h4>setPreFilterCap</h4>
  1137. <pre>public&nbsp;void&nbsp;setPreFilterCap(int&nbsp;preFilterCap)</pre>
  1138. </li>
  1139. </ul>
  1140. <a name="setUniquenessRatio-int-">
  1141. <!-- -->
  1142. </a>
  1143. <ul class="blockListLast">
  1144. <li class="blockList">
  1145. <h4>setUniquenessRatio</h4>
  1146. <pre>public&nbsp;void&nbsp;setUniquenessRatio(int&nbsp;uniquenessRatio)</pre>
  1147. </li>
  1148. </ul>
  1149. </li>
  1150. </ul>
  1151. </li>
  1152. </ul>
  1153. </div>
  1154. </div>
  1155. <!-- ========= END OF CLASS DATA ========= -->
  1156. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  1157. <div class="bottomNav"><a name="navbar.bottom">
  1158. <!-- -->
  1159. </a>
  1160. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  1161. <a name="navbar.bottom.firstrow">
  1162. <!-- -->
  1163. </a>
  1164. <ul class="navList" title="Navigation">
  1165. <li><a href="../../../overview-summary.html">Overview</a></li>
  1166. <li><a href="package-summary.html">Package</a></li>
  1167. <li class="navBarCell1Rev">Class</li>
  1168. <li><a href="package-tree.html">Tree</a></li>
  1169. <li><a href="../../../index-all.html">Index</a></li>
  1170. <li><a href="../../../help-doc.html">Help</a></li>
  1171. </ul>
  1172. <div class="aboutLanguage">
  1173. <script>
  1174. var url = window.location.href;
  1175. var pos = url.lastIndexOf('/javadoc/');
  1176. url = pos >= 0 ? (url.substring(0, pos) + '/javadoc/mymath.js') : (window.location.origin + '/mymath.js');
  1177. var script = document.createElement('script');
  1178. script.src = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML,' + url;
  1179. document.getElementsByTagName('head')[0].appendChild(script);
  1180. </script>
  1181. </div>
  1182. </div>
  1183. <div class="subNav">
  1184. <ul class="navList">
  1185. <li><a href="../../../org/opencv/calib3d/StereoMatcher.html" title="class in org.opencv.calib3d"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  1186. <li><a href="../../../org/opencv/calib3d/UsacParams.html" title="class in org.opencv.calib3d"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  1187. </ul>
  1188. <ul class="navList">
  1189. <li><a href="../../../index.html?org/opencv/calib3d/StereoSGBM.html" target="_top">Frames</a></li>
  1190. <li><a href="StereoSGBM.html" target="_top">No&nbsp;Frames</a></li>
  1191. </ul>
  1192. <ul class="navList" id="allclasses_navbar_bottom">
  1193. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  1194. </ul>
  1195. <div>
  1196. <script type="text/javascript"><!--
  1197. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  1198. if(window==top) {
  1199. allClassesLink.style.display = "block";
  1200. }
  1201. else {
  1202. allClassesLink.style.display = "none";
  1203. }
  1204. //-->
  1205. </script>
  1206. </div>
  1207. <div>
  1208. <ul class="subNavList">
  1209. <li>Summary:&nbsp;</li>
  1210. <li>Nested&nbsp;|&nbsp;</li>
  1211. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  1212. <li>Constr&nbsp;|&nbsp;</li>
  1213. <li><a href="#method.summary">Method</a></li>
  1214. </ul>
  1215. <ul class="subNavList">
  1216. <li>Detail:&nbsp;</li>
  1217. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  1218. <li>Constr&nbsp;|&nbsp;</li>
  1219. <li><a href="#method.detail">Method</a></li>
  1220. </ul>
  1221. </div>
  1222. <a name="skip.navbar.bottom">
  1223. <!-- -->
  1224. </a></div>
  1225. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1226. <p class="legalCopy"><small>Generated on 2023-06-28 12:47:21 / OpenCV 4.8.0</small></p>
  1227. </body>
  1228. </html>