48 #include "opencv2/video.hpp" 51 #define BGSUBCNT_EXPORTS_W 78 CV_WRAP
virtual void apply(InputArray image, OutputArray fgmask,
double learningRate=-1) = 0;
79 CV_WRAP
virtual void getBackgroundImage(OutputArray backgroundImage)
const = 0;
82 CV_WRAP
virtual int getMinPixelStability()
const = 0;
84 CV_WRAP
virtual void setMinPixelStability(
int value) = 0;
87 CV_WRAP
virtual int getMaxPixelStability()
const = 0;
89 CV_WRAP
virtual void setMaxPixelStability(
int value) = 0;
92 CV_WRAP
virtual bool getUseHistory()
const = 0;
94 CV_WRAP
virtual void setUseHistory(
bool value) = 0;
97 CV_WRAP
virtual bool getIsParallel()
const = 0;
99 CV_WRAP
virtual void setIsParallel(
bool value) = 0;
124 BGSUBCNT_EXPORTS_W Ptr<BackgroundSubtractorCNT>
126 bool useHistory =
true,
127 int maxPixelStability = 15*60,
128 bool isParallel =
true);
This OpenCV namespace just adds the bgsubcnt namespace.
Definition: bgsubcnt.h:58
Background subtraction based on counting.
Definition: bgsubcnt.h:74
BGSUBCNT_EXPORTS_W Ptr< BackgroundSubtractorCNT > createBackgroundSubtractorCNT(int minPixelStability=15, bool useHistory=true, int maxPixelStability=15 *60, bool isParallel=true)
Create background subtraction based on counting.