IMVOpticalFlow

The IMVOpticalFlow interface setups the MV OpticalFlow filter. Read the filter description to see how the filter is used.  

BlockSizeHeight Set block size height.
BlockSizeWidth Set block size width.
Color Set color for flow vectors.
CopyImage Set copy image flag.
DrawVectors Set draw vectors flag.
EnableSegmentation Set color for flow.
MaxRangeHeight Set max range height.
MaxRangeWidth Set max range width.
MotionDetection Get the motion detection flag.
MotionThreshold Set motion threshold.
ShiftSizeHeight Set shift size height.
ShiftSizeWidth Set shift size width.
UsePreviousVelocityField Set use previous velocity field flag.

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


Property IMVOpticalFlow::BlockSizeHeight

Declaration: Property Get/Put BlockSizeHeight As Long

Set block size height.

Prototype:

HRESULT put_BlockSizeHeight(LONG value);
HRESULT get_BlockSizeHeight(LONG* value);


Property IMVOpticalFlow::BlockSizeWidth

Declaration: Property Get/Put BlockSizeWidth As Long

Set block size width.

Prototype:

HRESULT put_BlockSizeWidth(LONG value);
HRESULT get_BlockSizeWidth(LONG* value);


Property IMVOpticalFlow::Color

Declaration: Property Get/Put Color As Long

Set color for flow.

Prototype:

HRESULT put_Color(LONG value);
HRESULT get_Color(LONG* value);


Property IMVOpticalFlow::CopyImage

Declaration: Property Get/Put CopyImage As Long

Set copy image flag.

Prototype:

HRESULT put_CopyImage(LONG value);
HRESULT get_CopyImage(LONG* value);


Property IMVOpticalFlow::DrawVectors

Declaration: Property Get/Put DrawVectors As Long

Set draw vectors flag.

Prototype:

HRESULT put_DrawVectors(LONG value);
HRESULT get_DrawVectors(LONG* value);


Property IMVOpticalFlow::EnableSegmentation

Declaration: Property Get/Put EnableSegmentation As Long

Set color for flow.

Prototype:

HRESULT put_EnableSegmentation(LONG value);
HRESULT get_EnableSegmentation(LONG* value);


Property IMVOpticalFlow::MaxRangeHeight

Declaration: Property Get/Put MaxRangeHeight As Long

Set max range height.

Prototype:

HRESULT put_MaxRangeHeight(LONG value);
HRESULT get_MaxRangeHeight(LONG* value);


Property IMVOpticalFlow::MaxRangeWidth

Declaration: Property Get/Put MaxRangeWidth As Long

Set max range width.

Prototype:

HRESULT put_MaxRangeWidth(LONG value);
HRESULT get_MaxRangeWidth(LONG* value);


Property IMVOpticalFlow::MotionDetection

Declaration: Property Get MotionDetection As Long

Get the motion detection flag. This is a read only property.

Prototype:

HRESULT get_MotionDetection(LONG* value);


Property IMVOpticalFlow::MotionThreshold

Declaration: Property Get/Put MotionThreshold As Long

Set motion threshold.

Prototype:

HRESULT put_MotionThreshold(LONG value);
HRESULT get_MotionThreshold(LONG* value);


Property IMVOpticalFlow::ShiftSizeHeight

Declaration: Property Get/Put ShiftSizeHeight As Long

Set shift size height.

Prototype:

HRESULT put_ShiftSizeHeight(LONG value);
HRESULT get_ShiftSizeHeight(LONG* value);


Property IMVOpticalFlow::ShiftSizeWidth

Declaration: Property Get/Put ShiftSizeWidth As Long

Set shift size width.

Prototype:

HRESULT put_ShiftSizeWidth(LONG value);
HRESULT get_ShiftSizeWidth(LONG* value);


Property IMVOpticalFlow::UsePreviousVelocityField

Declaration: Property Get/Put UsePreviousVelocityField As Long

Set use previous velocity field flag.

Prototype:

HRESULT put_UsePreviousVelocityField(LONG value);
HRESULT get_UsePreviousVelocityField(LONG* value);