Skip to main content
. 2022 Mar 29;22(7):2614. doi: 10.3390/s22072614
Algorithm 1 Past events remove mechanism
Input: Spatiotemporal event stream: i=1Ne(xi,yi,ti)
Output: An event stream that can form a reference frame with clear and sharp edges: E(Δf)=tftk+Δf{e(xi,yi,ti)|ti[tf,tk+Δf]}
1 For e(xi,yi,ti) in i=1Ne(xi,yi,ti) do
2 R={e(x,y,t)|x[xi1,xi+1],y[yi1,yi+1],tti}
3   Calculating the optical flow information of R
4   Get v(ei) of e(xi,yi,ti) by vector synthesis
5   For e(x,y,t)∈R do
6     2, 3, and 4
7   End
8   Get Vei of e(xi,yi,ti) by local consistency
9   Obtain the past events of e(xi,yi,ti) according to the movement direction of the event, and remove the past events.
10 End