public class Bgsegm extends Object
Modifier and Type | Field and Description |
---|---|
static int |
LSBP_CAMERA_MOTION_COMPENSATION_LK |
static int |
LSBP_CAMERA_MOTION_COMPENSATION_NONE |
Constructor and Description |
---|
Bgsegm() |
Modifier and Type | Method and Description |
---|---|
static BackgroundSubtractorCNT |
createBackgroundSubtractorCNT()
Creates a CNT Background Subtractor
|
static BackgroundSubtractorCNT |
createBackgroundSubtractorCNT(int minPixelStability)
Creates a CNT Background Subtractor
|
static BackgroundSubtractorCNT |
createBackgroundSubtractorCNT(int minPixelStability,
boolean useHistory)
Creates a CNT Background Subtractor
|
static BackgroundSubtractorCNT |
createBackgroundSubtractorCNT(int minPixelStability,
boolean useHistory,
int maxPixelStability)
Creates a CNT Background Subtractor
|
static BackgroundSubtractorCNT |
createBackgroundSubtractorCNT(int minPixelStability,
boolean useHistory,
int maxPixelStability,
boolean isParallel)
Creates a CNT Background Subtractor
|
static BackgroundSubtractorGMG |
createBackgroundSubtractorGMG()
Creates a GMG Background Subtractor
|
static BackgroundSubtractorGMG |
createBackgroundSubtractorGMG(int initializationFrames)
Creates a GMG Background Subtractor
|
static BackgroundSubtractorGMG |
createBackgroundSubtractorGMG(int initializationFrames,
double decisionThreshold)
Creates a GMG Background Subtractor
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC()
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate,
int hitsThreshold)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate,
int hitsThreshold,
float alpha)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate,
int hitsThreshold,
float alpha,
float beta)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate,
int hitsThreshold,
float alpha,
float beta,
float blinkingSupressionDecay)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate,
int hitsThreshold,
float alpha,
float beta,
float blinkingSupressionDecay,
float blinkingSupressionMultiplier)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate,
int hitsThreshold,
float alpha,
float beta,
float blinkingSupressionDecay,
float blinkingSupressionMultiplier,
float noiseRemovalThresholdFacBG)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorGSOC |
createBackgroundSubtractorGSOC(int mc,
int nSamples,
float replaceRate,
float propagationRate,
int hitsThreshold,
float alpha,
float beta,
float blinkingSupressionDecay,
float blinkingSupressionMultiplier,
float noiseRemovalThresholdFacBG,
float noiseRemovalThresholdFacFG)
Creates an instance of BackgroundSubtractorGSOC algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP()
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower,
float Tupper)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower,
float Tupper,
float Tinc)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower,
float Tupper,
float Tinc,
float Tdec)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower,
float Tupper,
float Tinc,
float Tdec,
float Rscale)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower,
float Tupper,
float Tinc,
float Tdec,
float Rscale,
float Rincdec)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower,
float Tupper,
float Tinc,
float Tdec,
float Rscale,
float Rincdec,
float noiseRemovalThresholdFacBG)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorLSBP |
createBackgroundSubtractorLSBP(int mc,
int nSamples,
int LSBPRadius,
float Tlower,
float Tupper,
float Tinc,
float Tdec,
float Rscale,
float Rincdec,
float noiseRemovalThresholdFacBG,
float noiseRemovalThresholdFacFG)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static 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)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static 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)
Creates an instance of BackgroundSubtractorLSBP algorithm.
|
static BackgroundSubtractorMOG |
createBackgroundSubtractorMOG()
Creates mixture-of-gaussian background subtractor
means some automatic value.
|
static BackgroundSubtractorMOG |
createBackgroundSubtractorMOG(int history)
Creates mixture-of-gaussian background subtractor
|
static BackgroundSubtractorMOG |
createBackgroundSubtractorMOG(int history,
int nmixtures)
Creates mixture-of-gaussian background subtractor
|
static BackgroundSubtractorMOG |
createBackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio)
Creates mixture-of-gaussian background subtractor
|
static BackgroundSubtractorMOG |
createBackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio,
double noiseSigma)
Creates mixture-of-gaussian background subtractor
|
static SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(Mat background,
Mat object)
Creates an instance of SyntheticSequenceGenerator.
|
static SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(Mat background,
Mat object,
double amplitude)
Creates an instance of SyntheticSequenceGenerator.
|
static SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(Mat background,
Mat object,
double amplitude,
double wavelength)
Creates an instance of SyntheticSequenceGenerator.
|
static SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(Mat background,
Mat object,
double amplitude,
double wavelength,
double wavespeed)
Creates an instance of SyntheticSequenceGenerator.
|
static SyntheticSequenceGenerator |
createSyntheticSequenceGenerator(Mat background,
Mat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed)
Creates an instance of SyntheticSequenceGenerator.
|
public static final int LSBP_CAMERA_MOTION_COMPENSATION_NONE
public static final int LSBP_CAMERA_MOTION_COMPENSATION_LK
public static BackgroundSubtractorCNT createBackgroundSubtractorCNT(int minPixelStability, boolean useHistory, int maxPixelStability, 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 algorithmpublic static BackgroundSubtractorCNT createBackgroundSubtractorCNT(int minPixelStability, boolean useHistory, int maxPixelStability)
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 historypublic static BackgroundSubtractorCNT createBackgroundSubtractorCNT(int minPixelStability, boolean useHistory)
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 timepublic static BackgroundSubtractorCNT createBackgroundSubtractorCNT(int minPixelStability)
minPixelStability
- number of frames with same pixel color to consider stablepublic static BackgroundSubtractorCNT createBackgroundSubtractorCNT()
public static 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.public static BackgroundSubtractorGMG createBackgroundSubtractorGMG(int initializationFrames)
initializationFrames
- number of frames used to initialize the background models.public static BackgroundSubtractorGMG createBackgroundSubtractorGMG()
public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate, int hitsThreshold, float alpha, float beta, float blinkingSupressionDecay, float blinkingSupressionMultiplier, float noiseRemovalThresholdFacBG, float noiseRemovalThresholdFacFG)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate, int hitsThreshold, float alpha, float beta, float blinkingSupressionDecay, float blinkingSupressionMultiplier, float noiseRemovalThresholdFacBG)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate, int hitsThreshold, float alpha, float beta, float blinkingSupressionDecay, float blinkingSupressionMultiplier)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate, int hitsThreshold, float alpha, float beta, float blinkingSupressionDecay)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate, int hitsThreshold, float alpha, float beta)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate, int hitsThreshold, float alpha)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate, int hitsThreshold)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate, float propagationRate)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples, float replaceRate)
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.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc, int nSamples)
mc
- Whether to use camera motion compensation.nSamples
- Number of samples to maintain at each point of the frame.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC(int mc)
mc
- Whether to use camera motion compensation.public static BackgroundSubtractorGSOC createBackgroundSubtractorGSOC()
public static 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)
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.public static 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)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower, float Tupper, float Tinc, float Tdec, float Rscale, float Rincdec, float noiseRemovalThresholdFacBG, float noiseRemovalThresholdFacFG)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower, float Tupper, float Tinc, float Tdec, float Rscale, float Rincdec, float noiseRemovalThresholdFacBG)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower, float Tupper, float Tinc, float Tdec, float Rscale, float Rincdec)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower, float Tupper, float Tinc, float Tdec, float Rscale)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower, float Tupper, float Tinc, float Tdec)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower, float Tupper, float Tinc)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower, float Tupper)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius, float Tlower)
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.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples, int LSBPRadius)
mc
- Whether to use camera motion compensation.nSamples
- Number of samples to maintain at each point of the frame.LSBPRadius
- LSBP descriptor radius.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc, int nSamples)
mc
- Whether to use camera motion compensation.nSamples
- Number of samples to maintain at each point of the frame.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP(int mc)
mc
- Whether to use camera motion compensation.public static BackgroundSubtractorLSBP createBackgroundSubtractorLSBP()
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.public static BackgroundSubtractorMOG createBackgroundSubtractorMOG(int history, int nmixtures, double backgroundRatio)
history
- Length of the history.nmixtures
- Number of Gaussian mixtures.backgroundRatio
- Background ratio.
means some automatic value.public static BackgroundSubtractorMOG createBackgroundSubtractorMOG(int history, int nmixtures)
history
- Length of the history.nmixtures
- Number of Gaussian mixtures.
means some automatic value.public static BackgroundSubtractorMOG createBackgroundSubtractorMOG(int history)
history
- Length of the history.
means some automatic value.public static BackgroundSubtractorMOG createBackgroundSubtractorMOG()
public static SyntheticSequenceGenerator createSyntheticSequenceGenerator(Mat background, 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.public static SyntheticSequenceGenerator createSyntheticSequenceGenerator(Mat background, Mat object, double amplitude, double wavelength, double wavespeed)
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.public static SyntheticSequenceGenerator createSyntheticSequenceGenerator(Mat background, Mat object, double amplitude, double wavelength)
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.public static SyntheticSequenceGenerator createSyntheticSequenceGenerator(Mat background, Mat object, double amplitude)
background
- Background image for object.object
- Object image which will move slowly over the background.amplitude
- Amplitude of wave distortion applied to background.public static SyntheticSequenceGenerator createSyntheticSequenceGenerator(Mat background, Mat object)
background
- Background image for object.object
- Object image which will move slowly over the background.Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2