File size: 5,953 Bytes
d6e7ac4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
---
size_categories:
- 100B<n<1T
---

# Dataset Card for EN-SLAM (Implicit Event-RGBD Neural SLAM, CVPR24)

<p align="center">
 <img src="./asset/dataset.png" width="80%" title="Overview of OmniSim and InterReal Dataset">
</p>

## Dataset Description

This repository contains the dataset for the paper `Implicit Event-RGBD Neural SLAM`, the first event-RGBD implicit neural SLAM framework that efficiently leverages event stream and RGBD to overcome challenges in extreme motion blur and lighting variation scenes. **DEV-Indoors** is obtained through Blender [6] and simulator [14], covering normal, motion blur, and dark scenes, providing 9 subsets with RGB images, depth maps, event streams, meshes, and trajectories. **DEV-Reals** is captured from real scenes, providing 8 challenging subsets under motion blur and lighting variation.

### Dataset Sources

- [Paper](https://arxiv.org/abs/2311.11013) 
- [Project Page](https://delinqu.github.io/EN-SLAM)

## Update

- [x] Release DEV-Indoors and DEV-Reals Dataset.
- [x] Add Dataset Usage Instruction.

## Usage

- Download and Extract (`export HF_ENDPOINT=https://hf-mirror.com` would be helpful if you are blocked)

```bash
huggingface-cli download --resume-download --local-dir-use-symlinks False delinqu/EN-SLAM-Dataset --local-dir EN-SLAM-Dataset 

# Alternatively, you can use git clone the repo
git lfs install
git clone https://huggingface.co/datasets/delinqu/EN-SLAM-Dataset
```

If you only want to download a specific subset, use the following code:

```python
from huggingface_hub import hf_hub_download

hf_hub_download(
    repo_id="delinqu/EN-SLAM-Dataset",
    filename="DEV-Indoors_config.tar.gz",
    repo_type="dataset",
    local_dir=".",
)
```

After downloading, you can use the following script to extract the `tar.gz`, under the project root dir. The python script just simple unzip all the tar.gz files, feel free to customise:

```bash
python scripts/extract_dataset.py
```

The extracted Dataset will be in the following structure:

<p align="center">
 <img src="./asset/structure.png" width="80%" title="structure of Extracted Dataset">
</p>

- Use a Dataloader

Please refer to `datasets/dataset.py` for dataloader of `DEVIndoors` and `DEVReals`.

- Evaluation

To construct the evaluation subsets, we use `frustum + occlusion + virtual cameras` that introduce extra virtual views to cover the occluded parts inside the region of interest in CoSLAM. The evaluation datasets are generated by randomly conducting 2000 poses and depths in Blender for each scene. We further manually add extra virtual views to cover all scenes. This process helps to evaluate the view synthesis and hole-filling capabilities of the algorithm. Please follow the [neural_slam_eval](https://github.com/JingwenWang95/neural_slam_eval) with our groundtruth pointclouds and images.

## Dataset Format

### DEV-Indoors Dataset

* data structure

``` bash
├── groundtruth # evaluation metadata: pose, rgb, depth, mesh
│   ├── apartment
│   ├── room
│   └── workshop
├── seq001_room_norm # normal sequence: event, rgb, depth, pose, camera_para
│   ├── camera_para.txt
│   ├── depth
│   ├── depth_mm
│   ├── event.zip
│   ├── pose
│   ├── rgb
│   ├── timestamps.txt
│   └── seq001_room_norm.yaml
├── seq002_room_blur # blur sequence: event, rgb, depth, pose, camera_para
│   ├── depth
│   ├── depth_mm
│   ├── event.zip
│   ├── pose
│   ├── rgb
│   ├── timestamps.txt
│   └── seq002_room_blur.yaml
├── seq003_room_dark # dark sequence: event, rgb, depth, pose, camera_para
│   ├── depth
│   ├── depth_mm
│   ├── event.zip
│   ├── pose
│   ├── rgb
│   ├── timestamps.txt
│   └── seq003_room_dark.yaml
...
└── seq009_workshop_dark
    ├── depth
    ├── depth_mm
    ├── event.zip
    ├── pose
    ├── rgb
    ├── timestamps.txt
    └── seq009_workshop_dark.yaml
```

* model: 3D model of the room, apartment, and workshop scene

<p align="center">
 <img src="./asset/model.png" width="80%" title="The models and trajectories of the DEV-Indoors dataset in Blender">
</p>


```
model
├── apartment
│   ├── apartment.blend
│   ├── hdri
│   ├── room.blend
│   ├── supp
│   └── Textures
└── workshop
    ├── hdri
    ├── Textures
    └── workshop.blend
```

* scripts: scripts for data generation and visulization.

``` bash
scripts
├── camera_intrinsic.py # blender camera intrinsic generation tool.
├── camera_pose.py # blender camera pose generation tool.
├── npzs_to_frame.py # convert npz to frame.
├── read_ev.py # read event data.
└── viz_ev_frame.py # visualize event and frame.
```

### DEV-Reals Dataset

``` bash
DEV-Reals
├── devreals.yaml # dataset metadata: camera parameters, cam2davis transformation matrix
|
├── enslamdata1 # sequence: davis346, pose, rgbd
│   ├── davis346
│   ├── pose
│   └── rgbd
├── enslamdata1.bag
├── enslamdata2
│   ├── davis346
│   ├── pose
│   └── rgbd
├── enslamdata2.bag
├── enslamdata3
│   ├── davis346
│   ├── pose
│   └── rgbd
├── enslamdata3.bag
...
├── enslamdata8
│   ├── davis346
│   ├── pose
│   └── rgbd
└── enslamdata8.bag
```


## Citation

If you use this work or find it helpful, please consider citing: 

```bibtex
@inproceedings{qu2023implicit,
    title={Implicit Event-RGBD Neural SLAM},
    author={Delin Qu, Chi Yan, Dong Wang, Jie Yin, Qizhi Chen, Yiting Zhang, Dan Xu and Bin Zhao and Xuelong Li},
    booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
    year={2024}
}
```