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, save
public 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 BackgroundSubtractor
public void apply(Mat image, Mat fgmask)
apply
in class BackgroundSubtractor
public void getBackgroundImage(Mat backgroundImage)
getBackgroundImage
in class BackgroundSubtractor
public 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 BackgroundSubtractor
java.lang.Throwable
Generated on Sun Nov 18 2018 11:54:12 UTC / OpenCV 4.0.0