});

custom-scripts

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

SAR for deforestation detection

Show script or download it.

Evaluate and visualize

General description of the script

SAR for deforestation detection is a script for the Sentinel-hub EO-Browser, that uses the VV and VH bands of the Sentinel-1 and transforms the cartesian space of VV and VH to polar coordinates computing the length and angle of the resulting vector and also the area of the square defined by VV and VH. Then it uses the lenght of the vector as a classifier to discriminate between water, forest and soil.

The script paints in black the water and bare soil areas, and uses both the length and the angle to draw a scale for the forest (green) and soil (red), drawing a stronger green where more forest has been classified and a stronger red or black where more soil has been found.

The script only uses the VV and VH bands of the Sentinel-1, so it will identify bare soil as water (black) and is intended to be used in forested areas, returning strange results when used in populated areas.

Author

Antonio Carlón Paredes

Description of representative images

The images show several zones of Borneo, in areas affected by palm oil deforestation.

Example 1 Example 2 Example 3