IMVOpticalFlow2

The IMVOpticalFlow2 interface extends the IMVOpticalFlow interface to get some values from the MV Optical Flow filter. Read the filter description to see how the filter is used. 

MainDirection Contains the main flow direction
NormFlowValue Contains the normalzied flow value in percent.

Header file: IMVOpticalFlow.h
Interface definition language file: IMVOpticalFlow.idl
Typelib: MVOpticalFlow


Property IMVOpticalFlow2::MainDirection

Declaration: Property Get MainDirection As Long

Contains the main flow direction. The image below shows the direction mapping from the MainDirection value. If an image contains no flow the property is set to -1.

Prototype:

HRESULT get_MainDirection(LONG* pVal);


Property IMVOpticalFlow2::NormFlowValue

Declaration: Property Get NormFlowValue As Long

Contains the normalzied flow value in percent.

Prototype:

HRESULT get_NormFLowValue(LONG* pVal);