Skip to main content
. 2019 Mar 5;19(5):1121. doi: 10.3390/s19051121
Method: Estimating DMV (previous frame, current frame)
  • (a)

    Pass frames to the Farneback algorithm to estimate the overall motion vector (previous frame, current frame).

  • (b)
    Apply the following selection criteria:
    • Subtract all vectors with a magnitude <2 pixels (αn<2);
    • Subtract all vectors that have a Y component <0 (pointing upwards);
    • Subtract all vectors that have a Y component >0 (pointing downward) that contributes <50% of their magnitude.