Home | History | Annotate | Download | only in src
      1 
      2 //
      3 // This file is auto-generated. Please don't modify it!
      4 //
      5 package org.opencv.video;
      6 
      7 
      8 
      9 // C++: class BackgroundSubtractorMOG2
     10 //javadoc: BackgroundSubtractorMOG2
     11 public class BackgroundSubtractorMOG2 extends BackgroundSubtractor {
     12 
     13     protected BackgroundSubtractorMOG2(long addr) { super(addr); }
     14 
     15 
     16     //
     17     // C++:  double getVarThreshold()
     18     //
     19 
     20     //javadoc: BackgroundSubtractorMOG2::getVarThreshold()
     21     public  double getVarThreshold()
     22     {
     23 
     24         double retVal = getVarThreshold_0(nativeObj);
     25 
     26         return retVal;
     27     }
     28 
     29 
     30     //
     31     // C++:  void setVarThreshold(double varThreshold)
     32     //
     33 
     34     //javadoc: BackgroundSubtractorMOG2::setVarThreshold(varThreshold)
     35     public  void setVarThreshold(double varThreshold)
     36     {
     37 
     38         setVarThreshold_0(nativeObj, varThreshold);
     39 
     40         return;
     41     }
     42 
     43 
     44     //
     45     // C++:  double getVarThresholdGen()
     46     //
     47 
     48     //javadoc: BackgroundSubtractorMOG2::getVarThresholdGen()
     49     public  double getVarThresholdGen()
     50     {
     51 
     52         double retVal = getVarThresholdGen_0(nativeObj);
     53 
     54         return retVal;
     55     }
     56 
     57 
     58     //
     59     // C++:  void setVarThresholdGen(double varThresholdGen)
     60     //
     61 
     62     //javadoc: BackgroundSubtractorMOG2::setVarThresholdGen(varThresholdGen)
     63     public  void setVarThresholdGen(double varThresholdGen)
     64     {
     65 
     66         setVarThresholdGen_0(nativeObj, varThresholdGen);
     67 
     68         return;
     69     }
     70 
     71 
     72     //
     73     // C++:  double getVarInit()
     74     //
     75 
     76     //javadoc: BackgroundSubtractorMOG2::getVarInit()
     77     public  double getVarInit()
     78     {
     79 
     80         double retVal = getVarInit_0(nativeObj);
     81 
     82         return retVal;
     83     }
     84 
     85 
     86     //
     87     // C++:  void setVarInit(double varInit)
     88     //
     89 
     90     //javadoc: BackgroundSubtractorMOG2::setVarInit(varInit)
     91     public  void setVarInit(double varInit)
     92     {
     93 
     94         setVarInit_0(nativeObj, varInit);
     95 
     96         return;
     97     }
     98 
     99 
    100     //
    101     // C++:  double getVarMin()
    102     //
    103 
    104     //javadoc: BackgroundSubtractorMOG2::getVarMin()
    105     public  double getVarMin()
    106     {
    107 
    108         double retVal = getVarMin_0(nativeObj);
    109 
    110         return retVal;
    111     }
    112 
    113 
    114     //
    115     // C++:  void setVarMin(double varMin)
    116     //
    117 
    118     //javadoc: BackgroundSubtractorMOG2::setVarMin(varMin)
    119     public  void setVarMin(double varMin)
    120     {
    121 
    122         setVarMin_0(nativeObj, varMin);
    123 
    124         return;
    125     }
    126 
    127 
    128     //
    129     // C++:  double getVarMax()
    130     //
    131 
    132     //javadoc: BackgroundSubtractorMOG2::getVarMax()
    133     public  double getVarMax()
    134     {
    135 
    136         double retVal = getVarMax_0(nativeObj);
    137 
    138         return retVal;
    139     }
    140 
    141 
    142     //
    143     // C++:  void setVarMax(double varMax)
    144     //
    145 
    146     //javadoc: BackgroundSubtractorMOG2::setVarMax(varMax)
    147     public  void setVarMax(double varMax)
    148     {
    149 
    150         setVarMax_0(nativeObj, varMax);
    151 
    152         return;
    153     }
    154 
    155 
    156     //
    157     // C++:  double getComplexityReductionThreshold()
    158     //
    159 
    160     //javadoc: BackgroundSubtractorMOG2::getComplexityReductionThreshold()
    161     public  double getComplexityReductionThreshold()
    162     {
    163 
    164         double retVal = getComplexityReductionThreshold_0(nativeObj);
    165 
    166         return retVal;
    167     }
    168 
    169 
    170     //
    171     // C++:  void setComplexityReductionThreshold(double ct)
    172     //
    173 
    174     //javadoc: BackgroundSubtractorMOG2::setComplexityReductionThreshold(ct)
    175     public  void setComplexityReductionThreshold(double ct)
    176     {
    177 
    178         setComplexityReductionThreshold_0(nativeObj, ct);
    179 
    180         return;
    181     }
    182 
    183 
    184     //
    185     // C++:  bool getDetectShadows()
    186     //
    187 
    188     //javadoc: BackgroundSubtractorMOG2::getDetectShadows()
    189     public  boolean getDetectShadows()
    190     {
    191 
    192         boolean retVal = getDetectShadows_0(nativeObj);
    193 
    194         return retVal;
    195     }
    196 
    197 
    198     //
    199     // C++:  void setDetectShadows(bool detectShadows)
    200     //
    201 
    202     //javadoc: BackgroundSubtractorMOG2::setDetectShadows(detectShadows)
    203     public  void setDetectShadows(boolean detectShadows)
    204     {
    205 
    206         setDetectShadows_0(nativeObj, detectShadows);
    207 
    208         return;
    209     }
    210 
    211 
    212     //
    213     // C++:  int getShadowValue()
    214     //
    215 
    216     //javadoc: BackgroundSubtractorMOG2::getShadowValue()
    217     public  int getShadowValue()
    218     {
    219 
    220         int retVal = getShadowValue_0(nativeObj);
    221 
    222         return retVal;
    223     }
    224 
    225 
    226     //
    227     // C++:  void setShadowValue(int value)
    228     //
    229 
    230     //javadoc: BackgroundSubtractorMOG2::setShadowValue(value)
    231     public  void setShadowValue(int value)
    232     {
    233 
    234         setShadowValue_0(nativeObj, value);
    235 
    236         return;
    237     }
    238 
    239 
    240     //
    241     // C++:  double getShadowThreshold()
    242     //
    243 
    244     //javadoc: BackgroundSubtractorMOG2::getShadowThreshold()
    245     public  double getShadowThreshold()
    246     {
    247 
    248         double retVal = getShadowThreshold_0(nativeObj);
    249 
    250         return retVal;
    251     }
    252 
    253 
    254     //
    255     // C++:  void setShadowThreshold(double threshold)
    256     //
    257 
    258     //javadoc: BackgroundSubtractorMOG2::setShadowThreshold(threshold)
    259     public  void setShadowThreshold(double threshold)
    260     {
    261 
    262         setShadowThreshold_0(nativeObj, threshold);
    263 
    264         return;
    265     }
    266 
    267 
    268     //
    269     // C++:  int getHistory()
    270     //
    271 
    272     //javadoc: BackgroundSubtractorMOG2::getHistory()
    273     public  int getHistory()
    274     {
    275 
    276         int retVal = getHistory_0(nativeObj);
    277 
    278         return retVal;
    279     }
    280 
    281 
    282     //
    283     // C++:  void setHistory(int history)
    284     //
    285 
    286     //javadoc: BackgroundSubtractorMOG2::setHistory(history)
    287     public  void setHistory(int history)
    288     {
    289 
    290         setHistory_0(nativeObj, history);
    291 
    292         return;
    293     }
    294 
    295 
    296     //
    297     // C++:  int getNMixtures()
    298     //
    299 
    300     //javadoc: BackgroundSubtractorMOG2::getNMixtures()
    301     public  int getNMixtures()
    302     {
    303 
    304         int retVal = getNMixtures_0(nativeObj);
    305 
    306         return retVal;
    307     }
    308 
    309 
    310     //
    311     // C++:  void setNMixtures(int nmixtures)
    312     //
    313 
    314     //javadoc: BackgroundSubtractorMOG2::setNMixtures(nmixtures)
    315     public  void setNMixtures(int nmixtures)
    316     {
    317 
    318         setNMixtures_0(nativeObj, nmixtures);
    319 
    320         return;
    321     }
    322 
    323 
    324     //
    325     // C++:  double getBackgroundRatio()
    326     //
    327 
    328     //javadoc: BackgroundSubtractorMOG2::getBackgroundRatio()
    329     public  double getBackgroundRatio()
    330     {
    331 
    332         double retVal = getBackgroundRatio_0(nativeObj);
    333 
    334         return retVal;
    335     }
    336 
    337 
    338     //
    339     // C++:  void setBackgroundRatio(double ratio)
    340     //
    341 
    342     //javadoc: BackgroundSubtractorMOG2::setBackgroundRatio(ratio)
    343     public  void setBackgroundRatio(double ratio)
    344     {
    345 
    346         setBackgroundRatio_0(nativeObj, ratio);
    347 
    348         return;
    349     }
    350 
    351 
    352     @Override
    353     protected void finalize() throws Throwable {
    354         delete(nativeObj);
    355     }
    356 
    357 
    358 
    359     // C++:  double getVarThreshold()
    360     private static native double getVarThreshold_0(long nativeObj);
    361 
    362     // C++:  void setVarThreshold(double varThreshold)
    363     private static native void setVarThreshold_0(long nativeObj, double varThreshold);
    364 
    365     // C++:  double getVarThresholdGen()
    366     private static native double getVarThresholdGen_0(long nativeObj);
    367 
    368     // C++:  void setVarThresholdGen(double varThresholdGen)
    369     private static native void setVarThresholdGen_0(long nativeObj, double varThresholdGen);
    370 
    371     // C++:  double getVarInit()
    372     private static native double getVarInit_0(long nativeObj);
    373 
    374     // C++:  void setVarInit(double varInit)
    375     private static native void setVarInit_0(long nativeObj, double varInit);
    376 
    377     // C++:  double getVarMin()
    378     private static native double getVarMin_0(long nativeObj);
    379 
    380     // C++:  void setVarMin(double varMin)
    381     private static native void setVarMin_0(long nativeObj, double varMin);
    382 
    383     // C++:  double getVarMax()
    384     private static native double getVarMax_0(long nativeObj);
    385 
    386     // C++:  void setVarMax(double varMax)
    387     private static native void setVarMax_0(long nativeObj, double varMax);
    388 
    389     // C++:  double getComplexityReductionThreshold()
    390     private static native double getComplexityReductionThreshold_0(long nativeObj);
    391 
    392     // C++:  void setComplexityReductionThreshold(double ct)
    393     private static native void setComplexityReductionThreshold_0(long nativeObj, double ct);
    394 
    395     // C++:  bool getDetectShadows()
    396     private static native boolean getDetectShadows_0(long nativeObj);
    397 
    398     // C++:  void setDetectShadows(bool detectShadows)
    399     private static native void setDetectShadows_0(long nativeObj, boolean detectShadows);
    400 
    401     // C++:  int getShadowValue()
    402     private static native int getShadowValue_0(long nativeObj);
    403 
    404     // C++:  void setShadowValue(int value)
    405     private static native void setShadowValue_0(long nativeObj, int value);
    406 
    407     // C++:  double getShadowThreshold()
    408     private static native double getShadowThreshold_0(long nativeObj);
    409 
    410     // C++:  void setShadowThreshold(double threshold)
    411     private static native void setShadowThreshold_0(long nativeObj, double threshold);
    412 
    413     // C++:  int getHistory()
    414     private static native int getHistory_0(long nativeObj);
    415 
    416     // C++:  void setHistory(int history)
    417     private static native void setHistory_0(long nativeObj, int history);
    418 
    419     // C++:  int getNMixtures()
    420     private static native int getNMixtures_0(long nativeObj);
    421 
    422     // C++:  void setNMixtures(int nmixtures)
    423     private static native void setNMixtures_0(long nativeObj, int nmixtures);
    424 
    425     // C++:  double getBackgroundRatio()
    426     private static native double getBackgroundRatio_0(long nativeObj);
    427 
    428     // C++:  void setBackgroundRatio(double ratio)
    429     private static native void setBackgroundRatio_0(long nativeObj, double ratio);
    430 
    431     // native support for java finalize()
    432     private static native void delete(long nativeObj);
    433 
    434 }
    435