Papers › E-RAFT: Dense Optical Flow from Event Cameras

E-RAFT: Dense Optical Flow from Event Cameras

24 Aug 2021arXiv:2108.10552archive 2025-07-28

Mathias Gehrig, Mario Millhäusler, Daniel Gehrig, Davide Scaramuzza

We propose to incorporate feature correlation and sequential processing into dense optical flow estimation from event cameras. Modern frame-based optical flow methods heavily rely on matching costs computed from feature correlation. In contrast, there exists no optical flow method for event cameras that explicitly computes matching costs. Instead, learning-based approaches using events usually resort to the U-Net architecture to estimate optical flow sparsely. Our key finding is that the introduction of correlation features significantly improves results compared to previous methods that solely rely on convolution layers. Compared to the state-of-the-art, our proposed approach computes dense optical flow and reduces the end-point error by 23% on MVSEC. Furthermore, we show that all existing optical flow methods developed so far for event cameras have been evaluated on datasets with very small displacement fields with a maximum flow magnitude of 10 pixels. Based on this observation, we introduce a new real-world dataset that exhibits displacement fields with magnitudes up to 210 pixels and 3 times higher camera resolution. Our proposed approach reduces the end-point error on this dataset by 66%.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2108.10552")

Code

Syntology Ran 2 of 12 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · fixture could not drive it.

By repository: official repository: 12 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

uzh-rpg/e-raft officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 2 ran; 1 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · fixture could not drive it
10unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from uzh-rpg/e-raft. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

coords_grid uzh-rpg/e-raft/model/utils.py official repository ran · honoured contract MIT (permissive) · 7c8c4c5cb4271dfa · report
upflow8 uzh-rpg/e-raft/model/utils.py official repository ran · fixture could not drive it MIT (permissive) · 561d1e8d3102a282 · report
bilinear_sampler uzh-rpg/e-raft/model/utils.py official repository unverified MIT (permissive) · 1ac8cce613d98769 · report
flow_16bit_to_float uzh-rpg/e-raft/utils/dsec_utils.py official repository unverified MIT (permissive) · efe587c026e07812 · report
forward_interpolate_pytorch uzh-rpg/e-raft/utils/image_utils.py official repository unverified MIT (permissive) · 6fc5ee098dfefa3b · report
get_events uzh-rpg/e-raft/loader/utils.py official repository unverified MIT (permissive) · ba22c483efb8b757 · report
get_image uzh-rpg/e-raft/loader/utils.py official repository unverified MIT (permissive) · ca480d2713282e55 · report
get_ts uzh-rpg/e-raft/loader/utils.py official repository unverified MIT (permissive) · bcff40acfef90b26 · report
get_values_from_key uzh-rpg/e-raft/utils/helper_functions.py official repository unverified MIT (permissive) · d81d5e29bb21898b · report
grid_sample_values uzh-rpg/e-raft/utils/image_utils.py official repository unverified MIT (permissive) · 24dcd89dbfba92ed · report
move_dict_to_cuda uzh-rpg/e-raft/utils/helper_functions.py official repository unverified MIT (permissive) · 06a201456bf102b9 · report
move_list_to_cuda uzh-rpg/e-raft/utils/helper_functions.py official repository unverified MIT (permissive) · 13d7e5935de17ce1 · report

Tasks

Feature CorrelationOptical Flow Estimation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Concatenated Skip ConnectionConvolutionMax PoolingReLUU-Net

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections