A method for computing optical flow in a scene captured by an event-based vision sensor which comprises a plurality of pixels and is configured to output a stream of change events, wherein each change event corresponds to a change in brightness detected by one of the pixels and comprises a timestamp, a pixel address of the pixel that detected said change in brightness, and a parameter describing a sign of said brightness change, - wherein change events are accumulated in at least three time slice frames, namely a first current time slice frame (t) starting at time t, a second time slice frame (t-d) starting at time t-d, and a third time slice frame (t-2*d) starting at time t-2*d, wherein d is a duration of the respective time slice frame, - wherein change events are accumulated over said duration d into the current first time slice frame, - wherein a reference block of the second time slice frame (t-d), which reference block comprises pixels centered on the pixel of the most recent change event in the current first time slice frame (t), is compared to search blocks in the third time slice frame (t-2*d) to find a search block most similar to the reference block using a distance metric, - wherein the three time slice frames (t, t-d, t-2*d) are periodically interchanged so that the current first time slice frame (t) becomes the second time slice frame (t-d), the second time slice frame (t-d) becomes the third time slice frame (t-2*d), and the third time slice frame (t-2*d) is cleared and becomes the current first time slice frame (t), and wherein the method further comprises one of the following: - said interchanging of said time slice frames is conducted at a certain total event count accumulated into the first time slice frame (t), wherein said total event count is controlled depending on an average match distance between the reference block and the respective most similar search block, which average match distance is determined using a histogram of a calculated optical flow distribution - said interchanging of said time slice frames is conducted when any sub area of the current first time slice (t) accumulates a specified number of change events. - said interchanging of said time slice frames is conducted when a total integrated motion of the scene since the last interchanging of said time slice frames exceeds a threshold amount. - said duration d after which said interchanging of said time slice frames is conducted is controlled depending on an average match distance between the reference block and the respective most similar search block, which average match distance is determined using a histogram of the calculated optical flow distribution. - wherein change events are accumulated in at least three time slice frames, namely a first current time slice frame (t) starting at time t, a second time slice frame (t-d) starting at time t-d, and a third time slice frame (t-2*d) starting at time t-2*d, wherein d is a duration of the respective time slice frame, - wherein change events are accumulated over said duration d into the current first time slice frame, - wherein a reference block of the second time slice frame (t-d), which reference block comprises pixels centered on the pixel of the most recent change event in the current first time slice frame (t), is compared to search blocks in the third time slice frame (t-2*d) to find a search block most similar to the reference block using a distance metric, - wherein the three time slice frames (t, t-d, t-2*d) are periodically interchanged so that the current first time slice frame (t) becomes the second time slice frame (t-d), the second time slice frame (t-d) becomes the third time slice frame (t-2*d), and the third time slice frame (t-2*d) is cleared and becomes the current first time slice frame (t), and - said interchanging of said time slice frames is conducted at a certain total event count accumulated into the first time slice frame (t), wherein said total event count is controlled depending on an average match distance between the reference block and the respective most similar search block, which average match distance is determined using a histogram of a calculated optical flow distribution - said interchanging of said time slice frames is conducted when any sub area of the current first time slice (t) accumulates a specified number of change events. - said interchanging of said time slice frames is conducted when a total integrated motion of the scene since the last interchanging of said time slice frames exceeds a threshold amount. - said duration d after which said interchanging of said time slice frames is conducted is controlled depending on an average match distance between the reference block and the respective most similar search block, which average match distance is determined using a histogram of the calculated optical flow distribution.