public static class opencv_video.BackgroundSubtractorMOG extends opencv_video.BackgroundSubtractor
opencv_core.Algorithm.Constructor, opencv_core.Algorithm.Getter, opencv_core.Algorithm.SetterPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_video.BackgroundSubtractorMOG()
the default constructor
|
opencv_video.BackgroundSubtractorMOG(int size) |
opencv_video.BackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio) |
opencv_video.BackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio,
double noiseSigma)
the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
|
opencv_video.BackgroundSubtractorMOG(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(opencv_core.Mat image,
opencv_core.Mat fgmask) |
void |
apply(opencv_core.Mat image,
opencv_core.Mat fgmask,
double learningRate)
the update operator
|
opencv_core.AlgorithmInfo |
info() |
void |
initialize(opencv_core.Size frameSize,
int frameType)
re-initiaization method
|
opencv_video.BackgroundSubtractorMOG |
position(int position) |
getBackgroundImage_create, _create, getAlgorithm, getAlgorithm, getBool, getBool, getDouble, getDouble, getInt, getInt, getList, getMat, getMat, getMatVector, getMatVector, getParams, getString, getString, name, paramHelp, paramHelp, paramType, paramType, read, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setAlgorithm, setAlgorithm, setBool, setBool, setDouble, setDouble, setInt, setInt, setMat, setMat, setMatVector, setMatVector, setString, setString, writeaddress, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic opencv_video.BackgroundSubtractorMOG(Pointer p)
public opencv_video.BackgroundSubtractorMOG(int size)
public opencv_video.BackgroundSubtractorMOG()
public opencv_video.BackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio,
double noiseSigma)
public opencv_video.BackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio)
public opencv_video.BackgroundSubtractorMOG position(int position)
position in class opencv_video.BackgroundSubtractorpublic void apply(opencv_core.Mat image, opencv_core.Mat fgmask, double learningRate)
apply in class opencv_video.BackgroundSubtractorpublic void apply(opencv_core.Mat image, opencv_core.Mat fgmask)
apply in class opencv_video.BackgroundSubtractorpublic void initialize(opencv_core.Size frameSize, int frameType)
public opencv_core.AlgorithmInfo info()
info in class opencv_core.AlgorithmCopyright © 2014. All Rights Reserved.