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
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.
| Monadic Arithmetic | Used to specify the arithmetic method and the scalar. |
| Square | Calculates the square of all pixel channels. Doesn't use the scalar. |