IMVTopography

The IMVTopography interface contains methods and properties to configure the MV Topography filter.


Methods:

Invert Invert the output image.
NumOfLevels Number of output grey levels as MV_TOPOGRAPHY_LEVEL.
Scale Width of the topography filter as MV_TOPOGRAPHY_SCALE.

 

Header file: IMVTopography.h
Interface definition language file: IMVTopography.idl
Typelib: MVTopography
Interface ID: IID_IMVTopography

 

Property IMVTopography::Invert

Declaration: Property Get/Put Invert As Boolean

Invert the output image.

C Prototype:

HRESULT put_Invert(VARIANT_BOOL newVal);
HRESULT get_Invert(VARIANT_BOOL *pVal);


Property IMVTopography::NumOfLevels

Declaration: Property Get/Put NumOfLevels As Long

Number of output grey levels as MV_TOPOGRAPHY_LEVEL.

C Prototype:

HRESULT put_NumOfLevels(LONG newVal);
HRESULT get_NumOfLevels(LONG *pVal);


Property IMVTopography::Scale

Declaration: Property Get/Put Scale As Long

Scale of the topography filter as MV_TOPOGRAPHY_SCALE.

C Prototype:

HRESULT put_Scale(LONG newVal);
HRESULT get_Scale(LONG *pVal);

 

Data Types:

typedef enum _  MV_TOPOGRAPHY_LEVEL   
{
MV_TOPOGRAPHY_LEVEL_2=0,
MV_TOPOGRAPHY_LEVEL_4,
MV_TOPOGRAPHY_LEVEL_8,
MV_TOPOGRAPHY_LEVEL_16,
MV_TOPOGRAPHY_LEVEL_32,
MV_TOPOGRAPHY_LEVEL_64,
MV_TOPOGRAPHY_LEVEL_128,
MV_TOPOGRAPHY_LEVEL_256
}MV_TOPOGRAPHY_LEVEL;
 
typedef enum _MV_TOPOGRAPHY_SCALE    
{
MV_TOPOGRAPHY_SCALE_0=0,
MV_TOPOGRAPHY_SCALE_2,
MV_TOPOGRAPHY_SCALE_4,
MV_TOPOGRAPHY_SCALE_8,
MV_TOPOGRAPHY_SCALE_16
}MV_TOPOGRAPHY_SCALE;