public class BackgroundSubtractorCNT extends BackgroundSubtractor
| Modifier | Constructor and Description |
|---|---|
protected |
BackgroundSubtractorCNT(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static BackgroundSubtractorCNT |
__fromPtr__(long addr) |
void |
apply(Mat image,
Mat fgmask) |
void |
apply(Mat image,
Mat fgmask,
double learningRate) |
protected void |
finalize() |
void |
getBackgroundImage(Mat backgroundImage) |
boolean |
getIsParallel() |
int |
getMaxPixelStability() |
int |
getMinPixelStability() |
boolean |
getUseHistory() |
void |
setIsParallel(boolean value) |
void |
setMaxPixelStability(int value) |
void |
setMinPixelStability(int value) |
void |
setUseHistory(boolean value) |
clear, empty, getDefaultName, getNativeObjAddr, savepublic static BackgroundSubtractorCNT __fromPtr__(long addr)
public boolean getIsParallel()
public boolean getUseHistory()
public int getMaxPixelStability()
public int getMinPixelStability()
public void apply(Mat image, Mat fgmask, double learningRate)
apply in class BackgroundSubtractorpublic void apply(Mat image, Mat fgmask)
apply in class BackgroundSubtractorpublic void getBackgroundImage(Mat backgroundImage)
getBackgroundImage in class BackgroundSubtractorpublic void setIsParallel(boolean value)
public void setMaxPixelStability(int value)
public void setMinPixelStability(int value)
public void setUseHistory(boolean value)
protected void finalize()
throws java.lang.Throwable
finalize in class BackgroundSubtractorjava.lang.ThrowableGenerated on Sat Dec 22 2018 08:23:53 UTC / OpenCV 4.0.1