, Cosmos1
Introduction
Remote sensing-based spectral diversity has emerged as a scalable proxy for field-measured biodiversity [1-4], grounded in the Spectral Variation Hypothesis, which posits that greater spectral heterogeneity in remotely sensed imagery reflects greater ecological diversity on the ground [5]. While studies have examined methodological choices known to influence spectral diversity mapping performance [6,7], the effect of input feature type, specifically the choice between spectral bands, Principal Component Analysis (PCA) transformed spectral bands, and spectral indices (SI), has not been empirically tested. The biodivMapR package [8] implements the spectral species concept for biodiversity mapping and acknowledges both PCA-transformed bands and SI as valid input options, but provides no firm recommendation, explicitly calling for users to test and compare approaches against ground observations [9]. Within the FOSS4G ecosystem, reproducible biodiversity monitoring workflows based entirely on open data and open-source software remain under-evaluated, particularly with respect to methodological parameterisation choices. To address this gap, we compare three spectral diversity computation approaches across three ecologically distinct hemi-boreal forest sites in Estonia and validate them against field-measured tree species diversity. We aim to address two research questions: (1) Does PCA-based dimensionality reduction produce stronger correlations with field-measured tree species diversity than non-PCA spectral bands or SI used as biodivMapR inputs? (2) Are results consistent across ecologically distinct hemi-boreal forest sites?
Methods
We selected three study sites representing characteristic hemi-boreal landscape types in Estonia: Otepää, a glacial moraine upland characterised by mixed nemoral forests dominated by spruce (n = 3,758 plots); Soomaa, a peatland and floodplain forest complex dominated by pine, birch, and alder with extensive bog-forest mosaics (n = 10,259); and Rapla, a lowland managed forest mosaic representative of intensively managed hemi-boreal production forests (n = 4,322). We filtered forest inventory validation plots using a morphological erosion criterion, retaining only plots with a minimum residual area of 900 m² after applying a 30-metre inward buffer, to exclude geometrically irregular or insufficiently large plots where moving-window diversity estimates would be strongly influenced by non-forest edge pixels. We pre-processed the Sentinel-2 imagery from the Copernicus Open Access Hub using open-source geospatial libraries in Python. We masked forests prior to spectral diversity computation, ensuring analysis was restricted to forested areas across all sites.
We compared three approaches: (1) PCA applied to ten Sentinel-2 bands, with the first three principal components used as input features for Shannon spectral diversity mapping; (2) bands without dimensionality reduction (non-PCA); and (3) a set of three ecologically relevant SI - Normalised Difference Vegetation Index (NDVI), Normalised Difference Water Index (NDWI), and Leaf Area Index proxy derived from Soil-Adjusted Vegetation Index (LAI-SAVI), derived from the same Sentinel-2 bands. Shannon alpha-diversity was computed using a moving window of three pixels (30 m × 30 m) across tiled processing grids, with mosaicked outputs validated against field-measured tree species Shannon diversity using Spearman rank correlation. The effect of inter-quartile range (IQR) outlier filtering, an internal biodivMapR preprocessing step that masks pixels whose spectral values fall outside Q1 - 4 × IQR or Q3 + 4 × IQR, was additionally assessed by comparing results with and without this filtering applied. The entire workflow was implemented using open Sentinel-2 imagery and the open-source R package biodivMapR, ensuring full methodological transparency and reproducibility within the FOSS4G ecosystem.
Results
PCA-based spectral diversity consistently achieved the highest correlation with field-measured tree species diversity across all three sites, outperforming both the SI and spectral band approaches. The performance advantage of PCA was modest but consistent across sites. SI outperformed spectral bands at two of three sites. IQR filtering produced no consistent improvement across sites or methods. Pixel-level analysis confirmed that IQR masked fewer than 1.4% of pixels in the pre-masked forest-only imagery, regardless of site or method.
Discussion
Results indicate a moderate relationship between spectral and field-measured diversity across all methods and sites. While remote sensing-derived spectral diversity cannot serve as a standalone biodiversity indicator at this spatial resolution [1,4], it provides a reproducible, scalable, and open-source means of monitoring relative diversity patterns across landscapes.
The modest but consistent advantage of PCA over spectral indices reflects its ability to condense spectral variance across correlated bands into uncorrelated components, reducing noise while retaining biodiversity-relevant signal. This comes at the cost of additional processing overhead and user-guided component selection, which limits full workflow automation. SI, by contrast, are theoretically grounded, computationally efficient, and directly interpretable, making them a practical alternative for large-area applications where automation and transferability are priorities. Spectral bands alone are not recommended due to band collinearity, increased spectral noise. The negligible effect of IQR filtering suggests that, in pre-masked forest-only imagery, this step may not be necessary. The ecological significance of the pixels removed warrants further attention.
Conclusions
We evaluated three input feature approaches for spectral diversity mapping in hemi-boreal forests using Sentinel-2 and biodivMapR, validated against field-measured tree species diversity across three ecologically distinct sites. PCA consistently outperformed spectral bands and SI, though the advantage was modest. SI represent a practical open-source alternative for large-area applications where computational efficiency is a priority. We identify integration of complementary environmental predictors is identified as a priority for future work, as we expect it to strengthen this relationship. Because the workflow relies exclusively on open data and tools, it transfers directly to other forest ecosystems without licensing constraints. All scripts and parameter configurations will be made openly available to support reproducible biodiversity monitoring.
References
[1] Fassnacht, F.E. et al., 2022. About the link between biodiversity and spectral variation. Appl. Veg. Sci. 25, e12643.
[2] Rocchini, D. et al., 2021. rasterdiv: An Information Theory tailored R package for measuring ecosystem heterogeneity from space. Methods Ecol. Evol. 12, 1093–1102.
[3] Torresani, M. et al., 2024. Reviewing the Spectral Variation Hypothesis: Twenty years in the tumultuous sea of biodiversity estimation by remote sensing. Ecol. Inform. 82, 102702.
[4] Wang, R., Gamon, J.A., 2019. Remote sensing of terrestrial plant biodiversity. Remote Sens. Environ. 231, 111218.
[5] Palmer, M.W. et al., 2002. Quantitative tools for perfecting species lists. Environmetrics 13, 121–137.
[6] Robertson, K.M. et al., 2023. Effects of Spatial Resolution, Mapping Window Size, and Spectral Species Clustering on Remote Sensing of Plant Beta Diversity. J. Geophys. Res. Biogeosciences 128, e2022JG007350.
[7] Schmidtlein, S., Fassnacht, F.E., 2017. The spectral variability hypothesis does not hold across landscapes. Remote Sens. Environ. 192, 114–125.
[8] Féret, J., De Boissieu, F., 2020. biodivMapR: An r package for α‐ and β‐diversity mapping using remotely sensed images. Methods Ecol. Evol. 11, 64–70.
[9] Féret, J., De Boissieu, F. (n.d.). biodivMapR: Produce diversity maps from optical images. https://jbferet.github.io/biodivMapR/articles/biodivMapR_02.html