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

Deep BAIS2 Script

Show script or download it.

Evaluate and visualize

General description of the script

The raw data for Burned Area Index for Sentinel 2 (BAIS2) has been extracted using a custom script via Sentinel Hub’s Feature Info Service (FIS). It performs elementary statistical computations - such as mean, standard deviation, etc. approximating the distribution of reflectance values - on remotely sensed data for a region specified in a given spatial reference system across different bands and time ranges.

The next subsections describe the different stages of the methodology for data handling, performing the prediction and visualizing the prediction results.

EOPatches are created and manipulated using EOTasks, which are then chained in an EOWorkflow. The following workflow is created and executed:

Once all the EOpatches are extracted, we visualize the following:

The obtained data is pre-processed and prepared for training for which we create a new workflow that performs the following preprocessing:

The complete data array is split to train and test sets in the ratio 0.7 Additional variables Normalized Difference Vegetation Index (NDVI), Normalized Difference Water Index (NDWI), Normalized Difference Built up Index (NDBI) are also used as features during the training process.

The data is fit on a LightGBMRegressor().

Details of the script

Burnt Area Index for Sentinel 2 (BAIS2) is the index that highlights burned land in the red to near-infrared spectrum, by emphasizing the charcoal signal in post-fire images. The index is computed from the spectral distance from each pixel to a reference spectral point, where recently burned areas converge. Brighter pixels indicate burned areas.

A Burned Area Prediction Regression model has been developed in the form of a custom script for the Sentinel Hub EOBrowser, using Sentinel-2 MSI reflectance measurements in the short and near infrared wavebands as inputs.

Intents & Motivations

Change detection from multi-temporal remote sensing images is an effective way to identify the burned areas during and after wildfires. With the recent development of more improved models for the detection and prediction of Burned Area Index for Sentinel 2 (BAIS2), the severity of the wildfire can be anticipated so that adequate measures can be taken. This machine learning model can be deployed in a custom script format and visualised in Sentinel Hubís EOBrowser tool.

False Detection Problems (If Any)

The complex image scenario and the similar spectral signatures in multispectral bands may lead to many false positive errors, which make it difficult to exact the burned areas accurately.

More details are available in the supplementary material.

Authors of the script

Roshni Biswas, Anurag Saha Roy

Description of representative images

The Burn Area Index for Sentinel 2 (BAIS2) uses the reflectance values in the red and NIR portion of the spectrum to identify the areas of the terrain affected by fire.

BAI = 1/((0.1 -RED)^2 + (0.06 - NIR)^2)

The images here are in grayscale. They represent predicted vs actual data.

Deep BAIS2 script result


[1] Chuvieco, E., M. Pilar Martin, and A. Palacios. “Assessment of Different Spectral Indices in the Red-Near-Infrared Spectral Domain for Burned Land Discrimination.” Remote Sensing of Environment 112 (2002): 2381-2396.” (ESRI, 2018)