Skip to content

PIX2NVS/PIX2NVS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PIX2NVS: A Neuromorphic Vision Sensors Emulator

We provide our implementation of PIX2NVS, a tool for converting pixel frames to brightness spike events as generated by neuromorphic vision sensors (e.g. DAVIS-240).

A full description of the operation of this tool can be found in our paper:

[1] Yin Bi, Yiannis Andreopoulos, ‘PIX2NVS: Parameterized Conversion of Pixel-domain Video Frames to Neuromorphic Vision Streams’ [C], IEEE International Conference on Image Processing (ICIP), Sept. 17-20, 2017, Beijing, China

If you use the code in this repository, please cite the paper above. This tool is provided under the [GNU General Public Use v3.0 license].

Building Source

All dependencies are located in the source folder. To build from source, change your working directory to this repository's home folder and run:

g++ -o pix2nvs src/*.cpp  # to build from source  
./pix2nvs # to run using default parameters

Running Options

Option Description
-r or --reference set to (1, 2, or 3) to specify one of the reference frame update methods.
-m or --maxevents will specify the maximum number of events generated between two frames
-b or --blocksize will set the block size for local inhibition
-a or --adaptive will set the co-efficient shift for adaptive thresholding, set to (0) to disable

The reference frame update option can be set to any of the following:

r Reference Frame Update Method
1 copy last frame from source
2 update reference frame using only generated events, with history decay
3 update reference frame using only generated events, without history decay

Example Usage

To extract events from videos located in the input folder:

./pix2nvs -r 3 -a 0 -b 4

All outputs will be located in the folder "Events". The output from PIX2VNS using these parameters is visualized in the following figure:

Pixel Image Emulated NVS Events
screen shot 2017-07-27 at 01 22 17 screen shot 2017-07-27 at 01 20 04

Contact

For any questions or bug reports, please contact Yin Bi at yin.bi.16@ucl.ac.uk or Alhabib Abbas at alhabib.abbas.13@ucl.ac.uk.

About

Repo for "PIX2NVS: Parameterized conversion of pixel-domain video frames to neuromorphic vision streams" ICIP2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published