|
IMVMotionDetection
IMVMotionDetection Interface.
The IMVMotionDetection Interface provides methods to configure
the MV Motion
Detection filter.
Header file: IMVMotionDetection.h
Interface definition language file: IMVMotionDetection.idl
Typelib: MVMotionDetection
Interface ID: IID_IMVMotionDetection
Property
IMVMotionDetection::DrawColour
Declaration:
Property Get/Put DrawColour As Long
Colour that is used to draw the motion
detection regions.
Prototype:
HRESULT put_DrawColour(LONG);
HRESULT get_DrawColour(LONG*);
Property
IMVMotionDetection::DrawRegions
Declaration:
Property Get/Put DrawRegions As Long
Specifies whether the motion detection region rectangles
are drawn.
Prototype:
HRESULT put_DrawRegions(LONG);
HRESULT get_DrawRegions(LONG*);
Property
IMVMotionDetection::DrawTimeStamp
Declaration:
Property Get/Put DrawTimeStamp As Long
Specifies whether a time stamp is drawn onto the video
stream.
Prototype:
HRESULT put_DrawTimeStamp(LONG);
HRESULT get_DrawTimeStamp(LONG*);
Method
IMVMotionDetection::IsMotionDetected
Declaration:
Function IsMotionDetected As Long
Is currently motion detected within any region?
Parameter:
|
|
value |
Unequal to zero if motion is detected and zero
otherwise. |
Prototype:
HRESULT IsMotionDetected(LONG*
value);
Method
IMVMotionDetection::IsMotionInRegion
Declaration:
Function IsMotionInRegion As Long
Is motion detected within the currently selected region?
Parameter:
|
|
value |
Unequal to zero if motion is detected and zero
otherwise. |
Prototype:
HRESULT IsMotionInRegion(LONG*
value);
Property
IMVMotionDetection::LineWidth
Declaration:
Property Get/Put LineWidth As Long
Line width for drawing.
Prototype:
HRESULT put_LineWidth(LONG);
HRESULT get_LineWidth(LONG*);
Property
IMVMotionDetection::MinLumaDiff
Declaration:
Property Get/Put MinLumaDiff As Long
Minimum pixel luminance difference.
Prototype:
HRESULT put_MinLumaDiff(LONG);
HRESULT get_MinLumaDiff(LONG*);
Property
IMVMotionDetection::MinNumOfPixel
Declaration:
Property Get/Put MinNumOfPixel As Double
Minimum number of changed pixels in percent.
Prototype:
HRESULT
put_MinNumOfPixel(DOUBLE);
HRESULT get_MinNumOfPixel(DOUBLE*);
Property
IMVMotionDetection::MotionDetection
Declaration:
Property Get/Put MotionDetection As Long
Enables or disables motion detection.
Prototype:
HRESULT
put_MotionDetection(LONG);
HRESULT get_MotionDetection(LONG*);
Property
IMVMotionDetection::PostRoll
Declaration:
Property Get/Put PostRoll As Long
Number of post roll frames.
Prototype:
HRESULT put_PostRoll(LONG);
HRESULT get_PostRoll(LONG*);
Property
IMVMotionDetection::RegionHeight
Declaration:
Property Get/Put RegionHeight As Long
Height of the currently selected region.
Prototype:
HRESULT put_RegionHeight(LONG);
HRESULT get_RegionHeight(LONG*);
Property
IMVMotionDetection::RegionWidth
Declaration:
Property Get/Put RegionWidth As Long
Width of the currently selected region.
Prototype:
HRESULT put_RegionWidth(LONG);
HRESULT get_RegionWidth(LONG*);
Property
IMVMotionDetection::RegionXOrigin
Declaration:
Property Get/Put RegionXOrigin As Long
Horizotal origin of the currently selected region.
Prototype:
HRESULT put_RegionXOrigin(LONG);
HRESULT get_RegionXOrigin(LONG*);
Property
IMVMotionDetection::RegionYOrigin
Declaration:
Property Get/Put RegionYOrigin As Long
Vertical origin of the currently selected region.
Prototype:
HRESULT put_RegionYOrigin(LONG);
HRESULT get_RegionYOrigin(LONG*);
Property
IMVMotionDetection::SelectedRegion
Declaration:
Property Get/Put SelectedRegion As Long
Currently selected motion detection region.
Prototype:
HRESULT put_SelectedRegion(LONG);
HRESULT get_SelectedRegion(LONG*);
Property
IMVMotionDetection::ShowMotionAreas
Declaration:
Property Get/Put ShowMotionAreas As Long
Specifies whether areas are highlighted if motion is
detected.
Prototype:
HRESULT
put_ShowMotionAreas(LONG);
HRESULT get_ShowMotionAreas(LONG*);
Property
IMVMotionDetection::UseRegions
Declaration:
Property Get/Put UseRegions As Long
Specifies the number of motion detection regions.
Prototype:
HRESULT put_UseRegions(LONG);
HRESULT get_UseRegions(LONG*);
|