diff --git a/.gitattributes b/.gitattributes index 6d6547930ca9cdcb543affb86234f7acf8b6b5e9..22263e60d90250acea7c10b6eef1367b48d93233 100644 --- a/.gitattributes +++ b/.gitattributes @@ -68,3 +68,21 @@ land-cover/images/amazon/s2.tif filter=lfs diff=lfs merge=lfs -text land-cover/images/rotterdam/s2.tif filter=lfs diff=lfs merge=lfs -text urban-change/images/cairo/s2.tif filter=lfs diff=lfs merge=lfs -text urban-change/images/riyadh/s2.tif filter=lfs diff=lfs merge=lfs -text +alphaearth/images/borneo/alphaearth.tif filter=lfs diff=lfs merge=lfs -text +alphaearth/images/borneo/s2.tif filter=lfs diff=lfs merge=lfs -text +alphaearth/images/iowa/alphaearth.tif filter=lfs diff=lfs merge=lfs -text +alphaearth/images/iowa/s2.tif filter=lfs diff=lfs merge=lfs -text +alphaearth/images/tokyo/alphaearth.tif filter=lfs diff=lfs merge=lfs -text +alphaearth/images/tokyo/s2.tif filter=lfs diff=lfs merge=lfs -text +hyperspectral/images/atacama/emit.tif filter=lfs diff=lfs merge=lfs -text +hyperspectral/images/cairo/emit.tif filter=lfs diff=lfs merge=lfs -text +hyperspectral/images/mojave/emit.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/borneo/s2.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/borneo/tessera.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/borneo/tessera_scale.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/iowa/s2.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/iowa/tessera.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/iowa/tessera_scale.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/tokyo/s2.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/tokyo/tessera.tif filter=lfs diff=lfs merge=lfs -text +tessera/images/tokyo/tessera_scale.tif filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 7843facf72bcac6f47d480a67fc1269a0b11f7ed..f2116f36fadbad40ae08ee5fb5ae769897981ac2 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,13 @@ tags: - sentinel-2 - image-segmentation - change-detection +- hyperspectral +- embeddings --- # IRIS Earth Observation Demos -Small, browser-ready Earth observation projects for [IRIS](https://github.com/asterisk-labs/iris). Each project lives in its own folder and contains exactly two Cloud Optimized GeoTIFF samples. +Small, browser-ready Earth observation projects for [IRIS](https://github.com/asterisk-labs/iris). Each project lives in its own folder and contains two or three Cloud Optimized GeoTIFF samples. | Folder | Task | Samples | | --- | --- | --- | @@ -20,14 +22,17 @@ Small, browser-ready Earth observation projects for [IRIS](https://github.com/as | `burn-scars/` | Burn scar mapping | Lahaina and Rhodes | | `land-cover/` | Multi-class land cover | Rotterdam and Mato Grosso | | `urban-change/` | Urban change, 2018–2025 | New Cairo and Riyadh | +| `hyperspectral/` | Surface materials in EMIT hyperspectral reflectance | Cairo, the Atacama and the Mojave | +| `alphaearth/` | Land cover from AlphaEarth embeddings | Tokyo, Iowa and Borneo | +| `tessera/` | Land cover from TESSERA embeddings | Tokyo, Iowa and Borneo | -Every folder follows the same layout: +Every folder follows the same layout; the projects that are not only Sentinel-2 name their files after their source (`emit.tif`, `alphaearth.tif`, `tessera.tif`): ```text / ├── project.json ├── images.json -├── images//s2.tif +├── images//.tif ├── images//thumbnail.png ├── images//metadata.json └── segmentation//_mask.tif @@ -36,3 +41,5 @@ Every folder follows the same layout: The `segmentation/` paths are populated by IRIS when an authenticated user saves a mask. Project data and annotation results therefore remain together in this repository. Each user needs a Hugging Face token with write access to this dataset. The newly prepared samples use Copernicus Sentinel-2 Level-2A imagery accessed through [Element 84 Earth Search](https://earth-search.aws.element84.com/v1). See each project folder for source details and the applicable [Copernicus Sentinel Data Terms and Conditions](https://sentinels.copernicus.eu/documents/247904/690755/Sentinel_Data_Legal_Notice). + +The `hyperspectral`, `alphaearth` and `tessera` projects use NASA EMIT L2A reflectance, AlphaEarth Foundations Satellite Embedding V1 (CC BY 4.0, produced by Google and Google DeepMind) and TESSERA v2 embeddings (CC0 1.0). Their READMEs give the details and the required attributions. diff --git a/alphaearth/README.md b/alphaearth/README.md new file mode 100644 index 0000000000000000000000000000000000000000..33e62e254a197471f24dc5689dca408d0a87b352 --- /dev/null +++ b/alphaearth/README.md @@ -0,0 +1,27 @@ +--- +pretty_name: IRIS AlphaEarth Embeddings Demo +license: other +tags: +- earth-observation +- geospatial +- embeddings +- alphaearth +- image-segmentation +--- + +# IRIS AlphaEarth Embeddings Demo + +Land cover labelling on [AlphaEarth Foundations](https://deepmind.google/discover/blog/alphaearth-foundations-helps-map-our-planet-in-unprecedented-detail/) satellite embeddings: three 512 × 512 windows at 10 m of 2024, in central Tokyo, the farmland around Ames in Iowa, and the Kapuas River at Putussibau in West Kalimantan, Borneo. The same windows, within 5 m, are in the `tessera` project, so both embeddings can be compared. + +Each image has two files: + +- `alphaearth.tif`: the 64 embedding dimensions A00 to A63 as published, quantised int8 with -128 as no data. `$AE.B1` is A00. The embedding is `(v / 127.5)² · sign(v)`. +- `s2.tif`: a Sentinel-2 Level-2A reference on the same grid, B02, B03, B04 and B08 as reflectance × 10000, the per-pixel median of the cloud-free observations (scene classification) of 2024. Its scenes are listed in `metadata.json`. + +The AI of IRIS learns from the 64 dimensions only, so a few strokes per class are enough to map the whole window. The *Embedding PCA* view shows the first three principal components of the three windows together; its weights are written out in `project.json`. + +AlphaEarth: AlphaEarth Foundations Satellite Embedding V1, annual COGs in `gs://alphaearth_foundations`, licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). The AlphaEarth Foundations Satellite Embedding dataset is produced by Google and Google DeepMind. + +Sentinel-2: Copernicus Sentinel-2 data accessed through [Element 84 Earth Search](https://earth-search.aws.element84.com/v1), provided under the [Copernicus Sentinel Data Terms and Conditions](https://sentinels.copernicus.eu/documents/247904/690755/Sentinel_Data_Legal_Notice). + +Open in IRIS: `hf://datasets/asterisk-labs/iris-datasets/alphaearth/project.json`. diff --git a/alphaearth/images.json b/alphaearth/images.json new file mode 100644 index 0000000000000000000000000000000000000000..c544271aa5d42c4060255ee30524701d09aaf5e3 --- /dev/null +++ b/alphaearth/images.json @@ -0,0 +1,5 @@ +[ + "tokyo", + "iowa", + "borneo" +] diff --git a/alphaearth/images/borneo/alphaearth.tif b/alphaearth/images/borneo/alphaearth.tif new file mode 100644 index 0000000000000000000000000000000000000000..828324222c8c0d4b56cd16e5dc353c245f1f75a5 --- /dev/null +++ b/alphaearth/images/borneo/alphaearth.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50015db3c34526724ab38ea48cedeb9dce62cc762f4af3110ac0dce124b5edac +size 8238355 diff --git a/alphaearth/images/borneo/metadata.json b/alphaearth/images/borneo/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..87716006a7597dc048b8291df9d5af6e276dcffa --- /dev/null +++ b/alphaearth/images/borneo/metadata.json @@ -0,0 +1,31 @@ +{ + "name": "Kapuas River at Putussibau, West Kalimantan, Indonesia", + "source": "AlphaEarth Foundations Satellite Embedding V1, annual 2024", + "source_item": "https://storage.googleapis.com/alphaearth_foundations/satellite_embedding/v1/annual/2024/49N/xprik0vz5zj0cvf2v-0000008192-0000000000.tiff", + "year": 2024, + "crop_bbox_wgs84": [ + 112.927, + 0.8269, + 112.9731, + 0.8732 + ], + "pixel_size": "10 m", + "bands": "64 embedding dimensions A00 to A63, quantised int8; $AE.B1 is A00", + "dequantisation": "(v / 127.5) ** 2 * sign(v), -128 is no data", + "reference": "Sentinel-2 Level-2A median of the cloud-free observations of 6 scenes of 2024, via Element 84 Earth Search, reflectance x 10000", + "reference_scenes": [ + "S2B_T49NGB_20240726T025546_L2A", + "S2A_T49NGA_20241108T025142_L2A", + "S2A_T49NGA_20240103T025338_L2A", + "S2B_T49NGB_20240706T025424_L2A", + "S2A_T49NGA_20240412T025006_L2A", + "S2B_T49NGB_20240507T025421_L2A" + ], + "reference_bands": [ + "B02", + "B03", + "B04", + "B08" + ], + "license": "AlphaEarth: CC BY 4.0, produced by Google and Google DeepMind. Sentinel-2: Copernicus Sentinel Data Terms" +} diff --git a/alphaearth/images/borneo/s2.tif b/alphaearth/images/borneo/s2.tif new file mode 100644 index 0000000000000000000000000000000000000000..5b9f18394a1f3527bf0a2fe11da6da0ed3eeaada --- /dev/null +++ b/alphaearth/images/borneo/s2.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92c02931175ea896857f4b52960c914aaaaec71710bdc275d441b5ba873acf25 +size 1366481 diff --git a/alphaearth/images/borneo/thumbnail.png b/alphaearth/images/borneo/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..a16b38e433b8c89aeab96fc86284c3220b7d4162 --- /dev/null +++ b/alphaearth/images/borneo/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dd160a54e40d1101b633407d7369cddc501e04a7c92b7b65ca7e659ddd6ab68 +size 469058 diff --git a/alphaearth/images/iowa/alphaearth.tif b/alphaearth/images/iowa/alphaearth.tif new file mode 100644 index 0000000000000000000000000000000000000000..d9b3f1d6e598e69c5316a28e35d80d8fd23c534c --- /dev/null +++ b/alphaearth/images/iowa/alphaearth.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcbbf8bc701c71f42f078e9f8fcdf3a8cd92f7583a171f472d06ba9adb6eec79 +size 6619249 diff --git a/alphaearth/images/iowa/metadata.json b/alphaearth/images/iowa/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..964365bf089990a7aedc2d516e6f28173e60df93 --- /dev/null +++ b/alphaearth/images/iowa/metadata.json @@ -0,0 +1,31 @@ +{ + "name": "Farmland near Ames, Iowa, United States", + "source": "AlphaEarth Foundations Satellite Embedding V1, annual 2024", + "source_item": "https://storage.googleapis.com/alphaearth_foundations/satellite_embedding/v1/annual/2024/15N/xwfb0uzusj9sznexr-0000000000-0000008192.tiff", + "year": 2024, + "crop_bbox_wgs84": [ + -93.6812, + 41.9268, + -93.619, + 41.9732 + ], + "pixel_size": "10 m", + "bands": "64 embedding dimensions A00 to A63, quantised int8; $AE.B1 is A00", + "dequantisation": "(v / 127.5) ** 2 * sign(v), -128 is no data", + "reference": "Sentinel-2 Level-2A median of the cloud-free observations of 6 scenes of 2024, via Element 84 Earth Search, reflectance x 10000", + "reference_scenes": [ + "S2B_T15TVG_20241101T170350_L2A", + "S2A_T15TVG_20241027T170634_L2A", + "S2A_T15TVG_20241007T170927_L2A", + "S2B_T15TVG_20241005T171758_L2A", + "S2A_T15TVG_20240609T170704_L2A", + "S2A_T15TVG_20241010T171229_L2A" + ], + "reference_bands": [ + "B02", + "B03", + "B04", + "B08" + ], + "license": "AlphaEarth: CC BY 4.0, produced by Google and Google DeepMind. Sentinel-2: Copernicus Sentinel Data Terms" +} diff --git a/alphaearth/images/iowa/s2.tif b/alphaearth/images/iowa/s2.tif new file mode 100644 index 0000000000000000000000000000000000000000..ab1d119c97a016b51ca97666b3030877cdf10f60 --- /dev/null +++ b/alphaearth/images/iowa/s2.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e0880f37cc1e9aebe04844fecf06fa352487b6302cbd64bb3841c9db9aaf410 +size 1307188 diff --git a/alphaearth/images/iowa/thumbnail.png b/alphaearth/images/iowa/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..00023f01fa080aca1b889e318f342958d3cb7326 --- /dev/null +++ b/alphaearth/images/iowa/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5ceb1edfc40e4e16071312e7280947753a033488781196183bd20e9b047f09d +size 405192 diff --git a/alphaearth/images/tokyo/alphaearth.tif b/alphaearth/images/tokyo/alphaearth.tif new file mode 100644 index 0000000000000000000000000000000000000000..6ea0f55ca889d54f82927d09f10a8f9bea622e2a --- /dev/null +++ b/alphaearth/images/tokyo/alphaearth.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ae25f6ea5fff3f603b53576aa721c09685c652354b5a8de2ae4be8f5e8f933a +size 8471726 diff --git a/alphaearth/images/tokyo/metadata.json b/alphaearth/images/tokyo/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..baaf8fb6dc80fe133ac010751350e71a77bd85ed --- /dev/null +++ b/alphaearth/images/tokyo/metadata.json @@ -0,0 +1,31 @@ +{ + "name": "Central Tokyo and Tokyo Bay, Japan", + "source": "AlphaEarth Foundations Satellite Embedding V1, annual 2024", + "source_item": "https://storage.googleapis.com/alphaearth_foundations/satellite_embedding/v1/annual/2024/54N/xlg2vf31s4bk99i6y-0000000000-0000000000.tiff", + "year": 2024, + "crop_bbox_wgs84": [ + 139.7212, + 35.6266, + 139.7785, + 35.6734 + ], + "pixel_size": "10 m", + "bands": "64 embedding dimensions A00 to A63, quantised int8; $AE.B1 is A00", + "dequantisation": "(v / 127.5) ** 2 * sign(v), -128 is no data", + "reference": "Sentinel-2 Level-2A median of the cloud-free observations of 6 scenes of 2024, via Element 84 Earth Search, reflectance x 10000", + "reference_scenes": [ + "S2A_T54SUE_20241217T013443_L2A", + "S2C_T54SUE_20241217T013300_L2A", + "S2C_T54SUE_20241117T013734_L2A", + "S2B_T54SUE_20241122T013554_L2A", + "S2C_T54SUE_20241107T013730_L2A", + "S2B_T54SUE_20240705T012658_L2A" + ], + "reference_bands": [ + "B02", + "B03", + "B04", + "B08" + ], + "license": "AlphaEarth: CC BY 4.0, produced by Google and Google DeepMind. Sentinel-2: Copernicus Sentinel Data Terms" +} diff --git a/alphaearth/images/tokyo/s2.tif b/alphaearth/images/tokyo/s2.tif new file mode 100644 index 0000000000000000000000000000000000000000..0ffc0750a1931fb7927b672581b1a80b9ec0eefc --- /dev/null +++ b/alphaearth/images/tokyo/s2.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:169300e103ffeee7b3bab59b4515ab44429f559ec2531971571c722c6ec25dd2 +size 1526979 diff --git a/alphaearth/images/tokyo/thumbnail.png b/alphaearth/images/tokyo/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..cbd6eb3b3a485117b71e82ab24d4f2c994018b72 --- /dev/null +++ b/alphaearth/images/tokyo/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0acb5f13f6dcab6d07c0a9eb4963a8b43874b1744ef4bfe5dae57aa9630566e +size 490439 diff --git a/alphaearth/project.json b/alphaearth/project.json new file mode 100644 index 0000000000000000000000000000000000000000..12a0a77da2d35233d123647f4e271e83da64875a --- /dev/null +++ b/alphaearth/project.json @@ -0,0 +1,196 @@ +{ + "name": "alphaearth", + "images": { + "path": { + "AE": "images/{id}/alphaearth.tif", + "S2": "images/{id}/s2.tif" + }, + "thumbnails": "images/{id}/thumbnail.png", + "metadata": "images/{id}/metadata.json" + }, + "classes": [ + { + "name": "Water", + "colour": [ + 25, + 105, + 210, + 90 + ], + "description": "Open water, rivers and canals." + }, + { + "name": "Trees", + "colour": [ + 20, + 115, + 55, + 90 + ], + "description": "Forest and other woody vegetation." + }, + { + "name": "Crops or grass", + "colour": [ + 115, + 205, + 75, + 85 + ], + "description": "Cultivated fields, pasture and low vegetation." + }, + { + "name": "Bare ground", + "colour": [ + 215, + 175, + 105, + 85 + ], + "description": "Exposed soil, sand or rock." + }, + { + "name": "Built-up", + "colour": [ + 215, + 55, + 70, + 90 + ], + "description": "Buildings, roads, port facilities and other impervious surfaces." + } + ], + "views": { + "Sentinel-2": { + "type": "image", + "description": "Natural colour of the Sentinel-2 reference, the median of the cloud-free scenes of 2024.", + "data": [ + "$S2.B3", + "$S2.B2", + "$S2.B1" + ], + "vmin": 0, + "vmax": 2000 + }, + "Sentinel-2 false colour": { + "type": "image", + "description": "Near infrared, red and green of the Sentinel-2 reference: vegetation is red.", + "data": [ + "$S2.B4", + "$S2.B3", + "$S2.B2" + ], + "vmin": 0, + "vmax": 4000 + }, + "Embedding PCA": { + "type": "image", + "description": "The first three principal components of the 64 dimensions, as red, green and blue. Pixels of similar colour have similar embeddings.", + "data": [ + "-0.131*$AE.B1+0.259*$AE.B2+0.013*$AE.B3-0.031*$AE.B4-0.108*$AE.B5+0.231*$AE.B6+0.13*$AE.B7+0.094*$AE.B8+0.014*$AE.B9+0.136*$AE.B10-0.072*$AE.B11+0.1*$AE.B12+0.171*$AE.B13+0.088*$AE.B14+0.082*$AE.B15-0.018*$AE.B16-0.154*$AE.B17-0.129*$AE.B18+0.016*$AE.B19+0.006*$AE.B20-0.11*$AE.B21+0.031*$AE.B22+0.053*$AE.B23+0.108*$AE.B24-0.094*$AE.B25+0.007*$AE.B26+0.121*$AE.B27-0.117*$AE.B28-0.082*$AE.B29+0.032*$AE.B30+0.096*$AE.B31-0.077*$AE.B33+0.196*$AE.B34-0.021*$AE.B35+0.171*$AE.B36+0.224*$AE.B37+0.006*$AE.B38-0.216*$AE.B39+0.125*$AE.B40+0.203*$AE.B41+0.092*$AE.B42+0.047*$AE.B43+0.124*$AE.B44-0.128*$AE.B45-0.103*$AE.B46+0.031*$AE.B47-0.173*$AE.B48-0.105*$AE.B49+0.025*$AE.B50+0.058*$AE.B51-0.185*$AE.B52+0.044*$AE.B53+0.054*$AE.B54+0.022*$AE.B55+0.215*$AE.B56-0.005*$AE.B57-0.141*$AE.B58+0.105*$AE.B59+0.2*$AE.B60-0.09*$AE.B61-0.013*$AE.B62+0.283*$AE.B63-0.229*$AE.B64", + "-0.149*$AE.B1+0.008*$AE.B2-0.079*$AE.B3-0.045*$AE.B4+0.031*$AE.B5-0.046*$AE.B6-0.116*$AE.B7+0.17*$AE.B8+0.155*$AE.B9-0.238*$AE.B10+0.047*$AE.B11-0.061*$AE.B12+0.077*$AE.B13+0.178*$AE.B14-0.016*$AE.B15+0.182*$AE.B16-0.237*$AE.B17+0.063*$AE.B18-0.002*$AE.B19-0.097*$AE.B20-0.07*$AE.B21-0.029*$AE.B22+0.111*$AE.B23+0.024*$AE.B24-0.06*$AE.B25-0.027*$AE.B26+0.119*$AE.B27+0.039*$AE.B28-0.021*$AE.B29-0.159*$AE.B30-0.259*$AE.B31-0.212*$AE.B32+0.18*$AE.B33-0.003*$AE.B34-0.119*$AE.B35+0.064*$AE.B36-0.033*$AE.B37+0.061*$AE.B38+0.113*$AE.B39-0.05*$AE.B40+0.004*$AE.B41+0.172*$AE.B42+0.055*$AE.B43-0.195*$AE.B44-0.153*$AE.B45-0.051*$AE.B46+0.288*$AE.B47-0.1*$AE.B48+0.071*$AE.B49-0.153*$AE.B50+0.219*$AE.B51+0.055*$AE.B52+0.016*$AE.B53-0.065*$AE.B54-0.038*$AE.B55+0.262*$AE.B56-0.166*$AE.B57+0.077*$AE.B58-0.089*$AE.B59-0.155*$AE.B60-0.155*$AE.B61+0.072*$AE.B62-0.093*$AE.B63+0.047*$AE.B64", + "-0.094*$AE.B1-0.055*$AE.B2-0.028*$AE.B3+0.064*$AE.B4-0.124*$AE.B5-0.172*$AE.B6-0.108*$AE.B7+0.053*$AE.B8+0.23*$AE.B9+0.056*$AE.B10-0.04*$AE.B11+0.354*$AE.B12+0.223*$AE.B13+0.139*$AE.B14+0.036*$AE.B15-0.257*$AE.B16+0.01*$AE.B17+0.008*$AE.B18-0.076*$AE.B19-0.256*$AE.B20+0.021*$AE.B21+0.019*$AE.B22-0.258*$AE.B23+0.067*$AE.B24-0.103*$AE.B25-0.001*$AE.B26+0.022*$AE.B27+0.192*$AE.B28-0.007*$AE.B29+0.033*$AE.B30+0.117*$AE.B31-0.037*$AE.B32-0.143*$AE.B33-0.234*$AE.B34+0.282*$AE.B35+0.258*$AE.B36-0.066*$AE.B37+0.013*$AE.B38+0.006*$AE.B39-0.218*$AE.B40-0.052*$AE.B41+0.013*$AE.B42-0.006*$AE.B43-0.106*$AE.B44-0.07*$AE.B45-0.087*$AE.B46+0.012*$AE.B47-0.14*$AE.B48-0.037*$AE.B49+0.1*$AE.B50-0.148*$AE.B51+0.096*$AE.B52-0.029*$AE.B53-0.01*$AE.B54+0.108*$AE.B55+0.014*$AE.B56+0.066*$AE.B57-0.046*$AE.B58-0.112*$AE.B59-0.051*$AE.B60+0.005*$AE.B61-0.015*$AE.B62-0.017*$AE.B63-0.004*$AE.B64" + ], + "clip": 2 + }, + "Embedding dimensions": { + "type": "image", + "description": "Dimensions A01, A16 and A09 as red, green and blue.", + "data": [ + "$AE.B2", + "$AE.B17", + "$AE.B10" + ], + "clip": 2 + } + }, + "view_groups": { + "default": [ + "Sentinel-2", + "Embedding PCA", + "Embedding dimensions" + ], + "reference": [ + "Sentinel-2", + "Sentinel-2 false colour" + ] + }, + "segmentation": { + "mask_area": [ + 0, + 0, + 512, + 512 + ], + "score": "accuracy", + "unverified_threshold": 1, + "ai_model": { + "bands": [ + "$AE.B1", + "$AE.B2", + "$AE.B3", + "$AE.B4", + "$AE.B5", + "$AE.B6", + "$AE.B7", + "$AE.B8", + "$AE.B9", + "$AE.B10", + "$AE.B11", + "$AE.B12", + "$AE.B13", + "$AE.B14", + "$AE.B15", + "$AE.B16", + "$AE.B17", + "$AE.B18", + "$AE.B19", + "$AE.B20", + "$AE.B21", + "$AE.B22", + "$AE.B23", + "$AE.B24", + "$AE.B25", + "$AE.B26", + "$AE.B27", + "$AE.B28", + "$AE.B29", + "$AE.B30", + "$AE.B31", + "$AE.B32", + "$AE.B33", + "$AE.B34", + "$AE.B35", + "$AE.B36", + "$AE.B37", + "$AE.B38", + "$AE.B39", + "$AE.B40", + "$AE.B41", + "$AE.B42", + "$AE.B43", + "$AE.B44", + "$AE.B45", + "$AE.B46", + "$AE.B47", + "$AE.B48", + "$AE.B49", + "$AE.B50", + "$AE.B51", + "$AE.B52", + "$AE.B53", + "$AE.B54", + "$AE.B55", + "$AE.B56", + "$AE.B57", + "$AE.B58", + "$AE.B59", + "$AE.B60", + "$AE.B61", + "$AE.B62", + "$AE.B63", + "$AE.B64" + ] + } + } +} diff --git a/alphaearth/segmentation/.gitkeep b/alphaearth/segmentation/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..39bcb1f13d195e0c40dbaf1963d8398483ff678a --- /dev/null +++ b/alphaearth/segmentation/.gitkeep @@ -0,0 +1 @@ +Results saved by IRIS are stored below this folder. diff --git a/hyperspectral/README.md b/hyperspectral/README.md new file mode 100644 index 0000000000000000000000000000000000000000..9559f5e850f4fcb918b455a6a1782a5353477344 --- /dev/null +++ b/hyperspectral/README.md @@ -0,0 +1,30 @@ +--- +pretty_name: IRIS Hyperspectral Demo +license: other +tags: +- earth-observation +- geospatial +- hyperspectral +- emit +- image-segmentation +--- + +# IRIS Hyperspectral Demo + +Three 128 × 128 windows of [EMIT](https://earth.jpl.nasa.gov/emit/) surface reflectance, 285 bands from 381 to 2493 nm at about 60 m, to label surface materials in IRIS: Cairo and the Nile, a mineral-rich part of the Atacama Desert, and the Mojave Desert. + +Each `emit.tif` holds the 285 reflectance bands as published (float32), in band order: `$EMIT.B1` is `reflectance_0` at 381 nm. `bands.csv` lists the wavelength and width of every band, and each band of the COG carries them as GDAL metadata. B128 to B142 (1327 to 1431 nm) and B188 to B213 (1774 to 1959 nm) are water vapour absorptions, set to -0.01 by the product. + +Besides colour composites, the views compute absorption depths against a straight continuum, which is what makes the materials separable: + +| View | Absorption | Materials | +| --- | --- | --- | +| Iron oxides | 902 nm | Hematite, goethite and other ferric minerals | +| Clays | 2204 nm | Kaolinite, montmorillonite, muscovite, alunite | +| Carbonates | 2330 nm | Calcite, dolomite | + +The windows come from the [Earth Compress benchmark](https://github.com/earth-compress/benchmark) corpus `emit-l2a-285`, read from `NASA/EMIT/L2A/RFL` in Google Earth Engine. The scene, acquisition time and bounds are recorded beside every image in `metadata.json`. Band centres follow the EMIT wavelength calibration of 17 August 2022 used by the V001 products. + +Source: Green, R. (2022). EMIT L2A Estimated Surface Reflectance and Uncertainty and Masks 60 m V001. NASA EOSDIS Land Processes Distributed Active Archive Center. https://doi.org/10.5067/EMIT/EMITL2ARFL.001. NASA EMIT data have no restrictions on use, sale or redistribution. + +Open in IRIS: `hf://datasets/asterisk-labs/iris-datasets/hyperspectral/project.json`. diff --git a/hyperspectral/bands.csv b/hyperspectral/bands.csv new file mode 100644 index 0000000000000000000000000000000000000000..d92006062bfda7cb654f3151ec101fc4806b0173 --- /dev/null +++ b/hyperspectral/bands.csv @@ -0,0 +1,286 @@ +band,name,wavelength_nm,fwhm_nm,good +B1,reflectance_0,381.01,8.42,1 +B2,reflectance_1,388.41,8.42,1 +B3,reflectance_2,395.82,8.42,1 +B4,reflectance_3,403.23,8.42,1 +B5,reflectance_4,410.64,8.42,1 +B6,reflectance_5,418.05,8.42,1 +B7,reflectance_6,425.47,8.42,1 +B8,reflectance_7,432.89,8.42,1 +B9,reflectance_8,440.32,8.42,1 +B10,reflectance_9,447.74,8.42,1 +B11,reflectance_10,455.17,8.43,1 +B12,reflectance_11,462.60,8.43,1 +B13,reflectance_12,470.03,8.43,1 +B14,reflectance_13,477.46,8.43,1 +B15,reflectance_14,484.90,8.43,1 +B16,reflectance_15,492.33,8.43,1 +B17,reflectance_16,499.77,8.43,1 +B18,reflectance_17,507.21,8.44,1 +B19,reflectance_18,514.65,8.44,1 +B20,reflectance_19,522.09,8.44,1 +B21,reflectance_20,529.53,8.44,1 +B22,reflectance_21,536.98,8.44,1 +B23,reflectance_22,544.42,8.44,1 +B24,reflectance_23,551.87,8.44,1 +B25,reflectance_24,559.31,8.44,1 +B26,reflectance_25,566.76,8.45,1 +B27,reflectance_26,574.21,8.45,1 +B28,reflectance_27,581.66,8.45,1 +B29,reflectance_28,589.11,8.45,1 +B30,reflectance_29,596.56,8.45,1 +B31,reflectance_30,604.01,8.45,1 +B32,reflectance_31,611.46,8.45,1 +B33,reflectance_32,618.91,8.46,1 +B34,reflectance_33,626.37,8.46,1 +B35,reflectance_34,633.82,8.46,1 +B36,reflectance_35,641.28,8.46,1 +B37,reflectance_36,648.73,8.46,1 +B38,reflectance_37,656.19,8.46,1 +B39,reflectance_38,663.64,8.46,1 +B40,reflectance_39,671.10,8.47,1 +B41,reflectance_40,678.55,8.47,1 +B42,reflectance_41,686.01,8.47,1 +B43,reflectance_42,693.47,8.47,1 +B44,reflectance_43,700.93,8.47,1 +B45,reflectance_44,708.38,8.47,1 +B46,reflectance_45,715.84,8.47,1 +B47,reflectance_46,723.30,8.47,1 +B48,reflectance_47,730.76,8.48,1 +B49,reflectance_48,738.22,8.48,1 +B50,reflectance_49,745.68,8.48,1 +B51,reflectance_50,753.14,8.48,1 +B52,reflectance_51,760.60,8.48,1 +B53,reflectance_52,768.06,8.48,1 +B54,reflectance_53,775.52,8.48,1 +B55,reflectance_54,782.98,8.49,1 +B56,reflectance_55,790.44,8.49,1 +B57,reflectance_56,797.90,8.49,1 +B58,reflectance_57,805.36,8.49,1 +B59,reflectance_58,812.82,8.49,1 +B60,reflectance_59,820.28,8.49,1 +B61,reflectance_60,827.75,8.50,1 +B62,reflectance_61,835.21,8.50,1 +B63,reflectance_62,842.67,8.50,1 +B64,reflectance_63,850.13,8.50,1 +B65,reflectance_64,857.59,8.50,1 +B66,reflectance_65,865.06,8.50,1 +B67,reflectance_66,872.52,8.50,1 +B68,reflectance_67,879.98,8.51,1 +B69,reflectance_68,887.44,8.51,1 +B70,reflectance_69,894.90,8.51,1 +B71,reflectance_70,902.37,8.51,1 +B72,reflectance_71,909.83,8.51,1 +B73,reflectance_72,917.29,8.51,1 +B74,reflectance_73,924.75,8.51,1 +B75,reflectance_74,932.22,8.52,1 +B76,reflectance_75,939.68,8.52,1 +B77,reflectance_76,947.14,8.52,1 +B78,reflectance_77,954.60,8.52,1 +B79,reflectance_78,962.06,8.52,1 +B80,reflectance_79,969.53,8.52,1 +B81,reflectance_80,976.99,8.52,1 +B82,reflectance_81,984.45,8.52,1 +B83,reflectance_82,991.91,8.53,1 +B84,reflectance_83,999.37,8.53,1 +B85,reflectance_84,1006.83,8.53,1 +B86,reflectance_85,1014.29,8.53,1 +B87,reflectance_86,1021.76,8.53,1 +B88,reflectance_87,1029.22,8.53,1 +B89,reflectance_88,1036.68,8.53,1 +B90,reflectance_89,1044.14,8.54,1 +B91,reflectance_90,1051.60,8.54,1 +B92,reflectance_91,1059.06,8.54,1 +B93,reflectance_92,1066.52,8.54,1 +B94,reflectance_93,1073.98,8.54,1 +B95,reflectance_94,1081.44,8.54,1 +B96,reflectance_95,1088.90,8.54,1 +B97,reflectance_96,1096.36,8.54,1 +B98,reflectance_97,1103.82,8.55,1 +B99,reflectance_98,1111.28,8.55,1 +B100,reflectance_99,1118.74,8.55,1 +B101,reflectance_100,1126.20,8.55,1 +B102,reflectance_101,1133.66,8.55,1 +B103,reflectance_102,1141.11,8.55,1 +B104,reflectance_103,1148.57,8.55,1 +B105,reflectance_104,1156.03,8.56,1 +B106,reflectance_105,1163.49,8.56,1 +B107,reflectance_106,1170.95,8.56,1 +B108,reflectance_107,1178.40,8.56,1 +B109,reflectance_108,1185.86,8.56,1 +B110,reflectance_109,1193.32,8.56,1 +B111,reflectance_110,1200.78,8.56,1 +B112,reflectance_111,1208.23,8.57,1 +B113,reflectance_112,1215.69,8.57,1 +B114,reflectance_113,1223.15,8.57,1 +B115,reflectance_114,1230.60,8.57,1 +B116,reflectance_115,1238.06,8.57,1 +B117,reflectance_116,1245.52,8.57,1 +B118,reflectance_117,1252.97,8.57,1 +B119,reflectance_118,1260.43,8.58,1 +B120,reflectance_119,1267.88,8.58,1 +B121,reflectance_120,1275.34,8.58,1 +B122,reflectance_121,1282.79,8.58,1 +B123,reflectance_122,1290.25,8.58,1 +B124,reflectance_123,1297.71,8.58,1 +B125,reflectance_124,1305.16,8.59,1 +B126,reflectance_125,1312.61,8.59,1 +B127,reflectance_126,1320.07,8.59,1 +B128,reflectance_127,1327.52,8.59,0 +B129,reflectance_128,1334.98,8.59,0 +B130,reflectance_129,1342.43,8.59,0 +B131,reflectance_130,1349.88,8.59,0 +B132,reflectance_131,1357.34,8.59,0 +B133,reflectance_132,1364.79,8.60,0 +B134,reflectance_133,1372.24,8.60,0 +B135,reflectance_134,1379.69,8.60,0 +B136,reflectance_135,1387.14,8.60,0 +B137,reflectance_136,1394.59,8.60,0 +B138,reflectance_137,1402.04,8.60,0 +B139,reflectance_138,1409.49,8.60,0 +B140,reflectance_139,1416.94,8.61,0 +B141,reflectance_140,1424.39,8.61,0 +B142,reflectance_141,1431.84,8.61,0 +B143,reflectance_142,1439.29,8.61,1 +B144,reflectance_143,1446.74,8.61,1 +B145,reflectance_144,1454.19,8.61,1 +B146,reflectance_145,1461.64,8.61,1 +B147,reflectance_146,1469.08,8.62,1 +B148,reflectance_147,1476.53,8.62,1 +B149,reflectance_148,1483.98,8.62,1 +B150,reflectance_149,1491.43,8.62,1 +B151,reflectance_150,1498.87,8.62,1 +B152,reflectance_151,1506.32,8.62,1 +B153,reflectance_152,1513.76,8.62,1 +B154,reflectance_153,1521.21,8.62,1 +B155,reflectance_154,1528.66,8.63,1 +B156,reflectance_155,1536.10,8.63,1 +B157,reflectance_156,1543.55,8.63,1 +B158,reflectance_157,1550.99,8.63,1 +B159,reflectance_158,1558.43,8.63,1 +B160,reflectance_159,1565.88,8.63,1 +B161,reflectance_160,1573.32,8.63,1 +B162,reflectance_161,1580.76,8.64,1 +B163,reflectance_162,1588.20,8.64,1 +B164,reflectance_163,1595.65,8.64,1 +B165,reflectance_164,1603.09,8.64,1 +B166,reflectance_165,1610.53,8.64,1 +B167,reflectance_166,1617.97,8.64,1 +B168,reflectance_167,1625.41,8.64,1 +B169,reflectance_168,1632.85,8.65,1 +B170,reflectance_169,1640.29,8.65,1 +B171,reflectance_170,1647.73,8.65,1 +B172,reflectance_171,1655.17,8.65,1 +B173,reflectance_172,1662.61,8.65,1 +B174,reflectance_173,1670.05,8.65,1 +B175,reflectance_174,1677.48,8.65,1 +B176,reflectance_175,1684.92,8.66,1 +B177,reflectance_176,1692.36,8.66,1 +B178,reflectance_177,1699.80,8.66,1 +B179,reflectance_178,1707.23,8.66,1 +B180,reflectance_179,1714.67,8.66,1 +B181,reflectance_180,1722.10,8.66,1 +B182,reflectance_181,1729.54,8.66,1 +B183,reflectance_182,1736.97,8.67,1 +B184,reflectance_183,1744.41,8.67,1 +B185,reflectance_184,1751.84,8.67,1 +B186,reflectance_185,1759.27,8.67,1 +B187,reflectance_186,1766.71,8.67,1 +B188,reflectance_187,1774.14,8.67,0 +B189,reflectance_188,1781.57,8.67,0 +B190,reflectance_189,1789.01,8.68,0 +B191,reflectance_190,1796.44,8.68,0 +B192,reflectance_191,1803.87,8.68,0 +B193,reflectance_192,1811.30,8.68,0 +B194,reflectance_193,1818.73,8.68,0 +B195,reflectance_194,1826.16,8.68,0 +B196,reflectance_195,1833.59,8.68,0 +B197,reflectance_196,1841.02,8.69,0 +B198,reflectance_197,1848.45,8.69,0 +B199,reflectance_198,1855.88,8.69,0 +B200,reflectance_199,1863.31,8.69,0 +B201,reflectance_200,1870.73,8.69,0 +B202,reflectance_201,1878.16,8.69,0 +B203,reflectance_202,1885.59,8.69,0 +B204,reflectance_203,1893.01,8.70,0 +B205,reflectance_204,1900.44,8.70,0 +B206,reflectance_205,1907.86,8.70,0 +B207,reflectance_206,1915.29,8.70,0 +B208,reflectance_207,1922.71,8.70,0 +B209,reflectance_208,1930.14,8.70,0 +B210,reflectance_209,1937.56,8.70,0 +B211,reflectance_210,1944.98,8.71,0 +B212,reflectance_211,1952.41,8.71,0 +B213,reflectance_212,1959.83,8.71,0 +B214,reflectance_213,1967.25,8.71,1 +B215,reflectance_214,1974.67,8.71,1 +B216,reflectance_215,1982.09,8.71,1 +B217,reflectance_216,1989.52,8.71,1 +B218,reflectance_217,1996.94,8.71,1 +B219,reflectance_218,2004.36,8.72,1 +B220,reflectance_219,2011.77,8.72,1 +B221,reflectance_220,2019.19,8.72,1 +B222,reflectance_221,2026.61,8.72,1 +B223,reflectance_222,2034.03,8.72,1 +B224,reflectance_223,2041.45,8.72,1 +B225,reflectance_224,2048.86,8.72,1 +B226,reflectance_225,2056.28,8.73,1 +B227,reflectance_226,2063.70,8.73,1 +B228,reflectance_227,2071.11,8.73,1 +B229,reflectance_228,2078.53,8.73,1 +B230,reflectance_229,2085.94,8.73,1 +B231,reflectance_230,2093.36,8.73,1 +B232,reflectance_231,2100.77,8.73,1 +B233,reflectance_232,2108.18,8.74,1 +B234,reflectance_233,2115.59,8.74,1 +B235,reflectance_234,2123.01,8.74,1 +B236,reflectance_235,2130.42,8.74,1 +B237,reflectance_236,2137.83,8.74,1 +B238,reflectance_237,2145.24,8.74,1 +B239,reflectance_238,2152.65,8.74,1 +B240,reflectance_239,2160.06,8.75,1 +B241,reflectance_240,2167.47,8.75,1 +B242,reflectance_241,2174.88,8.75,1 +B243,reflectance_242,2182.28,8.75,1 +B244,reflectance_243,2189.69,8.75,1 +B245,reflectance_244,2197.10,8.75,1 +B246,reflectance_245,2204.50,8.75,1 +B247,reflectance_246,2211.91,8.76,1 +B248,reflectance_247,2219.31,8.76,1 +B249,reflectance_248,2226.72,8.76,1 +B250,reflectance_249,2234.12,8.76,1 +B251,reflectance_250,2241.53,8.76,1 +B252,reflectance_251,2248.93,8.76,1 +B253,reflectance_252,2256.33,8.76,1 +B254,reflectance_253,2263.73,8.77,1 +B255,reflectance_254,2271.14,8.77,1 +B256,reflectance_255,2278.54,8.77,1 +B257,reflectance_256,2285.94,8.77,1 +B258,reflectance_257,2293.34,8.77,1 +B259,reflectance_258,2300.74,8.77,1 +B260,reflectance_259,2308.14,8.77,1 +B261,reflectance_260,2315.53,8.78,1 +B262,reflectance_261,2322.93,8.78,1 +B263,reflectance_262,2330.33,8.78,1 +B264,reflectance_263,2337.73,8.78,1 +B265,reflectance_264,2345.12,8.78,1 +B266,reflectance_265,2352.52,8.78,1 +B267,reflectance_266,2359.91,8.78,1 +B268,reflectance_267,2367.31,8.79,1 +B269,reflectance_268,2374.70,8.79,1 +B270,reflectance_269,2382.09,8.79,1 +B271,reflectance_270,2389.49,8.79,1 +B272,reflectance_271,2396.88,8.79,1 +B273,reflectance_272,2404.27,8.79,1 +B274,reflectance_273,2411.66,8.79,1 +B275,reflectance_274,2419.05,8.79,1 +B276,reflectance_275,2426.44,8.80,1 +B277,reflectance_276,2433.83,8.80,1 +B278,reflectance_277,2441.22,8.80,1 +B279,reflectance_278,2448.61,8.80,1 +B280,reflectance_279,2455.99,8.80,1 +B281,reflectance_280,2463.38,8.80,1 +B282,reflectance_281,2470.77,8.80,1 +B283,reflectance_282,2478.15,8.81,1 +B284,reflectance_283,2485.54,8.81,1 +B285,reflectance_284,2492.92,8.81,1 diff --git a/hyperspectral/images.json b/hyperspectral/images.json new file mode 100644 index 0000000000000000000000000000000000000000..4a5d2188ba7acf64710f24bd7b3b07026a9a5605 --- /dev/null +++ b/hyperspectral/images.json @@ -0,0 +1,5 @@ +[ + "cairo", + "atacama", + "mojave" +] diff --git a/hyperspectral/images/atacama/emit.tif b/hyperspectral/images/atacama/emit.tif new file mode 100644 index 0000000000000000000000000000000000000000..49fa4a82cd515c82a0ab117d2a1b0a21c270a128 --- /dev/null +++ b/hyperspectral/images/atacama/emit.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb0f2d7322b7bf3209acc4cf7bcb25d6defb74f0eaac1d8d031a32b2c28e9f9a +size 10744667 diff --git a/hyperspectral/images/atacama/metadata.json b/hyperspectral/images/atacama/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..e54a021733d83968655bd736c5a56418310a626a --- /dev/null +++ b/hyperspectral/images/atacama/metadata.json @@ -0,0 +1,16 @@ +{ + "name": "Atacama Desert, Chile", + "source": "EMIT L2A Estimated Surface Reflectance V001 (NASA/EMIT/L2A/RFL in Google Earth Engine)", + "source_item": "EMIT_L2A_RFL_001_20230317T193821_2307612_010", + "acquired": "2023-03-17T19:38:21.000Z", + "crop_bbox_wgs84": [ + -69.3849, + -24.3845, + -69.3155, + -24.3151 + ], + "pixel_size": "0.000542 degrees, about 60 m", + "bands": "285 reflectance bands from 381 to 2493 nm, listed in bands.csv", + "bad_bands": "B128-B142 (1327-1431 nm) and B188-B213 (1774-1959 nm) are water vapour absorptions, constant -0.01", + "license": "NASA EMIT data have no restrictions on use, sale or redistribution" +} diff --git a/hyperspectral/images/atacama/thumbnail.png b/hyperspectral/images/atacama/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..5e6ccdfbc70f9b9fad4b0245b10b74a2d01a2c50 --- /dev/null +++ b/hyperspectral/images/atacama/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0cf0fa17c0c2ef5a68ad463aba92f492a181bde5fcd94cb5e66408cec4375e22 +size 119825 diff --git a/hyperspectral/images/cairo/emit.tif b/hyperspectral/images/cairo/emit.tif new file mode 100644 index 0000000000000000000000000000000000000000..bc20bb4172485cb9daf5219c28fdadeb7ef4c1f3 --- /dev/null +++ b/hyperspectral/images/cairo/emit.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ef595e39094a5ee14a5ce510bd8a671b941059a27b1df3e52ee19f621ed5e7c +size 11481600 diff --git a/hyperspectral/images/cairo/metadata.json b/hyperspectral/images/cairo/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..995a3df97ad9b32eb8c5595b12a8b5746e87c986 --- /dev/null +++ b/hyperspectral/images/cairo/metadata.json @@ -0,0 +1,16 @@ +{ + "name": "Cairo and the Nile, Egypt", + "source": "EMIT L2A Estimated Surface Reflectance V001 (NASA/EMIT/L2A/RFL in Google Earth Engine)", + "source_item": "EMIT_L2A_RFL_001_20230626T084016_2317706_008", + "acquired": "2023-06-26T08:40:16.000Z", + "crop_bbox_wgs84": [ + 31.2052, + 30.0155, + 31.2746, + 30.0849 + ], + "pixel_size": "0.000542 degrees, about 60 m", + "bands": "285 reflectance bands from 381 to 2493 nm, listed in bands.csv", + "bad_bands": "B128-B142 (1327-1431 nm) and B188-B213 (1774-1959 nm) are water vapour absorptions, constant -0.01", + "license": "NASA EMIT data have no restrictions on use, sale or redistribution" +} diff --git a/hyperspectral/images/cairo/thumbnail.png b/hyperspectral/images/cairo/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..4d46b47bbbc216a2a5b3449ccf09ae906f4064a4 --- /dev/null +++ b/hyperspectral/images/cairo/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb88d4d3ec34139a1917aff8990507ec89f37084a13be443ad4fffe155d28a88 +size 105299 diff --git a/hyperspectral/images/mojave/emit.tif b/hyperspectral/images/mojave/emit.tif new file mode 100644 index 0000000000000000000000000000000000000000..1d47b02a2caf68fccd28a4db3c90975a5edbc1ef --- /dev/null +++ b/hyperspectral/images/mojave/emit.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d4df35c8540a4e17101a54076224aac0c16ec42be713035b4cf1eefd8f5b216 +size 9889572 diff --git a/hyperspectral/images/mojave/metadata.json b/hyperspectral/images/mojave/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..2ef0e20e1399bb60661618fb8eabddfe7e110460 --- /dev/null +++ b/hyperspectral/images/mojave/metadata.json @@ -0,0 +1,16 @@ +{ + "name": "Mojave Desert, California", + "source": "EMIT L2A Estimated Surface Reflectance V001 (NASA/EMIT/L2A/RFL in Google Earth Engine)", + "source_item": "EMIT_L2A_RFL_001_20230415T222456_2310515_010", + "acquired": "2023-04-15T22:24:56.000Z", + "crop_bbox_wgs84": [ + -116.5347, + 35.1656, + -116.4653, + 35.235 + ], + "pixel_size": "0.000542 degrees, about 60 m", + "bands": "285 reflectance bands from 381 to 2493 nm, listed in bands.csv", + "bad_bands": "B128-B142 (1327-1431 nm) and B188-B213 (1774-1959 nm) are water vapour absorptions, constant -0.01", + "license": "NASA EMIT data have no restrictions on use, sale or redistribution" +} diff --git a/hyperspectral/images/mojave/thumbnail.png b/hyperspectral/images/mojave/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..10a82c1511118d28cf0710e69909c729be0a9458 --- /dev/null +++ b/hyperspectral/images/mojave/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c43cdd60f1ae9a53609ecbf7b67654f8c84df3bcd94144f7b3b8daad22d98b6 +size 68619 diff --git a/hyperspectral/project.json b/hyperspectral/project.json new file mode 100644 index 0000000000000000000000000000000000000000..c80f0bb5efbc276a55de5496792371da6355096e --- /dev/null +++ b/hyperspectral/project.json @@ -0,0 +1,183 @@ +{ + "name": "hyperspectral", + "images": { + "path": { + "EMIT": "images/{id}/emit.tif" + }, + "thumbnails": "images/{id}/thumbnail.png", + "metadata": "images/{id}/metadata.json" + }, + "classes": [ + { + "name": "Water", + "colour": [ + 25, + 105, + 210, + 90 + ], + "description": "Rivers, lakes, canals and the sea." + }, + { + "name": "Vegetation", + "colour": [ + 20, + 140, + 55, + 90 + ], + "description": "Crops, gardens and natural vegetation: bright in the Vegetation index view." + }, + { + "name": "Built-up", + "colour": [ + 220, + 60, + 60, + 100 + ], + "description": "Buildings, roads and other man-made surfaces." + }, + { + "name": "Sand and soil", + "colour": [ + 235, + 205, + 120, + 95 + ], + "description": "Dunes, alluvium and soil without a strong mineral absorption." + }, + { + "name": "Iron oxides", + "colour": [ + 205, + 95, + 30, + 105 + ], + "description": "Reddish rock or soil with ferric iron: an absorption near 900 nm, bright in the Iron oxides view." + }, + { + "name": "Clays and salts", + "colour": [ + 160, + 110, + 230, + 105 + ], + "description": "Altered rock, clays, sulphates and salt crusts: an absorption near 2200 nm, bright in the Clays view." + }, + { + "name": "Carbonates", + "colour": [ + 0, + 200, + 200, + 105 + ], + "description": "Limestone and other carbonates: an absorption near 2330 nm, bright in the Carbonates view." + }, + { + "name": "Other rock", + "colour": [ + 125, + 125, + 125, + 95 + ], + "description": "Bare rock without a clear iron, clay or carbonate signature." + } + ], + "views": { + "True colour": { + "type": "image", + "description": "Reflectance at 641, 552 and 470 nm.", + "data": [ + "$EMIT.B36", + "$EMIT.B24", + "$EMIT.B13" + ], + "clip": 1 + }, + "Colour infrared": { + "type": "image", + "description": "Reflectance at 858, 649 and 552 nm: vegetation is red.", + "data": [ + "$EMIT.B65", + "$EMIT.B37", + "$EMIT.B24" + ], + "clip": 1 + }, + "SWIR": { + "type": "image", + "description": "Reflectance at 2204, 1648 and 858 nm: rock and soil types separate by colour.", + "data": [ + "$EMIT.B246", + "$EMIT.B171", + "$EMIT.B65" + ], + "clip": 1 + }, + "Vegetation index": { + "type": "image", + "description": "NDVI from 858 and 649 nm.", + "data": "($EMIT.B65-$EMIT.B37)/($EMIT.B65+$EMIT.B37)", + "cmap": "Greens", + "vmin": 0, + "vmax": 0.6 + }, + "Iron oxides": { + "type": "image", + "description": "Depth of the ferric iron absorption at 902 nm, between 761 and 1037 nm.", + "data": "1-$EMIT.B71/(0.5*($EMIT.B52+$EMIT.B89))", + "cmap": "inferno", + "vmin": 0, + "vmax": 0.12 + }, + "Clays": { + "type": "image", + "description": "Depth of the Al-OH absorption at 2204 nm, between 2123 and 2249 nm: clays, micas, alunite.", + "data": "1-$EMIT.B246/(0.5*($EMIT.B235+$EMIT.B252))", + "cmap": "viridis", + "vmin": 0, + "vmax": 0.25 + }, + "Carbonates": { + "type": "image", + "description": "Depth of the carbonate absorption at 2330 nm, between 2271 and 2390 nm.", + "data": "1-$EMIT.B263/(0.5*($EMIT.B255+$EMIT.B271))", + "cmap": "plasma", + "vmin": 0, + "vmax": 0.12 + } + }, + "view_groups": { + "default": [ + "True colour", + "SWIR", + "Clays" + ], + "minerals": [ + "Iron oxides", + "Clays", + "Carbonates" + ], + "vegetation": [ + "True colour", + "Colour infrared", + "Vegetation index" + ] + }, + "segmentation": { + "mask_area": [ + 0, + 0, + 128, + 128 + ], + "score": "accuracy", + "unverified_threshold": 1 + } +} diff --git a/hyperspectral/segmentation/.gitkeep b/hyperspectral/segmentation/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..39bcb1f13d195e0c40dbaf1963d8398483ff678a --- /dev/null +++ b/hyperspectral/segmentation/.gitkeep @@ -0,0 +1 @@ +Results saved by IRIS are stored below this folder. diff --git a/tessera/README.md b/tessera/README.md new file mode 100644 index 0000000000000000000000000000000000000000..1128cb961fbbbc825b37a104f5a962964647aa55 --- /dev/null +++ b/tessera/README.md @@ -0,0 +1,30 @@ +--- +pretty_name: IRIS TESSERA Embeddings Demo +license: other +tags: +- earth-observation +- geospatial +- embeddings +- tessera +- image-segmentation +--- + +# IRIS TESSERA Embeddings Demo + +Land cover labelling on [TESSERA](https://github.com/ucam-eo/geotessera) embeddings: three 512 × 512 windows at 10 m of 2024, in central Tokyo, the farmland around Ames in Iowa, and the Kapuas River at Putussibau in West Kalimantan, Borneo. The same windows, within 5 m, are in the `alphaearth` project, so both embeddings can be compared. + +Each image has three files: + +- `tessera.tif`: the 128 quantised codes D000 to D127 as published, int8. `$TESSERA.B1` is D000. +- `tessera_scale.tif`: the scale of the codes of each pixel, float32. The embedding is `$TESSERA.Bn * $SCALE.B1`. +- `s2.tif`: a Sentinel-2 Level-2A reference on the same grid, B02, B03, B04 and B08 as reflectance × 10000, the per-pixel median of the cloud-free observations (scene classification) of 2024. Its scenes are listed in `metadata.json`. + +The AI of IRIS learns from the codes and the scale only, so a few strokes per class are enough to map the whole window. The *Embedding PCA* view shows the first three principal components of the embeddings of the three windows together; its weights are written out in `project.json`. + +The windows come from the [Earth Compress benchmark](https://github.com/earth-compress/benchmark) corpus `tessera-v2-codes`; the source tile and crop of each are recorded in `metadata.json`. + +TESSERA: TESSERA-V-2.0-2B-L embeddings (`v2-2B-L~beta1`) published by GeoTessera on Source Cooperative, dedicated to the public domain under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). + +Sentinel-2: Copernicus Sentinel-2 data accessed through [Element 84 Earth Search](https://earth-search.aws.element84.com/v1), provided under the [Copernicus Sentinel Data Terms and Conditions](https://sentinels.copernicus.eu/documents/247904/690755/Sentinel_Data_Legal_Notice). + +Open in IRIS: `hf://datasets/asterisk-labs/iris-datasets/tessera/project.json`. diff --git a/tessera/images.json b/tessera/images.json new file mode 100644 index 0000000000000000000000000000000000000000..c544271aa5d42c4060255ee30524701d09aaf5e3 --- /dev/null +++ b/tessera/images.json @@ -0,0 +1,5 @@ +[ + "tokyo", + "iowa", + "borneo" +] diff --git a/tessera/images/borneo/metadata.json b/tessera/images/borneo/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4599820cbce3cd2b4407841d7fc97d5a2c29999f --- /dev/null +++ b/tessera/images/borneo/metadata.json @@ -0,0 +1,36 @@ +{ + "name": "Kapuas River at Putussibau, West Kalimantan, Indonesia", + "source": "TESSERA v2 embeddings (TESSERA-V-2.0-2B-L, v2-2B-L~beta1), 2024, from GeoTessera on Source Cooperative", + "source_item": "https://data.source.coop/tessera/tessera/npy/v2-2B-L~beta1/2024/grid_112.95_0.85/grid_112.95_0.85.npy", + "source_tile": "grid_112.95_0.85", + "crop_row_col": [ + 297, + 301 + ], + "year": 2024, + "crop_bbox_wgs84": [ + 112.927, + 0.8269, + 112.973, + 0.8732 + ], + "pixel_size": "10 m", + "bands": "128 embedding dimensions D000 to D127, quantised int8 codes; $TESSERA.B1 is D000", + "dequantisation": "embedding = $TESSERA.Bn * $SCALE.B1", + "reference": "Sentinel-2 Level-2A median of the cloud-free observations of 6 scenes of 2024, via Element 84 Earth Search, reflectance x 10000", + "reference_scenes": [ + "S2B_T49NGB_20240726T025546_L2A", + "S2A_T49NGA_20241108T025142_L2A", + "S2A_T49NGA_20240103T025338_L2A", + "S2B_T49NGB_20240706T025424_L2A", + "S2A_T49NGA_20240412T025006_L2A", + "S2B_T49NGB_20240507T025421_L2A" + ], + "reference_bands": [ + "B02", + "B03", + "B04", + "B08" + ], + "license": "TESSERA: CC0 1.0. Sentinel-2: Copernicus Sentinel Data Terms" +} diff --git a/tessera/images/borneo/s2.tif b/tessera/images/borneo/s2.tif new file mode 100644 index 0000000000000000000000000000000000000000..c947da52323b982cb468ff700de56e8d4c7365c3 --- /dev/null +++ b/tessera/images/borneo/s2.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76feabad1f5d77e829735b3d8c3e5feeca078f0f2244100332794cf89c323512 +size 1366481 diff --git a/tessera/images/borneo/tessera.tif b/tessera/images/borneo/tessera.tif new file mode 100644 index 0000000000000000000000000000000000000000..f37e128c261187429f5f44f7f73a82d5df06a888 --- /dev/null +++ b/tessera/images/borneo/tessera.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6447480e8b1d10373bc29341c775bbee6ccdcae051515764cdafd1034282567 +size 18271999 diff --git a/tessera/images/borneo/tessera_scale.tif b/tessera/images/borneo/tessera_scale.tif new file mode 100644 index 0000000000000000000000000000000000000000..5563b0a8184b19eee42b4ce9f8bbce9d2b07b2dd --- /dev/null +++ b/tessera/images/borneo/tessera_scale.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9859a66c606d60f79b00f33f6ff3d6f979e2725abffd63a5214e92369810f2d +size 767766 diff --git a/tessera/images/borneo/thumbnail.png b/tessera/images/borneo/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..87252b66c05001cec26032680b54240e574291c3 --- /dev/null +++ b/tessera/images/borneo/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4c22586c75aade72dcf1b06f477a1db841ed06f148b5708fafe84043fa888ca +size 530167 diff --git a/tessera/images/iowa/metadata.json b/tessera/images/iowa/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0d4073a850668132dd7770a83a93c51003350fe3 --- /dev/null +++ b/tessera/images/iowa/metadata.json @@ -0,0 +1,36 @@ +{ + "name": "Farmland near Ames, Iowa, United States", + "source": "TESSERA v2 embeddings (TESSERA-V-2.0-2B-L, v2-2B-L~beta1), 2024, from GeoTessera on Source Cooperative", + "source_item": "https://data.source.coop/tessera/tessera/npy/v2-2B-L~beta1/2024/grid_-93.65_41.95/grid_-93.65_41.95.npy", + "source_tile": "grid_-93.65_41.95", + "crop_row_col": [ + 302, + 162 + ], + "year": 2024, + "crop_bbox_wgs84": [ + -93.6812, + 41.9268, + -93.619, + 41.9733 + ], + "pixel_size": "10 m", + "bands": "128 embedding dimensions D000 to D127, quantised int8 codes; $TESSERA.B1 is D000", + "dequantisation": "embedding = $TESSERA.Bn * $SCALE.B1", + "reference": "Sentinel-2 Level-2A median of the cloud-free observations of 6 scenes of 2024, via Element 84 Earth Search, reflectance x 10000", + "reference_scenes": [ + "S2B_T15TVG_20241101T170350_L2A", + "S2A_T15TVG_20241027T170634_L2A", + "S2A_T15TVG_20241007T170927_L2A", + "S2B_T15TVG_20241005T171758_L2A", + "S2A_T15TVG_20240609T170704_L2A", + "S2A_T15TVG_20241010T171229_L2A" + ], + "reference_bands": [ + "B02", + "B03", + "B04", + "B08" + ], + "license": "TESSERA: CC0 1.0. Sentinel-2: Copernicus Sentinel Data Terms" +} diff --git a/tessera/images/iowa/s2.tif b/tessera/images/iowa/s2.tif new file mode 100644 index 0000000000000000000000000000000000000000..c2513cbafb0f3cb97e3a9b1ef36dd7c85b5a5d1a --- /dev/null +++ b/tessera/images/iowa/s2.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8c4d772b0049799b9ae039469a4af6fa0c63d5aeb6dbf1a7e6219b70ccbf22c +size 1307188 diff --git a/tessera/images/iowa/tessera.tif b/tessera/images/iowa/tessera.tif new file mode 100644 index 0000000000000000000000000000000000000000..31131591bc641e943993c9635b016388fad27df6 --- /dev/null +++ b/tessera/images/iowa/tessera.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a6fa1d4020b5051b80ebfc521004aa2ae9b08b08a51111c411148e30a3d99a9 +size 16518111 diff --git a/tessera/images/iowa/tessera_scale.tif b/tessera/images/iowa/tessera_scale.tif new file mode 100644 index 0000000000000000000000000000000000000000..e61094c05da2ce8ce28ebc73b092490f4ebb9384 --- /dev/null +++ b/tessera/images/iowa/tessera_scale.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee24389e29a76e72107e4cf334ff071454f77dec03f18d7d49cac033811a1a24 +size 744496 diff --git a/tessera/images/iowa/thumbnail.png b/tessera/images/iowa/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..d872118a7a4cf93d5272ab090043e1ca85fe39ba --- /dev/null +++ b/tessera/images/iowa/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42b6b43ca32553a1ddd0b4b3ed38cfa2305d147c3516aa911ac7b72eaa256e64 +size 488634 diff --git a/tessera/images/tokyo/metadata.json b/tessera/images/tokyo/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..b6abed6693ec50e2e4638b708aec0e84f8293375 --- /dev/null +++ b/tessera/images/tokyo/metadata.json @@ -0,0 +1,36 @@ +{ + "name": "Central Tokyo and Tokyo Bay, Japan", + "source": "TESSERA v2 embeddings (TESSERA-V-2.0-2B-L, v2-2B-L~beta1), 2024, from GeoTessera on Source Cooperative", + "source_item": "https://data.source.coop/tessera/tessera/npy/v2-2B-L~beta1/2024/grid_139.75_35.65/grid_139.75_35.65.npy", + "source_tile": "grid_139.75_35.65", + "crop_row_col": [ + 304, + 203 + ], + "year": 2024, + "crop_bbox_wgs84": [ + 139.7212, + 35.6267, + 139.7785, + 35.6734 + ], + "pixel_size": "10 m", + "bands": "128 embedding dimensions D000 to D127, quantised int8 codes; $TESSERA.B1 is D000", + "dequantisation": "embedding = $TESSERA.Bn * $SCALE.B1", + "reference": "Sentinel-2 Level-2A median of the cloud-free observations of 6 scenes of 2024, via Element 84 Earth Search, reflectance x 10000", + "reference_scenes": [ + "S2A_T54SUE_20241217T013443_L2A", + "S2C_T54SUE_20241217T013300_L2A", + "S2C_T54SUE_20241117T013734_L2A", + "S2B_T54SUE_20241122T013554_L2A", + "S2C_T54SUE_20241107T013730_L2A", + "S2B_T54SUE_20240705T012658_L2A" + ], + "reference_bands": [ + "B02", + "B03", + "B04", + "B08" + ], + "license": "TESSERA: CC0 1.0. Sentinel-2: Copernicus Sentinel Data Terms" +} diff --git a/tessera/images/tokyo/s2.tif b/tessera/images/tokyo/s2.tif new file mode 100644 index 0000000000000000000000000000000000000000..85262ebfde8872e43fa5c92ca462dea2bac054fb --- /dev/null +++ b/tessera/images/tokyo/s2.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd8cb65968af2a6038b82aa444e9351b83d5c23763a9fe765ad9b62e649a3076 +size 1526979 diff --git a/tessera/images/tokyo/tessera.tif b/tessera/images/tokyo/tessera.tif new file mode 100644 index 0000000000000000000000000000000000000000..c38e0e9ad78ae6d02eb2f1c9e141b5de2e3fe8bf --- /dev/null +++ b/tessera/images/tokyo/tessera.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7dace64d6a6d329ab79ff0472513de15c32d644275c00cc29342149dc88a560 +size 19978895 diff --git a/tessera/images/tokyo/tessera_scale.tif b/tessera/images/tokyo/tessera_scale.tif new file mode 100644 index 0000000000000000000000000000000000000000..d1ce26ecece26ff20ef2713b62907d7ecd8cecd2 --- /dev/null +++ b/tessera/images/tokyo/tessera_scale.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ae556d3e214ffb74e9901d9004785dfe9c4a15004336597f4732413f0cc15f9 +size 781670 diff --git a/tessera/images/tokyo/thumbnail.png b/tessera/images/tokyo/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..37aafd2ff0de6a88a84136e8b8af8972649d1887 --- /dev/null +++ b/tessera/images/tokyo/thumbnail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b911d31894f33bfb05d974ce36edc919d032b67ec66301e0f2eb55f86ba31947 +size 581953 diff --git a/tessera/project.json b/tessera/project.json new file mode 100644 index 0000000000000000000000000000000000000000..378e44c530a776304e3e9aedaf1585ec71023320 --- /dev/null +++ b/tessera/project.json @@ -0,0 +1,262 @@ +{ + "name": "tessera", + "images": { + "path": { + "TESSERA": "images/{id}/tessera.tif", + "SCALE": "images/{id}/tessera_scale.tif", + "S2": "images/{id}/s2.tif" + }, + "thumbnails": "images/{id}/thumbnail.png", + "metadata": "images/{id}/metadata.json" + }, + "classes": [ + { + "name": "Water", + "colour": [ + 25, + 105, + 210, + 90 + ], + "description": "Open water, rivers and canals." + }, + { + "name": "Trees", + "colour": [ + 20, + 115, + 55, + 90 + ], + "description": "Forest and other woody vegetation." + }, + { + "name": "Crops or grass", + "colour": [ + 115, + 205, + 75, + 85 + ], + "description": "Cultivated fields, pasture and low vegetation." + }, + { + "name": "Bare ground", + "colour": [ + 215, + 175, + 105, + 85 + ], + "description": "Exposed soil, sand or rock." + }, + { + "name": "Built-up", + "colour": [ + 215, + 55, + 70, + 90 + ], + "description": "Buildings, roads, port facilities and other impervious surfaces." + } + ], + "views": { + "Sentinel-2": { + "type": "image", + "description": "Natural colour of the Sentinel-2 reference, the median of the cloud-free scenes of 2024.", + "data": [ + "$S2.B3", + "$S2.B2", + "$S2.B1" + ], + "vmin": 0, + "vmax": 2000 + }, + "Sentinel-2 false colour": { + "type": "image", + "description": "Near infrared, red and green of the Sentinel-2 reference: vegetation is red.", + "data": [ + "$S2.B4", + "$S2.B3", + "$S2.B2" + ], + "vmin": 0, + "vmax": 4000 + }, + "Embedding PCA": { + "type": "image", + "description": "The first three principal components of the 128 dimensions, as red, green and blue. Pixels of similar colour have similar embeddings.", + "data": [ + "$SCALE.B1*(-0.234*$TESSERA.B1+0.044*$TESSERA.B2+0.033*$TESSERA.B3+0.411*$TESSERA.B4+0.249*$TESSERA.B5-0.219*$TESSERA.B6-0.007*$TESSERA.B7-0.052*$TESSERA.B8+0.19*$TESSERA.B9-0.087*$TESSERA.B10+0.358*$TESSERA.B11+0.205*$TESSERA.B12+0.14*$TESSERA.B13+0.129*$TESSERA.B14+0.009*$TESSERA.B15-0.001*$TESSERA.B16-0.006*$TESSERA.B17+0.03*$TESSERA.B18-0.027*$TESSERA.B19+0.112*$TESSERA.B20-0.022*$TESSERA.B21+0.067*$TESSERA.B22-0.04*$TESSERA.B23-0.106*$TESSERA.B24-0.008*$TESSERA.B25+0.009*$TESSERA.B26-0.043*$TESSERA.B27-0.034*$TESSERA.B28-0.121*$TESSERA.B29+0.13*$TESSERA.B30+0.077*$TESSERA.B31-0.107*$TESSERA.B32+0.099*$TESSERA.B33+0.003*$TESSERA.B34+0.033*$TESSERA.B35-0.105*$TESSERA.B36+0.047*$TESSERA.B37-0.079*$TESSERA.B38+0.02*$TESSERA.B39-0.051*$TESSERA.B40-0.002*$TESSERA.B41+0.015*$TESSERA.B42+0.032*$TESSERA.B43+0.018*$TESSERA.B44+0.025*$TESSERA.B45-0.051*$TESSERA.B46-0.043*$TESSERA.B47-0.037*$TESSERA.B48-0.008*$TESSERA.B49+0.01*$TESSERA.B50+0.003*$TESSERA.B51-0.076*$TESSERA.B52-0.05*$TESSERA.B53-0.042*$TESSERA.B54+0.091*$TESSERA.B55-0.133*$TESSERA.B56+0.063*$TESSERA.B57-0.06*$TESSERA.B58-0.011*$TESSERA.B59-0.061*$TESSERA.B60-0.034*$TESSERA.B61+0.078*$TESSERA.B62-0.047*$TESSERA.B63-0.118*$TESSERA.B64+0.041*$TESSERA.B65+0.044*$TESSERA.B66-0.052*$TESSERA.B67+0.039*$TESSERA.B68-0.036*$TESSERA.B69+0.074*$TESSERA.B70+0.107*$TESSERA.B71-0.001*$TESSERA.B72-0.035*$TESSERA.B73+0.002*$TESSERA.B74-0.033*$TESSERA.B75-0.059*$TESSERA.B76-0.063*$TESSERA.B77-0.043*$TESSERA.B78+0.04*$TESSERA.B79-0.04*$TESSERA.B80+0.006*$TESSERA.B81-0.016*$TESSERA.B82-0.068*$TESSERA.B83-0.163*$TESSERA.B84+0.052*$TESSERA.B85+0.024*$TESSERA.B86-0.101*$TESSERA.B87+0.019*$TESSERA.B88-0.003*$TESSERA.B89+0.006*$TESSERA.B90-0.018*$TESSERA.B91-0.043*$TESSERA.B92-0.088*$TESSERA.B93+0.035*$TESSERA.B94-0.072*$TESSERA.B95+0.004*$TESSERA.B96-0.016*$TESSERA.B97-0.044*$TESSERA.B98+0.057*$TESSERA.B99-0.022*$TESSERA.B100-0.042*$TESSERA.B101+0.089*$TESSERA.B102+0.064*$TESSERA.B103+0.074*$TESSERA.B104+0.002*$TESSERA.B105-0.053*$TESSERA.B106-0.027*$TESSERA.B107-0.049*$TESSERA.B108+0.164*$TESSERA.B109+0.006*$TESSERA.B110-0.113*$TESSERA.B111-0.069*$TESSERA.B112+0.025*$TESSERA.B113-0.011*$TESSERA.B114+0.011*$TESSERA.B115+0.027*$TESSERA.B116+0.012*$TESSERA.B117-0.072*$TESSERA.B118+0.048*$TESSERA.B119+0.016*$TESSERA.B120+0.052*$TESSERA.B121-0.052*$TESSERA.B122+0.012*$TESSERA.B123-0.053*$TESSERA.B124+0.013*$TESSERA.B125-0.1*$TESSERA.B126-0.04*$TESSERA.B127-0.078*$TESSERA.B128)", + "$SCALE.B1*(-0.245*$TESSERA.B1-0.013*$TESSERA.B2+0.076*$TESSERA.B3-0.081*$TESSERA.B4+0.004*$TESSERA.B5+0.219*$TESSERA.B6+0.062*$TESSERA.B7+0.034*$TESSERA.B8+0.389*$TESSERA.B9+0.141*$TESSERA.B10-0.198*$TESSERA.B11+0.183*$TESSERA.B12+0.246*$TESSERA.B13-0.064*$TESSERA.B14+0.317*$TESSERA.B15-0.002*$TESSERA.B16+0.043*$TESSERA.B17+0.028*$TESSERA.B18+0.121*$TESSERA.B19+0.157*$TESSERA.B20+0.088*$TESSERA.B21+0.081*$TESSERA.B22-0.04*$TESSERA.B23+0.045*$TESSERA.B24-0.155*$TESSERA.B25+0.189*$TESSERA.B26-0.005*$TESSERA.B27-0.013*$TESSERA.B28+0.018*$TESSERA.B29-0.004*$TESSERA.B30+0.084*$TESSERA.B31+0.036*$TESSERA.B32-0.028*$TESSERA.B33-0.111*$TESSERA.B34-0.012*$TESSERA.B35+0.007*$TESSERA.B36-0.052*$TESSERA.B37+0.041*$TESSERA.B38+0.021*$TESSERA.B39-0.007*$TESSERA.B40-0.089*$TESSERA.B41+0.005*$TESSERA.B42+0.153*$TESSERA.B43-0.101*$TESSERA.B44-0.04*$TESSERA.B45+0.061*$TESSERA.B46-0.102*$TESSERA.B47-0.048*$TESSERA.B48-0.033*$TESSERA.B49+0.077*$TESSERA.B50+0.011*$TESSERA.B51-0.036*$TESSERA.B52+0.034*$TESSERA.B53+0.014*$TESSERA.B54-0.002*$TESSERA.B55+0.046*$TESSERA.B56-0.149*$TESSERA.B57-0.03*$TESSERA.B58+0.031*$TESSERA.B59+0.028*$TESSERA.B60+0.032*$TESSERA.B61-0.067*$TESSERA.B62-0.002*$TESSERA.B63-0.009*$TESSERA.B64-0.007*$TESSERA.B65-0.052*$TESSERA.B66-0.119*$TESSERA.B67-0.077*$TESSERA.B68+0.005*$TESSERA.B69-0.002*$TESSERA.B70-0.117*$TESSERA.B71-0.064*$TESSERA.B72-0.05*$TESSERA.B73-0.047*$TESSERA.B74+0.075*$TESSERA.B75+0.051*$TESSERA.B76-0.043*$TESSERA.B77-0.045*$TESSERA.B78-0.057*$TESSERA.B79+0.054*$TESSERA.B80-0.06*$TESSERA.B81-0.027*$TESSERA.B82+0.024*$TESSERA.B83-0.039*$TESSERA.B84-0.013*$TESSERA.B85+0.042*$TESSERA.B86+0.003*$TESSERA.B87+0.082*$TESSERA.B88-0.104*$TESSERA.B89-0.018*$TESSERA.B90-0.069*$TESSERA.B91-0.062*$TESSERA.B92-0.048*$TESSERA.B93+0.017*$TESSERA.B94-0.027*$TESSERA.B95-0.077*$TESSERA.B96+0.035*$TESSERA.B97+0.02*$TESSERA.B98-0.08*$TESSERA.B99-0.044*$TESSERA.B100-0.012*$TESSERA.B101-0.067*$TESSERA.B102-0.019*$TESSERA.B103+0.051*$TESSERA.B104-0.081*$TESSERA.B105+0.016*$TESSERA.B106+0.016*$TESSERA.B107-0.021*$TESSERA.B108-0.09*$TESSERA.B109+0.071*$TESSERA.B110+0.06*$TESSERA.B111-0.019*$TESSERA.B112-0.123*$TESSERA.B113-0.055*$TESSERA.B114+0.067*$TESSERA.B115-0.057*$TESSERA.B116+0.012*$TESSERA.B117+0.018*$TESSERA.B118+0.008*$TESSERA.B119-0.025*$TESSERA.B121-0.083*$TESSERA.B122+0.04*$TESSERA.B123-0.088*$TESSERA.B124-0.083*$TESSERA.B125+0.111*$TESSERA.B126-0.04*$TESSERA.B127-0.052*$TESSERA.B128)", + "$SCALE.B1*(-0.165*$TESSERA.B1-0.051*$TESSERA.B2-0.068*$TESSERA.B3-0.252*$TESSERA.B4-0.125*$TESSERA.B5-0.108*$TESSERA.B6+0.118*$TESSERA.B7-0.283*$TESSERA.B8-0.098*$TESSERA.B9-0.141*$TESSERA.B10+0.139*$TESSERA.B11-0.02*$TESSERA.B12+0.081*$TESSERA.B13-0.325*$TESSERA.B14+0.129*$TESSERA.B15+0.362*$TESSERA.B16+0.076*$TESSERA.B17-0.126*$TESSERA.B18-0.057*$TESSERA.B19+0.033*$TESSERA.B20+0.063*$TESSERA.B21-0.134*$TESSERA.B22-0.083*$TESSERA.B23+0.16*$TESSERA.B24+0.02*$TESSERA.B25+0.166*$TESSERA.B26+0.08*$TESSERA.B27-0.016*$TESSERA.B28+0.012*$TESSERA.B29-0.018*$TESSERA.B30+0.025*$TESSERA.B31+0.098*$TESSERA.B32-0.075*$TESSERA.B33+0.032*$TESSERA.B34-0.017*$TESSERA.B35-0.003*$TESSERA.B36+0.082*$TESSERA.B37-0.018*$TESSERA.B38+0.128*$TESSERA.B39-0.006*$TESSERA.B40-0.035*$TESSERA.B41+0.024*$TESSERA.B42-0.045*$TESSERA.B43+0.063*$TESSERA.B44+0.042*$TESSERA.B45+0.034*$TESSERA.B46-0.105*$TESSERA.B47-0.008*$TESSERA.B48-0.136*$TESSERA.B49-0.079*$TESSERA.B50+0.055*$TESSERA.B51-0.083*$TESSERA.B52-0.044*$TESSERA.B53+0.009*$TESSERA.B54+0.027*$TESSERA.B55-0.008*$TESSERA.B56+0.118*$TESSERA.B57-0.044*$TESSERA.B58+0.077*$TESSERA.B59-0.064*$TESSERA.B60-0.043*$TESSERA.B61+0.038*$TESSERA.B62+0.107*$TESSERA.B63+0.036*$TESSERA.B64+0.051*$TESSERA.B65+0.026*$TESSERA.B66-0.126*$TESSERA.B67+0.033*$TESSERA.B68-0.038*$TESSERA.B69-0.006*$TESSERA.B70-0.003*$TESSERA.B71+0.022*$TESSERA.B72+0.022*$TESSERA.B73+0.01*$TESSERA.B74-0.05*$TESSERA.B75+0.183*$TESSERA.B76-0.021*$TESSERA.B77-0.034*$TESSERA.B78-0.004*$TESSERA.B79+0.068*$TESSERA.B80-0.115*$TESSERA.B81+0.009*$TESSERA.B82-0.03*$TESSERA.B83-0.025*$TESSERA.B84+0.07*$TESSERA.B85-0.035*$TESSERA.B86-0.051*$TESSERA.B87+0.006*$TESSERA.B88+0.123*$TESSERA.B89+0.045*$TESSERA.B90+0.045*$TESSERA.B91-0.034*$TESSERA.B92-0.085*$TESSERA.B93+0.005*$TESSERA.B94-0.028*$TESSERA.B95+0.103*$TESSERA.B96+0.059*$TESSERA.B97-0.026*$TESSERA.B98+0.013*$TESSERA.B99+0.049*$TESSERA.B100+0.007*$TESSERA.B101+0.012*$TESSERA.B102+0.106*$TESSERA.B103+0.066*$TESSERA.B104+0.021*$TESSERA.B105-0.021*$TESSERA.B106+0.014*$TESSERA.B107+0.014*$TESSERA.B108+0.08*$TESSERA.B109-0.14*$TESSERA.B110-0.034*$TESSERA.B111-0.024*$TESSERA.B112+0.021*$TESSERA.B113+0.006*$TESSERA.B114-0.005*$TESSERA.B115+0.051*$TESSERA.B116+0.059*$TESSERA.B117+0.012*$TESSERA.B118+0.042*$TESSERA.B119-0.033*$TESSERA.B120-0.048*$TESSERA.B121+0.084*$TESSERA.B122+0.019*$TESSERA.B123+0.028*$TESSERA.B124+0.064*$TESSERA.B125-0.082*$TESSERA.B126-0.063*$TESSERA.B127-0.04*$TESSERA.B128)" + ], + "clip": 2 + }, + "Embedding dimensions": { + "type": "image", + "description": "Dimensions D000, D001 and D002 as red, green and blue.", + "data": [ + "$SCALE.B1*$TESSERA.B1", + "$SCALE.B1*$TESSERA.B2", + "$SCALE.B1*$TESSERA.B3" + ], + "clip": 2 + } + }, + "view_groups": { + "default": [ + "Sentinel-2", + "Embedding PCA", + "Embedding dimensions" + ], + "reference": [ + "Sentinel-2", + "Sentinel-2 false colour" + ] + }, + "segmentation": { + "mask_area": [ + 0, + 0, + 512, + 512 + ], + "score": "accuracy", + "unverified_threshold": 1, + "ai_model": { + "bands": [ + "$TESSERA.B1", + "$TESSERA.B2", + "$TESSERA.B3", + "$TESSERA.B4", + "$TESSERA.B5", + "$TESSERA.B6", + "$TESSERA.B7", + "$TESSERA.B8", + "$TESSERA.B9", + "$TESSERA.B10", + "$TESSERA.B11", + "$TESSERA.B12", + "$TESSERA.B13", + "$TESSERA.B14", + "$TESSERA.B15", + "$TESSERA.B16", + "$TESSERA.B17", + "$TESSERA.B18", + "$TESSERA.B19", + "$TESSERA.B20", + "$TESSERA.B21", + "$TESSERA.B22", + "$TESSERA.B23", + "$TESSERA.B24", + "$TESSERA.B25", + "$TESSERA.B26", + "$TESSERA.B27", + "$TESSERA.B28", + "$TESSERA.B29", + "$TESSERA.B30", + "$TESSERA.B31", + "$TESSERA.B32", + "$TESSERA.B33", + "$TESSERA.B34", + "$TESSERA.B35", + "$TESSERA.B36", + "$TESSERA.B37", + "$TESSERA.B38", + "$TESSERA.B39", + "$TESSERA.B40", + "$TESSERA.B41", + "$TESSERA.B42", + "$TESSERA.B43", + "$TESSERA.B44", + "$TESSERA.B45", + "$TESSERA.B46", + "$TESSERA.B47", + "$TESSERA.B48", + "$TESSERA.B49", + "$TESSERA.B50", + "$TESSERA.B51", + "$TESSERA.B52", + "$TESSERA.B53", + "$TESSERA.B54", + "$TESSERA.B55", + "$TESSERA.B56", + "$TESSERA.B57", + "$TESSERA.B58", + "$TESSERA.B59", + "$TESSERA.B60", + "$TESSERA.B61", + "$TESSERA.B62", + "$TESSERA.B63", + "$TESSERA.B64", + "$TESSERA.B65", + "$TESSERA.B66", + "$TESSERA.B67", + "$TESSERA.B68", + "$TESSERA.B69", + "$TESSERA.B70", + "$TESSERA.B71", + "$TESSERA.B72", + "$TESSERA.B73", + "$TESSERA.B74", + "$TESSERA.B75", + "$TESSERA.B76", + "$TESSERA.B77", + "$TESSERA.B78", + "$TESSERA.B79", + "$TESSERA.B80", + "$TESSERA.B81", + "$TESSERA.B82", + "$TESSERA.B83", + "$TESSERA.B84", + "$TESSERA.B85", + "$TESSERA.B86", + "$TESSERA.B87", + "$TESSERA.B88", + "$TESSERA.B89", + "$TESSERA.B90", + "$TESSERA.B91", + "$TESSERA.B92", + "$TESSERA.B93", + "$TESSERA.B94", + "$TESSERA.B95", + "$TESSERA.B96", + "$TESSERA.B97", + "$TESSERA.B98", + "$TESSERA.B99", + "$TESSERA.B100", + "$TESSERA.B101", + "$TESSERA.B102", + "$TESSERA.B103", + "$TESSERA.B104", + "$TESSERA.B105", + "$TESSERA.B106", + "$TESSERA.B107", + "$TESSERA.B108", + "$TESSERA.B109", + "$TESSERA.B110", + "$TESSERA.B111", + "$TESSERA.B112", + "$TESSERA.B113", + "$TESSERA.B114", + "$TESSERA.B115", + "$TESSERA.B116", + "$TESSERA.B117", + "$TESSERA.B118", + "$TESSERA.B119", + "$TESSERA.B120", + "$TESSERA.B121", + "$TESSERA.B122", + "$TESSERA.B123", + "$TESSERA.B124", + "$TESSERA.B125", + "$TESSERA.B126", + "$TESSERA.B127", + "$TESSERA.B128", + "$SCALE.B1" + ] + } + } +} diff --git a/tessera/segmentation/.gitkeep b/tessera/segmentation/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..39bcb1f13d195e0c40dbaf1963d8398483ff678a --- /dev/null +++ b/tessera/segmentation/.gitkeep @@ -0,0 +1 @@ +Results saved by IRIS are stored below this folder.