# aedat4tomat **Repository Path**: Bryan_Jiang/aedat4tomat ## Basic Information - **Project Name**: aedat4tomat - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-16 - **Last Updated**: 2023-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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: ```console 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.)