MV Mean DirectShow Filter

Calculates the mean value from the current input image, color images are converted to greyscale internally. The mean value of an image can be used to represent the level of illumination. If enabled, the filter will adjust the mean value of the image to 128 to adapt illumination.

 

File: Mean.ax
CLSID: CLSID_MVMean

 

Supported Interfaces

IMVMean

IMVHistogram

IMVHistogram2

IMVHistogram3

IMVFilterData

IMVAbout

IMVFilterInfo

IMVRegionOfInterest

 

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.

 

Supported I/O Pins

I/O Pin Corresponding method Discription
Mean
[unsigned int 8]
IMVMean::GetImageMean Mean value of the current image.

 

MV Mean Property Page

Implements the IMVMean configuration interface.

MontiVision Mean DirectShow Filter Property Page

Image mean The mean value of the current input image
Adjus image mean to 128 If enabled, the mean value is adjusted to 128