EM.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  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>EM</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="EM";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10};
  22. var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/ml/DTrees.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/ml/KNearest.html" title="class in org.opencv.ml"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/ml/EM.html" target="_top">Frames</a></li>
  56. <li><a href="EM.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>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><a href="#field.detail">Field</a>&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.ml</div>
  95. <h2 title="Class EM" class="title">Class EM</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><a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">org.opencv.ml.StatModel</a></li>
  106. <li>
  107. <ul class="inheritance">
  108. <li>org.opencv.ml.EM</li>
  109. </ul>
  110. </li>
  111. </ul>
  112. </li>
  113. </ul>
  114. </li>
  115. </ul>
  116. <div class="description">
  117. <ul class="blockList">
  118. <li class="blockList">
  119. <hr>
  120. <br>
  121. <pre>public class <span class="typeNameLabel">EM</span>
  122. extends <a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">StatModel</a></pre>
  123. </li>
  124. </ul>
  125. </div>
  126. <div class="summary">
  127. <ul class="blockList">
  128. <li class="blockList">
  129. <!-- =========== FIELD SUMMARY =========== -->
  130. <ul class="blockList">
  131. <li class="blockList"><a name="field.summary">
  132. <!-- -->
  133. </a>
  134. <h3>Field Summary</h3>
  135. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  136. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  137. <tr>
  138. <th class="colFirst" scope="col">Modifier and Type</th>
  139. <th class="colLast" scope="col">Field and Description</th>
  140. </tr>
  141. <tr class="altColor">
  142. <td class="colFirst"><code>static int</code></td>
  143. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#COV_MAT_DEFAULT">COV_MAT_DEFAULT</a></span></code>&nbsp;</td>
  144. </tr>
  145. <tr class="rowColor">
  146. <td class="colFirst"><code>static int</code></td>
  147. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#COV_MAT_DIAGONAL">COV_MAT_DIAGONAL</a></span></code>&nbsp;</td>
  148. </tr>
  149. <tr class="altColor">
  150. <td class="colFirst"><code>static int</code></td>
  151. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#COV_MAT_GENERIC">COV_MAT_GENERIC</a></span></code>&nbsp;</td>
  152. </tr>
  153. <tr class="rowColor">
  154. <td class="colFirst"><code>static int</code></td>
  155. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#COV_MAT_SPHERICAL">COV_MAT_SPHERICAL</a></span></code>&nbsp;</td>
  156. </tr>
  157. <tr class="altColor">
  158. <td class="colFirst"><code>static int</code></td>
  159. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#DEFAULT_MAX_ITERS">DEFAULT_MAX_ITERS</a></span></code>&nbsp;</td>
  160. </tr>
  161. <tr class="rowColor">
  162. <td class="colFirst"><code>static int</code></td>
  163. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#DEFAULT_NCLUSTERS">DEFAULT_NCLUSTERS</a></span></code>&nbsp;</td>
  164. </tr>
  165. <tr class="altColor">
  166. <td class="colFirst"><code>static int</code></td>
  167. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#START_AUTO_STEP">START_AUTO_STEP</a></span></code>&nbsp;</td>
  168. </tr>
  169. <tr class="rowColor">
  170. <td class="colFirst"><code>static int</code></td>
  171. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#START_E_STEP">START_E_STEP</a></span></code>&nbsp;</td>
  172. </tr>
  173. <tr class="altColor">
  174. <td class="colFirst"><code>static int</code></td>
  175. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#START_M_STEP">START_M_STEP</a></span></code>&nbsp;</td>
  176. </tr>
  177. </table>
  178. <ul class="blockList">
  179. <li class="blockList"><a name="fields.inherited.from.class.org.opencv.ml.StatModel">
  180. <!-- -->
  181. </a>
  182. <h3>Fields inherited from class&nbsp;org.opencv.ml.<a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">StatModel</a></h3>
  183. <code><a href="../../../org/opencv/ml/StatModel.html#COMPRESSED_INPUT">COMPRESSED_INPUT</a>, <a href="../../../org/opencv/ml/StatModel.html#PREPROCESSED_INPUT">PREPROCESSED_INPUT</a>, <a href="../../../org/opencv/ml/StatModel.html#RAW_OUTPUT">RAW_OUTPUT</a>, <a href="../../../org/opencv/ml/StatModel.html#UPDATE_MODEL">UPDATE_MODEL</a></code></li>
  184. </ul>
  185. </li>
  186. </ul>
  187. <!-- ========== METHOD SUMMARY =========== -->
  188. <ul class="blockList">
  189. <li class="blockList"><a name="method.summary">
  190. <!-- -->
  191. </a>
  192. <h3>Method Summary</h3>
  193. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  194. <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>
  195. <tr>
  196. <th class="colFirst" scope="col">Modifier and Type</th>
  197. <th class="colLast" scope="col">Method and Description</th>
  198. </tr>
  199. <tr id="i0" class="altColor">
  200. <td class="colFirst"><code>static <a href="../../../org/opencv/ml/EM.html" title="class in org.opencv.ml">EM</a></code></td>
  201. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#create--">create</a></span>()</code>&nbsp;</td>
  202. </tr>
  203. <tr id="i1" class="rowColor">
  204. <td class="colFirst"><code>int</code></td>
  205. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#getClustersNumber--">getClustersNumber</a></span>()</code>&nbsp;</td>
  206. </tr>
  207. <tr id="i2" class="altColor">
  208. <td class="colFirst"><code>int</code></td>
  209. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#getCovarianceMatrixType--">getCovarianceMatrixType</a></span>()</code>&nbsp;</td>
  210. </tr>
  211. <tr id="i3" class="rowColor">
  212. <td class="colFirst"><code>void</code></td>
  213. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#getCovs-java.util.List-">getCovs</a></span>(java.util.List&lt;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&gt;&nbsp;covs)</code>&nbsp;</td>
  214. </tr>
  215. <tr id="i4" class="altColor">
  216. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  217. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#getMeans--">getMeans</a></span>()</code>&nbsp;</td>
  218. </tr>
  219. <tr id="i5" class="rowColor">
  220. <td class="colFirst"><code><a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a></code></td>
  221. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#getTermCriteria--">getTermCriteria</a></span>()</code>&nbsp;</td>
  222. </tr>
  223. <tr id="i6" class="altColor">
  224. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  225. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#getWeights--">getWeights</a></span>()</code>&nbsp;</td>
  226. </tr>
  227. <tr id="i7" class="rowColor">
  228. <td class="colFirst"><code>double[]</code></td>
  229. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#predict2-org.opencv.core.Mat-org.opencv.core.Mat-">predict2</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;sample,
  230. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs)</code>&nbsp;</td>
  231. </tr>
  232. <tr id="i8" class="altColor">
  233. <td class="colFirst"><code>void</code></td>
  234. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#setClustersNumber-int-">setClustersNumber</a></span>(int&nbsp;val)</code>&nbsp;</td>
  235. </tr>
  236. <tr id="i9" class="rowColor">
  237. <td class="colFirst"><code>void</code></td>
  238. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#setCovarianceMatrixType-int-">setCovarianceMatrixType</a></span>(int&nbsp;val)</code>&nbsp;</td>
  239. </tr>
  240. <tr id="i10" class="altColor">
  241. <td class="colFirst"><code>void</code></td>
  242. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#setTermCriteria-org.opencv.core.TermCriteria-">setTermCriteria</a></span>(<a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a>&nbsp;val)</code>&nbsp;</td>
  243. </tr>
  244. <tr id="i11" class="rowColor">
  245. <td class="colFirst"><code>boolean</code></td>
  246. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#trainE-org.opencv.core.Mat-org.opencv.core.Mat-">trainE</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  247. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;means0)</code>&nbsp;</td>
  248. </tr>
  249. <tr id="i12" class="altColor">
  250. <td class="colFirst"><code>boolean</code></td>
  251. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#trainE-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">trainE</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  252. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;means0,
  253. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;covs0,
  254. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;weights0,
  255. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;logLikelihoods,
  256. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;labels,
  257. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs)</code>&nbsp;</td>
  258. </tr>
  259. <tr id="i13" class="rowColor">
  260. <td class="colFirst"><code>boolean</code></td>
  261. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#trainEM-org.opencv.core.Mat-">trainEM</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples)</code>&nbsp;</td>
  262. </tr>
  263. <tr id="i14" class="altColor">
  264. <td class="colFirst"><code>boolean</code></td>
  265. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#trainEM-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">trainEM</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  266. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;logLikelihoods,
  267. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;labels,
  268. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs)</code>&nbsp;</td>
  269. </tr>
  270. <tr id="i15" class="rowColor">
  271. <td class="colFirst"><code>boolean</code></td>
  272. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#trainM-org.opencv.core.Mat-org.opencv.core.Mat-">trainM</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  273. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs0)</code>&nbsp;</td>
  274. </tr>
  275. <tr id="i16" class="altColor">
  276. <td class="colFirst"><code>boolean</code></td>
  277. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/EM.html#trainM-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">trainM</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  278. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs0,
  279. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;logLikelihoods,
  280. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;labels,
  281. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs)</code>&nbsp;</td>
  282. </tr>
  283. </table>
  284. <ul class="blockList">
  285. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.ml.StatModel">
  286. <!-- -->
  287. </a>
  288. <h3>Methods inherited from class&nbsp;org.opencv.ml.<a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">StatModel</a></h3>
  289. <code><a href="../../../org/opencv/ml/StatModel.html#empty--">empty</a>, <a href="../../../org/opencv/ml/StatModel.html#getVarCount--">getVarCount</a>, <a href="../../../org/opencv/ml/StatModel.html#isClassifier--">isClassifier</a>, <a href="../../../org/opencv/ml/StatModel.html#isTrained--">isTrained</a>, <a href="../../../org/opencv/ml/StatModel.html#predict-org.opencv.core.Mat-">predict</a>, <a href="../../../org/opencv/ml/StatModel.html#predict-org.opencv.core.Mat-org.opencv.core.Mat-int-">predict</a>, <a href="../../../org/opencv/ml/StatModel.html#train-org.opencv.core.Mat-int-org.opencv.core.Mat-">train</a></code></li>
  290. </ul>
  291. <ul class="blockList">
  292. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.core.Algorithm">
  293. <!-- -->
  294. </a>
  295. <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>
  296. <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>
  297. </ul>
  298. <ul class="blockList">
  299. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  300. <!-- -->
  301. </a>
  302. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  303. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  304. </ul>
  305. </li>
  306. </ul>
  307. </li>
  308. </ul>
  309. </div>
  310. <div class="details">
  311. <ul class="blockList">
  312. <li class="blockList">
  313. <!-- ============ FIELD DETAIL =========== -->
  314. <ul class="blockList">
  315. <li class="blockList"><a name="field.detail">
  316. <!-- -->
  317. </a>
  318. <h3>Field Detail</h3>
  319. <a name="COV_MAT_DEFAULT">
  320. <!-- -->
  321. </a>
  322. <ul class="blockList">
  323. <li class="blockList">
  324. <h4>COV_MAT_DEFAULT</h4>
  325. <pre>public static final&nbsp;int COV_MAT_DEFAULT</pre>
  326. <dl>
  327. <dt><span class="seeLabel">See Also:</span></dt>
  328. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.COV_MAT_DEFAULT">Constant Field Values</a></dd>
  329. </dl>
  330. </li>
  331. </ul>
  332. <a name="COV_MAT_DIAGONAL">
  333. <!-- -->
  334. </a>
  335. <ul class="blockList">
  336. <li class="blockList">
  337. <h4>COV_MAT_DIAGONAL</h4>
  338. <pre>public static final&nbsp;int COV_MAT_DIAGONAL</pre>
  339. <dl>
  340. <dt><span class="seeLabel">See Also:</span></dt>
  341. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.COV_MAT_DIAGONAL">Constant Field Values</a></dd>
  342. </dl>
  343. </li>
  344. </ul>
  345. <a name="COV_MAT_GENERIC">
  346. <!-- -->
  347. </a>
  348. <ul class="blockList">
  349. <li class="blockList">
  350. <h4>COV_MAT_GENERIC</h4>
  351. <pre>public static final&nbsp;int COV_MAT_GENERIC</pre>
  352. <dl>
  353. <dt><span class="seeLabel">See Also:</span></dt>
  354. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.COV_MAT_GENERIC">Constant Field Values</a></dd>
  355. </dl>
  356. </li>
  357. </ul>
  358. <a name="COV_MAT_SPHERICAL">
  359. <!-- -->
  360. </a>
  361. <ul class="blockList">
  362. <li class="blockList">
  363. <h4>COV_MAT_SPHERICAL</h4>
  364. <pre>public static final&nbsp;int COV_MAT_SPHERICAL</pre>
  365. <dl>
  366. <dt><span class="seeLabel">See Also:</span></dt>
  367. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.COV_MAT_SPHERICAL">Constant Field Values</a></dd>
  368. </dl>
  369. </li>
  370. </ul>
  371. <a name="DEFAULT_MAX_ITERS">
  372. <!-- -->
  373. </a>
  374. <ul class="blockList">
  375. <li class="blockList">
  376. <h4>DEFAULT_MAX_ITERS</h4>
  377. <pre>public static final&nbsp;int DEFAULT_MAX_ITERS</pre>
  378. <dl>
  379. <dt><span class="seeLabel">See Also:</span></dt>
  380. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.DEFAULT_MAX_ITERS">Constant Field Values</a></dd>
  381. </dl>
  382. </li>
  383. </ul>
  384. <a name="DEFAULT_NCLUSTERS">
  385. <!-- -->
  386. </a>
  387. <ul class="blockList">
  388. <li class="blockList">
  389. <h4>DEFAULT_NCLUSTERS</h4>
  390. <pre>public static final&nbsp;int DEFAULT_NCLUSTERS</pre>
  391. <dl>
  392. <dt><span class="seeLabel">See Also:</span></dt>
  393. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.DEFAULT_NCLUSTERS">Constant Field Values</a></dd>
  394. </dl>
  395. </li>
  396. </ul>
  397. <a name="START_AUTO_STEP">
  398. <!-- -->
  399. </a>
  400. <ul class="blockList">
  401. <li class="blockList">
  402. <h4>START_AUTO_STEP</h4>
  403. <pre>public static final&nbsp;int START_AUTO_STEP</pre>
  404. <dl>
  405. <dt><span class="seeLabel">See Also:</span></dt>
  406. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.START_AUTO_STEP">Constant Field Values</a></dd>
  407. </dl>
  408. </li>
  409. </ul>
  410. <a name="START_E_STEP">
  411. <!-- -->
  412. </a>
  413. <ul class="blockList">
  414. <li class="blockList">
  415. <h4>START_E_STEP</h4>
  416. <pre>public static final&nbsp;int START_E_STEP</pre>
  417. <dl>
  418. <dt><span class="seeLabel">See Also:</span></dt>
  419. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.START_E_STEP">Constant Field Values</a></dd>
  420. </dl>
  421. </li>
  422. </ul>
  423. <a name="START_M_STEP">
  424. <!-- -->
  425. </a>
  426. <ul class="blockListLast">
  427. <li class="blockList">
  428. <h4>START_M_STEP</h4>
  429. <pre>public static final&nbsp;int START_M_STEP</pre>
  430. <dl>
  431. <dt><span class="seeLabel">See Also:</span></dt>
  432. <dd><a href="../../../constant-values.html#org.opencv.ml.EM.START_M_STEP">Constant Field Values</a></dd>
  433. </dl>
  434. </li>
  435. </ul>
  436. </li>
  437. </ul>
  438. <!-- ============ METHOD DETAIL ========== -->
  439. <ul class="blockList">
  440. <li class="blockList"><a name="method.detail">
  441. <!-- -->
  442. </a>
  443. <h3>Method Detail</h3>
  444. <a name="create--">
  445. <!-- -->
  446. </a>
  447. <ul class="blockList">
  448. <li class="blockList">
  449. <h4>create</h4>
  450. <pre>public static&nbsp;<a href="../../../org/opencv/ml/EM.html" title="class in org.opencv.ml">EM</a>&nbsp;create()</pre>
  451. </li>
  452. </ul>
  453. <a name="getClustersNumber--">
  454. <!-- -->
  455. </a>
  456. <ul class="blockList">
  457. <li class="blockList">
  458. <h4>getClustersNumber</h4>
  459. <pre>public&nbsp;int&nbsp;getClustersNumber()</pre>
  460. </li>
  461. </ul>
  462. <a name="getCovarianceMatrixType--">
  463. <!-- -->
  464. </a>
  465. <ul class="blockList">
  466. <li class="blockList">
  467. <h4>getCovarianceMatrixType</h4>
  468. <pre>public&nbsp;int&nbsp;getCovarianceMatrixType()</pre>
  469. </li>
  470. </ul>
  471. <a name="getCovs-java.util.List-">
  472. <!-- -->
  473. </a>
  474. <ul class="blockList">
  475. <li class="blockList">
  476. <h4>getCovs</h4>
  477. <pre>public&nbsp;void&nbsp;getCovs(java.util.List&lt;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&gt;&nbsp;covs)</pre>
  478. </li>
  479. </ul>
  480. <a name="getMeans--">
  481. <!-- -->
  482. </a>
  483. <ul class="blockList">
  484. <li class="blockList">
  485. <h4>getMeans</h4>
  486. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getMeans()</pre>
  487. </li>
  488. </ul>
  489. <a name="getTermCriteria--">
  490. <!-- -->
  491. </a>
  492. <ul class="blockList">
  493. <li class="blockList">
  494. <h4>getTermCriteria</h4>
  495. <pre>public&nbsp;<a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a>&nbsp;getTermCriteria()</pre>
  496. </li>
  497. </ul>
  498. <a name="getWeights--">
  499. <!-- -->
  500. </a>
  501. <ul class="blockList">
  502. <li class="blockList">
  503. <h4>getWeights</h4>
  504. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getWeights()</pre>
  505. </li>
  506. </ul>
  507. <a name="predict2-org.opencv.core.Mat-org.opencv.core.Mat-">
  508. <!-- -->
  509. </a>
  510. <ul class="blockList">
  511. <li class="blockList">
  512. <h4>predict2</h4>
  513. <pre>public&nbsp;double[]&nbsp;predict2(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;sample,
  514. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs)</pre>
  515. </li>
  516. </ul>
  517. <a name="setClustersNumber-int-">
  518. <!-- -->
  519. </a>
  520. <ul class="blockList">
  521. <li class="blockList">
  522. <h4>setClustersNumber</h4>
  523. <pre>public&nbsp;void&nbsp;setClustersNumber(int&nbsp;val)</pre>
  524. </li>
  525. </ul>
  526. <a name="setCovarianceMatrixType-int-">
  527. <!-- -->
  528. </a>
  529. <ul class="blockList">
  530. <li class="blockList">
  531. <h4>setCovarianceMatrixType</h4>
  532. <pre>public&nbsp;void&nbsp;setCovarianceMatrixType(int&nbsp;val)</pre>
  533. </li>
  534. </ul>
  535. <a name="setTermCriteria-org.opencv.core.TermCriteria-">
  536. <!-- -->
  537. </a>
  538. <ul class="blockList">
  539. <li class="blockList">
  540. <h4>setTermCriteria</h4>
  541. <pre>public&nbsp;void&nbsp;setTermCriteria(<a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a>&nbsp;val)</pre>
  542. </li>
  543. </ul>
  544. <a name="trainE-org.opencv.core.Mat-org.opencv.core.Mat-">
  545. <!-- -->
  546. </a>
  547. <ul class="blockList">
  548. <li class="blockList">
  549. <h4>trainE</h4>
  550. <pre>public&nbsp;boolean&nbsp;trainE(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  551. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;means0)</pre>
  552. </li>
  553. </ul>
  554. <a name="trainE-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">
  555. <!-- -->
  556. </a>
  557. <ul class="blockList">
  558. <li class="blockList">
  559. <h4>trainE</h4>
  560. <pre>public&nbsp;boolean&nbsp;trainE(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  561. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;means0,
  562. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;covs0,
  563. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;weights0,
  564. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;logLikelihoods,
  565. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;labels,
  566. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs)</pre>
  567. </li>
  568. </ul>
  569. <a name="trainEM-org.opencv.core.Mat-">
  570. <!-- -->
  571. </a>
  572. <ul class="blockList">
  573. <li class="blockList">
  574. <h4>trainEM</h4>
  575. <pre>public&nbsp;boolean&nbsp;trainEM(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples)</pre>
  576. </li>
  577. </ul>
  578. <a name="trainEM-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">
  579. <!-- -->
  580. </a>
  581. <ul class="blockList">
  582. <li class="blockList">
  583. <h4>trainEM</h4>
  584. <pre>public&nbsp;boolean&nbsp;trainEM(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  585. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;logLikelihoods,
  586. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;labels,
  587. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs)</pre>
  588. </li>
  589. </ul>
  590. <a name="trainM-org.opencv.core.Mat-org.opencv.core.Mat-">
  591. <!-- -->
  592. </a>
  593. <ul class="blockList">
  594. <li class="blockList">
  595. <h4>trainM</h4>
  596. <pre>public&nbsp;boolean&nbsp;trainM(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  597. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs0)</pre>
  598. </li>
  599. </ul>
  600. <a name="trainM-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">
  601. <!-- -->
  602. </a>
  603. <ul class="blockListLast">
  604. <li class="blockList">
  605. <h4>trainM</h4>
  606. <pre>public&nbsp;boolean&nbsp;trainM(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  607. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs0,
  608. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;logLikelihoods,
  609. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;labels,
  610. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;probs)</pre>
  611. </li>
  612. </ul>
  613. </li>
  614. </ul>
  615. </li>
  616. </ul>
  617. </div>
  618. </div>
  619. <!-- ========= END OF CLASS DATA ========= -->
  620. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  621. <div class="bottomNav"><a name="navbar.bottom">
  622. <!-- -->
  623. </a>
  624. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  625. <a name="navbar.bottom.firstrow">
  626. <!-- -->
  627. </a>
  628. <ul class="navList" title="Navigation">
  629. <li><a href="../../../overview-summary.html">Overview</a></li>
  630. <li><a href="package-summary.html">Package</a></li>
  631. <li class="navBarCell1Rev">Class</li>
  632. <li><a href="package-tree.html">Tree</a></li>
  633. <li><a href="../../../index-all.html">Index</a></li>
  634. <li><a href="../../../help-doc.html">Help</a></li>
  635. </ul>
  636. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  637. </div>
  638. <div class="subNav">
  639. <ul class="navList">
  640. <li><a href="../../../org/opencv/ml/DTrees.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  641. <li><a href="../../../org/opencv/ml/KNearest.html" title="class in org.opencv.ml"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  642. </ul>
  643. <ul class="navList">
  644. <li><a href="../../../index.html?org/opencv/ml/EM.html" target="_top">Frames</a></li>
  645. <li><a href="EM.html" target="_top">No&nbsp;Frames</a></li>
  646. </ul>
  647. <ul class="navList" id="allclasses_navbar_bottom">
  648. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  649. </ul>
  650. <div>
  651. <script type="text/javascript"><!--
  652. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  653. if(window==top) {
  654. allClassesLink.style.display = "block";
  655. }
  656. else {
  657. allClassesLink.style.display = "none";
  658. }
  659. //-->
  660. </script>
  661. </div>
  662. <div>
  663. <ul class="subNavList">
  664. <li>Summary:&nbsp;</li>
  665. <li>Nested&nbsp;|&nbsp;</li>
  666. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  667. <li>Constr&nbsp;|&nbsp;</li>
  668. <li><a href="#method.summary">Method</a></li>
  669. </ul>
  670. <ul class="subNavList">
  671. <li>Detail:&nbsp;</li>
  672. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  673. <li>Constr&nbsp;|&nbsp;</li>
  674. <li><a href="#method.detail">Method</a></li>
  675. </ul>
  676. </div>
  677. <a name="skip.navbar.bottom">
  678. <!-- -->
  679. </a></div>
  680. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  681. </body>
  682. </html>