cv::BackgroundSubtractorMOG2 Class Reference
#include <background_segm.hpp>
Inheritance diagram for cv::BackgroundSubtractorMOG2:
Public Member Functions
the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
More...
computes a background image which are the mean of all background gaussians
More...
template<typename _Tp >
template<typename _Tp >
template<typename _Tp >
template<typename _Tp >
template<typename _Tp >
template<typename _Tp >
Protected Attributes
Additional Inherited Members
template<typename _Tp >
Detailed Description
Constructor & Destructor Documentation
§ BackgroundSubtractorMOG2() [1/2]
cv::BackgroundSubtractorMOG2::BackgroundSubtractorMOG2
(
)
§ BackgroundSubtractorMOG2() [2/2]
cv::BackgroundSubtractorMOG2::BackgroundSubtractorMOG2
(
int
history,
float
varThreshold,
bool
bShadowDetection = true
)
the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
§ ~BackgroundSubtractorMOG2()
virtual cv::BackgroundSubtractorMOG2::~BackgroundSubtractorMOG2
(
)
virtual
Member Function Documentation
§ getBackgroundImage()
virtual
void cv::BackgroundSubtractorMOG2::getBackgroundImage
(
OutputArray
backgroundImage )
const
virtual
§ info()
virtual
AlgorithmInfo* cv::BackgroundSubtractorMOG2::info
(
)
const
virtual
§ initialize()
virtual
void cv::BackgroundSubtractorMOG2::initialize
(
Size
frameSize,
)
virtual
§ operator()()
virtual
void cv::BackgroundSubtractorMOG2::operator()
(
InputArray
image,
double
learningRate = -1
)
virtual
Member Data Documentation
§ backgroundRatio
float cv::BackgroundSubtractorMOG2::backgroundRatio
protected
§ bgmodel
Mat cv::BackgroundSubtractorMOG2::bgmodel
protected
§ bgmodelUsedModes
Mat cv::BackgroundSubtractorMOG2::bgmodelUsedModes
protected
§ bShadowDetection
bool cv::BackgroundSubtractorMOG2::bShadowDetection
protected
§ fCT
float cv::BackgroundSubtractorMOG2::fCT
protected
§ frameSize
Size cv::BackgroundSubtractorMOG2::frameSize
protected
§ frameType
int cv::BackgroundSubtractorMOG2::frameType
protected
§ fTau
float cv::BackgroundSubtractorMOG2::fTau
protected
§ fVarInit
float cv::BackgroundSubtractorMOG2::fVarInit
protected
§ fVarMax
float cv::BackgroundSubtractorMOG2::fVarMax
protected
§ fVarMin
float cv::BackgroundSubtractorMOG2::fVarMin
protected
§ history
int cv::BackgroundSubtractorMOG2::history
protected
§ nframes
int cv::BackgroundSubtractorMOG2::nframes
protected
§ nmixtures
int cv::BackgroundSubtractorMOG2::nmixtures
protected
§ nShadowDetection
unsigned char cv::BackgroundSubtractorMOG2::nShadowDetection
protected
§ varThreshold
double cv::BackgroundSubtractorMOG2::varThreshold
protected
here it is the maximum allowed number of mixture components. Actual number is determined dynamically per pixel
§ varThresholdGen
float cv::BackgroundSubtractorMOG2::varThresholdGen
protected
The documentation for this class was generated from the following file: