MV Monadic Arithmetic DirectShow Filter

The MontiVision Monadic Arithmetic filter is used to modify the pixel channels of the current frame being processed, using an arithmetic operation. A scalar is specified, and then applied to the image. An additional operation using the value 5 would increase all channel values of all pixels by 5, meaning the resulting image would be brighter.

 

File: monarith.ax
CLSID: CLSID_MVMonArith

 

Supported Interfaces

IMVMonArith

IMVHistogram

IMVHistogram2

IMVHistogram3

IMVRegionOfInterest

IMVFilterData

IMVAbout

IMVFilterInfo

 

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
Scalar In
[Byte]
IMVMonArith::put_Value Sets the scalar.

Attention:
I/O Pins are dominat, what means that they have a higher priority than the corresponding method of the filters interface!

 

MV Monadic Arithmetic Property Page

Implements the IMVMonArith configuration interface.

MontiVision Monadic Arithmetic DirectShow Filter Property Page

Monadic Arithmetic Used to specify the arithmetic method and the scalar.
Square Calculates the square of all pixel channels. Doesn't use the scalar.