MV Background Subtraction DirectShow Filter
The MontiVision Background Subtraction DirectShow Filter is
used to subtract a specified background video frame from the
current video frame. This can for example be used for missing
object detection in video surveillance applications.
.
| File: |
BackgroundSubtraction.ax |
| CLSID: |
CLSID_MVBackgroundSubtraction |
Supported Interfaces
IMVBackgroundSubtraction
IMVMotionDirection
IMVTrigger
IMVHistogram
IMVHistogram2
IMVHistogram3
IMVFilterData
IMVAbout
IMVFilterInfo
IBaseFilter
ISpecifyPropertyPages
IConnectionPointContainer
IPersistStream
Supported COM Events
The filter supports following events through the IMVFilterEvents interface.
Look at the filter events
page for more information.
| Event
|
Value
|
Description
|
| MV_ALGORITHM_START_EVENT |
0
|
A filter starts processing a video frame or sample. |
| MV_ALGORITHM_END_EVENT |
1
|
A filter finishes processing a video frame or sample. |
MV Background Subtraction Property
Page
Uses the IMVBackgroundSubtraction interface
to setup the filter.
| Save Background |
Saves the current video frame as reference background image
which will be subtracted from the following video frames. |
| Show foreground only |
Video output shows only the changed parts of the image, e.g. in
order to visualize missing objects which had been replaced. |
| Draw object contours |
Draws the contours of missing or changed objects. |
Motion Direction Property Page
Uses the IMVMotionDirection interface
to setup motion direction detection functionality.
| Draw motion direction onto video |
If enabled, the global motion direction and the sub directions
are drawn onto the video as arrows. |
| Draw motion areas onto video |
If enabled, the motion within the video is visualised using the
specified colour. |
| Minimum pixel luminance
difference |
If a pixel luminance change is higher than this threshold,
motion is detected for this pixel. |
| Minimum number of changed pixels in
percent |
If the number of changed pixels in percent is higher than this
value, motion is detected for the video frame. |
|