As described in Algorithm 2, firstly, a set of preprocessing steps is applied on the image frames to improve the result of optical flow analysis using an adaptive histogram-based adjustment technique. For this method, the first frame is considered as the reference to adjust the histogram of ...