The Base Class for Background/Foreground Segmentation.
The class is only used to define the common interface for
the whole family of background/foreground segmentation algorithms.
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusAlgorithm
OpenCvSharp.CPlusPlusBackgroundSubtractor
OpenCvSharp.CPlusPlusBackgroundSubtractorMOG
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The BackgroundSubtractorMOG type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BackgroundSubtractorMOG |
the default constructor
|
![]() | BackgroundSubtractorMOG(Int32, Int32, Double, Double) |
the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
|
Properties
Name | Description | |
---|---|---|
![]() | AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) |
![]() | AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) |
![]() | CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) |
![]() | Info |
Algorithm information
(Inherited from Algorithm.) |
![]() | InfoPtr |
Pointer to algorithm information (cv::AlgorithmInfo*)
(Overrides BackgroundSubtractorInfoPtr.) |
![]() | IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) |
![]() | IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) |
![]() | Name |
Returns the algorithm name
(Inherited from Algorithm.) |
Methods
Name | Description | |
---|---|---|
![]() | AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) |
![]() | AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) |
![]() | Dispose |
Releases the resources
(Inherited from DisposableObject.) |
![]() | Dispose(Boolean) |
Clean up any resources being used.
(Overrides BackgroundSubtractorDispose(Boolean).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetAlgorithm |
Returns the algorithm parameter
(Inherited from Algorithm.) |
![]() | GetBackgroundImage |
computes a background image
(Inherited from BackgroundSubtractor.) |
![]() | GetBool |
Returns the algorithm parameter
(Inherited from Algorithm.) |
![]() | GetDouble |
Returns the algorithm parameter
(Inherited from Algorithm.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetInt |
Returns the algorithm parameter
(Inherited from Algorithm.) |
![]() | GetMat |
Returns the algorithm parameter
(Inherited from Algorithm.) |
![]() | GetMatVector |
Returns the algorithm parameter
(Inherited from Algorithm.) |
![]() | GetParams | (Inherited from Algorithm.) |
![]() | GetString |
Returns the algorithm parameter
(Inherited from Algorithm.) |
![]() | GetType | (Inherited from Object.) |
![]() | Initialize |
re-initiaization method
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) |
![]() | ParamHelp | (Inherited from Algorithm.) |
![]() | ParamType | (Inherited from Algorithm.) |
![]() | Release |
Clean up any resources being used.
(Inherited from Algorithm.) |
![]() | Run |
the update operator
(Overrides BackgroundSubtractorRun(InputArray, OutputArray, Double).) |
![]() | SetAlgorithm |
Sets the algorithm parameter
(Inherited from Algorithm.) |
![]() | SetBool |
Sets the algorithm parameter
(Inherited from Algorithm.) |
![]() | SetDouble |
Sets the algorithm parameter
(Inherited from Algorithm.) |
![]() | SetInt |
Sets the algorithm parameter
(Inherited from Algorithm.) |
![]() | SetMat |
Sets the algorithm parameter
(Inherited from Algorithm.) |
![]() | SetMatVector |
Sets the algorithm parameter
(Inherited from Algorithm.) |
![]() | SetString |
Sets the algorithm parameter
(Inherited from Algorithm.) |
![]() | ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) |
![]() | ToString |
Returns a string that represents this Algorithm.
(Inherited from Algorithm.) |
Fields
Name | Description | |
---|---|---|
![]() | dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) |
![]() | ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also