Update README.md
Browse files
README.md
CHANGED
|
@@ -27,9 +27,96 @@ A summary of the dataset, grouped by disaster and ordered by area, is included b
|
|
| 27 |
| Champlain Towers Collapse | 0.041536185 | 0.246084846 | 4 | 1 | Train |
|
| 28 |
| **Total** | **67.97693173** | **70.64586393** | **122502** | **265** | **N/A** |
|
| 29 |
|
| 30 |
-
## Dataset
|
| 31 |
-
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
## Publications & Documentation
|
| 35 |
|
|
|
|
| 27 |
| Champlain Towers Collapse | 0.041536185 | 0.246084846 | 4 | 1 | Train |
|
| 28 |
| **Total** | **67.97693173** | **70.64586393** | **122502** | **265** | **N/A** |
|
| 29 |
|
| 30 |
+
## Dataset Format
|
| 31 |
+
|
| 32 |
+
At the top level, the dataset contains a statistics.csv file, with summary statistics of the dataset, and two folders, train and test.
|
| 33 |
+
Each folder has imagery (which contains all of the geo.tif files) and annotations.
|
| 34 |
+
The imagery folder contains four folders for four sources of imagery: UAS, UAS_DSM, SATELLITE, and CREWED. All imagery is provided as *.geo.tif files at their maximum available resolution. UAS_DSM are digital surface maps (DSMs) generated by the UAS mapping software. Not all runs of the mapping software resulted in valid DSMs, and so only some sUAS imagery have parallel DSMs.
|
| 35 |
+
The annotations folder then contains one folder for each source of imagery (and therefore labels): UAS, SATELLITE, and CREWED. These folders contain the imagery-derived labels from the imagery associated with each of the imagery sources. UAS_DSM imagery was not labeled.
|
| 36 |
+
These folders contain two groups of data: building_alignment_adjustments, and building_damage_assessment.
|
| 37 |
+
These two groups of data contain JSON data that represent the annotations for both building damage assessment and the translational alignments necessary to align the building polygons with the imagery.
|
| 38 |
+
These data sources and schemas are discussed in the [schemas.md](https://huggingface.co/datasets/CRASAR/CRASAR-U-DROIDs/blob/main/schemas.md).
|
| 39 |
+
|
| 40 |
+
### Building Damage Assessment (BDA)
|
| 41 |
+
A sample of a building damage assessment JSON file is as follows...
|
| 42 |
+
```json
|
| 43 |
+
[
|
| 44 |
+
{
|
| 45 |
+
"view_id": "a75d08c2bcaf852707c66464f5a4abc6",
|
| 46 |
+
"building_id": "3441f4d81904563bba38da0fd8cea8b4",
|
| 47 |
+
"label": "major damage",
|
| 48 |
+
"source": "Microsoft",
|
| 49 |
+
"boundary": "0827-B-02.geo.tif",
|
| 50 |
+
"filename": "0827-B-02.geo.tif.json",
|
| 51 |
+
"jds_version": "1.1",
|
| 52 |
+
"payload_version": "2.0"
|
| 53 |
+
"EPSG:4326": [
|
| 54 |
+
{
|
| 55 |
+
"lat": 30.092885,
|
| 56 |
+
"lon": -93.728311
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"lat": 30.092886,
|
| 60 |
+
"lon": -93.7284
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"lat": 30.092953,
|
| 64 |
+
"lon": -93.7284
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"lat": 30.092885,
|
| 68 |
+
"lon": -93.728311
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"pixels": [
|
| 72 |
+
{
|
| 73 |
+
"x": 1999,
|
| 74 |
+
"y": 13267
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"x": 1776,
|
| 78 |
+
"y": 13263
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"x": 1777,
|
| 82 |
+
"y": 13070
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"x": 1999,
|
| 86 |
+
"y": 13267
|
| 87 |
+
}
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
...
|
| 91 |
+
]
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
Each JSON file contains a list where each entry is a labeled view of a building polygon and contains the following information...
|
| 95 |
+
- The "view_id" field is a string that uniquely identifies this specific view of the building. As the same building may appear in multiple orthomosaics with different labels, the view_id uniquely identifies this specific view and label of the building.
|
| 96 |
+
- The "building_id" field is a string that uniquely identifies this building. As the same building may appear in multiple orthomosaics, this "building_id" can be used to correlate buildings across orthomosaics.
|
| 97 |
+
- The "label" field corresponds to the values of the Joint Damage Scale (JSD). The possible options are "no damage", "minor damage", "major damage", "destroyed", "un-classified", and "obscured". While the JDS does not contain the "obscured" label, this label was added to handle cases where buildings were obscured by clouds, smoke, trees, or other buildings.
|
| 98 |
+
- The "source" field describes the provenance of the building polygon. The possible options are "Microsoft," indicating the building polygon was sourced from the Microsoft Building Footprints dataset, and "custom," indicating the polygons were manually added by the authors.
|
| 99 |
+
- The "boundary" field describes the orthomosaic imagery that was used to define a boundary that determined the inclusion of this polygon in the dataset.
|
| 100 |
+
- The "filename" field describes the json file in which you should find this entry.
|
| 101 |
+
- The "jds_version" field describes the version of JDS that is expected to appear in the "label" field.
|
| 102 |
+
- The "payload_version" field describes the version of the json payload. Previous versions of the dataset did not contain a "payload_version" and this field is used to ensure consistent parsing of dataset content across revisions.
|
| 103 |
+
- The "pixels" field corresponds to the coordinates of the building polygon in the pixel coordinate space of the orthomosaic.
|
| 104 |
+
- The "EPSG:4326" field corresponds to the coordinates of the building polygon in the EPSG:4326 coordinate space.
|
| 105 |
+
|
| 106 |
+
### Alignment Adjustments for BDA & RDA
|
| 107 |
+
A sample of the alignment adjustment JSON file is as follows...
|
| 108 |
+
```json
|
| 109 |
+
[[[4739.728, 4061.728], [4542.137, 3962.933]], ... ]
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
Each JSON file is a list of lines, each with a length of two, defined by a 2D coordinate corresponding to an x, y pixel coordinate in the orthomosaic.
|
| 113 |
+
The first list represents all the alignment adjustments for the given orthomosaic.
|
| 114 |
+
The second list represents a set of two points, forming a line, that describes the translational adjustment needed to bring the nearby building polygons or road line vertices into alignment with the imagery.
|
| 115 |
+
|
| 116 |
+
Each translational adjustment starts with the position in the unadjusted coordinate space that needs to be moved to the following position in order to align the building polygons.
|
| 117 |
+
These translational adjustments are applied to the building polygons and road line vertices by applying the nearest adjustment to each building polygon or road line vertex.
|
| 118 |
+
Functionally, this forms a vector field that describes the adjustments for an entire orthomosaic.
|
| 119 |
+
This process is described in detail in [[3](https://arxiv.org/abs/2405.06593)].
|
| 120 |
|
| 121 |
## Publications & Documentation
|
| 122 |
|