giswqs commited on
Commit
352d405
·
verified ·
1 Parent(s): 25087ce

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +137 -47
README.md CHANGED
@@ -1,49 +1,139 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: image
5
- dtype:
6
- array3_d:
7
- shape:
8
- - 13
9
- - 64
10
- - 64
11
- dtype: uint16
12
- - name: label
13
- dtype:
14
- class_label:
15
- names:
16
- '0': AnnualCrop
17
- '1': Forest
18
- '2': HerbaceousVegetation
19
- '3': Highway
20
- '4': Industrial
21
- '5': Pasture
22
- '6': PermanentCrop
23
- '7': Residential
24
- '8': River
25
- '9': SeaLake
26
- - name: filename
27
- dtype: string
28
- splits:
29
- - name: train
30
- num_bytes: 2075310656
31
- num_examples: 18880
32
- - name: validation
33
- num_bytes: 594123524
34
- num_examples: 5405
35
- - name: test
36
- num_bytes: 298215919
37
- num_examples: 2713
38
- download_size: 2246047503
39
- dataset_size: 2967650099
40
- configs:
41
- - config_name: default
42
- data_files:
43
- - split: train
44
- path: data/train-*
45
- - split: validation
46
- path: data/validation-*
47
- - split: test
48
- path: data/test-*
49
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ task_categories:
4
+ - image-classification
5
+ task_ids:
6
+ - multi-class-image-classification
7
+ language:
8
+ - en
9
+ tags:
10
+ - remote-sensing
11
+ - satellite-imagery
12
+ - land-use
13
+ - land-cover
14
+ - sentinel-2
15
+ - earth-observation
16
+ - eurosat
17
+ - multispectral
18
+ pretty_name: EuroSAT Multispectral
19
+ size_categories:
20
+ - 10K<n<100K
21
+ source_datasets:
22
+ - original
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  ---
24
+
25
+ # EuroSAT Multispectral (All 13 Sentinel-2 Bands)
26
+
27
+ ## Dataset Description
28
+
29
+ EuroSAT is a dataset for land use and land cover (LULC) classification using Sentinel-2 satellite imagery. This version contains **all 13 Sentinel-2 spectral bands** stored as uint16 arrays at 64x64 pixel resolution.
30
+
31
+ The dataset covers 10 land use/land cover classes across 26,998 geo-referenced images from 34 European countries.
32
+
33
+ - **Source:** <https://zenodo.org/records/7711810>
34
+ - **DOI:** [10.5281/zenodo.7711810](https://doi.org/10.5281/zenodo.7711810)
35
+ - **License:** MIT
36
+ - **Paper:** [EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classification](https://doi.org/10.1109/JSTARS.2019.2918242)
37
+ - **RGB Version:** [giswqs/EuroSAT_RGB](https://huggingface.co/datasets/giswqs/EuroSAT_RGB)
38
+
39
+ ## Authors
40
+
41
+ Patrick Helber, Benjamin Bischke, Andreas Dengel, Damian Borth
42
+
43
+ ## Spectral Bands
44
+
45
+ Each image is a numpy array of shape `(13, 64, 64)` with dtype `uint16`. The 13 bands correspond to the Sentinel-2 spectral bands:
46
+
47
+ | Index | Band | Sentinel-2 Band | Wavelength (nm) | Resolution (m) |
48
+ |-------|------|-------------------|-----------------|----------------|
49
+ | 0 | B01 | Coastal aerosol | 443 | 60 |
50
+ | 1 | B02 | Blue | 490 | 10 |
51
+ | 2 | B03 | Green | 560 | 10 |
52
+ | 3 | B04 | Red | 665 | 10 |
53
+ | 4 | B05 | Veg. Red Edge 1 | 705 | 20 |
54
+ | 5 | B06 | Veg. Red Edge 2 | 740 | 20 |
55
+ | 6 | B07 | Veg. Red Edge 3 | 783 | 20 |
56
+ | 7 | B08 | NIR | 842 | 10 |
57
+ | 8 | B08A | Narrow NIR | 865 | 20 |
58
+ | 9 | B09 | Water Vapour | 945 | 60 |
59
+ | 10 | B10 | SWIR - Cirrus | 1375 | 60 |
60
+ | 11 | B11 | SWIR 1 | 1610 | 20 |
61
+ | 12 | B12 | SWIR 2 | 2190 | 20 |
62
+
63
+ > **Note:** All bands are resampled to 10m resolution (64x64 pixels) in the original dataset.
64
+
65
+ ## Dataset Structure
66
+
67
+ ### Splits
68
+
69
+ | Split | Examples |
70
+ |------------|----------|
71
+ | train | 18,880 |
72
+ | validation | 5,405 |
73
+ | test | 2,713 |
74
+
75
+ ### Classes
76
+
77
+ | Label | Class Name |
78
+ |-------|----------------------|
79
+ | 0 | AnnualCrop |
80
+ | 1 | Forest |
81
+ | 2 | HerbaceousVegetation |
82
+ | 3 | Highway |
83
+ | 4 | Industrial |
84
+ | 5 | Pasture |
85
+ | 6 | PermanentCrop |
86
+ | 7 | Residential |
87
+ | 8 | River |
88
+ | 9 | SeaLake |
89
+
90
+ ### Features
91
+
92
+ - `image`: `Array3D(shape=(13, 64, 64), dtype="uint16")` — 13-band Sentinel-2 multispectral image
93
+ - `label`: `ClassLabel` — Integer class label (0–9)
94
+ - `filename`: `Value("string")` — Original filename with class directory prefix
95
+
96
+ ## Usage
97
+
98
+ ```python
99
+ from datasets import load_dataset
100
+ import numpy as np
101
+
102
+ dataset = load_dataset("giswqs/EuroSAT_MS")
103
+
104
+ # Access training split
105
+ train = dataset["train"]
106
+ sample = train[0]
107
+
108
+ # Get multispectral image as numpy array
109
+ image = np.array(sample["image"], dtype=np.uint16) # shape: (13, 64, 64)
110
+ label = sample["label"]
111
+ filename = sample["filename"]
112
+
113
+ print(f"Image shape: {image.shape}, dtype: {image.dtype}")
114
+ print(f"Label: {label}, Filename: {filename}")
115
+
116
+ # Extract RGB bands (B04, B03, B02 = indices 3, 2, 1)
117
+ rgb = image[[3, 2, 1]] # shape: (3, 64, 64)
118
+
119
+ # Compute NDVI
120
+ red = image[3].astype(np.float32)
121
+ nir = image[7].astype(np.float32)
122
+ ndvi = (nir - red) / (nir + red + 1e-8)
123
+ ```
124
+
125
+ ## Citation
126
+
127
+ ```bibtex
128
+ @article{helber2019eurosat,
129
+ title={EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classification},
130
+ author={Helber, Patrick and Bischke, Benjamin and Dengel, Andreas and Borth, Damian},
131
+ journal={IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing},
132
+ volume={12},
133
+ number={7},
134
+ pages={2217--2226},
135
+ year={2019},
136
+ doi={10.1109/JSTARS.2019.2918242},
137
+ publisher={IEEE}
138
+ }
139
+ ```