Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about event timestamps. #7

Open
shiba24 opened this issue Sep 13, 2023 · 3 comments
Open

Question about event timestamps. #7

shiba24 opened this issue Sep 13, 2023 · 3 comments

Comments

@shiba24
Copy link

shiba24 commented Sep 13, 2023

Hi, thank you for the dataset.

When I load the event npz file, the timestamp looks strange (all integers). What's the actual unit of the timestamp?

import numpy as np
fname = '/home/ubuntu/slocal/ssd_data/EventNeRF/data/lego/test1_events/test/events/out.npz'

with np.load(fname) as data:
    ts = data['t']

ts[:10]     # returns array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
ts[-10:]    # returns array([999, 999, 999, 999, 999, 999, 999, 999, 999, 999])
len(np.unique(ts))  # returns 1000
ts.max()  # returns 999

I suspect that this integers [0-999] corresponds to the number of frames.
If that is the case, this dataset does not contain accurate event timestamps, but rather has the ones quantized to the frame IDs?

@C19h
Copy link

C19h commented Oct 18, 2023

I also found this problem in synthetic data sets. But it's normal in real data sets. It is hoped that the author can disclose the original event data of the synthetic dataset.

@r00tman
Copy link
Owner

r00tman commented Oct 23, 2023

Hi, sorry for the delay.

Yes, the timestamp is tied to the frame number.
We render 1000 RGB frames at 1000 fps and then put them through the event camera simulator to get the event files.

We have original .blend files of the scenes on this page.

I could share the original rendered RGB frames too, then you would be able to directly use other event simulators, e.g., ones that do frame interpolation before simulation, resulting in less quantized timestamps.

@C19h
Copy link

C19h commented Oct 27, 2023

Hi, sorry for the delay.

Yes, the timestamp is tied to the frame number. We render 1000 RGB frames at 1000 fps and then put them through the event camera simulator to get the event files.

We have original .blend files of the scenes on this page.

I could share the original rendered RGB frames too, then you would be able to directly use other event simulators, e.g., ones that do frame interpolation before simulation, resulting in less quantized timestamps.

Thank you very much for your dataset, I noticed that you provided the original file of the real sequence (.aedat4 file). The.aedat4 file for the synthetic dataset is not provided. I now really need the aedat4 file of the synthesized sequence to compare with your great work. Thank you! @r00tman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants