BackgroundSubtractorExtensionGetBackgroundImage Method |
http://www.emgu.com
Computes a background image.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void GetBackgroundImage(
this IBackgroundSubtractor subtractor,
IOutputArray backgroundImage
)
<ExtensionAttribute>
Public Shared Sub GetBackgroundImage (
subtractor As IBackgroundSubtractor,
backgroundImage As IOutputArray
)
public:
[ExtensionAttribute]
static void GetBackgroundImage(
IBackgroundSubtractor^ subtractor,
IOutputArray^ backgroundImage
)
[<ExtensionAttribute>]
static member GetBackgroundImage :
subtractor : IBackgroundSubtractor *
backgroundImage : IOutputArray -> unit
Parameters
- subtractor
- Type: Emgu.CVIBackgroundSubtractor
The background subtractor - backgroundImage
- Type: Emgu.CVIOutputArray
The output background image
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IBackgroundSubtractor. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks Sometimes the background image can be very blurry, as it contain the average background statistics.
See Also