custom-scripts

A repository of custom scripts that can be used with Sentinel-Hub services.

Built-up binary classifier mask

Show script or download it.

Evaluate and visualize

The linked evalscript runs a prediction by a LightGBM classifier on the area-of-interest on L2A data. The pixel-wise probabilities are compared against a 0.8 threshold. Pixels with probabilities above this threshold are considered built-up (assigned a value of one), while others are non-built-up (assigned a zero). The mask is then expressed as a blue-tinted mask on Sentinel-2 True Color.

For detailed information about the model read the blog post.

Author of the script

Matic Peńćovnik, Sinergise

Description of representative images

Built-up classifier mask script applied on Spodnja Savinjska Region, Slovenia.

Image taken on 29/06/2021.

Built-up classifier mask script applied on Spodnja Savinjska Region, Slovenia