MV Presence Detection DirectShow Filter
The MontiVision Presence Detection filter detects
availble illumination in a user defined area. At first the filter
make a binary segmentation onto the input image and then it checks
if within an area more pixel have a white color value a level
parameter.
| File: |
presencedetection.ax |
| CLSID: |
CLSID_MVPresenceDetection |
Supported Interfaces
IMVPresentDetection
IMVHistogram
IMVHistogram2
IMVHistogram3
IMVRegionOfInterest
IMVFilterData
IMVAbout
IMVFilterInfo
Supported COM Events
The filter supports following events through the IMVFilterEvents interface.
Look at the filter events
page for more information.
Events:
| 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. |
Supported I/O Pins
| I/O Pin
|
Corresponding method
|
Discription
|
Area0
to
Area3
[Boolean] |
IMVPresenceDetection::GetAreaOfInterestState |
Outputs the state of the
corresponding area. |
MV Presence Detection Property Page
Uses the IMVPresentDetection interface
to setup the filter.
| Areas |
Define the areas and the illumination level for presence
detection. The filter detects presence if after segmentation
the level [in %] of pixel is set to white. |
| Draw Areas |
Draw the areas into the output video stream. The selected area
has a thick frame. |
| Invert |
Invert the detection function. |
| Fill Valid Areas |
All areas with detected illiumination precence was filled with
the selected color. |
| Segmentation Threshold |
Value between 0 and 255 for the segmenation function. |
| Color |
Color for drawing areas. |
|