IMVMonArith
The IMVMonArith interface is used to control the filter's image processing algorithm. Read the filter description to see how the filter is used.
| get_MonArithMode | Returns the current monadic arithmetic operation mode. |
| put_MonArithMode | Sets the monadic arithmetic operation mode. |
| get_Value | Returns the current scalar. |
| put_Value | Sets the scalar. |
Header file: iMVMonArith.h
Interface definition language file: iMVMonArith.idl
Typelib: MVMonArith
Interface ID: IID_IMVMonArith
HRESULT get_MonArithMode( [out, retval] int *piMode );
Returns the monadic arithmetic operation mode.
Parameter:
| piMode | A pointer to an integer value that receives the operation mode as MV_MONARITH_MODE . |
HRESULT put_MonArithMode( [in ] int iMode );
Sets the monadic arithmetic operation mode.
Parameter:
| iMode | The operation mode as MV_MONARITH_MODE . |
HRESULT get_Value( [out, retval] byte *pbyValue );
Returns the current scalar.
Parameter:
| pbyValue | A pointer to an integer value that receives the scalar as byte. |
HRESULT put_Value( [in ] byte byValue );
Sets the scalar.
Parameter:
| byValue | The scalar as byte. |
Filter specific structures and enumerators
typedef enum _MV_MONARITH_MODE
{
MV_MONARITH_ADD,
MV_MONARITH_SUBTRACT,
MV_MONARITH_MULTIPLY,
MV_MONARITH_MULTIPLY_SCALE,
MV_MONARITH_SQUARE
} MV_MONARITH_MODE;