File size: 5,794 Bytes
a6d9ec8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8178cc1
 
a6d9ec8
8178cc1
 
a6d9ec8
8178cc1
a6d9ec8
8178cc1
 
 
 
 
 
a6d9ec8
 
 
8178cc1
 
cd24d31
8178cc1
 
 
 
 
 
 
a6d9ec8
 
 
8178cc1
 
a6d9ec8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f5f96d8
 
 
 
 
 
a6d9ec8
 
 
 
 
 
 
 
 
 
 
 
 
f5f96d8
 
 
 
a6d9ec8
 
 
 
 
 
 
 
8178cc1
 
a6d9ec8
8178cc1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a6d9ec8
8178cc1
 
a6d9ec8
8178cc1
 
a6d9ec8
8bfcd56
8178cc1
 
a6d9ec8
 
8178cc1
a6d9ec8
8178cc1
cd24d31
8178cc1
a6d9ec8
 
8178cc1
 
 
 
 
 
 
 
 
 
a6d9ec8
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
---
license: cc-by-nc-4.0
pretty_name: DDOS
task_categories:
- image-segmentation
- depth-estimation
tags:
- drones
- uav
- aerial
- vision
- wires
- cables
- outdoor
- segmentation
- semantic segmentation
- depth
- weather
- flying
size_categories:
- 10K<n<100K
---
# DDOS: The Drone Depth and Obstacle Segmentation Dataset

The Drone Depth and Obstacle Segmentation (DDOS) dataset comprises synthetic aerial images captured by drones, along with corresponding depth maps and pixel-wise semantic segmentation masks. DDOS is purpose-built to support research and development in computer vision, focusing on tasks such as depth estimation and obstacle segmentation from aerial imagery. Emphasizing the detection of thin structures like wires and effective navigation in diverse weather conditions, DDOS serves as a valuable resource for advancing algorithms in autonomous drone technology.


- **Paper:** [DDOS: The Drone Depth and Obstacle Segmentation Dataset](https://arxiv.org/abs/2312.12494)

---------

## Data Structure

DDOS is organised as follows:

- Data Splits:
    - Train: Contains 300 flights with a total of 30k images for training.
    - Validation: Contains 20 flights with a total of 2k images for validation during model development.
    - Test: Contains 20 flights with a total of 2k images for the final evaluation of the trained model.

- Environments:
    - Neighbourhood: Contains data captured in urban and residential environments.
    - Park: Contains data captured in park and natural environments.

- Flights:
    - Each flight is represented by a unique flight ID and is contained within the corresponding environment directory.

- Data for Each Flight:
    - Image: Contains RGB images captured by the drone camera.
    - Depth: Contains depth maps representing the distance of objects from the camera. These maps are saved as uint16 PNG images, where pixel values range from 0 to 65535, representing distances from 0 to 100 meters linearly.
    - Segmentation: Contains pixel-wise segmentation masks for semantic segmentation. Classes, as well as their corresponding mappings, are mentioned below.
    - Flow: Contains optical flow data representing the apparent motion of objects between consecutive frames.
    - Surface Normal: Contains surface normal maps representing the orientation of object surfaces.

Overview of file structure:
```
data/
β”œβ”€β”€ train/
β”‚   β”œβ”€β”€ neighbourhood/
β”‚   β”‚   β”œβ”€β”€ 0/
β”‚   β”‚   β”‚   β”œβ”€β”€ depth/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ 0.png
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”‚   β”‚   β”‚   └── 99.png
β”‚   β”‚   β”‚   β”œβ”€β”€ flow/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ 0.png
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”‚   β”‚   β”‚   └── 99.png
β”‚   β”‚   β”‚   β”œβ”€β”€ image/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ 0.png
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”‚   β”‚   β”‚   └── 99.png
β”‚   β”‚   β”‚   β”œβ”€β”€ segmentation/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ 0.png
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”‚   β”‚   β”‚   └── 99.png
β”‚   β”‚   β”‚   β”œβ”€β”€ surfacenormals/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ 0.png
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”‚   β”‚   β”‚   └── 99.png
β”‚   β”‚   β”‚   β”œβ”€β”€ metadata.csv
β”‚   β”‚   β”‚   └── weather.csv
β”‚   β”‚   β”œβ”€β”€ ...
β”‚   β”‚   └── 249/
β”‚   β”‚       └── ...
β”‚   └── park/
β”‚       β”œβ”€β”€ 0/
β”‚       β”‚   β”œβ”€β”€ depth/
β”‚       β”‚   β”‚   └── ...
β”‚       β”‚   β”œβ”€β”€ flow/
β”‚       β”‚   β”‚   └── ...
β”‚       β”‚   β”œβ”€β”€ image/
β”‚       β”‚   β”‚   └── ...
β”‚       β”‚   β”œβ”€β”€ segmentation/
β”‚       β”‚   β”‚   └── ...
β”‚       β”‚   β”œβ”€β”€ surfacenormals/
β”‚       β”‚   β”‚   └── ...
β”‚       β”‚   β”œβ”€β”€ metadata.csv
β”‚       β”‚   └── weather.csv
β”‚       β”œβ”€β”€ ...
β”‚       └── 49/
β”‚           └── ...
β”œβ”€β”€ validation/
β”‚   └── ...
└── test/
    └── ...
```


---------
## Additional Information

**Class Mapping:** The segmentation masks use the following class labels for obstacle segmentation:
   ```python
   CLASS_MAPPING = {
       'ultra_thin': 255,
       'thin_structures': 240,
       'small_mesh': 220,
       'large_mesh': 200,
       'trees': 180,
       'buildings': 160,
       'vehicles': 140,
       'animals': 100,
       'other': 80
   }
   ```
**Metadata:** The dataset contains metadata, such as coordinates, pose, acceleration, weather conditions and camera parameters, which provide valuable contextual information about each flight.


---------
## Dataset Usage

- **Data Loading:**
To load and use the DDOS dataset in your projects, you can refer to the official PyTorch data loading tutorial: [PyTorch Data Loading Tutorial](https://pytorch.org/tutorials/beginner/basics/data_tutorial.html).
This tutorial will guide you through the process of loading data, creating data loaders, and preparing the dataset for training or evaluation using PyTorch.

- **Respect the Data Splits:**
Please ensure that the testing data is not used for validation. Mixing these datasets could lead to inaccurate assessments of model performance. Maintaining separate datasets for testing and validation helps ensure reliable evaluation and accurate reporting of results.

---------
## License
DDOS is openly licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)


---------
## Citation
If you use DDOS in your research or projects, please cite our paper:

```
@article{kolbeinsson2023ddos,
  title={{DDOS}: The Drone Depth and Obstacle Segmentation Dataset},
  author={Benedikt Kolbeinsson and Krystian Mikolajczyk},
  journal={arXiv preprint arXiv:2312.12494},
  year={2023}
}
```