public class opencv_cudabgsegm extends opencv_cudabgsegm
| Constructor and Description |
|---|
opencv_cudabgsegm() |
| Modifier and Type | Method and Description |
|---|---|
static BackgroundSubtractorMOG |
createBackgroundSubtractorMOG() |
static BackgroundSubtractorMOG |
createBackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio,
double noiseSigma)
\brief Creates mixture-of-gaussian background subtractor
|
static BackgroundSubtractorMOG2 |
createBackgroundSubtractorMOG2() |
static BackgroundSubtractorMOG2 |
createBackgroundSubtractorMOG2(int history,
double varThreshold,
boolean detectShadows)
\brief Creates MOG2 Background Subtractor
|
map@Namespace(value="cv::cuda") @opencv_core.Ptr public static BackgroundSubtractorMOG createBackgroundSubtractorMOG(int history, int nmixtures, double backgroundRatio, double noiseSigma)
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.@Namespace(value="cv::cuda") @opencv_core.Ptr public static BackgroundSubtractorMOG createBackgroundSubtractorMOG()
@Namespace(value="cv::cuda") @opencv_core.Ptr public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history, double varThreshold, @Cast(value="bool") boolean detectShadows)
history - Length of the history.varThreshold - Threshold on the squared Mahalanobis distance between the pixel and the model
to decide whether a pixel is well described by the background model. This parameter does not
affect the background update.detectShadows - If true, the algorithm will detect shadows and mark them. It decreases the
speed a bit, so if you do not need this feature, set the parameter to false.@Namespace(value="cv::cuda") @opencv_core.Ptr public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2()
Copyright © 2020. All rights reserved.