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.
Parameter | Overview |
---|---|
n_sieve_pixels | integer / 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_values | array of objects / required A list of a dictionary with vegetation types and corresponding threshold values. The default values:
|
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"]
},
"pansharpen:1": {
"bbox": null,
"method": "SFIM",
"contains": null,
"intersects": null,
"clip_to_aoi": false,
"include_pan": false
},
"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
raster
up42_standard | |
---|---|
bands | [
"ndvi"
] |
dtype | float |
format | GTiff |
Output
raster
up42_standard | |
---|---|
dtype | uint8 |
format | GTiff |
To know more please check the block capabilities specifications.