SimpleBlobDetector_Params.cs 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  1. using OpenCVForUnity.CoreModule;
  2. using OpenCVForUnity.UtilsModule;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Runtime.InteropServices;
  6. namespace OpenCVForUnity.Features2dModule
  7. {
  8. // C++: class Params
  9. public class SimpleBlobDetector_Params : DisposableOpenCVObject
  10. {
  11. protected override void Dispose(bool disposing)
  12. {
  13. try
  14. {
  15. if (disposing)
  16. {
  17. }
  18. if (IsEnabledDispose)
  19. {
  20. if (nativeObj != IntPtr.Zero)
  21. features2d_SimpleBlobDetector_1Params_delete(nativeObj);
  22. nativeObj = IntPtr.Zero;
  23. }
  24. }
  25. finally
  26. {
  27. base.Dispose(disposing);
  28. }
  29. }
  30. protected internal SimpleBlobDetector_Params(IntPtr addr) : base(addr) { }
  31. public IntPtr getNativeObjAddr() { return nativeObj; }
  32. // internal usage only
  33. public static SimpleBlobDetector_Params __fromPtr__(IntPtr addr) { return new SimpleBlobDetector_Params(addr); }
  34. //
  35. // C++: cv::SimpleBlobDetector::Params::Params()
  36. //
  37. public SimpleBlobDetector_Params()
  38. {
  39. nativeObj = DisposableObject.ThrowIfNullIntPtr(features2d_SimpleBlobDetector_1Params_SimpleBlobDetector_1Params_10());
  40. }
  41. //
  42. // C++: float SimpleBlobDetector_Params::thresholdStep
  43. //
  44. public float get_thresholdStep()
  45. {
  46. ThrowIfDisposed();
  47. return features2d_SimpleBlobDetector_1Params_get_1thresholdStep_10(nativeObj);
  48. }
  49. //
  50. // C++: void SimpleBlobDetector_Params::thresholdStep
  51. //
  52. public void set_thresholdStep(float thresholdStep)
  53. {
  54. ThrowIfDisposed();
  55. features2d_SimpleBlobDetector_1Params_set_1thresholdStep_10(nativeObj, thresholdStep);
  56. }
  57. //
  58. // C++: float SimpleBlobDetector_Params::minThreshold
  59. //
  60. public float get_minThreshold()
  61. {
  62. ThrowIfDisposed();
  63. return features2d_SimpleBlobDetector_1Params_get_1minThreshold_10(nativeObj);
  64. }
  65. //
  66. // C++: void SimpleBlobDetector_Params::minThreshold
  67. //
  68. public void set_minThreshold(float minThreshold)
  69. {
  70. ThrowIfDisposed();
  71. features2d_SimpleBlobDetector_1Params_set_1minThreshold_10(nativeObj, minThreshold);
  72. }
  73. //
  74. // C++: float SimpleBlobDetector_Params::maxThreshold
  75. //
  76. public float get_maxThreshold()
  77. {
  78. ThrowIfDisposed();
  79. return features2d_SimpleBlobDetector_1Params_get_1maxThreshold_10(nativeObj);
  80. }
  81. //
  82. // C++: void SimpleBlobDetector_Params::maxThreshold
  83. //
  84. public void set_maxThreshold(float maxThreshold)
  85. {
  86. ThrowIfDisposed();
  87. features2d_SimpleBlobDetector_1Params_set_1maxThreshold_10(nativeObj, maxThreshold);
  88. }
  89. //
  90. // C++: size_t SimpleBlobDetector_Params::minRepeatability
  91. //
  92. public long get_minRepeatability()
  93. {
  94. ThrowIfDisposed();
  95. return features2d_SimpleBlobDetector_1Params_get_1minRepeatability_10(nativeObj);
  96. }
  97. //
  98. // C++: void SimpleBlobDetector_Params::minRepeatability
  99. //
  100. public void set_minRepeatability(long minRepeatability)
  101. {
  102. ThrowIfDisposed();
  103. features2d_SimpleBlobDetector_1Params_set_1minRepeatability_10(nativeObj, minRepeatability);
  104. }
  105. //
  106. // C++: float SimpleBlobDetector_Params::minDistBetweenBlobs
  107. //
  108. public float get_minDistBetweenBlobs()
  109. {
  110. ThrowIfDisposed();
  111. return features2d_SimpleBlobDetector_1Params_get_1minDistBetweenBlobs_10(nativeObj);
  112. }
  113. //
  114. // C++: void SimpleBlobDetector_Params::minDistBetweenBlobs
  115. //
  116. public void set_minDistBetweenBlobs(float minDistBetweenBlobs)
  117. {
  118. ThrowIfDisposed();
  119. features2d_SimpleBlobDetector_1Params_set_1minDistBetweenBlobs_10(nativeObj, minDistBetweenBlobs);
  120. }
  121. //
  122. // C++: bool SimpleBlobDetector_Params::filterByColor
  123. //
  124. public bool get_filterByColor()
  125. {
  126. ThrowIfDisposed();
  127. return features2d_SimpleBlobDetector_1Params_get_1filterByColor_10(nativeObj);
  128. }
  129. //
  130. // C++: void SimpleBlobDetector_Params::filterByColor
  131. //
  132. public void set_filterByColor(bool filterByColor)
  133. {
  134. ThrowIfDisposed();
  135. features2d_SimpleBlobDetector_1Params_set_1filterByColor_10(nativeObj, filterByColor);
  136. }
  137. //
  138. // C++: uchar SimpleBlobDetector_Params::blobColor
  139. //
  140. // Return type 'uchar' is not supported, skipping the function
  141. //
  142. // C++: void SimpleBlobDetector_Params::blobColor
  143. //
  144. // Unknown type 'uchar' (I), skipping the function
  145. //
  146. // C++: bool SimpleBlobDetector_Params::filterByArea
  147. //
  148. public bool get_filterByArea()
  149. {
  150. ThrowIfDisposed();
  151. return features2d_SimpleBlobDetector_1Params_get_1filterByArea_10(nativeObj);
  152. }
  153. //
  154. // C++: void SimpleBlobDetector_Params::filterByArea
  155. //
  156. public void set_filterByArea(bool filterByArea)
  157. {
  158. ThrowIfDisposed();
  159. features2d_SimpleBlobDetector_1Params_set_1filterByArea_10(nativeObj, filterByArea);
  160. }
  161. //
  162. // C++: float SimpleBlobDetector_Params::minArea
  163. //
  164. public float get_minArea()
  165. {
  166. ThrowIfDisposed();
  167. return features2d_SimpleBlobDetector_1Params_get_1minArea_10(nativeObj);
  168. }
  169. //
  170. // C++: void SimpleBlobDetector_Params::minArea
  171. //
  172. public void set_minArea(float minArea)
  173. {
  174. ThrowIfDisposed();
  175. features2d_SimpleBlobDetector_1Params_set_1minArea_10(nativeObj, minArea);
  176. }
  177. //
  178. // C++: float SimpleBlobDetector_Params::maxArea
  179. //
  180. public float get_maxArea()
  181. {
  182. ThrowIfDisposed();
  183. return features2d_SimpleBlobDetector_1Params_get_1maxArea_10(nativeObj);
  184. }
  185. //
  186. // C++: void SimpleBlobDetector_Params::maxArea
  187. //
  188. public void set_maxArea(float maxArea)
  189. {
  190. ThrowIfDisposed();
  191. features2d_SimpleBlobDetector_1Params_set_1maxArea_10(nativeObj, maxArea);
  192. }
  193. //
  194. // C++: bool SimpleBlobDetector_Params::filterByCircularity
  195. //
  196. public bool get_filterByCircularity()
  197. {
  198. ThrowIfDisposed();
  199. return features2d_SimpleBlobDetector_1Params_get_1filterByCircularity_10(nativeObj);
  200. }
  201. //
  202. // C++: void SimpleBlobDetector_Params::filterByCircularity
  203. //
  204. public void set_filterByCircularity(bool filterByCircularity)
  205. {
  206. ThrowIfDisposed();
  207. features2d_SimpleBlobDetector_1Params_set_1filterByCircularity_10(nativeObj, filterByCircularity);
  208. }
  209. //
  210. // C++: float SimpleBlobDetector_Params::minCircularity
  211. //
  212. public float get_minCircularity()
  213. {
  214. ThrowIfDisposed();
  215. return features2d_SimpleBlobDetector_1Params_get_1minCircularity_10(nativeObj);
  216. }
  217. //
  218. // C++: void SimpleBlobDetector_Params::minCircularity
  219. //
  220. public void set_minCircularity(float minCircularity)
  221. {
  222. ThrowIfDisposed();
  223. features2d_SimpleBlobDetector_1Params_set_1minCircularity_10(nativeObj, minCircularity);
  224. }
  225. //
  226. // C++: float SimpleBlobDetector_Params::maxCircularity
  227. //
  228. public float get_maxCircularity()
  229. {
  230. ThrowIfDisposed();
  231. return features2d_SimpleBlobDetector_1Params_get_1maxCircularity_10(nativeObj);
  232. }
  233. //
  234. // C++: void SimpleBlobDetector_Params::maxCircularity
  235. //
  236. public void set_maxCircularity(float maxCircularity)
  237. {
  238. ThrowIfDisposed();
  239. features2d_SimpleBlobDetector_1Params_set_1maxCircularity_10(nativeObj, maxCircularity);
  240. }
  241. //
  242. // C++: bool SimpleBlobDetector_Params::filterByInertia
  243. //
  244. public bool get_filterByInertia()
  245. {
  246. ThrowIfDisposed();
  247. return features2d_SimpleBlobDetector_1Params_get_1filterByInertia_10(nativeObj);
  248. }
  249. //
  250. // C++: void SimpleBlobDetector_Params::filterByInertia
  251. //
  252. public void set_filterByInertia(bool filterByInertia)
  253. {
  254. ThrowIfDisposed();
  255. features2d_SimpleBlobDetector_1Params_set_1filterByInertia_10(nativeObj, filterByInertia);
  256. }
  257. //
  258. // C++: float SimpleBlobDetector_Params::minInertiaRatio
  259. //
  260. public float get_minInertiaRatio()
  261. {
  262. ThrowIfDisposed();
  263. return features2d_SimpleBlobDetector_1Params_get_1minInertiaRatio_10(nativeObj);
  264. }
  265. //
  266. // C++: void SimpleBlobDetector_Params::minInertiaRatio
  267. //
  268. public void set_minInertiaRatio(float minInertiaRatio)
  269. {
  270. ThrowIfDisposed();
  271. features2d_SimpleBlobDetector_1Params_set_1minInertiaRatio_10(nativeObj, minInertiaRatio);
  272. }
  273. //
  274. // C++: float SimpleBlobDetector_Params::maxInertiaRatio
  275. //
  276. public float get_maxInertiaRatio()
  277. {
  278. ThrowIfDisposed();
  279. return features2d_SimpleBlobDetector_1Params_get_1maxInertiaRatio_10(nativeObj);
  280. }
  281. //
  282. // C++: void SimpleBlobDetector_Params::maxInertiaRatio
  283. //
  284. public void set_maxInertiaRatio(float maxInertiaRatio)
  285. {
  286. ThrowIfDisposed();
  287. features2d_SimpleBlobDetector_1Params_set_1maxInertiaRatio_10(nativeObj, maxInertiaRatio);
  288. }
  289. //
  290. // C++: bool SimpleBlobDetector_Params::filterByConvexity
  291. //
  292. public bool get_filterByConvexity()
  293. {
  294. ThrowIfDisposed();
  295. return features2d_SimpleBlobDetector_1Params_get_1filterByConvexity_10(nativeObj);
  296. }
  297. //
  298. // C++: void SimpleBlobDetector_Params::filterByConvexity
  299. //
  300. public void set_filterByConvexity(bool filterByConvexity)
  301. {
  302. ThrowIfDisposed();
  303. features2d_SimpleBlobDetector_1Params_set_1filterByConvexity_10(nativeObj, filterByConvexity);
  304. }
  305. //
  306. // C++: float SimpleBlobDetector_Params::minConvexity
  307. //
  308. public float get_minConvexity()
  309. {
  310. ThrowIfDisposed();
  311. return features2d_SimpleBlobDetector_1Params_get_1minConvexity_10(nativeObj);
  312. }
  313. //
  314. // C++: void SimpleBlobDetector_Params::minConvexity
  315. //
  316. public void set_minConvexity(float minConvexity)
  317. {
  318. ThrowIfDisposed();
  319. features2d_SimpleBlobDetector_1Params_set_1minConvexity_10(nativeObj, minConvexity);
  320. }
  321. //
  322. // C++: float SimpleBlobDetector_Params::maxConvexity
  323. //
  324. public float get_maxConvexity()
  325. {
  326. ThrowIfDisposed();
  327. return features2d_SimpleBlobDetector_1Params_get_1maxConvexity_10(nativeObj);
  328. }
  329. //
  330. // C++: void SimpleBlobDetector_Params::maxConvexity
  331. //
  332. public void set_maxConvexity(float maxConvexity)
  333. {
  334. ThrowIfDisposed();
  335. features2d_SimpleBlobDetector_1Params_set_1maxConvexity_10(nativeObj, maxConvexity);
  336. }
  337. //
  338. // C++: bool SimpleBlobDetector_Params::collectContours
  339. //
  340. public bool get_collectContours()
  341. {
  342. ThrowIfDisposed();
  343. return features2d_SimpleBlobDetector_1Params_get_1collectContours_10(nativeObj);
  344. }
  345. //
  346. // C++: void SimpleBlobDetector_Params::collectContours
  347. //
  348. public void set_collectContours(bool collectContours)
  349. {
  350. ThrowIfDisposed();
  351. features2d_SimpleBlobDetector_1Params_set_1collectContours_10(nativeObj, collectContours);
  352. }
  353. #if (UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR
  354. const string LIBNAME = "__Internal";
  355. #else
  356. const string LIBNAME = "opencvforunity";
  357. #endif
  358. // C++: cv::SimpleBlobDetector::Params::Params()
  359. [DllImport(LIBNAME)]
  360. private static extern IntPtr features2d_SimpleBlobDetector_1Params_SimpleBlobDetector_1Params_10();
  361. // C++: float SimpleBlobDetector_Params::thresholdStep
  362. [DllImport(LIBNAME)]
  363. private static extern float features2d_SimpleBlobDetector_1Params_get_1thresholdStep_10(IntPtr nativeObj);
  364. // C++: void SimpleBlobDetector_Params::thresholdStep
  365. [DllImport(LIBNAME)]
  366. private static extern void features2d_SimpleBlobDetector_1Params_set_1thresholdStep_10(IntPtr nativeObj, float thresholdStep);
  367. // C++: float SimpleBlobDetector_Params::minThreshold
  368. [DllImport(LIBNAME)]
  369. private static extern float features2d_SimpleBlobDetector_1Params_get_1minThreshold_10(IntPtr nativeObj);
  370. // C++: void SimpleBlobDetector_Params::minThreshold
  371. [DllImport(LIBNAME)]
  372. private static extern void features2d_SimpleBlobDetector_1Params_set_1minThreshold_10(IntPtr nativeObj, float minThreshold);
  373. // C++: float SimpleBlobDetector_Params::maxThreshold
  374. [DllImport(LIBNAME)]
  375. private static extern float features2d_SimpleBlobDetector_1Params_get_1maxThreshold_10(IntPtr nativeObj);
  376. // C++: void SimpleBlobDetector_Params::maxThreshold
  377. [DllImport(LIBNAME)]
  378. private static extern void features2d_SimpleBlobDetector_1Params_set_1maxThreshold_10(IntPtr nativeObj, float maxThreshold);
  379. // C++: size_t SimpleBlobDetector_Params::minRepeatability
  380. [DllImport(LIBNAME)]
  381. private static extern long features2d_SimpleBlobDetector_1Params_get_1minRepeatability_10(IntPtr nativeObj);
  382. // C++: void SimpleBlobDetector_Params::minRepeatability
  383. [DllImport(LIBNAME)]
  384. private static extern void features2d_SimpleBlobDetector_1Params_set_1minRepeatability_10(IntPtr nativeObj, long minRepeatability);
  385. // C++: float SimpleBlobDetector_Params::minDistBetweenBlobs
  386. [DllImport(LIBNAME)]
  387. private static extern float features2d_SimpleBlobDetector_1Params_get_1minDistBetweenBlobs_10(IntPtr nativeObj);
  388. // C++: void SimpleBlobDetector_Params::minDistBetweenBlobs
  389. [DllImport(LIBNAME)]
  390. private static extern void features2d_SimpleBlobDetector_1Params_set_1minDistBetweenBlobs_10(IntPtr nativeObj, float minDistBetweenBlobs);
  391. // C++: bool SimpleBlobDetector_Params::filterByColor
  392. [DllImport(LIBNAME)]
  393. [return: MarshalAs(UnmanagedType.U1)]
  394. private static extern bool features2d_SimpleBlobDetector_1Params_get_1filterByColor_10(IntPtr nativeObj);
  395. // C++: void SimpleBlobDetector_Params::filterByColor
  396. [DllImport(LIBNAME)]
  397. private static extern void features2d_SimpleBlobDetector_1Params_set_1filterByColor_10(IntPtr nativeObj, [MarshalAs(UnmanagedType.U1)] bool filterByColor);
  398. // C++: bool SimpleBlobDetector_Params::filterByArea
  399. [DllImport(LIBNAME)]
  400. [return: MarshalAs(UnmanagedType.U1)]
  401. private static extern bool features2d_SimpleBlobDetector_1Params_get_1filterByArea_10(IntPtr nativeObj);
  402. // C++: void SimpleBlobDetector_Params::filterByArea
  403. [DllImport(LIBNAME)]
  404. private static extern void features2d_SimpleBlobDetector_1Params_set_1filterByArea_10(IntPtr nativeObj, [MarshalAs(UnmanagedType.U1)] bool filterByArea);
  405. // C++: float SimpleBlobDetector_Params::minArea
  406. [DllImport(LIBNAME)]
  407. private static extern float features2d_SimpleBlobDetector_1Params_get_1minArea_10(IntPtr nativeObj);
  408. // C++: void SimpleBlobDetector_Params::minArea
  409. [DllImport(LIBNAME)]
  410. private static extern void features2d_SimpleBlobDetector_1Params_set_1minArea_10(IntPtr nativeObj, float minArea);
  411. // C++: float SimpleBlobDetector_Params::maxArea
  412. [DllImport(LIBNAME)]
  413. private static extern float features2d_SimpleBlobDetector_1Params_get_1maxArea_10(IntPtr nativeObj);
  414. // C++: void SimpleBlobDetector_Params::maxArea
  415. [DllImport(LIBNAME)]
  416. private static extern void features2d_SimpleBlobDetector_1Params_set_1maxArea_10(IntPtr nativeObj, float maxArea);
  417. // C++: bool SimpleBlobDetector_Params::filterByCircularity
  418. [DllImport(LIBNAME)]
  419. [return: MarshalAs(UnmanagedType.U1)]
  420. private static extern bool features2d_SimpleBlobDetector_1Params_get_1filterByCircularity_10(IntPtr nativeObj);
  421. // C++: void SimpleBlobDetector_Params::filterByCircularity
  422. [DllImport(LIBNAME)]
  423. private static extern void features2d_SimpleBlobDetector_1Params_set_1filterByCircularity_10(IntPtr nativeObj, [MarshalAs(UnmanagedType.U1)] bool filterByCircularity);
  424. // C++: float SimpleBlobDetector_Params::minCircularity
  425. [DllImport(LIBNAME)]
  426. private static extern float features2d_SimpleBlobDetector_1Params_get_1minCircularity_10(IntPtr nativeObj);
  427. // C++: void SimpleBlobDetector_Params::minCircularity
  428. [DllImport(LIBNAME)]
  429. private static extern void features2d_SimpleBlobDetector_1Params_set_1minCircularity_10(IntPtr nativeObj, float minCircularity);
  430. // C++: float SimpleBlobDetector_Params::maxCircularity
  431. [DllImport(LIBNAME)]
  432. private static extern float features2d_SimpleBlobDetector_1Params_get_1maxCircularity_10(IntPtr nativeObj);
  433. // C++: void SimpleBlobDetector_Params::maxCircularity
  434. [DllImport(LIBNAME)]
  435. private static extern void features2d_SimpleBlobDetector_1Params_set_1maxCircularity_10(IntPtr nativeObj, float maxCircularity);
  436. // C++: bool SimpleBlobDetector_Params::filterByInertia
  437. [DllImport(LIBNAME)]
  438. [return: MarshalAs(UnmanagedType.U1)]
  439. private static extern bool features2d_SimpleBlobDetector_1Params_get_1filterByInertia_10(IntPtr nativeObj);
  440. // C++: void SimpleBlobDetector_Params::filterByInertia
  441. [DllImport(LIBNAME)]
  442. private static extern void features2d_SimpleBlobDetector_1Params_set_1filterByInertia_10(IntPtr nativeObj, [MarshalAs(UnmanagedType.U1)] bool filterByInertia);
  443. // C++: float SimpleBlobDetector_Params::minInertiaRatio
  444. [DllImport(LIBNAME)]
  445. private static extern float features2d_SimpleBlobDetector_1Params_get_1minInertiaRatio_10(IntPtr nativeObj);
  446. // C++: void SimpleBlobDetector_Params::minInertiaRatio
  447. [DllImport(LIBNAME)]
  448. private static extern void features2d_SimpleBlobDetector_1Params_set_1minInertiaRatio_10(IntPtr nativeObj, float minInertiaRatio);
  449. // C++: float SimpleBlobDetector_Params::maxInertiaRatio
  450. [DllImport(LIBNAME)]
  451. private static extern float features2d_SimpleBlobDetector_1Params_get_1maxInertiaRatio_10(IntPtr nativeObj);
  452. // C++: void SimpleBlobDetector_Params::maxInertiaRatio
  453. [DllImport(LIBNAME)]
  454. private static extern void features2d_SimpleBlobDetector_1Params_set_1maxInertiaRatio_10(IntPtr nativeObj, float maxInertiaRatio);
  455. // C++: bool SimpleBlobDetector_Params::filterByConvexity
  456. [DllImport(LIBNAME)]
  457. [return: MarshalAs(UnmanagedType.U1)]
  458. private static extern bool features2d_SimpleBlobDetector_1Params_get_1filterByConvexity_10(IntPtr nativeObj);
  459. // C++: void SimpleBlobDetector_Params::filterByConvexity
  460. [DllImport(LIBNAME)]
  461. private static extern void features2d_SimpleBlobDetector_1Params_set_1filterByConvexity_10(IntPtr nativeObj, [MarshalAs(UnmanagedType.U1)] bool filterByConvexity);
  462. // C++: float SimpleBlobDetector_Params::minConvexity
  463. [DllImport(LIBNAME)]
  464. private static extern float features2d_SimpleBlobDetector_1Params_get_1minConvexity_10(IntPtr nativeObj);
  465. // C++: void SimpleBlobDetector_Params::minConvexity
  466. [DllImport(LIBNAME)]
  467. private static extern void features2d_SimpleBlobDetector_1Params_set_1minConvexity_10(IntPtr nativeObj, float minConvexity);
  468. // C++: float SimpleBlobDetector_Params::maxConvexity
  469. [DllImport(LIBNAME)]
  470. private static extern float features2d_SimpleBlobDetector_1Params_get_1maxConvexity_10(IntPtr nativeObj);
  471. // C++: void SimpleBlobDetector_Params::maxConvexity
  472. [DllImport(LIBNAME)]
  473. private static extern void features2d_SimpleBlobDetector_1Params_set_1maxConvexity_10(IntPtr nativeObj, float maxConvexity);
  474. // C++: bool SimpleBlobDetector_Params::collectContours
  475. [DllImport(LIBNAME)]
  476. [return: MarshalAs(UnmanagedType.U1)]
  477. private static extern bool features2d_SimpleBlobDetector_1Params_get_1collectContours_10(IntPtr nativeObj);
  478. // C++: void SimpleBlobDetector_Params::collectContours
  479. [DllImport(LIBNAME)]
  480. private static extern void features2d_SimpleBlobDetector_1Params_set_1collectContours_10(IntPtr nativeObj, [MarshalAs(UnmanagedType.U1)] bool collectContours);
  481. // native support for java finalize()
  482. [DllImport(LIBNAME)]
  483. private static extern void features2d_SimpleBlobDetector_1Params_delete(IntPtr nativeObj);
  484. }
  485. }