|
IMVMorphology
The IMVMorphology interface is used to control the filter's
image processing algorithm. Read the filter description to see how the
filter is used.
Header file: iMVMorphology.h
Interface definition language file: iMVMorphology.idl
Typelib: MVMorphology
Interface ID: IID_IMVMorphology
HRESULT get_MorphologyMode( [out, retval] int
*piMode );
Returns the current morphological operation mode.
Parameter:
|
|
piMode |
A pointer to an integer value that receives the
operation mode as MV_MORPH_MODE . |
HRESULT put_MorphologyMode( [in ] int iMode
);
Sets the morphological operation mode.
Parameter:
HRESULT get_NumOfIterations( [out, retval] int
*piIterations );
Returns the current number of iterations.
Parameter:
|
|
piIterations |
A pointer to an integer value that receives the
number of iterations. |
HRESULT put_NumOfIterations( [out, retval] int
*piIterations );
Sets the number of iterations.
Parameter:
|
|
iIterations |
The number of iterations. |
Filter specific structures and enumerators
typedef enum _MV_MORPH_MODE
{
MV_MORPH_ERODE,
MV_MORPH_DILATE,
MV_MORPH_OPEN,
MV_MORPH_CLOSE
} MV_MORPH_MODE;
|