@Namespace(value="cv::bgsegm") @Properties(inherit=opencv_bgsegm.class) public class BackgroundSubtractorMOG extends BackgroundSubtractor
/** \brief Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
The class implements the algorithm described in \cite KB2001 .
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BackgroundSubtractorMOG(Algorithm pointer)
Downcast constructor.
|
BackgroundSubtractorMOG(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getBackgroundRatio() |
int |
getHistory() |
int |
getNMixtures() |
double |
getNoiseSigma() |
void |
setBackgroundRatio(double backgroundRatio) |
void |
setHistory(int nframes) |
void |
setNMixtures(int nmix) |
void |
setNoiseSigma(double noiseSigma) |
apply, apply, apply, apply, apply, apply, asAlgorithm, asAlgorithm, getBackgroundImage, getBackgroundImage, getBackgroundImage
clear, empty, getDefaultName, getPointer, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public BackgroundSubtractorMOG(Pointer p)
Pointer(Pointer)
.public BackgroundSubtractorMOG(Algorithm pointer)
public int getHistory()
public void setHistory(int nframes)
public int getNMixtures()
public void setNMixtures(int nmix)
public double getBackgroundRatio()
public void setBackgroundRatio(double backgroundRatio)
public double getNoiseSigma()
public void setNoiseSigma(double noiseSigma)
Copyright © 2024. All rights reserved.