DirectShow Sample Application: Optical Flow Analysis
The DirFilder example demonstrates the use
of the MV Optical Flow filter and shows how to obtain results or
information from a MontiVision DirectShow Filter.
This and other sample applications can be found in the MV
Development Kit installation directory.
Filter Graph Summary
The filter graph configuration used in the DirFinder
Sample contains MV
Linear Filter in order to reduce noise. The MV Optical Flow
Filter detects recognizes optical flow caused by
motion within the live video.
The Application
This sample application uses a MontiVision Smart Control to
display the live video. Motion vectors recognized by MV OpticalFlow
Filter are overlayed onto the video stream. The arrow
bitmap shows the mean direction of the motion vectors for a
continuous motion. This sample application also provides two
buttons to display the property page dialogs of the video
source filter and the MV OpticalFlow Filter.
|