Neuromorphic Computing Journey — Part 8
Understanding Event-Based Data Formats: Prophesee and DVS Event Cameras
In recent years, event-based cameras have gained significant attention in the field of computer vision and robotics due to their unique characteristics and advantages over traditional frame-based cameras. These novel sensors, such as Prophesee and DVS (Dynamic Vision Sensor), operate on a fundamentally different principle, capturing changes in the scene rather than recording frames at a fixed rate. In this blog post, we will explore the data formats used by event cameras, shedding light on their benefits and potential applications.
To efficiently represent event data from cameras like Prophesee and DVS, specialized data formats have been developed. The most common formats include:

DVS Format:
(PDF) Continuous-Time Trajectory Estimation for Event-based Vision Sensors (researchgate.net)
The DVS format is one of the earliest and simplest data representations used by event cameras. It is based on text files, where each line corresponds to a single event. The format typically consists of four columns:
- Timestamp: This is the time at which the event occurred, usually in microseconds or nanoseconds. The timestamp is essential for reconstructing the temporal information and understanding the precise order of events.
- X and Y Coordinates: These represent the pixel coordinates where the event occurred. Unlike frame-based cameras, event cameras don’t capture an entire image frame. Instead, they record changes in intensity at specific pixel locations.
- Polarity: The polarity indicates whether the pixel’s intensity increased or decreased at the given timestamp. It is often represented as +1 for intensity increase (ON event) and -1 for intensity decrease (OFF event).
Despite its simplicity, the DVS format can become less efficient for long recordings due to the large number of lines required to represent the events. This limitation can hinder its performance in real-time applications that demand low latency and high data throughput.
Prophesee RAW Format:
RAW File Format — Metavision SDK Docs 4.2.1 documentation (prophesee.ai)
Prophesee, a prominent manufacturer of event cameras, has introduced its proprietary RAW format to address the limitations of the DVS format. The Prophesee RAW format is a binary representation that optimizes data storage and processing efficiency.
In the Prophesee RAW format, multiple events are combined into a single data record, reducing the file size and improving read and write speeds. This allows for efficient handling of large event streams and makes it more suitable for real-time applications.
Additionally, the Prophesee RAW format supports storing additional information for each event, such as exposure times. These additional details are crucial for interpreting events accurately and for synchronizing the event camera data with other sensors in a multi-modal system.
The binary nature of the Prophesee RAW format also enhances data security since it is not human-readable like the text-based DVS format. This makes it less susceptible to accidental data tampering.
Event Data Processing:
Regardless of the data format used, event data processing is a critical step to extract meaningful information from the event stream. The processing pipeline typically involves steps like:
- Event Accumulation: Aggregating events over small time intervals (e.g., milliseconds) to create event frames. These event frames can be treated like traditional image frames for subsequent processing.
- Motion Estimation: Using event frames to estimate the motion of objects in the scene. Event-based cameras excel at capturing rapid motion, making them suitable for applications like visual odometry and object tracking.
- Event Reconstruction: In some cases, it may be necessary to reconstruct a frame-like representation from the event data for compatibility with conventional computer vision algorithms.
Potential Applications
a. Robotics and Autonomous Vehicles: Event cameras’ low latency and high dynamic range make them valuable for robotics applications, such as visual odometry, motion estimation, and collision avoidance in fast-moving scenarios.
b. Surveillance and Security: The ability to capture rapid changes in the scene allows event cameras to excel in surveillance applications, where detecting unexpected movements and anomalies is critical.
c. Augmented Reality: Event cameras can enhance augmented reality experiences by providing real-time and accurate depth perception, enabling virtual objects to interact seamlessly with the real environment.

Conclusion
Event-based cameras, exemplified by Prophesee and DVS, have emerged as a ground-breaking technology in the field of computer vision. With their unique data formats and advantages, they offer tremendous potential for various applications, from robotics and surveillance to augmented reality. Embracing event-based cameras could revolutionize the way we perceive and interact with the visual world, paving the way for more efficient and intelligent vision systems in the future.