|
IMVLinFilter
The IMVLinFilter interface is used to control the filter's image
processing algorithm. Read the filter
description to see how the filter is used.
Header file: iMVLinFilter.h
Interface definition language file: iMVLinFilter.idl
Typelib: MVLinFilter
Interface ID: IID_IMVLinFilter
HRESULT get_FilterType( [out,
retval] int *piType );
Returns the type of linear filter in use.
Parameter:
|
|
piType |
A pointer to an integer value that receives the
linear filter kernel type as MV_LINFILTER_TYPE. |
HRESULT put_FilterType( [in ] int
iType );
Sets the type of linear filter to use.
Parameter:
HRESULT get_CombinationMethod( [out, retval]
int *piMethod );
Returns the combination method for multi kernel filter types.
This filter supports two multi kernel types, Sobel (horizontal
and vertical) and Prewitt (horizontal and vertical).
Parameter:
HRESULT put_CombinationMethod( [in ] int
iMethod );
Sets the combination method for multi kernel filter types. This
filter supports two multi kernel types, Sobel (horizontal
and vertical) and Prewitt (horizontal and vertical).
Parameter:
Filter specific structures and enumerators
typedef enum _MV_LINFILTER_COMBINATION
{
MV_LINFILTER_COMBI_SUM= 0,
MV_LINFILTER_COMBI_MAX,
MV_LINFILTER_COMBI_NORM,
MV_LINFILTER_COMBI_AND,
MV_LINFILTER_COMBI_OR,
MV_LINFILTER_COMBI_XOR
} MV_LINFILTER_COMBINATION;
typedef enum _MV_LINFILTER_TYPE
{
MV_LINFILTER_PREWITT_3x3_V=0,
MV_LINFILTER_PREWITT_3x3_H,
MV_LINFILTER_SOBEL_3x3_V,
MV_LINFILTER_SOBEL_3x3_H,
MV_LINFILTER_LAPLACIAN_3x3,
MV_LINFILTER_LAPLACIAN_5x5,
MV_LINFILTER_GAUSSIAN_3x3,
MV_LINFILTER_GAUSSIAN_5x5,
MV_LINFILTER_HIPASS_3x3,
MV_LINFILTER_HIPASS_5x5,
MV_LINFILTER_SHARPEN_3x3,
MV_LINFILTER_SOBEL_COMBINED,
MV_LINFILTER_PREWITT_COMBINED
} MV_LINFILTER_TYPE;
|