IMVMonLogic

The IMVMonLogic interface is used to control the filter's image processing algorithm. Read the filter description to see how the filter is used.

get_MonLogicMode Returns the current monadic logic operation mode.
put_MonLogicMode Sets the monadic logic operation mode.
get_Value Returns the current scalar.
put_Value Sets the scalar.

Header file: iMVMonLogic.h
Interface definition language file: iMVMonLogic.idl
Typelib: MVMonLogic
Interface ID: IID_IMVMonLogic

 

HRESULT get_MonLogicMode( [out, retval] int *piMode );

Returns the current monadic logic operation mode.

Parameter:

piMode A pointer to an integer value that receives the operation mode as MV_MONLOGIC_MODE .

 

HRESULT put_MonLogicMode( [in ] int iMode );

Sets the monadic logic operation mode.

Parameter:

iMode The operation mode as MV_MONLOGIC_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_MONLOGIC_MODE
{
    MV_MONLOGIC_RSHIFT,
    MV_MONLOGIC_LSHIFT,
    MV_MONLOGIC_NOT,
    MV_MONLOGIC_AND,
    MV_MONLOGIC_OR,
    MV_MONLOGIC_XOR
} MV_MONLOGIC_MODE;