Update, please download the 'update' file and do a replacement (warpingBlur2If.p, fromIf2Ivideo.p, event2video_final.p).
Especially for those who would like to use their own dataset, please update files and choose option '1' if the dataset has a short exposure time.
- Download the data and put them to 'data' file
- Chose the data name and saving name;
- run rawdata2matlab(inputname,outputname); (e.g. rawdata2matlab('../data/rotatevideonew2_6.aedat','../data/rotatevideonew2_6/');)
Reconstruct high frame rate video
- Chose the data name and saving name;
- Please run: event_cvpr_github/read_data/main_video2.m
- Change some options that can help to avoide noise.
Kernel estimation part:
- 'option' : 2 for avoide flickering noise
- 'dnoise' : 1 for bilateral_filter to denoise
- 't_shift' : In our real event data, the time shift is '-0.02' or '-0.04'
- 'v_length' : The length of the reconstructed video
- 'lambda' : In file './EDI/TVnorm.m'
-
For pursuing better result when using your own dataset, please try with slightly changed parameters. (e.g. 't_shift', 'v_length', 'exptime', and 'lambda') Make sure that there have enough events during each time interval (interval here means the time between the neighbouring frames in our reconstructed video).
-
Should you have any questions regarding this code and the corresponding results, please contact [email protected]
https://drive.google.com/file/d/1NscnUF2QxK0of4ZW7T8kneJTH1X76l2u/view?usp=sharing
https://drive.google.com/file/d/1s-PR7GxpCAIB20hu7F3BlbXdUi4c9UAo/view
@inproceedings{pan2019bringing, title={Bringing a blurry frame alive at high frame-rate with an event camera}, author={Pan, Liyuan and Scheerlinck, Cedric and Yu, Xin and Hartley, Richard and Liu, Miaomiao and Dai, Yuchao}, booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition}, pages={6820--6829}, year={2019} }
@article{pan2020high, title={High frame rate video reconstruction based on an event camera}, author={Pan, Liyuan and Hartley, Richard and Scheerlinck, Cedric and Liu, Miaomiao and Yu, Xin and Dai, Yuchao}, journal={IEEE Transactions on Pattern Analysis and Machine Intelligence}, year={2020}, publisher={IEEE} }