SkillAgentSearch skills...

Aedat4tomat

Convert AEDAT4 files from DV into .mat files for matlab

Install / Use

/learn @bald6354/Aedat4tomat
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

aedat4tomat

Convert AEDAT4 files from DV into .mat files for matlab. Python is required (recommend Anaconda).

If you find this code useful in your research, please consider citing:

@article{baldwin2020event,
  title={Event Probability Mask (EPM) and Event Denoising Convolutional NeuralNetwork (EDnCNN) for Neuromorphic Cameras},
  author={Baldwin, R and Almatrafi, Mohammed and Asari, Vijayan and Hirakawa, Keigo},
  journal={arXiv preprint arXiv:2003.08282},
  year={2020}
}

First install the dv module...

pip install dv

Example Conversion:

foo@bar:~$ python /home/username/aedat4tomat.py -i "dvFile.aedat4" -o "dvFile.mat"

You can also make a simple bash script that will process all aedat4 files in a directory into several .mat files. Then just call it from MATLAB using the unix command.

unix(['./processFolderWithInput ' pathToAedatFiles])

(This code is designed to work with aedat4 that contains frames, events, and imu streams. If your data does not have all these fields, just comment out the sections of aedat4tomat.py that deal with the data you are missing.)

View on GitHub
GitHub Stars23
CategoryDevelopment
Updated3mo ago
Forks7

Languages

Python

Security Score

87/100

Audited on Jan 3, 2026

No findings