|
IMVMeanProfile
The IMVMeanProfile Interface contains methods to configure the
MV Mean Profile filter.
Header file: IMVMeanProfile.h
Interface definition language file: IMVMeanProfile.idl
Typelib: MVMeanProfile
Interface ID: IID_IMVMeanProfile
Property IMVMeanProfile::Channel
Declaration:
Property Get/Put Channel As Long
Colour channel to be used to calculate the mean profile as
MV_COLOR_CHANNEL.
Prototype:
HRESULT put_Channel(int Channel);
HRESULT get_Channel(int* Channel);
Method
IMVMeanProfile::GetMeanProfile
Declaration: Sub
GetMeanProfile(cMax As Long, pbyMeanProfile As Byte)
Returns the calculated mean profile.
Parameter:
|
|
cMax |
Max values for pbyMeanProfile. |
|
|
pbyMeanProfile |
Array for the profile data. |
Prototype:
HRESULT GetMeanProfile(int cMax, BYTE*
pbyMeanProfile);
Property IMVMeanProfile::Mode
Declaration:
Property Get/Put Mode As Long
The filters working mode as MV_MEANPROFILE_MODE.
typedef enum _MV_MEANPROFILE_MODE
{
MV_MEANPROFILE_X,
MV_MEANPROFILE_Y
} MV_MEANPROFILE_MODE;
Prototype:
HRESULT put_Mode(LONG Mode);
HRESULT get_Mode(LONG* Mode);
Property
IMVMeanProfile::OverlayMode
Declaration:
Property Get/Put OverlayMode As Long
The filters overlay mode as MV_MEANPROFILE_OVERLAYMODE.
typedef enum
_MV_MEANPROFILE_OVERLAYMODE
{
MV_MEANPROFILE_BRIGHTOVERLAY,
MV_MEANPROFILE_DARKOVERLAY
} MV_MEANPROFILE_OVERLAYMODE;
Prototype:
HRESULT put_OverlayMode(LONG
Mode);
HRESULT get_OverlayMode(LONG* Mode);
Property
IMVMeanProfile::Transparent
Declaration:
Property Get/Put Transparent As Boolean
Specifies whether the overlaid mean profile is transparent or
solid.
Prototype:
HRESULT put_Transparent(BOOLEAN
Enable);
HRESULT get_Transparent(BOOLEAN* Enable);
Property
IMVMeanProfile::VideoOutput
Declaration:
Property Get/Put VideoOutput As Long
The filters video output mode as MV_MEANPROFILE_OUTPUT.
typedef enum
_MV_MEANPROFILE_OUTPUT
{
MV_MEANPROFILE_OUTPUTVIDEO,
MV_MEANPROFILE_OUTPUTOVERLAY,
MV_MEANPROFILE_OUTPUTMEANPROFILE
} MV_MEANPROFILE_OUTPUT;
Prototype:
HRESULT put_VideoOutput(LONG
Output);
HRESULT get_VideoOutput(LONG* Output);
|