|
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
Property IMVProfile::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 IMVProfile::GetProfile
Declaration: Sub
GetProfile(cMax As Long, pbyProfile As Byte)
Returns the profile for the currently selected row or
column.
Parameter:
|
|
cMax |
Max values for
pbyMeanProfile. |
|
|
pbyProfile |
Array for the profile data. |
Prototype:
HRESULT GetProfile(int cMax, BYTE*
pbyProfile);
Property IMVProfile::Line
Declaration:
Property Get/Put Line As Long
The currently selected line.
Prototype:
HRESULT put_Line(int Line);
HRESULT get_Line(int* Line);
Property IMVProfile::Mode
Declaration:
Property Get/Put Mode As Long
The filters working mode as MV_PROFILE_MODE.
typedef enum _MV_PROFILE_MODE
{
MV_PROFILE_COLUMNS,
MV_PROFILE_ROWS
}MV_PROFILE_MODE;
Prototype:
HRESULT put_Mode(int Mode);
HRESULT get_Mode(int* Mode);
Property IMVProfile::OverlayMode
Declaration:
Property Get/Put OverlayMode As Long
The filters overlay mode as MV_PROFILE_OVERLAYMODE.
typedef enum _MV_PROFILE_OVERLAYMODE
{
MV_PROFILE_BRIGHTOVERLAY,
MV_PROFILE_DARKOVERLAY
}MV_PROFILE_OVERLAYMODE;
Prototype:
HRESULT put_OverlayMode(int
Mode);
HRESULT get_OverlayMode(int* Mode);
Property IMVProfile::Transparent
Declaration:
Property Get/Put Transparent As Boolean
Specifies 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 Long
The filters video output mode as MV_PROFILE_OUTPUT.
typedef enum _MV_PROFILE_OUTPUT
{
MV_PROFILE_OUTPUTVIDEO,
MV_PROFILE_OUTPUTOVERLAY,
MV_PROFILE_OUTPUTPROFILE
}MV_PROFILE_OUTPUT;
Prototype:
HRESULT put_VideoOutput(int
Mode);
HRESULT get_VideoOutput(int* Mode);
|