DOI: 10.25442/hku.23535699
title: FAST-EDI

description: <strong># Fast Event-based Double Integral for Real-time Robotics (Academic Use Only)</strong><br> <strong>## [Paper](</strong>https://arxiv.org/abs/2305.05925<strong>) | [Video: Youtube](</strong>https://www.youtube.com/watch?v=xzrHNA97wls<strong>) | [Video: Bilibili](</strong>https://www.bilibili.com/video/BV1qL411X7hc/?share_source=copy_web&vd_source=2483c9488f1bd3f3478cf69bfca4d49e<strong>)</strong><br> <br> <sub><br> Motion deblurring is a critical ill-posed problem that is important in many vision-based robotics applications. The recently proposed event-based double integral (EDI) provides a theoretical framework for solving the deblurring problem with the event camera and generating clear images at high frame-rate. However, the original EDI is mainly designed for offline computation and does not support real-time requirement in many robotics applications. In this paper, we propose the fast EDI, an efficient implementation of EDI that can achieve real-time online computation on single-core CPU devices, which is common for physical robotic platforms used in practice. In experiments, our method can handle event rates at as high as 13 million event per second in a wide variety of challenging lighting conditions. Its benefit has been demonstrated on multiple downstream real-time applications, including localization, visual tag detection, and feature matching.<br> </sub><br> <br> <br> <br> <strong>## Understanding the hardware bias of event camera</strong><br> [Tutorial of the bias](https://gitlab.com/inivation/inivation-docs/blob/master/Advanced configurations/User_guide_-_Biasing.md)<br> <strong>## Checking the hardware bias using the jAER</strong><br> One can use the jAER project to get a roughly estimated contrast from the bias currents that are estimated to be generated by the on-chip bias generator bias current ratios:[jAER homepage](https://github.com/SensorsINI/jaer)<br> <br> Discussion regarding the bias estimation:[discussion](https://groups.google.com/g/davis-users/c/68gp0zxTMUk/m/SpweyJKrDgAJ)<br> <br> and the physical model that build to estimate the threshold:[Paper](https://ieeexplore.ieee.org/document/7962235/)<br> <br> <strong>## Usage</strong><br> Test env:<br> ```<br> ubuntu 18.04 <br> dv-runtime 1.6.1 <br> dv-gui 1.6.0<br> ```<br> <br> 1. download the DV and install it following the tutorial [DV install guide](https://inivation.gitlab.io/dv/dv-docs/docs/getting-started.html)<br> 2. download the fast EDI code<br> ```<br> git clone https://github.com/eleboss/fast_EDI<br> ```<br> 3. compile the fast EDI module<br> ```<br> cd ./dv-module/fast-edi<br> cmake ./<br> make<br> ```<br> then you will see the `fedi_FEDI.so`, this is the file you need to add to the dv-gui.<br> <br> 4. configure the DV-GUI search path<br> ```<br> dv-gui<br> ```<br> find the `structure - add modules - modify module search path - add path` (this path leads to `fedi_FEDI.so`, for me is `/home/eleboss/Documents/fast_EDI/dv-module/fast-edi`). Then you can add the fast edi modules to the dv-gui and wires it in this way:<br> ![layout](./img/layout.png)<br> <br> 5. download the test data [dataset](www.google.com), and play it. <br> <br> Performance tips: You can tune the contrast or use the jAER to estimate, or use EDI to optimize an accurate contrast.<br> <br> <strong>## Citation</strong><br> ```<br> @article{lin2023fast,<br> title={Fast Event-based Double Integral for Real-time Robotics},<br> author={Lin, Shijie and Zhang, Yingqiang and Huang, Dongyue and Zhou, Bin and Luo, Xiaowei and Pan, Jia},<br> booktitle={international conference on robotics and automation (ICRA)},<br> year={2023},<br> organization={IEEE}<br> }<br> ```<br> <br>