[Paper Review] Frequency Cam: Imaging Periodic Signals in Real-Time
This paper presents Frequency Cam, an efficient, real-time algorithm for detecting the fundamental frequency of periodic signals using event-based cameras. By applying a second-order IIR filter to reconstruct pixel brightness and detecting zero-level crossings, it achieves robust, sub-microsecond frequency estimation up to 64kHz per pixel, outperforming baseline methods in noise resilience and accuracy—especially when using falling edges and interpolation.
Due to their high temporal resolution and large dynamic range, event cameras are uniquely suited for the analysis of time-periodic signals in an image. In this work we present an efficient and fully asynchronous event camera algorithm for detecting the fundamental frequency at which image pixels flicker. The algorithm employs a second-order digital infinite impulse response (IIR) filter to perform an approximate per-pixel brightness reconstruction and is more robust to high-frequency noise than the baseline method we compare to. We further demonstrate that using the falling edge of the signal leads to more accurate period estimates than the rising edge, and that for certain signals interpolating the zero-level crossings can further increase accuracy. Our experiments find that the outstanding capabilities of the camera in detecting frequencies up to 64kHz for a single pixel do not carry over to full sensor imaging as readout bandwidth limitations become a serious obstacle. This suggests that a hardware implementation closer to the sensor will allow for greatly improved frequency imaging. We discuss the important design parameters for fullsensor frequency imaging and present Frequency Cam, an open-source implementation as a ROS node that can run on a single core of a laptop CPU at more than 50 million events per second. It produces results that are qualitatively very similar to those obtained from the closed source vibration analysis module in Prophesee's Metavision Toolkit. The code for Frequency Cam and a demonstration video can be found at https://github.com/ros-event-camera/frequency_cam
Motivation & Objective
- To enable real-time, per-pixel frequency detection of time-periodic signals using event-based cameras, which are typically optimized for motion and brightness changes.
- To overcome the limitations of baseline methods that rely solely on event transitions (e.g., rising/falling edges) by improving robustness to noise and signal shape irregularities.
- To investigate the feasibility and performance of full-sensor frequency imaging under hardware constraints, particularly readout bandwidth and dynamic range.
- To develop an open-source, lightweight, and efficient implementation suitable for deployment on low-power CPUs, enabling real-time frequency imaging in robotics and vision applications.
Proposed method
- Uses a second-order digital Infinite Impulse Response (IIR) filter to perform approximate per-pixel brightness reconstruction from asynchronous event streams.
- Detects zero-level crossings in the reconstructed signal to estimate the period of periodic flickering, replacing reliance on monotonic rising/falling edges.
- Employs falling-edge transitions and linear interpolation of zero-crossing times to improve frequency estimation accuracy over rising edges.
- Applies aggressive bias tuning and dark noise filtering to suppress spurious events and improve signal-to-noise ratio in high-dynamic-range scenes.
- Implements the algorithm as a ROS node in C++ for real-time performance, optimized to run at over 50 million events per second on a single CPU core.
- Uses 24-byte per-pixel state (21 bytes actual, 24 with padding) stored in CPU cache to minimize memory access latency, with 8MB total state fitting within L3 cache.
Experimental results
Research questions
- RQ1Can a lightweight, asynchronous algorithm based on IIR filtering and zero-crossing detection outperform simple edge-triggered methods in estimating the fundamental frequency of periodic signals under noisy conditions?
- RQ2How does the choice between rising and falling edges affect frequency estimation accuracy in event-based frequency imaging?
- RQ3To what extent do signal interpolation and brightness reconstruction improve frequency estimation precision compared to direct event counting?
- RQ4What are the primary hardware limitations—especially readout bandwidth and lens flare—when scaling single-pixel frequency detection to full-sensor imaging?
- RQ5Can a software-based implementation on a general-purpose CPU achieve real-time performance for full-sensor frequency imaging, and how does it compare to proprietary solutions?
Key findings
- The IIR filtering approach enables robust frequency estimation up to 64kHz per pixel, significantly outperforming the baseline method in high-frequency noise environments.
- Using falling edges for period detection yields more accurate frequency estimates than rising edges, particularly in the presence of noise or non-monotonic signal transitions.
- Interpolating zero-level crossing times improves frequency estimation accuracy, especially for non-sinusoidal waveforms like square or triangular signals.
- Readout bandwidth limitations severely constrain full-sensor frequency imaging performance, suggesting that on-sensor hardware implementations would yield substantial performance gains.
- The algorithm achieves real-time operation at over 50 million events per second on a laptop CPU, with results qualitatively matching those from Prophesee’s proprietary Metavision vibration analysis module.
- Lens flare in high-dynamic-range scenes significantly degrades frequency image quality, highlighting the need for better dynamic range handling in future implementations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.