IMVProfile
The IMVProfile Interface contains methods to setup the MV Profile filter.
| Channel | Colour channel to be used. |
| GetProfile | Returns the profile for the currently selected row or column. |
| Line | The currently selected line. |
| Mode | The filters working mode. (Columns/Rows) |
| OverlayMode | The filters overlay mode. |
| Transparent | Specifies whether to use a transparent overlay. |
| VideoOutput | The filters video output mode. |
Header file: IMVProfile.h
Interface definition language file: IMVProfile.idl
Typelib: MVProfile
Interface ID: IID_IMVProfile
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);
Declaration: Sub GetProfile(cMax As Long, pbyProfile As Byte)Returns the profile for the currently selected row or column.
Parameter:
Prototype:
cMax Max values for pbyMeanProfile. pbyProfile Array for the profile data. HRESULT GetProfile(int cMax, BYTE* pbyProfile);
Declaration: Property Get/Put Line As LongThe currently selected line.
Prototype:HRESULT put_Line(int Line);
HRESULT get_Line(int* Line);
Declaration: Property Get/Put Mode As LongThe filters working mode as MV_PROFILE_MODE.
typedef enum _MV_PROFILE_MODEPrototype:
{
MV_PROFILE_COLUMNS,
MV_PROFILE_ROWS
}MV_PROFILE_MODE;HRESULT put_Mode(int Mode);
HRESULT get_Mode(int* Mode);
Property IMVProfile::OverlayMode
Declaration: Property Get/Put OverlayMode As LongThe filters overlay mode as MV_PROFILE_OVERLAYMODE.
typedef enum _MV_PROFILE_OVERLAYMODEPrototype:
{
MV_PROFILE_BRIGHTOVERLAY,
MV_PROFILE_DARKOVERLAY
}MV_PROFILE_OVERLAYMODE;HRESULT put_OverlayMode(int Mode);
HRESULT get_OverlayMode(int* Mode);
Property IMVProfile::Transparent
Declaration: Property Get/Put Transparent As BooleanSpecifies whether to use a transparent overlay.
Prototype:HRESULT put_Transparent(BOOL Enable);
HRESULT get_Transparent(BOOL* Enable);
Property IMVProfile::VideoOutput
Declaration: Property Get/Put VideoOutput As LongThe filters video output mode as MV_PROFILE_OUTPUT.
typedef enum _MV_PROFILE_OUTPUTPrototype:
{
MV_PROFILE_OUTPUTVIDEO,
MV_PROFILE_OUTPUTOVERLAY,
MV_PROFILE_OUTPUTPROFILE
}MV_PROFILE_OUTPUT;HRESULT put_VideoOutput(int Mode);
HRESULT get_VideoOutput(int* Mode);