OpenCV
3.3.0
Open Source Computer Vision
|
Classes | |
class | cv::bgsegm::BackgroundSubtractorCNT |
Background subtraction based on counting. More... | |
class | cv::bgsegm::BackgroundSubtractorGMG |
Background Subtractor module based on the algorithm given in [63] . More... | |
class | cv::bgsegm::BackgroundSubtractorMOG |
Gaussian Mixture-based Background/Foreground Segmentation Algorithm. More... | |
Functions | |
Ptr< BackgroundSubtractorCNT > | cv::bgsegm::createBackgroundSubtractorCNT (int minPixelStability=15, bool useHistory=true, int maxPixelStability=15 *60, bool isParallel=true) |
Creates a CNT Background Subtractor. More... | |
Ptr< BackgroundSubtractorGMG > | cv::bgsegm::createBackgroundSubtractorGMG (int initializationFrames=120, double decisionThreshold=0.8) |
Creates a GMG Background Subtractor. More... | |
Ptr< BackgroundSubtractorMOG > | cv::bgsegm::createBackgroundSubtractorMOG (int history=200, int nmixtures=5, double backgroundRatio=0.7, double noiseSigma=0) |
Creates mixture-of-gaussian background subtractor. More... | |
Ptr<BackgroundSubtractorCNT> cv::bgsegm::createBackgroundSubtractorCNT | ( | int | minPixelStability = 15 , |
bool | useHistory = true , |
||
int | maxPixelStability = 15 *60 , |
||
bool | isParallel = true |
||
) |
Creates a CNT Background Subtractor.
minPixelStability | number of frames with same pixel color to consider stable |
useHistory | determines if we're giving a pixel credit for being stable for a long time |
maxPixelStability | maximum allowed credit for a pixel in history |
isParallel | determines if we're parallelizing the algorithm |
Ptr<BackgroundSubtractorGMG> cv::bgsegm::createBackgroundSubtractorGMG | ( | int | initializationFrames = 120 , |
double | decisionThreshold = 0.8 |
||
) |
Creates a GMG Background Subtractor.
initializationFrames | number of frames used to initialize the background models. |
decisionThreshold | Threshold value, above which it is marked foreground, else background. |
Ptr<BackgroundSubtractorMOG> cv::bgsegm::createBackgroundSubtractorMOG | ( | int | history = 200 , |
int | nmixtures = 5 , |
||
double | backgroundRatio = 0.7 , |
||
double | noiseSigma = 0 |
||
) |
Creates mixture-of-gaussian background subtractor.
history | Length of the history. |
nmixtures | Number of Gaussian mixtures. |
backgroundRatio | Background ratio. |
noiseSigma | Noise strength (standard deviation of the brightness or each color channel). 0 means some automatic value. |