001
002//
003// This file is auto-generated. Please don't modify it!
004//
005package org.opencv.features2d;
006
007
008
009// C++: class Params
010//javadoc: Params
011public class Params {
012
013    protected final long nativeObj;
014    protected Params(long addr) { nativeObj = addr; }
015
016
017    //
018    // C++:   Params()
019    //
020
021    //javadoc: Params::Params()
022    public   Params()
023    {
024        
025        nativeObj = Params_0();
026        
027        return;
028    }
029
030
031    //
032    // C++: float Params::thresholdStep
033    //
034
035    //javadoc: Params::get_thresholdStep()
036    public  float get_thresholdStep()
037    {
038        
039        float retVal = get_thresholdStep_0(nativeObj);
040        
041        return retVal;
042    }
043
044
045    //
046    // C++: void Params::thresholdStep
047    //
048
049    //javadoc: Params::set_thresholdStep(thresholdStep)
050    public  void set_thresholdStep(float thresholdStep)
051    {
052        
053        set_thresholdStep_0(nativeObj, thresholdStep);
054        
055        return;
056    }
057
058
059    //
060    // C++: float Params::minThreshold
061    //
062
063    //javadoc: Params::get_minThreshold()
064    public  float get_minThreshold()
065    {
066        
067        float retVal = get_minThreshold_0(nativeObj);
068        
069        return retVal;
070    }
071
072
073    //
074    // C++: void Params::minThreshold
075    //
076
077    //javadoc: Params::set_minThreshold(minThreshold)
078    public  void set_minThreshold(float minThreshold)
079    {
080        
081        set_minThreshold_0(nativeObj, minThreshold);
082        
083        return;
084    }
085
086
087    //
088    // C++: float Params::maxThreshold
089    //
090
091    //javadoc: Params::get_maxThreshold()
092    public  float get_maxThreshold()
093    {
094        
095        float retVal = get_maxThreshold_0(nativeObj);
096        
097        return retVal;
098    }
099
100
101    //
102    // C++: void Params::maxThreshold
103    //
104
105    //javadoc: Params::set_maxThreshold(maxThreshold)
106    public  void set_maxThreshold(float maxThreshold)
107    {
108        
109        set_maxThreshold_0(nativeObj, maxThreshold);
110        
111        return;
112    }
113
114
115    //
116    // C++: size_t Params::minRepeatability
117    //
118
119    //javadoc: Params::get_minRepeatability()
120    public  long get_minRepeatability()
121    {
122        
123        long retVal = get_minRepeatability_0(nativeObj);
124        
125        return retVal;
126    }
127
128
129    //
130    // C++: void Params::minRepeatability
131    //
132
133    //javadoc: Params::set_minRepeatability(minRepeatability)
134    public  void set_minRepeatability(long minRepeatability)
135    {
136        
137        set_minRepeatability_0(nativeObj, minRepeatability);
138        
139        return;
140    }
141
142
143    //
144    // C++: float Params::minDistBetweenBlobs
145    //
146
147    //javadoc: Params::get_minDistBetweenBlobs()
148    public  float get_minDistBetweenBlobs()
149    {
150        
151        float retVal = get_minDistBetweenBlobs_0(nativeObj);
152        
153        return retVal;
154    }
155
156
157    //
158    // C++: void Params::minDistBetweenBlobs
159    //
160
161    //javadoc: Params::set_minDistBetweenBlobs(minDistBetweenBlobs)
162    public  void set_minDistBetweenBlobs(float minDistBetweenBlobs)
163    {
164        
165        set_minDistBetweenBlobs_0(nativeObj, minDistBetweenBlobs);
166        
167        return;
168    }
169
170
171    //
172    // C++: bool Params::filterByColor
173    //
174
175    //javadoc: Params::get_filterByColor()
176    public  boolean get_filterByColor()
177    {
178        
179        boolean retVal = get_filterByColor_0(nativeObj);
180        
181        return retVal;
182    }
183
184
185    //
186    // C++: void Params::filterByColor
187    //
188
189    //javadoc: Params::set_filterByColor(filterByColor)
190    public  void set_filterByColor(boolean filterByColor)
191    {
192        
193        set_filterByColor_0(nativeObj, filterByColor);
194        
195        return;
196    }
197
198
199    //
200    // C++: uchar Params::blobColor
201    //
202
203    // Return type 'uchar' is not supported, skipping the function
204
205
206    //
207    // C++: void Params::blobColor
208    //
209
210    // Unknown type 'uchar' (I), skipping the function
211
212
213    //
214    // C++: bool Params::filterByArea
215    //
216
217    //javadoc: Params::get_filterByArea()
218    public  boolean get_filterByArea()
219    {
220        
221        boolean retVal = get_filterByArea_0(nativeObj);
222        
223        return retVal;
224    }
225
226
227    //
228    // C++: void Params::filterByArea
229    //
230
231    //javadoc: Params::set_filterByArea(filterByArea)
232    public  void set_filterByArea(boolean filterByArea)
233    {
234        
235        set_filterByArea_0(nativeObj, filterByArea);
236        
237        return;
238    }
239
240
241    //
242    // C++: float Params::minArea
243    //
244
245    //javadoc: Params::get_minArea()
246    public  float get_minArea()
247    {
248        
249        float retVal = get_minArea_0(nativeObj);
250        
251        return retVal;
252    }
253
254
255    //
256    // C++: void Params::minArea
257    //
258
259    //javadoc: Params::set_minArea(minArea)
260    public  void set_minArea(float minArea)
261    {
262        
263        set_minArea_0(nativeObj, minArea);
264        
265        return;
266    }
267
268
269    //
270    // C++: float Params::maxArea
271    //
272
273    //javadoc: Params::get_maxArea()
274    public  float get_maxArea()
275    {
276        
277        float retVal = get_maxArea_0(nativeObj);
278        
279        return retVal;
280    }
281
282
283    //
284    // C++: void Params::maxArea
285    //
286
287    //javadoc: Params::set_maxArea(maxArea)
288    public  void set_maxArea(float maxArea)
289    {
290        
291        set_maxArea_0(nativeObj, maxArea);
292        
293        return;
294    }
295
296
297    //
298    // C++: bool Params::filterByCircularity
299    //
300
301    //javadoc: Params::get_filterByCircularity()
302    public  boolean get_filterByCircularity()
303    {
304        
305        boolean retVal = get_filterByCircularity_0(nativeObj);
306        
307        return retVal;
308    }
309
310
311    //
312    // C++: void Params::filterByCircularity
313    //
314
315    //javadoc: Params::set_filterByCircularity(filterByCircularity)
316    public  void set_filterByCircularity(boolean filterByCircularity)
317    {
318        
319        set_filterByCircularity_0(nativeObj, filterByCircularity);
320        
321        return;
322    }
323
324
325    //
326    // C++: float Params::minCircularity
327    //
328
329    //javadoc: Params::get_minCircularity()
330    public  float get_minCircularity()
331    {
332        
333        float retVal = get_minCircularity_0(nativeObj);
334        
335        return retVal;
336    }
337
338
339    //
340    // C++: void Params::minCircularity
341    //
342
343    //javadoc: Params::set_minCircularity(minCircularity)
344    public  void set_minCircularity(float minCircularity)
345    {
346        
347        set_minCircularity_0(nativeObj, minCircularity);
348        
349        return;
350    }
351
352
353    //
354    // C++: float Params::maxCircularity
355    //
356
357    //javadoc: Params::get_maxCircularity()
358    public  float get_maxCircularity()
359    {
360        
361        float retVal = get_maxCircularity_0(nativeObj);
362        
363        return retVal;
364    }
365
366
367    //
368    // C++: void Params::maxCircularity
369    //
370
371    //javadoc: Params::set_maxCircularity(maxCircularity)
372    public  void set_maxCircularity(float maxCircularity)
373    {
374        
375        set_maxCircularity_0(nativeObj, maxCircularity);
376        
377        return;
378    }
379
380
381    //
382    // C++: bool Params::filterByInertia
383    //
384
385    //javadoc: Params::get_filterByInertia()
386    public  boolean get_filterByInertia()
387    {
388        
389        boolean retVal = get_filterByInertia_0(nativeObj);
390        
391        return retVal;
392    }
393
394
395    //
396    // C++: void Params::filterByInertia
397    //
398
399    //javadoc: Params::set_filterByInertia(filterByInertia)
400    public  void set_filterByInertia(boolean filterByInertia)
401    {
402        
403        set_filterByInertia_0(nativeObj, filterByInertia);
404        
405        return;
406    }
407
408
409    //
410    // C++: float Params::minInertiaRatio
411    //
412
413    //javadoc: Params::get_minInertiaRatio()
414    public  float get_minInertiaRatio()
415    {
416        
417        float retVal = get_minInertiaRatio_0(nativeObj);
418        
419        return retVal;
420    }
421
422
423    //
424    // C++: void Params::minInertiaRatio
425    //
426
427    //javadoc: Params::set_minInertiaRatio(minInertiaRatio)
428    public  void set_minInertiaRatio(float minInertiaRatio)
429    {
430        
431        set_minInertiaRatio_0(nativeObj, minInertiaRatio);
432        
433        return;
434    }
435
436
437    //
438    // C++: float Params::maxInertiaRatio
439    //
440
441    //javadoc: Params::get_maxInertiaRatio()
442    public  float get_maxInertiaRatio()
443    {
444        
445        float retVal = get_maxInertiaRatio_0(nativeObj);
446        
447        return retVal;
448    }
449
450
451    //
452    // C++: void Params::maxInertiaRatio
453    //
454
455    //javadoc: Params::set_maxInertiaRatio(maxInertiaRatio)
456    public  void set_maxInertiaRatio(float maxInertiaRatio)
457    {
458        
459        set_maxInertiaRatio_0(nativeObj, maxInertiaRatio);
460        
461        return;
462    }
463
464
465    //
466    // C++: bool Params::filterByConvexity
467    //
468
469    //javadoc: Params::get_filterByConvexity()
470    public  boolean get_filterByConvexity()
471    {
472        
473        boolean retVal = get_filterByConvexity_0(nativeObj);
474        
475        return retVal;
476    }
477
478
479    //
480    // C++: void Params::filterByConvexity
481    //
482
483    //javadoc: Params::set_filterByConvexity(filterByConvexity)
484    public  void set_filterByConvexity(boolean filterByConvexity)
485    {
486        
487        set_filterByConvexity_0(nativeObj, filterByConvexity);
488        
489        return;
490    }
491
492
493    //
494    // C++: float Params::minConvexity
495    //
496
497    //javadoc: Params::get_minConvexity()
498    public  float get_minConvexity()
499    {
500        
501        float retVal = get_minConvexity_0(nativeObj);
502        
503        return retVal;
504    }
505
506
507    //
508    // C++: void Params::minConvexity
509    //
510
511    //javadoc: Params::set_minConvexity(minConvexity)
512    public  void set_minConvexity(float minConvexity)
513    {
514        
515        set_minConvexity_0(nativeObj, minConvexity);
516        
517        return;
518    }
519
520
521    //
522    // C++: float Params::maxConvexity
523    //
524
525    //javadoc: Params::get_maxConvexity()
526    public  float get_maxConvexity()
527    {
528        
529        float retVal = get_maxConvexity_0(nativeObj);
530        
531        return retVal;
532    }
533
534
535    //
536    // C++: void Params::maxConvexity
537    //
538
539    //javadoc: Params::set_maxConvexity(maxConvexity)
540    public  void set_maxConvexity(float maxConvexity)
541    {
542        
543        set_maxConvexity_0(nativeObj, maxConvexity);
544        
545        return;
546    }
547
548
549    @Override
550    protected void finalize() throws Throwable {
551        delete(nativeObj);
552    }
553
554
555
556    // C++:   Params()
557    private static native long Params_0();
558
559    // C++: float Params::thresholdStep
560    private static native float get_thresholdStep_0(long nativeObj);
561
562    // C++: void Params::thresholdStep
563    private static native void set_thresholdStep_0(long nativeObj, float thresholdStep);
564
565    // C++: float Params::minThreshold
566    private static native float get_minThreshold_0(long nativeObj);
567
568    // C++: void Params::minThreshold
569    private static native void set_minThreshold_0(long nativeObj, float minThreshold);
570
571    // C++: float Params::maxThreshold
572    private static native float get_maxThreshold_0(long nativeObj);
573
574    // C++: void Params::maxThreshold
575    private static native void set_maxThreshold_0(long nativeObj, float maxThreshold);
576
577    // C++: size_t Params::minRepeatability
578    private static native long get_minRepeatability_0(long nativeObj);
579
580    // C++: void Params::minRepeatability
581    private static native void set_minRepeatability_0(long nativeObj, long minRepeatability);
582
583    // C++: float Params::minDistBetweenBlobs
584    private static native float get_minDistBetweenBlobs_0(long nativeObj);
585
586    // C++: void Params::minDistBetweenBlobs
587    private static native void set_minDistBetweenBlobs_0(long nativeObj, float minDistBetweenBlobs);
588
589    // C++: bool Params::filterByColor
590    private static native boolean get_filterByColor_0(long nativeObj);
591
592    // C++: void Params::filterByColor
593    private static native void set_filterByColor_0(long nativeObj, boolean filterByColor);
594
595    // C++: bool Params::filterByArea
596    private static native boolean get_filterByArea_0(long nativeObj);
597
598    // C++: void Params::filterByArea
599    private static native void set_filterByArea_0(long nativeObj, boolean filterByArea);
600
601    // C++: float Params::minArea
602    private static native float get_minArea_0(long nativeObj);
603
604    // C++: void Params::minArea
605    private static native void set_minArea_0(long nativeObj, float minArea);
606
607    // C++: float Params::maxArea
608    private static native float get_maxArea_0(long nativeObj);
609
610    // C++: void Params::maxArea
611    private static native void set_maxArea_0(long nativeObj, float maxArea);
612
613    // C++: bool Params::filterByCircularity
614    private static native boolean get_filterByCircularity_0(long nativeObj);
615
616    // C++: void Params::filterByCircularity
617    private static native void set_filterByCircularity_0(long nativeObj, boolean filterByCircularity);
618
619    // C++: float Params::minCircularity
620    private static native float get_minCircularity_0(long nativeObj);
621
622    // C++: void Params::minCircularity
623    private static native void set_minCircularity_0(long nativeObj, float minCircularity);
624
625    // C++: float Params::maxCircularity
626    private static native float get_maxCircularity_0(long nativeObj);
627
628    // C++: void Params::maxCircularity
629    private static native void set_maxCircularity_0(long nativeObj, float maxCircularity);
630
631    // C++: bool Params::filterByInertia
632    private static native boolean get_filterByInertia_0(long nativeObj);
633
634    // C++: void Params::filterByInertia
635    private static native void set_filterByInertia_0(long nativeObj, boolean filterByInertia);
636
637    // C++: float Params::minInertiaRatio
638    private static native float get_minInertiaRatio_0(long nativeObj);
639
640    // C++: void Params::minInertiaRatio
641    private static native void set_minInertiaRatio_0(long nativeObj, float minInertiaRatio);
642
643    // C++: float Params::maxInertiaRatio
644    private static native float get_maxInertiaRatio_0(long nativeObj);
645
646    // C++: void Params::maxInertiaRatio
647    private static native void set_maxInertiaRatio_0(long nativeObj, float maxInertiaRatio);
648
649    // C++: bool Params::filterByConvexity
650    private static native boolean get_filterByConvexity_0(long nativeObj);
651
652    // C++: void Params::filterByConvexity
653    private static native void set_filterByConvexity_0(long nativeObj, boolean filterByConvexity);
654
655    // C++: float Params::minConvexity
656    private static native float get_minConvexity_0(long nativeObj);
657
658    // C++: void Params::minConvexity
659    private static native void set_minConvexity_0(long nativeObj, float minConvexity);
660
661    // C++: float Params::maxConvexity
662    private static native float get_maxConvexity_0(long nativeObj);
663
664    // C++: void Params::maxConvexity
665    private static native void set_maxConvexity_0(long nativeObj, float maxConvexity);
666
667    // native support for java finalize()
668    private static native void delete(long nativeObj);
669
670}