Tree and tree height detection

An algorithm that detects trees in SPOT, Pléiades, or Pléiades Neo imagery and returns a probability map and the height of detected trees.


Overview

The algorithm identifies all pixels that are part of a tree and its shadow and calculates the heights of detected trees in SPOT, Pléiades, or Pléiades Neo display imagery. The results are the following:

  • A GeoTIFF file that maps the probability of each pixel being part of a shadow
  • A GeoTIFF file that maps the probability of each pixel being part of a tree
  • A GeoJSON file with polygons representing the heights of detected trees

Tree and tree height detection can be used for infrastructure vegetation risk monitoring, urban planning, and construction.

An input SPOT image of Paihuano (Chile)


A shadow probability map

A tree probability map

Detected tree height polygons drawn on the input image

See more on the marketplace.

Training data and accuracy

The algorithm has been developed using tens of thousands of semantically annotated images.

The accuracy is as follows:

  • On isolated objects, with the entire shadow on level ground: 1–2 m
  • In worse conditions: up to 8 m

Requirements for input imagery

Checkmark inline-icon The STAC item must be a display data product from one of the following collections: SPOT, Pléiades, or Pléiades Neo.

Checkmark inline-icon The STAC item must be CNAM-compatible. Check that the STAC item has been added to storage in 2023 or later.

Input parameters

Required parameters

Input imagery

You need to specify the STAC items you want to apply the process to.

Output title

You need to specify the title of the output objects. This title will be assigned to the resulting STAC item and STAC collection.

API input

Use the detection-trees-heights-spacept name ID for the processing API.

A sample input payload for the process

JSON

    {
  "inputs": {
    "title": "Processing imagery over Berlin",
    "item": "https://api.up42.com/v2/assets/stac/collections/21c0b14e-3434-4675-98d1-f225507ded99/items/23e4567-e89b-12d3-a456-426614174000"
  }
}

  
ParameterOverview
inputs.titleobject / required
The title of the output objects: STAC item and STAC collection.
inputs.itemobject / required
The STAC item link in the following format: https://api.up42.com/v2/assets/stac/collections/{collection-id}/items/{item-id}