This Model is made available under the CC-0 license.
Compute zero-mean values for polygon regions of interest (ROI) and count pixels below a threshold (default threshold: mean, can be adjusted by an offset). This model was developed for agricultural field trials (ROI were plots) but can be used in other contexts, too.
The algorithm computes the mean within each ROI, substracts it from the absolute values and additionally thresholds values above (was: below) at mean + thresho ld_offset
.
Useful to compare relative differences within ROIs, e.g. height differences of plant canopy within each field trial plot (derived from digital surface model DSM), independent of absolute height differences between plots (due to digial elevation DEM).
Inputs:
Outputs:
.meandiff.tif
with substracted means (zero mean per plot).meandiff_thresh.tif
with additionally thresholded layer.threshstat.gpkg
with statisticsAttention: this model converts the inputs to a common metric CRS (UTM, EPSG:25832), this is parametrised as default and needs to be changed, if you want to use a different one. Pixel sizes are set to 0.02 units (2cm in a metric system).
Development via repository qgis-agriculture, contains example data.
This Model is made available under the CC-0 license.