public class opencv_bgsegm extends opencv_bgsegm
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_bgsegm.BackgroundSubtractorCNT
\brief Background subtraction based on counting.
|
static class |
opencv_bgsegm.BackgroundSubtractorGMG
\brief Background Subtractor module based on the algorithm given in \cite Gold2012 .
|
static class |
opencv_bgsegm.BackgroundSubtractorGSOC
\brief Implementation of the different yet better algorithm which is called GSOC, as it was implemented during GSOC and was not originated from any paper.
|
static class |
opencv_bgsegm.BackgroundSubtractorLSBP
\brief Background Subtraction using Local SVD Binary Pattern.
|
static class |
opencv_bgsegm.BackgroundSubtractorLSBPDesc
\brief This is for calculation of the LSBP descriptors.
|
static class |
opencv_bgsegm.BackgroundSubtractorMOG
\addtogroup bgsegm
\{
|
static class |
opencv_bgsegm.SyntheticSequenceGenerator
\brief Synthetic frame sequence generator for testing background subtraction algorithms.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
LSBP_CAMERA_MOTION_COMPENSATION_LK
enum cv::bgsegm::LSBPCameraMotionCompensation
|
static int |
LSBP_CAMERA_MOTION_COMPENSATION_NONE
enum cv::bgsegm::LSBPCameraMotionCompensation
|
| Constructor and Description |
|---|
opencv_bgsegm() |
| Modifier and Type | Method and Description |
|---|---|
static opencv_bgsegm.BackgroundSubtractorCNT |
createBackgroundSubtractorCNT() |
static opencv_bgsegm.BackgroundSubtractorCNT |
createBackgroundSubtractorCNT(int minPixelStability,
boolean useHistory,
int maxPixelStability,
boolean isParallel)
\brief Creates a CNT Background Subtractor
|
static opencv_bgsegm.BackgroundSubtractorGMG |
createBackgroundSubtractorGMG() |
static opencv_bgsegm.BackgroundSubtractorGMG |
createBackgroundSubtractorGMG(int initializationFrames,
double decisionThreshold)
\brief Creates a GMG Background Subtractor
|
static opencv_bgsegm.BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC() |
static opencv_bgsegm.BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate,
int hitsThreshold,
float alpha,
float beta,
float blinkingSupressionDecay,
float blinkingSupressionMultiplier,
float noiseRemovalThresholdFacBG,
float noiseRemovalThresholdFacFG)
\brief Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static opencv_bgsegm.BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP() |
static opencv_bgsegm.BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower,
float Tupper,
float Tinc,
float Tdec,
float Rscale,
float Rincdec,
float noiseRemovalThresholdFacBG,
float noiseRemovalThresholdFacFG,
int LSBPthreshold,
int minCount)
\brief Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static opencv_bgsegm.BackgroundSubtractorMOG |
createBackgroundSubtractorMOG() |
static opencv_bgsegm.BackgroundSubtractorMOG |
createBackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio,
double noiseSigma)
\brief Creates mixture-of-gaussian background subtractor
|
static opencv_bgsegm.SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(opencv_core.GpuMat background,
opencv_core.GpuMat object) |
static opencv_bgsegm.SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(opencv_core.GpuMat background,
opencv_core.GpuMat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed) |
static opencv_bgsegm.SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(opencv_core.Mat background,
opencv_core.Mat object) |
static opencv_bgsegm.SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(opencv_core.Mat background,
opencv_core.Mat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed)
\brief Creates an instance of SyntheticSequenceGenerator.
|
static opencv_bgsegm.SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(opencv_core.UMat background,
opencv_core.UMat object) |
static opencv_bgsegm.SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(opencv_core.UMat background,
opencv_core.UMat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed) |
mappublic static final int LSBP_CAMERA_MOTION_COMPENSATION_NONE
public static final int LSBP_CAMERA_MOTION_COMPENSATION_LK
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.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::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorMOG createBackgroundSubtractorMOG()
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorGMG createBackgroundSubtractorGMG(int initializationFrames, double decisionThreshold)
initializationFrames - number of frames used to initialize the background models.decisionThreshold - Threshold value, above which it is marked foreground, else background.@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorGMG createBackgroundSubtractorGMG()
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorCNT createBackgroundSubtractorCNT(int minPixelStability, @Cast(value="bool") boolean useHistory, int maxPixelStability, @Cast(value="bool") boolean isParallel)
minPixelStability - number of frames with same pixel color to consider stableuseHistory - determines if we're giving a pixel credit for being stable for a long timemaxPixelStability - maximum allowed credit for a pixel in historyisParallel - determines if we're parallelizing the algorithm@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorCNT createBackgroundSubtractorCNT()
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate, int hitsThreshold, float alpha, float beta, float blinkingSupressionDecay, float blinkingSupressionMultiplier, float noiseRemovalThresholdFacBG, float noiseRemovalThresholdFacFG)
Implementation of the different yet better algorithm which is called GSOC, as it was implemented during GSOC and was not originated from any paper.
mc - Whether to use camera motion compensation.nSamples - Number of samples to maintain at each point of the frame.replaceRate - Probability of replacing the old sample - how fast the model will update itself.propagationRate - Probability of propagating to neighbors.hitsThreshold - How many positives the sample must get before it will be considered as a possible replacement.alpha - Scale coefficient for threshold.beta - Bias coefficient for threshold.blinkingSupressionDecay - Blinking supression decay factor.blinkingSupressionMultiplier - Blinking supression multiplier.noiseRemovalThresholdFacBG - Strength of the noise removal for background points.noiseRemovalThresholdFacFG - Strength of the noise removal for foreground points.@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorGSOC createBackgroundSubtractorGSOC()
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower, float Tupper, float Tinc, float Tdec, float Rscale, float Rincdec, float noiseRemovalThresholdFacBG, float noiseRemovalThresholdFacFG, int LSBPthreshold, int minCount)
Background Subtraction using Local SVD Binary Pattern. More details about the algorithm can be found at \cite LGuo2016
mc - Whether to use camera motion compensation.nSamples - Number of samples to maintain at each point of the frame.LSBPRadius - LSBP descriptor radius.Tlower - Lower bound for T-values. See \cite LGuo2016 for details.Tupper - Upper bound for T-values. See \cite LGuo2016 for details.Tinc - Increase step for T-values. See \cite LGuo2016 for details.Tdec - Decrease step for T-values. See \cite LGuo2016 for details.Rscale - Scale coefficient for threshold values.Rincdec - Increase/Decrease step for threshold values.noiseRemovalThresholdFacBG - Strength of the noise removal for background points.noiseRemovalThresholdFacFG - Strength of the noise removal for foreground points.LSBPthreshold - Threshold for LSBP binary string.minCount - Minimal number of matches for sample to be considered as foreground.@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.BackgroundSubtractorLSBP createBackgroundSubtractorLSBP()
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.SyntheticSequenceGenerator createSyntheticSequenceGenerator(@ByVal opencv_core.Mat background, @ByVal opencv_core.Mat object, double amplitude, double wavelength, double wavespeed, double objspeed)
background - Background image for object.object - Object image which will move slowly over the background.amplitude - Amplitude of wave distortion applied to background.wavelength - Length of waves in distortion applied to background.wavespeed - How fast waves will move.objspeed - How fast object will fly over background.@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.SyntheticSequenceGenerator createSyntheticSequenceGenerator(@ByVal opencv_core.Mat background, @ByVal opencv_core.Mat object)
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.SyntheticSequenceGenerator createSyntheticSequenceGenerator(@ByVal opencv_core.UMat background, @ByVal opencv_core.UMat object, double amplitude, double wavelength, double wavespeed, double objspeed)
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.SyntheticSequenceGenerator createSyntheticSequenceGenerator(@ByVal opencv_core.UMat background, @ByVal opencv_core.UMat object)
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.SyntheticSequenceGenerator createSyntheticSequenceGenerator(@ByVal opencv_core.GpuMat background, @ByVal opencv_core.GpuMat object, double amplitude, double wavelength, double wavespeed, double objspeed)
@Namespace(value="cv::bgsegm") @opencv_core.Ptr public static opencv_bgsegm.SyntheticSequenceGenerator createSyntheticSequenceGenerator(@ByVal opencv_core.GpuMat background, @ByVal opencv_core.GpuMat object)
Copyright © 2018. All rights reserved.