The MontiVision Linear Filter filter convolves the frames of the current video stream using a predefined linear filter kernel. The filter supports several filter kernels and combinations of Sobel or Prewitt kernels.
This MontiVision DirectShow Filter is used in combination with the MontiVision Smart Control in the DirFinder Sample Application.
| File: | linfilter.ax |
| CLSID: | CLSID_MVLinFilter |
Supported Interfaces
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 Linear Filter Property Page
Implements the IMVLinFilter configuration interface.
| Select filter | Used to select the desired filter kernel to be used for the convolution. |
| Edge detection | Sobel and Prewitt kernels are optimized to detect edges in frames. Vertical and horizontal kernels can be combined. |
| Combination | Used to select the combination method. |