Params.java
14.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
// C++: class Params
//javadoc: Params
public class Params {
protected final long nativeObj;
protected Params(long addr) { nativeObj = addr; }
public long getNativeObjAddr() { return nativeObj; }
//
// C++: Params()
//
//javadoc: Params::Params()
public Params()
{
nativeObj = Params_0();
return;
}
//
// C++: float Params::thresholdStep
//
//javadoc: Params::get_thresholdStep()
public float get_thresholdStep()
{
float retVal = get_thresholdStep_0(nativeObj);
return retVal;
}
//
// C++: void Params::thresholdStep
//
//javadoc: Params::set_thresholdStep(thresholdStep)
public void set_thresholdStep(float thresholdStep)
{
set_thresholdStep_0(nativeObj, thresholdStep);
return;
}
//
// C++: float Params::minThreshold
//
//javadoc: Params::get_minThreshold()
public float get_minThreshold()
{
float retVal = get_minThreshold_0(nativeObj);
return retVal;
}
//
// C++: void Params::minThreshold
//
//javadoc: Params::set_minThreshold(minThreshold)
public void set_minThreshold(float minThreshold)
{
set_minThreshold_0(nativeObj, minThreshold);
return;
}
//
// C++: float Params::maxThreshold
//
//javadoc: Params::get_maxThreshold()
public float get_maxThreshold()
{
float retVal = get_maxThreshold_0(nativeObj);
return retVal;
}
//
// C++: void Params::maxThreshold
//
//javadoc: Params::set_maxThreshold(maxThreshold)
public void set_maxThreshold(float maxThreshold)
{
set_maxThreshold_0(nativeObj, maxThreshold);
return;
}
//
// C++: size_t Params::minRepeatability
//
//javadoc: Params::get_minRepeatability()
public long get_minRepeatability()
{
long retVal = get_minRepeatability_0(nativeObj);
return retVal;
}
//
// C++: void Params::minRepeatability
//
//javadoc: Params::set_minRepeatability(minRepeatability)
public void set_minRepeatability(long minRepeatability)
{
set_minRepeatability_0(nativeObj, minRepeatability);
return;
}
//
// C++: float Params::minDistBetweenBlobs
//
//javadoc: Params::get_minDistBetweenBlobs()
public float get_minDistBetweenBlobs()
{
float retVal = get_minDistBetweenBlobs_0(nativeObj);
return retVal;
}
//
// C++: void Params::minDistBetweenBlobs
//
//javadoc: Params::set_minDistBetweenBlobs(minDistBetweenBlobs)
public void set_minDistBetweenBlobs(float minDistBetweenBlobs)
{
set_minDistBetweenBlobs_0(nativeObj, minDistBetweenBlobs);
return;
}
//
// C++: bool Params::filterByColor
//
//javadoc: Params::get_filterByColor()
public boolean get_filterByColor()
{
boolean retVal = get_filterByColor_0(nativeObj);
return retVal;
}
//
// C++: void Params::filterByColor
//
//javadoc: Params::set_filterByColor(filterByColor)
public void set_filterByColor(boolean filterByColor)
{
set_filterByColor_0(nativeObj, filterByColor);
return;
}
//
// C++: uchar Params::blobColor
//
// Return type 'uchar' is not supported, skipping the function
//
// C++: void Params::blobColor
//
// Unknown type 'uchar' (I), skipping the function
//
// C++: bool Params::filterByArea
//
//javadoc: Params::get_filterByArea()
public boolean get_filterByArea()
{
boolean retVal = get_filterByArea_0(nativeObj);
return retVal;
}
//
// C++: void Params::filterByArea
//
//javadoc: Params::set_filterByArea(filterByArea)
public void set_filterByArea(boolean filterByArea)
{
set_filterByArea_0(nativeObj, filterByArea);
return;
}
//
// C++: float Params::minArea
//
//javadoc: Params::get_minArea()
public float get_minArea()
{
float retVal = get_minArea_0(nativeObj);
return retVal;
}
//
// C++: void Params::minArea
//
//javadoc: Params::set_minArea(minArea)
public void set_minArea(float minArea)
{
set_minArea_0(nativeObj, minArea);
return;
}
//
// C++: float Params::maxArea
//
//javadoc: Params::get_maxArea()
public float get_maxArea()
{
float retVal = get_maxArea_0(nativeObj);
return retVal;
}
//
// C++: void Params::maxArea
//
//javadoc: Params::set_maxArea(maxArea)
public void set_maxArea(float maxArea)
{
set_maxArea_0(nativeObj, maxArea);
return;
}
//
// C++: bool Params::filterByCircularity
//
//javadoc: Params::get_filterByCircularity()
public boolean get_filterByCircularity()
{
boolean retVal = get_filterByCircularity_0(nativeObj);
return retVal;
}
//
// C++: void Params::filterByCircularity
//
//javadoc: Params::set_filterByCircularity(filterByCircularity)
public void set_filterByCircularity(boolean filterByCircularity)
{
set_filterByCircularity_0(nativeObj, filterByCircularity);
return;
}
//
// C++: float Params::minCircularity
//
//javadoc: Params::get_minCircularity()
public float get_minCircularity()
{
float retVal = get_minCircularity_0(nativeObj);
return retVal;
}
//
// C++: void Params::minCircularity
//
//javadoc: Params::set_minCircularity(minCircularity)
public void set_minCircularity(float minCircularity)
{
set_minCircularity_0(nativeObj, minCircularity);
return;
}
//
// C++: float Params::maxCircularity
//
//javadoc: Params::get_maxCircularity()
public float get_maxCircularity()
{
float retVal = get_maxCircularity_0(nativeObj);
return retVal;
}
//
// C++: void Params::maxCircularity
//
//javadoc: Params::set_maxCircularity(maxCircularity)
public void set_maxCircularity(float maxCircularity)
{
set_maxCircularity_0(nativeObj, maxCircularity);
return;
}
//
// C++: bool Params::filterByInertia
//
//javadoc: Params::get_filterByInertia()
public boolean get_filterByInertia()
{
boolean retVal = get_filterByInertia_0(nativeObj);
return retVal;
}
//
// C++: void Params::filterByInertia
//
//javadoc: Params::set_filterByInertia(filterByInertia)
public void set_filterByInertia(boolean filterByInertia)
{
set_filterByInertia_0(nativeObj, filterByInertia);
return;
}
//
// C++: float Params::minInertiaRatio
//
//javadoc: Params::get_minInertiaRatio()
public float get_minInertiaRatio()
{
float retVal = get_minInertiaRatio_0(nativeObj);
return retVal;
}
//
// C++: void Params::minInertiaRatio
//
//javadoc: Params::set_minInertiaRatio(minInertiaRatio)
public void set_minInertiaRatio(float minInertiaRatio)
{
set_minInertiaRatio_0(nativeObj, minInertiaRatio);
return;
}
//
// C++: float Params::maxInertiaRatio
//
//javadoc: Params::get_maxInertiaRatio()
public float get_maxInertiaRatio()
{
float retVal = get_maxInertiaRatio_0(nativeObj);
return retVal;
}
//
// C++: void Params::maxInertiaRatio
//
//javadoc: Params::set_maxInertiaRatio(maxInertiaRatio)
public void set_maxInertiaRatio(float maxInertiaRatio)
{
set_maxInertiaRatio_0(nativeObj, maxInertiaRatio);
return;
}
//
// C++: bool Params::filterByConvexity
//
//javadoc: Params::get_filterByConvexity()
public boolean get_filterByConvexity()
{
boolean retVal = get_filterByConvexity_0(nativeObj);
return retVal;
}
//
// C++: void Params::filterByConvexity
//
//javadoc: Params::set_filterByConvexity(filterByConvexity)
public void set_filterByConvexity(boolean filterByConvexity)
{
set_filterByConvexity_0(nativeObj, filterByConvexity);
return;
}
//
// C++: float Params::minConvexity
//
//javadoc: Params::get_minConvexity()
public float get_minConvexity()
{
float retVal = get_minConvexity_0(nativeObj);
return retVal;
}
//
// C++: void Params::minConvexity
//
//javadoc: Params::set_minConvexity(minConvexity)
public void set_minConvexity(float minConvexity)
{
set_minConvexity_0(nativeObj, minConvexity);
return;
}
//
// C++: float Params::maxConvexity
//
//javadoc: Params::get_maxConvexity()
public float get_maxConvexity()
{
float retVal = get_maxConvexity_0(nativeObj);
return retVal;
}
//
// C++: void Params::maxConvexity
//
//javadoc: Params::set_maxConvexity(maxConvexity)
public void set_maxConvexity(float maxConvexity)
{
set_maxConvexity_0(nativeObj, maxConvexity);
return;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: Params()
private static native long Params_0();
// C++: float Params::thresholdStep
private static native float get_thresholdStep_0(long nativeObj);
// C++: void Params::thresholdStep
private static native void set_thresholdStep_0(long nativeObj, float thresholdStep);
// C++: float Params::minThreshold
private static native float get_minThreshold_0(long nativeObj);
// C++: void Params::minThreshold
private static native void set_minThreshold_0(long nativeObj, float minThreshold);
// C++: float Params::maxThreshold
private static native float get_maxThreshold_0(long nativeObj);
// C++: void Params::maxThreshold
private static native void set_maxThreshold_0(long nativeObj, float maxThreshold);
// C++: size_t Params::minRepeatability
private static native long get_minRepeatability_0(long nativeObj);
// C++: void Params::minRepeatability
private static native void set_minRepeatability_0(long nativeObj, long minRepeatability);
// C++: float Params::minDistBetweenBlobs
private static native float get_minDistBetweenBlobs_0(long nativeObj);
// C++: void Params::minDistBetweenBlobs
private static native void set_minDistBetweenBlobs_0(long nativeObj, float minDistBetweenBlobs);
// C++: bool Params::filterByColor
private static native boolean get_filterByColor_0(long nativeObj);
// C++: void Params::filterByColor
private static native void set_filterByColor_0(long nativeObj, boolean filterByColor);
// C++: bool Params::filterByArea
private static native boolean get_filterByArea_0(long nativeObj);
// C++: void Params::filterByArea
private static native void set_filterByArea_0(long nativeObj, boolean filterByArea);
// C++: float Params::minArea
private static native float get_minArea_0(long nativeObj);
// C++: void Params::minArea
private static native void set_minArea_0(long nativeObj, float minArea);
// C++: float Params::maxArea
private static native float get_maxArea_0(long nativeObj);
// C++: void Params::maxArea
private static native void set_maxArea_0(long nativeObj, float maxArea);
// C++: bool Params::filterByCircularity
private static native boolean get_filterByCircularity_0(long nativeObj);
// C++: void Params::filterByCircularity
private static native void set_filterByCircularity_0(long nativeObj, boolean filterByCircularity);
// C++: float Params::minCircularity
private static native float get_minCircularity_0(long nativeObj);
// C++: void Params::minCircularity
private static native void set_minCircularity_0(long nativeObj, float minCircularity);
// C++: float Params::maxCircularity
private static native float get_maxCircularity_0(long nativeObj);
// C++: void Params::maxCircularity
private static native void set_maxCircularity_0(long nativeObj, float maxCircularity);
// C++: bool Params::filterByInertia
private static native boolean get_filterByInertia_0(long nativeObj);
// C++: void Params::filterByInertia
private static native void set_filterByInertia_0(long nativeObj, boolean filterByInertia);
// C++: float Params::minInertiaRatio
private static native float get_minInertiaRatio_0(long nativeObj);
// C++: void Params::minInertiaRatio
private static native void set_minInertiaRatio_0(long nativeObj, float minInertiaRatio);
// C++: float Params::maxInertiaRatio
private static native float get_maxInertiaRatio_0(long nativeObj);
// C++: void Params::maxInertiaRatio
private static native void set_maxInertiaRatio_0(long nativeObj, float maxInertiaRatio);
// C++: bool Params::filterByConvexity
private static native boolean get_filterByConvexity_0(long nativeObj);
// C++: void Params::filterByConvexity
private static native void set_filterByConvexity_0(long nativeObj, boolean filterByConvexity);
// C++: float Params::minConvexity
private static native float get_minConvexity_0(long nativeObj);
// C++: void Params::minConvexity
private static native void set_minConvexity_0(long nativeObj, float minConvexity);
// C++: float Params::maxConvexity
private static native float get_maxConvexity_0(long nativeObj);
// C++: void Params::maxConvexity
private static native void set_maxConvexity_0(long nativeObj, float maxConvexity);
// native support for java finalize()
private static native void delete(long nativeObj);
}