IMVColorTwist
The IMVColorTwist interface is used to control the filter's image processing algorithm. Read the filter description to see how the filter is used.
| ApplyMatrix | Applies a new matrix. |
| get_ColorOffset | Retrieves the current color offset value. |
| put_ColorOffset | Sets a new color offset value. |
| GetMatrixValue | Retrieves a current matrix value. |
| SetMatrixValue | Sets a new matrix value. |
Header file: iMVColorTwist.h
Interface definition language file: iMVColorTwist.idl
Typelib: MVColorTwist
Interface ID: IID_IMVColorTwist
HRESULT ApplyMatrix();
Applies a new matrix.
Parameter:
| - |
HRESULT get_ColorOffset([out, retval] double *offset );
Retrieves the current color offset value.
Parameter:
| offset | Pointer to get the current color offset. |
HRESULT put_ColorOffset([in] double offset);
Sets a new color offset value.
Parameter:
| offset | The new color offset. |
HRESULT GetMatrixValue([in ] int iColumn, [in ] int iRow, [out, retval ] double *piValue);
Retrieves a current matrix value.
Parameter:
| iColumn | Column index. | |
| iRow | Row index. | |
| piValue | Pointer to get the matrix value. |
HRESULT SetMatrixValue([in ] int iColumn, [in ] int iRow, [in ] double iValue);
Sets a new matrix value.
Parameter:
| iColumn | Column index. | |
| iRow | Row index. | |
| iValue | New matrix value. |