Fuzzy.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507
  1. 
  2. using OpenCVForUnity.CoreModule;
  3. using OpenCVForUnity.UtilsModule;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Runtime.InteropServices;
  7. namespace OpenCVForUnity.FuzzyModule
  8. {
  9. // C++: class Fuzzy
  10. //javadoc: Fuzzy
  11. public class Fuzzy
  12. {
  13. // C++: enum <unnamed>
  14. public const int LINEAR = 1;
  15. public const int SINUS = 2;
  16. public const int ONE_STEP = 1;
  17. public const int MULTI_STEP = 2;
  18. public const int ITERATIVE = 3;
  19. //
  20. // C++: int cv::ft::FT02D_iteration(Mat matrix, Mat kernel, Mat& output, Mat mask, Mat& maskOutput, bool firstStop)
  21. //
  22. //javadoc: FT02D_iteration(matrix, kernel, output, mask, maskOutput, firstStop)
  23. public static int FT02D_iteration (Mat matrix, Mat kernel, Mat output, Mat mask, Mat maskOutput, bool firstStop)
  24. {
  25. if (matrix != null) matrix.ThrowIfDisposed ();
  26. if (kernel != null) kernel.ThrowIfDisposed ();
  27. if (output != null) output.ThrowIfDisposed ();
  28. if (mask != null) mask.ThrowIfDisposed ();
  29. if (maskOutput != null) maskOutput.ThrowIfDisposed ();
  30. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  31. int retVal = fuzzy_Fuzzy_FT02D_1iteration_10(matrix.nativeObj, kernel.nativeObj, output.nativeObj, mask.nativeObj, maskOutput.nativeObj, firstStop);
  32. return retVal;
  33. #else
  34. return -1;
  35. #endif
  36. }
  37. //
  38. // C++: void cv::ft::FT02D_FL_process(Mat matrix, int radius, Mat& output)
  39. //
  40. //javadoc: FT02D_FL_process(matrix, radius, output)
  41. public static void FT02D_FL_process (Mat matrix, int radius, Mat output)
  42. {
  43. if (matrix != null) matrix.ThrowIfDisposed ();
  44. if (output != null) output.ThrowIfDisposed ();
  45. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  46. fuzzy_Fuzzy_FT02D_1FL_1process_10(matrix.nativeObj, radius, output.nativeObj);
  47. return;
  48. #else
  49. return;
  50. #endif
  51. }
  52. //
  53. // C++: void cv::ft::FT02D_FL_process_float(Mat matrix, int radius, Mat& output)
  54. //
  55. //javadoc: FT02D_FL_process_float(matrix, radius, output)
  56. public static void FT02D_FL_process_float (Mat matrix, int radius, Mat output)
  57. {
  58. if (matrix != null) matrix.ThrowIfDisposed ();
  59. if (output != null) output.ThrowIfDisposed ();
  60. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  61. fuzzy_Fuzzy_FT02D_1FL_1process_1float_10(matrix.nativeObj, radius, output.nativeObj);
  62. return;
  63. #else
  64. return;
  65. #endif
  66. }
  67. //
  68. // C++: void cv::ft::FT02D_components(Mat matrix, Mat kernel, Mat& components, Mat mask = Mat())
  69. //
  70. //javadoc: FT02D_components(matrix, kernel, components, mask)
  71. public static void FT02D_components (Mat matrix, Mat kernel, Mat components, Mat mask)
  72. {
  73. if (matrix != null) matrix.ThrowIfDisposed ();
  74. if (kernel != null) kernel.ThrowIfDisposed ();
  75. if (components != null) components.ThrowIfDisposed ();
  76. if (mask != null) mask.ThrowIfDisposed ();
  77. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  78. fuzzy_Fuzzy_FT02D_1components_10(matrix.nativeObj, kernel.nativeObj, components.nativeObj, mask.nativeObj);
  79. return;
  80. #else
  81. return;
  82. #endif
  83. }
  84. //javadoc: FT02D_components(matrix, kernel, components)
  85. public static void FT02D_components (Mat matrix, Mat kernel, Mat components)
  86. {
  87. if (matrix != null) matrix.ThrowIfDisposed ();
  88. if (kernel != null) kernel.ThrowIfDisposed ();
  89. if (components != null) components.ThrowIfDisposed ();
  90. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  91. fuzzy_Fuzzy_FT02D_1components_11(matrix.nativeObj, kernel.nativeObj, components.nativeObj);
  92. return;
  93. #else
  94. return;
  95. #endif
  96. }
  97. //
  98. // C++: void cv::ft::FT02D_inverseFT(Mat components, Mat kernel, Mat& output, int width, int height)
  99. //
  100. //javadoc: FT02D_inverseFT(components, kernel, output, width, height)
  101. public static void FT02D_inverseFT (Mat components, Mat kernel, Mat output, int width, int height)
  102. {
  103. if (components != null) components.ThrowIfDisposed ();
  104. if (kernel != null) kernel.ThrowIfDisposed ();
  105. if (output != null) output.ThrowIfDisposed ();
  106. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  107. fuzzy_Fuzzy_FT02D_1inverseFT_10(components.nativeObj, kernel.nativeObj, output.nativeObj, width, height);
  108. return;
  109. #else
  110. return;
  111. #endif
  112. }
  113. //
  114. // C++: void cv::ft::FT02D_process(Mat matrix, Mat kernel, Mat& output, Mat mask = Mat())
  115. //
  116. //javadoc: FT02D_process(matrix, kernel, output, mask)
  117. public static void FT02D_process (Mat matrix, Mat kernel, Mat output, Mat mask)
  118. {
  119. if (matrix != null) matrix.ThrowIfDisposed ();
  120. if (kernel != null) kernel.ThrowIfDisposed ();
  121. if (output != null) output.ThrowIfDisposed ();
  122. if (mask != null) mask.ThrowIfDisposed ();
  123. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  124. fuzzy_Fuzzy_FT02D_1process_10(matrix.nativeObj, kernel.nativeObj, output.nativeObj, mask.nativeObj);
  125. return;
  126. #else
  127. return;
  128. #endif
  129. }
  130. //javadoc: FT02D_process(matrix, kernel, output)
  131. public static void FT02D_process (Mat matrix, Mat kernel, Mat output)
  132. {
  133. if (matrix != null) matrix.ThrowIfDisposed ();
  134. if (kernel != null) kernel.ThrowIfDisposed ();
  135. if (output != null) output.ThrowIfDisposed ();
  136. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  137. fuzzy_Fuzzy_FT02D_1process_11(matrix.nativeObj, kernel.nativeObj, output.nativeObj);
  138. return;
  139. #else
  140. return;
  141. #endif
  142. }
  143. //
  144. // C++: void cv::ft::FT12D_components(Mat matrix, Mat kernel, Mat& components)
  145. //
  146. //javadoc: FT12D_components(matrix, kernel, components)
  147. public static void FT12D_components (Mat matrix, Mat kernel, Mat components)
  148. {
  149. if (matrix != null) matrix.ThrowIfDisposed ();
  150. if (kernel != null) kernel.ThrowIfDisposed ();
  151. if (components != null) components.ThrowIfDisposed ();
  152. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  153. fuzzy_Fuzzy_FT12D_1components_10(matrix.nativeObj, kernel.nativeObj, components.nativeObj);
  154. return;
  155. #else
  156. return;
  157. #endif
  158. }
  159. //
  160. // C++: void cv::ft::FT12D_createPolynomMatrixHorizontal(int radius, Mat& matrix, int chn)
  161. //
  162. //javadoc: FT12D_createPolynomMatrixHorizontal(radius, matrix, chn)
  163. public static void FT12D_createPolynomMatrixHorizontal (int radius, Mat matrix, int chn)
  164. {
  165. if (matrix != null) matrix.ThrowIfDisposed ();
  166. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  167. fuzzy_Fuzzy_FT12D_1createPolynomMatrixHorizontal_10(radius, matrix.nativeObj, chn);
  168. return;
  169. #else
  170. return;
  171. #endif
  172. }
  173. //
  174. // C++: void cv::ft::FT12D_createPolynomMatrixVertical(int radius, Mat& matrix, int chn)
  175. //
  176. //javadoc: FT12D_createPolynomMatrixVertical(radius, matrix, chn)
  177. public static void FT12D_createPolynomMatrixVertical (int radius, Mat matrix, int chn)
  178. {
  179. if (matrix != null) matrix.ThrowIfDisposed ();
  180. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  181. fuzzy_Fuzzy_FT12D_1createPolynomMatrixVertical_10(radius, matrix.nativeObj, chn);
  182. return;
  183. #else
  184. return;
  185. #endif
  186. }
  187. //
  188. // C++: void cv::ft::FT12D_inverseFT(Mat components, Mat kernel, Mat& output, int width, int height)
  189. //
  190. //javadoc: FT12D_inverseFT(components, kernel, output, width, height)
  191. public static void FT12D_inverseFT (Mat components, Mat kernel, Mat output, int width, int height)
  192. {
  193. if (components != null) components.ThrowIfDisposed ();
  194. if (kernel != null) kernel.ThrowIfDisposed ();
  195. if (output != null) output.ThrowIfDisposed ();
  196. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  197. fuzzy_Fuzzy_FT12D_1inverseFT_10(components.nativeObj, kernel.nativeObj, output.nativeObj, width, height);
  198. return;
  199. #else
  200. return;
  201. #endif
  202. }
  203. //
  204. // C++: void cv::ft::FT12D_polynomial(Mat matrix, Mat kernel, Mat& c00, Mat& c10, Mat& c01, Mat& components, Mat mask = Mat())
  205. //
  206. //javadoc: FT12D_polynomial(matrix, kernel, c00, c10, c01, components, mask)
  207. public static void FT12D_polynomial (Mat matrix, Mat kernel, Mat c00, Mat c10, Mat c01, Mat components, Mat mask)
  208. {
  209. if (matrix != null) matrix.ThrowIfDisposed ();
  210. if (kernel != null) kernel.ThrowIfDisposed ();
  211. if (c00 != null) c00.ThrowIfDisposed ();
  212. if (c10 != null) c10.ThrowIfDisposed ();
  213. if (c01 != null) c01.ThrowIfDisposed ();
  214. if (components != null) components.ThrowIfDisposed ();
  215. if (mask != null) mask.ThrowIfDisposed ();
  216. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  217. fuzzy_Fuzzy_FT12D_1polynomial_10(matrix.nativeObj, kernel.nativeObj, c00.nativeObj, c10.nativeObj, c01.nativeObj, components.nativeObj, mask.nativeObj);
  218. return;
  219. #else
  220. return;
  221. #endif
  222. }
  223. //javadoc: FT12D_polynomial(matrix, kernel, c00, c10, c01, components)
  224. public static void FT12D_polynomial (Mat matrix, Mat kernel, Mat c00, Mat c10, Mat c01, Mat components)
  225. {
  226. if (matrix != null) matrix.ThrowIfDisposed ();
  227. if (kernel != null) kernel.ThrowIfDisposed ();
  228. if (c00 != null) c00.ThrowIfDisposed ();
  229. if (c10 != null) c10.ThrowIfDisposed ();
  230. if (c01 != null) c01.ThrowIfDisposed ();
  231. if (components != null) components.ThrowIfDisposed ();
  232. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  233. fuzzy_Fuzzy_FT12D_1polynomial_11(matrix.nativeObj, kernel.nativeObj, c00.nativeObj, c10.nativeObj, c01.nativeObj, components.nativeObj);
  234. return;
  235. #else
  236. return;
  237. #endif
  238. }
  239. //
  240. // C++: void cv::ft::FT12D_process(Mat matrix, Mat kernel, Mat& output, Mat mask = Mat())
  241. //
  242. //javadoc: FT12D_process(matrix, kernel, output, mask)
  243. public static void FT12D_process (Mat matrix, Mat kernel, Mat output, Mat mask)
  244. {
  245. if (matrix != null) matrix.ThrowIfDisposed ();
  246. if (kernel != null) kernel.ThrowIfDisposed ();
  247. if (output != null) output.ThrowIfDisposed ();
  248. if (mask != null) mask.ThrowIfDisposed ();
  249. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  250. fuzzy_Fuzzy_FT12D_1process_10(matrix.nativeObj, kernel.nativeObj, output.nativeObj, mask.nativeObj);
  251. return;
  252. #else
  253. return;
  254. #endif
  255. }
  256. //javadoc: FT12D_process(matrix, kernel, output)
  257. public static void FT12D_process (Mat matrix, Mat kernel, Mat output)
  258. {
  259. if (matrix != null) matrix.ThrowIfDisposed ();
  260. if (kernel != null) kernel.ThrowIfDisposed ();
  261. if (output != null) output.ThrowIfDisposed ();
  262. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  263. fuzzy_Fuzzy_FT12D_1process_11(matrix.nativeObj, kernel.nativeObj, output.nativeObj);
  264. return;
  265. #else
  266. return;
  267. #endif
  268. }
  269. //
  270. // C++: void cv::ft::createKernel(Mat A, Mat B, Mat& kernel, int chn)
  271. //
  272. //javadoc: createKernel1(A, B, kernel, chn)
  273. public static void createKernel1 (Mat A, Mat B, Mat kernel, int chn)
  274. {
  275. if (A != null) A.ThrowIfDisposed ();
  276. if (B != null) B.ThrowIfDisposed ();
  277. if (kernel != null) kernel.ThrowIfDisposed ();
  278. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  279. fuzzy_Fuzzy_createKernel1_10(A.nativeObj, B.nativeObj, kernel.nativeObj, chn);
  280. return;
  281. #else
  282. return;
  283. #endif
  284. }
  285. //
  286. // C++: void cv::ft::createKernel(int function, int radius, Mat& kernel, int chn)
  287. //
  288. //javadoc: createKernel(function, radius, kernel, chn)
  289. public static void createKernel (int function, int radius, Mat kernel, int chn)
  290. {
  291. if (kernel != null) kernel.ThrowIfDisposed ();
  292. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  293. fuzzy_Fuzzy_createKernel_10(function, radius, kernel.nativeObj, chn);
  294. return;
  295. #else
  296. return;
  297. #endif
  298. }
  299. //
  300. // C++: void cv::ft::filter(Mat image, Mat kernel, Mat& output)
  301. //
  302. //javadoc: filter(image, kernel, output)
  303. public static void filter (Mat image, Mat kernel, Mat output)
  304. {
  305. if (image != null) image.ThrowIfDisposed ();
  306. if (kernel != null) kernel.ThrowIfDisposed ();
  307. if (output != null) output.ThrowIfDisposed ();
  308. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  309. fuzzy_Fuzzy_filter_10(image.nativeObj, kernel.nativeObj, output.nativeObj);
  310. return;
  311. #else
  312. return;
  313. #endif
  314. }
  315. //
  316. // C++: void cv::ft::inpaint(Mat image, Mat mask, Mat& output, int radius, int function, int algorithm)
  317. //
  318. //javadoc: inpaint(image, mask, output, radius, function, algorithm)
  319. public static void inpaint (Mat image, Mat mask, Mat output, int radius, int function, int algorithm)
  320. {
  321. if (image != null) image.ThrowIfDisposed ();
  322. if (mask != null) mask.ThrowIfDisposed ();
  323. if (output != null) output.ThrowIfDisposed ();
  324. #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
  325. fuzzy_Fuzzy_inpaint_10(image.nativeObj, mask.nativeObj, output.nativeObj, radius, function, algorithm);
  326. return;
  327. #else
  328. return;
  329. #endif
  330. }
  331. #if (UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR
  332. const string LIBNAME = "__Internal";
  333. #else
  334. const string LIBNAME = "opencvforunity";
  335. #endif
  336. // C++: int cv::ft::FT02D_iteration(Mat matrix, Mat kernel, Mat& output, Mat mask, Mat& maskOutput, bool firstStop)
  337. [DllImport (LIBNAME)]
  338. private static extern int fuzzy_Fuzzy_FT02D_1iteration_10 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr output_nativeObj, IntPtr mask_nativeObj, IntPtr maskOutput_nativeObj, bool firstStop);
  339. // C++: void cv::ft::FT02D_FL_process(Mat matrix, int radius, Mat& output)
  340. [DllImport (LIBNAME)]
  341. private static extern void fuzzy_Fuzzy_FT02D_1FL_1process_10 (IntPtr matrix_nativeObj, int radius, IntPtr output_nativeObj);
  342. // C++: void cv::ft::FT02D_FL_process_float(Mat matrix, int radius, Mat& output)
  343. [DllImport (LIBNAME)]
  344. private static extern void fuzzy_Fuzzy_FT02D_1FL_1process_1float_10 (IntPtr matrix_nativeObj, int radius, IntPtr output_nativeObj);
  345. // C++: void cv::ft::FT02D_components(Mat matrix, Mat kernel, Mat& components, Mat mask = Mat())
  346. [DllImport (LIBNAME)]
  347. private static extern void fuzzy_Fuzzy_FT02D_1components_10 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr components_nativeObj, IntPtr mask_nativeObj);
  348. [DllImport (LIBNAME)]
  349. private static extern void fuzzy_Fuzzy_FT02D_1components_11 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr components_nativeObj);
  350. // C++: void cv::ft::FT02D_inverseFT(Mat components, Mat kernel, Mat& output, int width, int height)
  351. [DllImport (LIBNAME)]
  352. private static extern void fuzzy_Fuzzy_FT02D_1inverseFT_10 (IntPtr components_nativeObj, IntPtr kernel_nativeObj, IntPtr output_nativeObj, int width, int height);
  353. // C++: void cv::ft::FT02D_process(Mat matrix, Mat kernel, Mat& output, Mat mask = Mat())
  354. [DllImport (LIBNAME)]
  355. private static extern void fuzzy_Fuzzy_FT02D_1process_10 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr output_nativeObj, IntPtr mask_nativeObj);
  356. [DllImport (LIBNAME)]
  357. private static extern void fuzzy_Fuzzy_FT02D_1process_11 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr output_nativeObj);
  358. // C++: void cv::ft::FT12D_components(Mat matrix, Mat kernel, Mat& components)
  359. [DllImport (LIBNAME)]
  360. private static extern void fuzzy_Fuzzy_FT12D_1components_10 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr components_nativeObj);
  361. // C++: void cv::ft::FT12D_createPolynomMatrixHorizontal(int radius, Mat& matrix, int chn)
  362. [DllImport (LIBNAME)]
  363. private static extern void fuzzy_Fuzzy_FT12D_1createPolynomMatrixHorizontal_10 (int radius, IntPtr matrix_nativeObj, int chn);
  364. // C++: void cv::ft::FT12D_createPolynomMatrixVertical(int radius, Mat& matrix, int chn)
  365. [DllImport (LIBNAME)]
  366. private static extern void fuzzy_Fuzzy_FT12D_1createPolynomMatrixVertical_10 (int radius, IntPtr matrix_nativeObj, int chn);
  367. // C++: void cv::ft::FT12D_inverseFT(Mat components, Mat kernel, Mat& output, int width, int height)
  368. [DllImport (LIBNAME)]
  369. private static extern void fuzzy_Fuzzy_FT12D_1inverseFT_10 (IntPtr components_nativeObj, IntPtr kernel_nativeObj, IntPtr output_nativeObj, int width, int height);
  370. // C++: void cv::ft::FT12D_polynomial(Mat matrix, Mat kernel, Mat& c00, Mat& c10, Mat& c01, Mat& components, Mat mask = Mat())
  371. [DllImport (LIBNAME)]
  372. private static extern void fuzzy_Fuzzy_FT12D_1polynomial_10 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr c00_nativeObj, IntPtr c10_nativeObj, IntPtr c01_nativeObj, IntPtr components_nativeObj, IntPtr mask_nativeObj);
  373. [DllImport (LIBNAME)]
  374. private static extern void fuzzy_Fuzzy_FT12D_1polynomial_11 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr c00_nativeObj, IntPtr c10_nativeObj, IntPtr c01_nativeObj, IntPtr components_nativeObj);
  375. // C++: void cv::ft::FT12D_process(Mat matrix, Mat kernel, Mat& output, Mat mask = Mat())
  376. [DllImport (LIBNAME)]
  377. private static extern void fuzzy_Fuzzy_FT12D_1process_10 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr output_nativeObj, IntPtr mask_nativeObj);
  378. [DllImport (LIBNAME)]
  379. private static extern void fuzzy_Fuzzy_FT12D_1process_11 (IntPtr matrix_nativeObj, IntPtr kernel_nativeObj, IntPtr output_nativeObj);
  380. // C++: void cv::ft::createKernel(Mat A, Mat B, Mat& kernel, int chn)
  381. [DllImport (LIBNAME)]
  382. private static extern void fuzzy_Fuzzy_createKernel1_10 (IntPtr A_nativeObj, IntPtr B_nativeObj, IntPtr kernel_nativeObj, int chn);
  383. // C++: void cv::ft::createKernel(int function, int radius, Mat& kernel, int chn)
  384. [DllImport (LIBNAME)]
  385. private static extern void fuzzy_Fuzzy_createKernel_10 (int function, int radius, IntPtr kernel_nativeObj, int chn);
  386. // C++: void cv::ft::filter(Mat image, Mat kernel, Mat& output)
  387. [DllImport (LIBNAME)]
  388. private static extern void fuzzy_Fuzzy_filter_10 (IntPtr image_nativeObj, IntPtr kernel_nativeObj, IntPtr output_nativeObj);
  389. // C++: void cv::ft::inpaint(Mat image, Mat mask, Mat& output, int radius, int function, int algorithm)
  390. [DllImport (LIBNAME)]
  391. private static extern void fuzzy_Fuzzy_inpaint_10 (IntPtr image_nativeObj, IntPtr mask_nativeObj, IntPtr output_nativeObj, int radius, int function, int algorithm);
  392. }
  393. }