iris-datasets / cloud-demo /project.json
csaybar's picture
Restore visible class zero labels
8ed3270 verified
Raw History Blame Contribute Delete
3.65 kB
{
"name": "cloud-segmentation",
"images": {
"path": {
"Sentinel2": "images/{id}/s2.tif"
},
"thumbnails": "images/{id}/thumbnail.png",
"metadata": "images/{id}/metadata.json"
},
"classes": [
{
"name": "Clear",
"colour": [
30,
155,
255,
135
],
"description": "All clear pixels, i.e. without cloud contamination or cloud shadows."
},
{
"name": "Thick Cloud",
"colour": [
255,
255,
0,
70
],
"description": "All cloudy pixels covered by thick clouds (does not include semi-transparent clouds or cloud shadows)."
},
{
"name": "Thin Cloud",
"colour": [
0,
255,
0,
70
],
"description": "Clouds that are semi-transparent, i.e. one can see land or sea surfaces through them. If a thin cloud lays over a thick cloud, please paint them with the <i>Thick Cloud</i> class."
},
{
"name": "Cloud Shadows",
"colour": [
255,
0,
0,
70
],
"description": "All pixels contaminated by cloud shadows (not terrain shadows)."
}
],
"views": {
"RGB": {
"type": "image",
"description": "Normal RGB image.",
"data": [
"$Sentinel2.B4",
"$Sentinel2.B3",
"$Sentinel2.B2"
],
"clip": 1
},
"NRGB": {
"type": "image",
"description": "Near-Infrared+GB image.",
"data": [
"$Sentinel2.B8*1.5",
"$Sentinel2.B3*1.5",
"$Sentinel2.B2*1.5"
]
},
"Snow": {
"type": "image",
"description": "Small ice crystals in high-level clouds appear reddish-orange or peach, and thick ice snow looks vivid red (or red-orange). Bare soil appears bright cyan and vegetation seem greenish in the image. Water on the ground is very dark as it absorbs the SWIR and the red, but small (liquid) water drops in the clouds scatter the light equally in both visible and the SWIR, and therefore it appears white. Water Sediments are displayed as dark red.",
"data": [
"$Sentinel2.B1",
"$Sentinel2.B11",
"$Sentinel2.B12"
]
},
"SWIR": {
"type": "image",
"description": "Short-wave infrared (B11). Clouds are bright, snow and water are dark.",
"data": "$Sentinel2.B11**0.8",
"cmap": "jet"
},
"SWIR-Edges": {
"type": "image",
"description": "Edges in the short-wave infrared band",
"data": "edges($Sentinel2.B11**0.8)*1.5",
"cmap": "gray"
},
"Edges": {
"type": "image",
"description": "Edges in the panchromatic bands",
"data": "edges($Sentinel2.B2+$Sentinel2.B3+$Sentinel2.B4)",
"cmap": "gray"
},
"Superpixels": {
"type": "image",
"description": "Superpixels in the panchromatic bands",
"data": "superpixels($Sentinel2.B2+$Sentinel2.B3+$Sentinel2.B4, sigma=4, min_size=100)",
"cmap": "jet"
}
},
"view_groups": {
"default": [
"RGB",
"Snow",
"SWIR"
]
},
"segmentation": {
"mask_area": [
64,
64,
448,
448
],
"score": "f1",
"unverified_threshold": 1,
"ai_model": {
"bands": null,
"train_ratio": 0.8,
"max_train_pixels": 20000,
"n_estimators": 20,
"max_depth": 10,
"n_leaves": 10,
"suppression_threshold": 0,
"suppression_filter_size": 5,
"suppression_default_class": 0,
"use_edge_filter": false,
"use_superpixels": false,
"use_meshgrid": false,
"meshgrid_cells": "3x3"
}
}
}