MotionDetector_CellMotionRatio
method
Delphi
function MotionDetector_CellMotionRatio (x: LongInt; y: LongInt): Double;
C++Builder
double __fastcall MotionDetector_CellMotionRatio(System::LongInt x, System::LongInt y);
C#
public double MotionDetector_CellMotionRatio(int x, int y);
VB.NET
Public Function MotionDetector_CellMotionRatio(x As Integer, y As Integer) As Double
C++/Qt
double MotionDetector_CellMotionRatio (int x, int y);
Used to retrieve the motion ratio (cell's moved pixels count / cell's total pixels count) of the cell specified by its x and y coordinates. The return value will be in the 0...1 range.
The x and y coordinates are zero-based index, from 0 to MotionDetector_GridXCount -1 and 0 to MotionDetector_GridYCount -1.