BackgroundSubtractor.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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:52 MSK 2015 -->
  6. <title>BackgroundSubtractor</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="BackgroundSubtractor";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":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>Prev&nbsp;Class</li>
  52. <li><a href="../../../org/opencv/video/BackgroundSubtractorKNN.html" title="class in org.opencv.video"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/video/BackgroundSubtractor.html" target="_top">Frames</a></li>
  56. <li><a href="BackgroundSubtractor.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>Field&nbsp;|&nbsp;</li>
  78. <li>Constr&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>Field&nbsp;|&nbsp;</li>
  84. <li>Constr&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.video</div>
  95. <h2 title="Class BackgroundSubtractor" class="title">Class BackgroundSubtractor</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><a href="../../../org/opencv/core/Algorithm.html" title="class in org.opencv.core">org.opencv.core.Algorithm</a></li>
  103. <li>
  104. <ul class="inheritance">
  105. <li>org.opencv.video.BackgroundSubtractor</li>
  106. </ul>
  107. </li>
  108. </ul>
  109. </li>
  110. </ul>
  111. <div class="description">
  112. <ul class="blockList">
  113. <li class="blockList">
  114. <dl>
  115. <dt>Direct Known Subclasses:</dt>
  116. <dd><a href="../../../org/opencv/video/BackgroundSubtractorKNN.html" title="class in org.opencv.video">BackgroundSubtractorKNN</a>, <a href="../../../org/opencv/video/BackgroundSubtractorMOG2.html" title="class in org.opencv.video">BackgroundSubtractorMOG2</a></dd>
  117. </dl>
  118. <hr>
  119. <br>
  120. <pre>public class <span class="typeNameLabel">BackgroundSubtractor</span>
  121. extends <a href="../../../org/opencv/core/Algorithm.html" title="class in org.opencv.core">Algorithm</a></pre>
  122. </li>
  123. </ul>
  124. </div>
  125. <div class="summary">
  126. <ul class="blockList">
  127. <li class="blockList">
  128. <!-- ========== METHOD SUMMARY =========== -->
  129. <ul class="blockList">
  130. <li class="blockList"><a name="method.summary">
  131. <!-- -->
  132. </a>
  133. <h3>Method Summary</h3>
  134. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  135. <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>
  136. <tr>
  137. <th class="colFirst" scope="col">Modifier and Type</th>
  138. <th class="colLast" scope="col">Method and Description</th>
  139. </tr>
  140. <tr id="i0" class="altColor">
  141. <td class="colFirst"><code>void</code></td>
  142. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/video/BackgroundSubtractor.html#apply-org.opencv.core.Mat-org.opencv.core.Mat-">apply</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;image,
  143. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;fgmask)</code>&nbsp;</td>
  144. </tr>
  145. <tr id="i1" class="rowColor">
  146. <td class="colFirst"><code>void</code></td>
  147. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/video/BackgroundSubtractor.html#apply-org.opencv.core.Mat-org.opencv.core.Mat-double-">apply</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;image,
  148. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;fgmask,
  149. double&nbsp;learningRate)</code>&nbsp;</td>
  150. </tr>
  151. <tr id="i2" class="altColor">
  152. <td class="colFirst"><code>void</code></td>
  153. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/video/BackgroundSubtractor.html#getBackgroundImage-org.opencv.core.Mat-">getBackgroundImage</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;backgroundImage)</code>&nbsp;</td>
  154. </tr>
  155. </table>
  156. <ul class="blockList">
  157. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.core.Algorithm">
  158. <!-- -->
  159. </a>
  160. <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>
  161. <code><a href="../../../org/opencv/core/Algorithm.html#clear--">clear</a>, <a href="../../../org/opencv/core/Algorithm.html#getDefaultName--">getDefaultName</a>, <a href="../../../org/opencv/core/Algorithm.html#save-java.lang.String-">save</a></code></li>
  162. </ul>
  163. <ul class="blockList">
  164. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  165. <!-- -->
  166. </a>
  167. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  168. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  169. </ul>
  170. </li>
  171. </ul>
  172. </li>
  173. </ul>
  174. </div>
  175. <div class="details">
  176. <ul class="blockList">
  177. <li class="blockList">
  178. <!-- ============ METHOD DETAIL ========== -->
  179. <ul class="blockList">
  180. <li class="blockList"><a name="method.detail">
  181. <!-- -->
  182. </a>
  183. <h3>Method Detail</h3>
  184. <a name="apply-org.opencv.core.Mat-org.opencv.core.Mat-">
  185. <!-- -->
  186. </a>
  187. <ul class="blockList">
  188. <li class="blockList">
  189. <h4>apply</h4>
  190. <pre>public&nbsp;void&nbsp;apply(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;image,
  191. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;fgmask)</pre>
  192. </li>
  193. </ul>
  194. <a name="apply-org.opencv.core.Mat-org.opencv.core.Mat-double-">
  195. <!-- -->
  196. </a>
  197. <ul class="blockList">
  198. <li class="blockList">
  199. <h4>apply</h4>
  200. <pre>public&nbsp;void&nbsp;apply(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;image,
  201. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;fgmask,
  202. double&nbsp;learningRate)</pre>
  203. </li>
  204. </ul>
  205. <a name="getBackgroundImage-org.opencv.core.Mat-">
  206. <!-- -->
  207. </a>
  208. <ul class="blockListLast">
  209. <li class="blockList">
  210. <h4>getBackgroundImage</h4>
  211. <pre>public&nbsp;void&nbsp;getBackgroundImage(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;backgroundImage)</pre>
  212. </li>
  213. </ul>
  214. </li>
  215. </ul>
  216. </li>
  217. </ul>
  218. </div>
  219. </div>
  220. <!-- ========= END OF CLASS DATA ========= -->
  221. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  222. <div class="bottomNav"><a name="navbar.bottom">
  223. <!-- -->
  224. </a>
  225. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  226. <a name="navbar.bottom.firstrow">
  227. <!-- -->
  228. </a>
  229. <ul class="navList" title="Navigation">
  230. <li><a href="../../../overview-summary.html">Overview</a></li>
  231. <li><a href="package-summary.html">Package</a></li>
  232. <li class="navBarCell1Rev">Class</li>
  233. <li><a href="package-tree.html">Tree</a></li>
  234. <li><a href="../../../index-all.html">Index</a></li>
  235. <li><a href="../../../help-doc.html">Help</a></li>
  236. </ul>
  237. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  238. </div>
  239. <div class="subNav">
  240. <ul class="navList">
  241. <li>Prev&nbsp;Class</li>
  242. <li><a href="../../../org/opencv/video/BackgroundSubtractorKNN.html" title="class in org.opencv.video"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  243. </ul>
  244. <ul class="navList">
  245. <li><a href="../../../index.html?org/opencv/video/BackgroundSubtractor.html" target="_top">Frames</a></li>
  246. <li><a href="BackgroundSubtractor.html" target="_top">No&nbsp;Frames</a></li>
  247. </ul>
  248. <ul class="navList" id="allclasses_navbar_bottom">
  249. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  250. </ul>
  251. <div>
  252. <script type="text/javascript"><!--
  253. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  254. if(window==top) {
  255. allClassesLink.style.display = "block";
  256. }
  257. else {
  258. allClassesLink.style.display = "none";
  259. }
  260. //-->
  261. </script>
  262. </div>
  263. <div>
  264. <ul class="subNavList">
  265. <li>Summary:&nbsp;</li>
  266. <li>Nested&nbsp;|&nbsp;</li>
  267. <li>Field&nbsp;|&nbsp;</li>
  268. <li>Constr&nbsp;|&nbsp;</li>
  269. <li><a href="#method.summary">Method</a></li>
  270. </ul>
  271. <ul class="subNavList">
  272. <li>Detail:&nbsp;</li>
  273. <li>Field&nbsp;|&nbsp;</li>
  274. <li>Constr&nbsp;|&nbsp;</li>
  275. <li><a href="#method.detail">Method</a></li>
  276. </ul>
  277. </div>
  278. <a name="skip.navbar.bottom">
  279. <!-- -->
  280. </a></div>
  281. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  282. </body>
  283. </html>