IMVMeanProfile
The IMVMeanProfile Interface contains methods to configure the MV Mean Profile filter.
| Channel | Colour channel. |
| GetMeanProfile | Get the mean profile. |
| Mode | Working mode. |
| OverlayMode | Overlay mode. |
| Transparent | Transparent overlay. |
| VideoOutput | Video output. |
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 LongColour 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:
Prototype:
cMax Max values for pbyMeanProfile. pbyMeanProfile Array for the profile data. HRESULT GetMeanProfile(int cMax, BYTE* pbyMeanProfile);
Declaration: Property Get/Put Mode As LongThe filters working mode as MV_MEANPROFILE_MODE.
typedef enum _MV_MEANPROFILE_MODE
Prototype:
{
MV_MEANPROFILE_X,
MV_MEANPROFILE_Y
} MV_MEANPROFILE_MODE;HRESULT put_Mode(LONG Mode);
HRESULT get_Mode(LONG* Mode);
Property IMVMeanProfile::OverlayMode
Declaration: Property Get/Put OverlayMode As LongThe filters overlay mode as MV_MEANPROFILE_OVERLAYMODE.
typedef enum _MV_MEANPROFILE_OVERLAYMODE
Prototype:
{
MV_MEANPROFILE_BRIGHTOVERLAY,
MV_MEANPROFILE_DARKOVERLAY
} MV_MEANPROFILE_OVERLAYMODE;HRESULT put_OverlayMode(LONG Mode);
HRESULT get_OverlayMode(LONG* Mode);
Property IMVMeanProfile::Transparent
Declaration: Property Get/Put Transparent As BooleanSpecifies 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 LongThe filters video output mode as MV_MEANPROFILE_OUTPUT.
typedef enum _MV_MEANPROFILE_OUTPUT
Prototype:
{
MV_MEANPROFILE_OUTPUTVIDEO,
MV_MEANPROFILE_OUTPUTOVERLAY,
MV_MEANPROFILE_OUTPUTMEANPROFILE
} MV_MEANPROFILE_OUTPUT;HRESULT put_VideoOutput(LONG Output);
HRESULT get_VideoOutput(LONG* Output);