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 Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2