The MontiVision Color To Gray filter is used to convert colour images to greyscale images. Either the grey value is calculated from all three colour values (red, green, blue) or the grey image is created from one of the input channels.
| File: | gray.ax |
| CLSID: | CLSID_MVGray |
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 Color To Grey Property Page
Uses the IMVGray interface

Color to gray filters property page
| Color channel | Used to select the colour channel that is used to create the grey image. |