MV Optical Flow DirectShow Filter
The MontiVision OpticalFlow filter is used to find optical
flow withhin a video stream. The filter uses a block matching
algorithm to find moved blocks in the current image. The I/O output
pin signals if the number of moved block oversteps an
adjustable threshold. For example you can control the MV Recording filter to record a video
stream only if there is motion within a scene.
This MontiVision DirectShow Filter is used in combination with
Smart Control in the DirFinder Sample
Supported COM Events
The filter supports following events through the IMVFilterEvents interface.
Look at the filter events page
for more information.
|A filter starts processing a video frame or sample.
|A filter finishes processing a video frame or sample.
Supported I/O Pins
||Returns the currently state of the motion
detection flag. The flag is TRUE, if the last image contains an
adjustable minimum motion to the previous image.
MV Optical Flow Property Page
Implements the IMVOpticalFlow
||Enables the continous storing of the motion vectors.
||Copy the input image to the output image.
||Enables the segmentation mode from the filter. The output image
contains all moved blocks.
||Draws the motion vectors into the output
||Select a color for the motion vectors.
||Percentage blocks that must have a motion vector to set
the I/O output pin to TRUE.
||Image count after the last detected motion for the motion
detection output flag is set to "motion detected".
||The block/shift size sets the size of a block for the
matching algorithm and the shift value for motion detection. Both
values have the same size and the image size must be perfectly
divisible by the block and shift size.
||Spezifies a range around the block. Withhin this range the
filter search for the moved block. Kindly note that a greater range
decrease the performance.