NDVI Threshold

Differentiates NDVI values into vegetation classes.


Analytics platform discontinued after January 31, 2024

The current analytics platform will be discontinued after January 31, 2024, and will be replaced by new advanced processing functionalities. This change will affect projects, workflows, jobs, data blocks, processing blocks, and custom blocks. For more information, see the blog post.

Description

A processing block that performs the thresholding of Normalized Difference Vegetation Index (NDVI) values and assigns each generated group to a vegetation type.

See this block on the marketplace.

How it works

This block applies thresholding for NDVI values. This block classifies the NDVI values previously generated with processing blocks such as NDVI. However, other similar NDVI blocks from the marketplace can be used with this block.

ParameterOverview
n_sieve_pixelsinteger / required
Number of connected pixels (small polygon) that will be replaced in the output with the value of their largest neighbor. The default value is 5.
threshold_valuesarray of objects / required
A list of a dictionary with vegetation types and corresponding threshold values. The default values:
  • no_vegetation — 0.2
  • dense_vegetation — 0.9
  • sparse_vegetation — 0.4
  • moderate_vegetation — 0.6

Compatibility

Catalog collections

Use in combination with Processing from Storage.

Example

A workflow with the following blocks:

{
  "up42-processing-from-storage:1": {
    "asset_ids": ["00210895-5405-4c0r-9bca-ccca551776f9"]
  },
  "ndvi:1": {
    "output_original_raster": true
  },
  "up42-ndvithreshold:1": {
    "n_sieve_pixels": 5,
    "threshold_values": [
      {
        "no_vegetation": 0.2,
        "dense_vegetation": 0.9,
        "sparse_vegetation": 0.4,
        "moderate_vegetation": 0.6
      }
    ]
  }
}

Capabilities

Input

Output

To know more please check the block capabilities specifications.