TVideoGrabber.MotionDetector_GlobalMotionRatio

Prev

Next

TVideoGrabber

Properties

 




































































































Retrieves the last motion ratio.


Declaration
property MotionDetector_GlobalMotionRatio: Double read GetMotionDetector_GlobalMotionRatio;


__property double MotionDetector_GlobalMotionRatio=read=GetMotionDetector_GlobalMotionRatio


Function MotionDetector_CellMotionRatio(x As Long, y As Long) As Double

Description

Used to retrieve the last motion ratio (moved pixels count / total pixels count) of the grid's cells having their sensitivity enabled (value between 1 and 9).
The return value will be in the 0.0 to 1.0 range (e.g. 0.5775).
This value is the result of the motion detection of the last video frame received.
This value is also returned by the OnMotionDetected event.


See Also
Color / Greyscale Grid structure / grid sensitivity Motion ratio Recording only when motion is detected Video noise TOnMotionDetected TOnMotionNotDetected MotionDetector_CellMotionRatio MotionDetector_CompareBlue MotionDetector_CompareGreen MotionDetector_CompareRed MotionDetector_Enabled MotionDetector_EnumGridDialogControls MotionDetector_Get2DTextGrid MotionDetector_Get2DTextMotion MotionDetector_GetCellLocation MotionDetector_GetCellSensitivity MotionDetector_GetCellSize MotionDetector_GloballyIncOrDecSensitivity MotionDetector_GreyScale MotionDetector_Grid MotionDetector_GridXCount MotionDetector_GridYCount MotionDetector_IsGridValid MotionDetector_MaxDetectionsPerSecond MotionDetector_ReduceCPULoad MotionDetector_ReduceVideoNoise MotionDetector_Reset MotionDetector_ResetGlobalSensitivity MotionDetector_SetCellSensitivity MotionDetector_SetGridSize MotionDetector_ShowGridDialog MotionDetector_Triggered MotionDetector_UseThisReferenceSample OnBacktimedFramesCountReached OnMotionDetected OnMotionNotDetected RecordingOnMotion_Enabled RecordingOnMotion_MotionThreshold RecordingOnMotion_NoMotionPauseDelayMs