ConnorLuckettDSTG commited on
Commit
aa7bb6c
1 Parent(s): 0b5fe1a

Updated SARFish dataset card.

Browse files
Files changed (1) hide show
  1. README.md +256 -1
README.md CHANGED
@@ -1,3 +1,258 @@
1
  ---
2
- license: other
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - object-detection
5
+ - image-classification
6
+ tags:
7
+ - SARFish
8
+ - Illegal Fishing
9
+ - Computer Vision
10
+ - Complex-Valued
11
+ - Synthetic Aperture Radar
12
+ pretty_name: SARFish Dataset
13
+ size_categories:
14
+ - n<1K
15
  ---
16
+
17
+ SARFish is a [Synthetic Aperture Radar (SAR)](https://sentinel.esa.int/web/sentinel/missions/sentinel-1/instrument-payload) imagery dataset for the purpose of training, validating and testing supervised machine learning models on the tasks of ship detection, classification, and length regression. The SARFish dataset builds on the excellent work of the [xView3-SAR dataset](https://iuu.xview.us/dataset) (2021) and consists of two parts:
18
+
19
+ 1. Data - Extends the xView3-SAR dataset to include [Single Look Complex (SLC)](https://sentinels.copernicus.eu/web/sentinel/technical-guides/sentinel-1-sar/products-algorithms/level-1-algorithms/single-look-complex) as well as [Ground Range Detected (GRD)](https://sentinels.copernicus.eu/web/sentinel/technical-guides/sentinel-1-sar/products-algorithms/level-1-algorithms/ground-range-detected) imagery data taken directly from the European Space Agency (ESA) Copernicus Programme [Open Access Hub Website](https://scihub.copernicus.eu/).
20
+ 2. Labels - Derives labels from the xView3-SAR dataset providing maritime object location, vessel classification and vessel length information.
21
+
22
+ ### Quick Links
23
+
24
+ The following are links to the Kaggle competitions for each of the tracks of the SARFish challenge along with the SARFish dataset and GitHub repo:
25
+
26
+ - Data:
27
+ - [SARFish](https://huggingface.co/datasets/ConnorLuckettDSTG/SARFish)
28
+ - [SARFishSample](https://huggingface.co/datasets/ConnorLuckettDSTG/SARFishSample)
29
+ - [Labels](https://iuu.xview.us/download-links)
30
+ - Challenge:
31
+ - [Maritime Object Detection Track](https://www.kaggle.com/competitions/sarfish-maritime-object-detection)
32
+ - [Maritime Object Classification Track](https://www.kaggle.com/competitions/sarfish-maritime-object-classification)
33
+ - [Vessel Length Regression Track](https://www.kaggle.com/competitions/sarfish-vessel-length-regression)
34
+ - [GitHub repo](https://github.com/RitwikGupta/SARFish)
35
+ - [Mailbox](SARFish.Dataset@defence.gov.au)
36
+ - [DAIRNet](https://www.dairnet.com.au/events/workshop-on-complex-valued-deep-learning-and-sarfish-challenge/)
37
+
38
+ The [GitHub repo](https://github.com/RitwikGupta/SARFish) describes how to:
39
+ - Download the dataset.
40
+ - Run the SARFish_demo jupyter notebook.
41
+ - Load imagery products and groundtruth labels,
42
+ - Train and evaluate a reference/baseline model using the dataset.
43
+
44
+ ### Dataset summary - What does the SARFish dataset consist of?
45
+
46
+ The following table summarises the sizes of the full size and sample SARFish dataset.
47
+
48
+ | dataset | coincident GRD, SLC products | compressed (GB) | uncompressed (GB) |
49
+ | --- | --- | --- | --- |
50
+ | SARFishSample | 1 | 4.3 | 8.2 |
51
+ | SARFish | 753 | 3293 | 6468 |
52
+
53
+ The following table summarises the partitions of the dataset:
54
+
55
+ | Partition | Coincident products | Labels Provided | Unique maritime object labels | |
56
+ | --- | --- | --- | --- | --- |
57
+ | | | | SLC | GRD |
58
+ | train | 553 | True | 63071 | 64054 |
59
+ | validation | 50 | True | 18906 | 19222 |
60
+ | public | 150 | False | 58744 | 60008 |
61
+ | | | Total | 140721 | 143284 |
62
+
63
+ ### How to access the SARFish dataset
64
+
65
+ The SARFish dataset is available for download at:
66
+ - [full SARFish dataset](https://huggingface.co/datasets/ConnorLuckettDSTG/SARFish)
67
+ - [sample SARFish dataset](https://huggingface.co/datasets/ConnorLuckettDSTG/SARFishSample)
68
+
69
+ #### Full SARFish dataset
70
+
71
+ Make sure you have at least enough storage space for the uncompressed dataset.
72
+
73
+ ```bash
74
+ cd /path/to/large/storage/location
75
+ ```
76
+
77
+ [Create|login] to a [huggingface](https://huggingface.co) account.
78
+
79
+ Login to the huggingface command line interface.
80
+
81
+ ```bash
82
+ huggingface-cli login
83
+ ```
84
+
85
+ Copy the access token in settings/Access Tokens from your huggingface account. Clone the dataset
86
+
87
+ ```bash
88
+ git lfs install
89
+ git clone https://huggingface.co/datasets/ConnorLuckettDSTG/SARFish
90
+ ```
91
+
92
+ #### SARFish sample dataset
93
+
94
+ Substitute the final command for the full dataset with the following:
95
+
96
+ ```bash
97
+ git clone https://huggingface.co/datasets/ConnorLuckettDSTG/SARFishSample
98
+ ```
99
+
100
+ Follow the instructions of the github repo README to check the md5sums of the data and unzip them.
101
+
102
+ #### Labels
103
+
104
+ The SARFish dataset labels are derived from the labels supplied with the [xView-3 SAR dataset](https://iuu.xview.us/dataset). The SARFish dataset labels are available for download from the [DIU website](https://iuu.xview.us/download-links). Be sure to take into account country restrictions.
105
+
106
+ ### Data
107
+
108
+ SARFish extends the xView3-SAR dataset by providing products from the [Sentinel-1 C-band SAR satellite constellation](https://sentinel.esa.int/web/sentinel/missions/sentinel-1) operated by the European Space Agency’s (ESA) Copernicus Programme available on their [Open Access Hub Website](https://scihub.copernicus.eu/) in both real-valued GRD and complex-valued SLC product types.
109
+
110
+ ![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F16538278%2F01f81bd0507e1a2512937dafe3d6e4cd%2FSentinel_1_processing_levels_summary.png?generation=1704576734729193&alt=media)
111
+
112
+ The above image shows a condensed summary of the image formation pipeline of the Sentinel-1 products provided by the Sentinel-1 Mission Performance Center. Note that the SLC and GRD products both share a common ancestor.
113
+
114
+ ![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F16538278%2F7751ca1ec0fa5cdea8f13465c0ecbda0%2Frelationship_between_the_xView3_and_SARFish_datasets.png?generation=1704576840602914&alt=media)
115
+
116
+ The above image shows the relationship between the xView3-SAR and SARFish datasets.
117
+
118
+ #### Summary table
119
+
120
+ The following table compares the GRD and SLC products of the SARFish dataset [3][4]
121
+
122
+ | | | |
123
+ | --- | --- | --- |
124
+ | Platform | Sentinel-1 (A, B) | |
125
+ | Operator | European Space Agency (ESA) Sentinel-1 Mission Performance Center | |
126
+ | Sensor | CBand SAR | |
127
+ | Mode | Interferometric Wide Swath (IW) | |
128
+ | Polarisations | VV, VH | |
129
+ | Ground range coverage (km) | 251.8 | |
130
+ | Product type | SLC | GRD |
131
+ | Pixel value | Complex | Magnitude Detected |
132
+ | Data type | Complex Int16 | Unsigned Int16 |
133
+ | Azimuth pixel spacing (m) | 2.3 | 10 |
134
+ | Range pixel spacing (m) | 14.1 | 10 |
135
+
136
+ #### Ground Range Detected (GRD) Products
137
+
138
+ GRD products consist of two 'detected' imagery products in VH, VV polarisations. The imagery data is stored in GeoTiff format. Also included in the dataset are no_data masks and shoreline files which are used to evaluate 'close-to-shore' maritime object detection tasks.
139
+
140
+ #### Single Look Complex (SLC) Products
141
+
142
+ ![SARFish Single Look Complex (SLC) example swath 1](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F16538278%2F96c7236965f001af2121a1bfb512490e%2Fscaled_detected_full_SLC_vh_swath_1_annotated.png?generation=1704092495548996&alt=media)
143
+
144
+ ![SARFish Single Look Complex (SLC) example swath 2](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F16538278%2Fda4797f41133145d534a6bb892aca843%2Fscaled_detected_full_SLC_vh_swath_2_annotated.png?generation=1704092615622983&alt=media)
145
+
146
+ ![SARFish Single Look Complex (SLC) example swath 3](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F16538278%2F71ce540d31a14a293c7ccd1d8c0cf710%2Fscaled_detected_full_SLC_vh_swath_3_annotated.png?generation=1704092648447034&alt=media)
147
+
148
+ The figures above show the 'swaths' comprising a SARFish SLC product in VH polarisation with groundtruth maritime object. labels The complex data has been 'detected' [3] by projecting the complex-valued data onto the real numbers for visualisation and displayed on decibel scale where the dynamic range is between 15 and 60 dB. Note that the SLC products have non-square (x, y): 2.3 × 14.1 m pixel spacing. The native format of the data is Complex Int16.
149
+
150
+ ![SARFish SLC footprint](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F16538278%2Fa982a5ee2a3027b9e147c6e98823ddac%2FSARFish_SLC_footprint_polygon_optimised.png?generation=1704092702046069&alt=media)
151
+
152
+ The figure above shows the footprint of the first swath of the example SLC product in context. The footprint was plotted using Clyde D'Cruz' ["openstreetmap WKT playground"](https://clydedacruz.github.io/openstreetmap-wkt-playground/).
153
+
154
+ ![SARFish SLC VH polarisation ship example](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F16538278%2Fd4cd496ddc5a699c9629f20a1f8c767f%2FSLC_region_vh_annotation_optimised_cropped.png?generation=1704092802631790&alt=media)
155
+
156
+ ![SARFish SLC VV polarisation ship example](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F16538278%2Fc75c73f734028887484f699a892448e1%2FSLC_region_vv_optimised_cropped.png?generation=1704092864387849&alt=media)
157
+
158
+ The above images show detail of a labelled vessel in a SLC product in both VH (above) and VV (below) polarisations. Note the differences in the speckle and side-lobing artefacts on the vessel between polarisations and the non-square pixel spacing.
159
+
160
+ ### Labels
161
+
162
+ #### Location labels
163
+
164
+ The labels denote the image pixel and geographic coordinate location of the maritime object.
165
+
166
+ | field | data_type | description |
167
+ | --------- | ----------- | --------- |
168
+ | detect\_lat | float | latitude of detection in World Geodetic System (WGS) 84 coordinates |
169
+ | detect\_lon | float | longitude of detection in WGS84 coordinates |
170
+ | detect\_scene\_row | int | pixel row of scene containing detection |
171
+ | detect\_scene\_column | int | pixel column of scene containing detection |
172
+
173
+ #### Classification Labels
174
+
175
+ The labels for the maritime object classification are organised in the same hierarchical structure as the xView3-SAR challenge labels:
176
+
177
+ ```bash
178
+ label_heirarchy:
179
+ └── maritime_objects
180
+ └── vessels
181
+ └── fishing_vessels
182
+ ```
183
+
184
+ They are denoted by the following columns in the labels:
185
+
186
+ | field | data_type | description |
187
+ | --------- | ----------- | --------- |
188
+ | is\_vessel | bool | True if detection is a vessel, False otherwise |
189
+ | is\_fishing | bool | True if detection is a fishing vessel, False otherwise |
190
+
191
+ The maritime object categories are labelled using boolean values to the following questions:
192
+
193
+ - is the maritime object a vessel?
194
+ - is the vessel a fishing vessel?
195
+
196
+ The following table shows the combinations of hierarchical classification labels present in the SARFish dataset:
197
+
198
+ | is\_vessel | is\_fishing |
199
+ |------------:|-------------:|
200
+ | False | nan |
201
+ | True | nan |
202
+ | | False |
203
+ | | True |
204
+ | nan | nan |
205
+
206
+ #### Vessel Length Labels
207
+
208
+ The vessel lengths are denoted in the following column in the labels:
209
+
210
+ | field | data_type | description |
211
+ | --------- | ----------- | --------- |
212
+ | vessel\_length\_m | float | length of vessel in meters; only provided where available from AIS |
213
+
214
+ #### Detailed labels summary
215
+
216
+ | field | data_type | description |
217
+ | --------- | ----------- | --------- |
218
+ | partition | str: \{"train", "validation"\} | split of the dataset |
219
+ | product\_type | str: \{"GRD", "SLC"\} | product type of the data |
220
+ | scene\_id | str | unique xView3 scene ID for challenge purposes |
221
+ | detect\_id | str | unique detection ID in the format: {scene\_id}\_{detect\_lat}\_{detect\_lon} |
222
+ | \{product\_type\}\_product\_identifier | str | The Copernicus Sentinel-1 product identifier for the designated product type |
223
+ | detect\_lat | float | latitude of detection in World Geodetic System (WGS) 84 coordinates |
224
+ | detect\_lon | float | longitude of detection in WGS84 coordinates |
225
+ | detect\_scene\_row | int | pixel row of scene containing detection |
226
+ | detect\_scene\_column | int | pixel column of scene containing detection |
227
+ | top | float | pixel row of the top left corner of the bounding box, where available |
228
+ | left | float | pixel column of the top left corner of the bounding box, where available |
229
+ | bottom | float | pixel row of the bottom right corner of the bounding box, where available |
230
+ | right | float | pixel column of the bottom right corner of the bounding box, where available |
231
+ | vessel\_length\_m | float | length of vessel in meters; only provided where available from AIS |
232
+ | source | str: \{AIS, AIS/Manual, Manual\} | source of detection (AIS, manual label, or both) |
233
+ | is\_vessel | bool | True if detection is a vessel, False otherwise |
234
+ | is\_fishing | bool | True if detection is a fishing vessel, False otherwise |
235
+ | global\_shoreline\_vector\_distance\_from\_shore\_km | float | distance from shore of detection in kilometers as determined using the global shoreline vectors projected into the pixel space of the SARFish products |
236
+ | xView3\_shoreline\_vector\_distance\_from\_shore\_km | float | distance from shore of detection in kilometers as determined using the xView3-SAR shoreline vectors projected into the pixel space of the SARFish products |
237
+ | confidence | str: \{HIGH, MEDIUM, LOW\} | level of confidence for is\_vessel and is\_fishing labels |
238
+
239
+ ### Source
240
+
241
+ The Sentinel-1 GRD and SLC products were downloaded the University of Alaska's Alaska Satellite Facillity (ASF) which operates NASA's Distributed Active Archive Center (DAAC).
242
+
243
+ - [website](https://asf.alaska.edu/)
244
+ - [registration](https://urs.earthdata.nasa.gov/users/new)
245
+ - [download](https://datapool.asf.alaska.edu/)
246
+ - API docs
247
+ - [basics](https://docs.asf.alaska.edu/api/basics/)
248
+ - [keywords](https://docs.asf.alaska.edu/api/keywords/)
249
+ - [tools](https://docs.asf.alaska.edu/api/tools/)
250
+
251
+
252
+ [1]. Tri-Tan Cao, Connor Luckett, Jerome Williams, Tristrom Cooke, Ben Yip, Arvind Rajagopalan, and Sebastien Wong. Sarfish: Space-based maritime surveillance using complex synthetic aperture radar imagery. In 2022 International Conference on Digital Image Computing: Techniques and Applications (DICTA), pages 1–8. IEEE, 2022.
253
+
254
+ [2] xview3-sar: Detecting dark fishing activity using synthetic aperture radar imagery. arXiv:2206.00897v4 [cs.CV], Nov 2022.
255
+
256
+ [3] M. Bourbigot, H. Johnsen, R. Piantanida, and G. Hajduch, Sentinel-1 Product Definition. Sentinel-1 Mission Performance Centre, 2016. [Online]. Available: https://sentinel.esa.int/web/sentinel/user-guides/sentinel-1-sar/document-library/-/asset_publisher/1dO7RF5fJMbd/content/sentinel-1-product-definition
257
+
258
+ [4] S. N. R. Chandra, J. Christopherson, and K. A. Casey, 2020 Joint Agency Commercial Imagery Evaluation—Remote sensing satellite compendium. US Geological Survey, 2020.