Submitted:
18 November 2026
Posted:
20 November 2026
You are already at the latest version
Abstract
Juniper encroachment into mountain pastures needs monitoring. It can be mapped with affordable unmanned aerial systems (UAS) using photogrammetry and laser scanning, and the raw data can be processed in a simple, reproducible workflow. However, juniper is difficult to separate from surrounding vegetation (grass and trees) when only spectral data are classified. This study assesses how far height information from light detection and ranging (LiDAR) improves pixel-based classification of juniper in pastures of the Central Balkan National Park (Peshova Maka locality), Bulgaria. Multispectral images in four bands, green (G), red (R), red-edge (RE) and near-infrared (NIR), from June and September and a LiDAR point cloud from September were used. A Support Vector Machine (SVM) classification was followed by a Sieve filter and a rule based on the normalized digital surface model (nDSM), which assigns the class of vegetation pixels by height, including in tree shadow, with thresholds derived from the training polygons only. Against reference manual mapping of juniper (880 polygons), the F1 score for juniper increased from 43.0 to 76.5% in June and from 60.5 to 80.0% in September, and the area bias was -0.8 and +1.4%. After the shadow correction, the choice between SVM and Random Forest (RF) changed the F1 score by at most 0.1 percentage points. The study covers one site and two dates. The lower nDSM threshold was calibrated separately for each date and differed by 0.18 m between June and September; this difference was not verified in the field. The sensitivity of the shadow correction to its threshold was not tested, and the reference mapping was digitized on the September orthophoto. The approach therefore needs testing at other sites and in other years.
Keywords:
UAS
; LiDAR
; nDSM
; juniper
; mountain pastures
; pixel‐based classification
; SVM
; Random Forest
1. Introduction
Protected areas are a key instrument for conserving biodiversity and natural resources and for implementing nature conservation policies [1]. Mountain pastures and meadows occupy the treeless ridge zones of the mountains and consist mainly of natural and semi-natural grass and shrub communities. They provide erosion control, snow retention and water regulation, and their condition directly affects biodiversity [2]. In the Central Balkan National Park, they cover 27,801.1 ha and are a habitat of species of conservation concern, among them the European ground squirrel (Spermophilus citellus) [2,3]. The well-being of this species depends on livestock grazing: ground squirrels need open pasture habitats, and excessive grazing can threaten it [4].
One of the dominant shrub species in the treeless ridge areas of the park is the Alpine juniper (Juniperus communis subsp. alpina), whose area has expanded in recent years [2]. The encroachment of shrubs and trees into grass communities has also been studied with unmanned aerial systems (UAS). A study of a subalpine grassland shows the advantages and limitations of UAS images for mapping encroaching woody vegetation [5], and other authors used multispectral and RGB drone images taken from a height of 40-50 m to estimate the density and canopy cover of western juniper (Juniperus occidentalis) in treated and untreated watersheds [6]. Shrub encroachment is considered a cause of pasture degradation in other regions as well [7]. This calls for detailed mapping of juniper with a method that can be applied repeatedly and thus provide a basis for monitoring change over time.
UAS are increasingly used to monitor vegetation and pastures with various sensors [8,9,10,11]. Vegetation indices derived from UAS images are one of the most accessible ways to extract information on vegetation [12]. RGB, multispectral and hyperspectral UAS images and vegetation index maps, combined with various classification algorithms, have been applied successfully to related tasks: binary classification of canopy and non-canopy [13], classification of three types of ground cover [14], and classification of land use and land cover [6,15,16,17]. Commonly used vegetation indices are the normalized difference vegetation index (NDVI), the green NDVI (GNDVI) and the normalized difference water index (NDWI) [18,19], and in some studies they are combined with a digital surface model (DSM) [15,20]. Combined with machine learning, they are applied to classify pastures and assess their condition, including in Bulgaria [11]. The choice of algorithm depends on site conditions, available data and the spectral similarity of the classes [21,22,23]. The Support Vector Machine (SVM) is a machine learning algorithm based on statistical learning theory [24]; it is used to classify sensor data and generalizes well even with a limited number of training samples [22,25]. It is among the most frequently used algorithms for classifying pastures [11,26,27,28]. Classifications can be pixel-based or object-based (GEOBIA): in the preliminary assessment of Prošek and Šímová [30] the pixel-based approach gave considerably worse results, whereas in mapping tree encroachment in a subalpine grassland it was more accurate than the object-based approach and faster [5]; GEOBIA combines remote sensing, image analysis and geographic information systems (GIS) [29]. An open-source procedure for land cover classification from UAS images with the Orfeo ToolBox (OTB) was presented by De Luca et al. [15] and serves as the basis of the present study.
Spectral information, however, is not always sufficient to separate shrubs from grass when they form a mixed mosaic of small patches. Juniper and grass have similar spectral characteristics [15,30], and shadows from tall vegetation and different illumination in different seasons contribute to juniper being misclassified as grass and vice versa [6,15]. Additional information on vegetation height can help to separate them. Height information in the form of a normalized digital surface model (nDSM) improves classification accuracy, including for vegetation types that are hard to tell apart [31]. In mapping shrub vegetation at the level of shrub species and meadow types, adding an nDSM obtained by Structure from Motion (SfM) photogrammetry to multispectral images raised the overall accuracy from 73.3% to 88.2%. The improvement was largest for meadows, which a purely spectral approach often classifies as shrubs: their accuracy rose from 48.7% to 92.1% [30]. In detecting shrubs encroaching into grass communities, combining spectral data with the height difference between a DSM and a terrain model gave a higher accuracy (90.0%) than either approach alone (84.5% and 78.4%) [32]. At the same time, the quality of an nDSM depends on the accuracy of the surface models, which is determined by the survey and processing parameters [33]. Quality control of the height data and calibration of the threshold for each DSM are therefore integral parts of the method.
A threshold approach on spectral and textural indicators of the height model has been used to extract shrubs from grass vegetation [34], and normalization of a photogrammetric point cloud with a terrain model from laser scanning has been used to classify forest fuels [35]. To our knowledge, the combination of a photogrammetric DSM and an independent terrain model from light detection and ranging (LiDAR), with threshold calibration by month, has not been applied to separate juniper from grass in mountain pastures, and the result has not been evaluated against reference manual mapping of all juniper in the plot. A search in Scopus and Web of Science on 12 November 2026 found no such study. The present work uses a pixel-based approach that builds on the procedure of De Luca et al. [15] and tests how far its limitations can be compensated by a rule based on height in the nDSM. The aim of the study is to classify land cover in a test plot on the ridge of the Balkan Mountains (Peshova Maka, 10.36 ha) and to determine the distribution and area of juniper and grass communities, assessing how far height information improves pixel-based classification.
To achieve this aim, the following tasks were carried out: (1) classification of five classes (juniper, trees, grass, roads and artificial objects) from multispectral UAS images from June and September with the SVM and Random Forest (RF) algorithms in OTB; (2) post-processing of the resulting maps: a Sieve filter to remove isolated pixels and a height rule that separates juniper, grass and trees by nDSM values, with thresholds determined from the training polygons for each month; (3) assessment of the result with validation polygons and against reference manual mapping of all juniper in the plot (880 polygons); (4) comparison of the results between the two months and assessment of the influence of DSM quality.
2. Materials and Methods
The workflow is shown in Figure 1. The bands of the multispectral orthomosaics (G, R, RE and NIR) and the DSMs obtained by SfM photogrammetry for June and September were resampled to a pixel size of 10 cm and aligned to a common pixel grid in the EPSG:32635 coordinate system, so that the pixels of all layers coincide. The digital elevation model (DEM) was derived from the September LiDAR point cloud: noise was removed, ground points were separated with the cloth simulation filter (CSF) [36], the surface was reconstructed and rasterized at 20 cm, and the DEM was then resampled to 10 cm. The height above the terrain (nDSM) is the difference between the DSM for the respective month and the DEM. The five-class classification is pixel-based and was carried out in the OTB with the SVM and RF algorithms. Training used 70 polygons on the composite raster F0 (G, R, RE, NIR), hereafter composite F0, and, for SVM only, on the composite raster F1 (F0 with NDVI added), hereafter composite F1. The resulting maps were processed with a Sieve filter (threshold of 25 pixels) and with an nDSM rule that assigns the class of vegetation pixels (juniper, trees and grass) by height, including a shadow correction. The thresholds of the rule were determined from the training polygons only. Accuracy was assessed with 108 validation polygons and against reference manual mapping of all juniper in the plot (880 polygons). The individual steps are described in detail in the following subsections.
2.1. Materials
2.1.1. Study Area
The Central Balkan National Park is located in central Bulgaria and covers the highest parts of the Central Balkan Mountains (Stara Planina). The total area of the park is estimated at 72,021.1 ha, of which 61% is forest and the remaining 39% is high-mountain pastures and meadows [2].
The study area is the Peshova Maka locality on the ridge of the Troyan part of the Balkan Mountains. The test plot surveyed with the UAS covers about 10.9 ha (10.36 ha within the valid mask, Section 2.1.3), lies at an elevation of about 1500 m and is divided between the municipalities of Karlovo (Plovdiv Province) and Troyan (Lovech Province) (Figure 2). The climate is mountainous and characterized by lower temperatures, high cloudiness and precipitation, a long and persistent snow cover and strong winds (up to 30 m/s) [2]. The soils in the area are umbrisols [37], and the territory is covered predominantly by grass and shrub species and, to a lesser extent (mainly in the western part), by trees. The predominant shrub species is the Alpine (dwarf) juniper (Juniperus communis subsp. alpina). The study was carried out on pastures and meadows used for grazing livestock [37].
2.1.2. Data Acquisition
The data were acquired with two UAS from DJI: the Mavic 3 Multispectral (Mavic 3M) for RGB and multispectral images, and the Matrice 350 RTK with a LiDAR and RGB camera (Zenmuse L2) for colorized point clouds (Figure 2b, c). The Mavic 3M records in four multispectral bands, G, R, RE and NIR (sensor 2592 × 1944 px, focal length 4.34 mm), and with an RGB camera (focal length 12.29 mm, sensor 5280 × 3956 px). The survey was carried out in two periods: late spring (June) and late summer to early autumn (September) (the September flights with the Mavic 3M and with the L2 were on 12 September 2024; the June flight was on 12 June 2024). The flight parameters of the Mavic 3M were: height 77 m above the terrain (constant height above the terrain for a uniform image scale; the same flight project for both months), speed 7 m/s, forward overlap 80% and side overlap 70%, and a ground sampling distance (GSD) of the multispectral images of 3.55 cm for each band in both months; the survey was carried out in sunny, cloudless weather. The RGB images for the orthophoto were acquired in a separate RGB-only flight at a height of about 60 m, with a nominal GSD of 1.62 cm and the same overlap.
The multispectral images were processed in DJI Terra 4.2.5 into orthomosaics for each band, without reflectance calibration. For both months the orthomosaics were generated with a pixel size of 5 cm. The September RGB orthophoto has a pixel size of 2 cm (produced in Pix4Dmapper 4.6.4) and was used to select and digitize the polygons (training, validation and polygons for all juniper).
The processing used the image coordinates from the RTK receiver of the Mavic 3M and the precisely computed trajectory for the LiDAR (PPK with a local base station). In the aerial triangulation of all images, direct georeferencing was applied with one control point in the central part of the test plot (Figure 3), which was also used in the LiDAR processing; the other points serve only to check accuracy.
The DSMs were obtained by SfM in DJI Terra 4.2.5 from the RGB images of the Mavic 3M for the respective month, with a cell size of 5 cm. Both DSM were resampled to a pixel size of 10 cm by averaging (Average). The DSM describes the surface of the vegetation, and the LiDAR DEM describes the ground surface.
Laser scanning was carried out only in September with a Zenmuse L2 sensor mounted on a DJI Matrice 350 RTK. The flight was conducted at a constant height of about 63 m above the terrain and at a speed of about 4.9 m/s; the pulse rate was 240 kHz. The trajectory was processed with the PPK (post-processed kinematic) method with a local base station; one control point was set in DJI Terra (2004, the same one used in the processing of the multispectral and RGB images). The point cloud was processed in DJI Terra 4.2.5 with an effective point distance of 3-150 m, with optimization and smoothing of the cloud enabled; the mean density is about 1200 points/m². The automatic point classification in DJI Terra assigns a considerable number of shrubs to the ground class, so the DEM was generated additionally in CloudCompare (v. 2.12.2) from the point cloud processed in DJI Terra: (1) noise was removed; (2) ground points were separated from vegetation with the cloth simulation filter (CSF) [36]; (3) a DEM with a cell size of 20 cm was derived from them.
2.1.3. Data Processing and Derived Products
All raster layers (orthomosaic bands, DSM and DEM) were converted with GDAL Warp to the same raster grid: coordinate system WGS 84 / UTM zone 35N (EPSG:32635), pixel size 10 cm and identical origin and extent of the grid (2644 × 4133 pixels; option -tap). In this way the pixels of all layers coincide one to one and can be combined pixel by pixel. Averaging (Average) was used for the bands and the DSM (5 cm), and bilinear interpolation (Bilinear) for the DEM (20 cm). Resampling does not add information; it only brings the layers to the common grid. The no-data value (NoData) is -9999.
The NDVI = (NIR - R) / (NIR + R) was calculated from the bands of the common raster grid for each month [38]. The indices generated by DJI Terra were not used, so that they would all be computed by the same formula from the averaged bands of the grid. The normalized digital surface model was calculated as nDSM = DSM - DEM. For each month, the DSM of the same month was used, while the DEM is the same one (from LiDAR, September), because the ground surface that underlies the vegetation does not change between the months (Figure 4).
The nDSM has negative values in some groups of trees (below -1 m for 0.10% of the valid pixels in June and 0.07% in September). They result from an error in the DSM or DEM under a dense crown and do not reflect a real height. Therefore, the nDSM was used only for post-processing (the rule in Section 2.2.3) and not as a channel in training.
The common mask includes the pixels with data in all layers for both months; its area is 103,645 m² (10.36 ha). All classifications and assessments are made only inside it.
2.1.4. Orfeo ToolBox
The OTB is an open-source project for processing high-resolution optical, multispectral and radar images and offers a wide range of applications, including image classification [39]. In this study OTB was integrated into QGIS 3.40 through the Processing Toolbox and the Orfeo ToolBox Provider plugin (OTB 9.1.1). The applications ConcatenateImages, ComputeImagesStatistics, TrainImagesClassifier and ImageClassifier were used for the classification with SVM and RF (Section 2.2.2). The Sieve filter, the nDSM rule and the shadow correction were applied with GDAL in QGIS, and the error matrices and accuracy measures were computed with Python (GDAL, NumPy); the results agree with those of OTB ComputeConfusionMatrix.
QGIS 3.40 (GDAL 3.11–3.12) and Python 3.12 with NumPy 1.26 were used on different workstations. The analysis code is available from the authors on reasonable request (see Data Availability Statement). Generative AI (Claude, Anthropic) was used to assist with Python scripting and translation; its full scope of use is described in the Acknowledgments.
2.2. Methods
2.2.1. General Scheme and Classes
The pixels are assigned to five land cover classes: juniper (1), trees (2), grass (3), road (4) and artificial objects (5). The classification is pixel-based: each pixel is assigned to a class by the values of the bands in the multiband raster, without object analysis.
The data for June and for September were processed with the same sequence of steps (Figure 1). Two composite rasters were built from the spectral bands with OTB ConcatenateImages: composite F0 (G, R, RE, NIR) and composite F1 (F0 + NDVI), with a fixed band order. For each raster, statistics (mean and standard deviation per band, excluding NoData) were computed with ComputeImagesStatistics for normalization in training. The classifiers were trained on the training polygons (Section 2.2.2) and applied only inside the common mask. The result is a classified raster (a map with the five classes, 1-5), in which 0 is outside the mask. The classification is followed by post-processing (Section 2.2.3) and accuracy assessment (Section 2.2.4).
2.2.2. Classification
Training polygons. The training polygons were selected on the basis of the orthophoto and are the same for both months (Figure 5a). 70 polygons were selected (Table 1), covering 1.82% of the total area of the plot. More polygons were selected for juniper and grass because they are the focus of the study and the predominant classes in the plot.
Application of SVM and RF. SVM. The Support Vector Machine is a non-parametric method for supervised classification: during training it searches for a boundary between the classes in the space of the spectral bands that is at the greatest distance from the nearest training pixels (the support vectors) [24,25]. For classes that are not linearly separable, such as juniper and low grass, a radial basis function (RBF) kernel was used, described by Equations (1) and (2) below. Training was carried out with the OTB application TrainImagesClassifier (libsvm [40]); the multiclass task is solved by pairs of classes with voting (the "one-against-one" scheme of libsvm), and the bands were normalized with the mean and standard deviation from ComputeImagesStatistics. The parameters C and gamma were selected automatically by OTB through a grid search with cross-validation on the training pixels; this differs from the linear kernel with the default C = 1 applied in De Luca et al. [15]. OTB does not write the value of C to the model file, so it is not reported (the model parameters for June are in Section 3.2).
For each pixel, SVM makes a decision from the vector x of its band values. For two classes the decision is the sign of the decision function:
where P is the number of support vectors, xi is the i-th support vector, ai are the learned coefficients (the product of the Lagrange multiplier and the class of the support vector), b is the offset, and K is the kernel function K(x, xi), which measures the similarity between x and xi [24]. The RBF kernel used is:
where γ determines the range of influence of each support vector, and the parameter C (regularization parameter) determines the trade-off between the width of the boundary between the classes and the number of misclassified training pixels allowed. With a larger C, errors are tolerated less and the boundary follows the training pixels more closely (a risk of overfitting); with a smaller C it is smoother.
RF. Random Forest is an ensemble of decision trees, each trained on a random sample with replacement (bootstrap) of the training pixels and with a random subset of the bands at each node; the class of a pixel is determined by a vote of the trees [41]. 300 trees were used, with a maximum depth of 20, a minimum of 10 samples per node and a termination accuracy threshold of 0.01; the other OTB parameters are the defaults. RF was applied only to composite F0, because with SVM adding NDVI (composite F1) changes the overall accuracy by no more than 0.4 percentage points (Section 3); RF serves to check the robustness of the conclusions with respect to the choice of classifier.
General training settings. An equal number of pixels is used for each class, sampled to the smallest class (2681 pixels per class), so that the larger classes do not dominate. Ten percent of the pixels are set aside for internal checking; it is not an independent assessment, because pixels from one polygon are similar. The random selection is fixed (seed 42), and the models were saved so that the results can be reproduced.
2.2.3. Post-Processing
Three post-processing steps were applied after the classification. First, a Sieve filter (GDAL) merges groups of fewer than 25 connected pixels (0.25 m²) into the neighboring largest group and removes the "salt and pepper" effect. Pixels are considered connected when they touch by a side or a corner (eight neighbors). The threshold was chosen in advance; sensitivity to it was checked with 10 and 50 pixels (Table S1 in the Supplementary Materials). Second, an nDSM rule was applied, designed to separate juniper from grass, whose spectral characteristics are close, and to return to the class "trees" the pixels wrongly assigned to grass or juniper. The rule is a conditional reclassification of each pixel by its nDSM value and was applied by raster algebra (GDAL) to the classified raster and the nDSM raster. It is applied only to pixels classified as juniper (1) or grass (3); the classes trees (2), road (4) and artificial objects (5) are unchanged (Table 2). Third, the shadow correction extends the same rule to the class "trees" (below).
The thresholds were determined separately for each month and from the training polygons only. The lower threshold T was chosen so as to separate juniper from grass as well as possible: for each value of T, the share of juniper pixels above T and the share of grass pixels below T (in the training polygons) were calculated, and the value of T was taken at which the mean of the two shares (the balanced accuracy) is highest. The values of T and of the balanced accuracy are given in Section 3.3 (Figure 8). T differs between the two months because the nDSM level above the grass differs (Table 6). This may be due to a vertical offset between the SfM DSM and the LiDAR DEM, which is not the same in the two months, and to a change in grass height between the months (Section 4.1). The sensitivity to T was checked in Table S2 in the Supplementary Materials.
The upper threshold (1.5 m) is above the maximum nDSM in the training polygons of juniper (Section 3.3). It was determined by visual inspection of the maps and returns to the trees the pixels wrongly assigned to grass and juniper. The lower thresholds were not tuned on the reference manual mapping (Section 2.2.4). Pixels with nDSM < -1 m (in groups of trees; the share is given in Section 3.3) are left unchanged, because the height there is not reliable. The nDSM was not used as a channel in training, so that the contribution of height through the rule could be assessed separately; in addition, in groups of trees the nDSM has negative values (Section 2.1.3) that do not reflect a real height.
Shadow correction. After the two-threshold rule, the class "trees" still contains pixels with tree shadows and with shadows on dark juniper shrubs, because the classifier has no "shadow" class and the training polygons of trees are only on tall crowns. The LiDAR height does not depend on shadow, so the same rule (Table 2) is also applied to the pixels classified as trees: nDSM > 1.5 m, tree; > T and ≤ 1.5 m, juniper; ≥ -1 m and ≤ T, grass; < -1 m, unchanged. Road (4) and artificial objects (5) are unchanged, and no new parameters are introduced: T and 1.5 m are the same. A simpler variant was also tested, in which only "tree" pixels with nDSM ≤ T become grass, and those with nDSM between T and 1.5 m remain trees. With it the juniper area does not change (11.6 and 11.5%) and remains underestimated relative to the reference manual mapping, so this variant was not used.
2.2.4. Accuracy Assessment
Accuracy was assessed for five stages of processing of the classified raster, identical for both months: (1) the classifier only; (2) the classifier and the Sieve filter; (3) a rule with the upper threshold only is applied to the result of (2) (pixels of class 1 or 3 with nDSM > 1.5 m are assigned to trees); (4) the two-threshold rule, with the upper (1.5 m) and lower (T) thresholds, is applied to the result of (2) (Table 2); (5) the shadow correction is applied to the result of (4). Each stage was assessed against two reference datasets independent of training, for both months and for all models (SVM on composite F0 and composite F1, RF on composite F0). The assessment takes the form of an error matrix (confusion matrix): the rows are the reference classes, the columns are the classes in the map, and each cell contains the number of pixels that fall into the respective combination. For the validation polygons the matrix is 5 × 5 (the five classes), and for the reference manual mapping of juniper it is 2 × 2 (juniper / other).
Validation polygons. For each of the five classes, polygons that do not overlap the training polygons were selected (Table 3, Figure 5a). They were rasterized on the same 10 cm grid (187,754 pixels) and are the same for all maps.
The overall accuracy (OA), the Kappa coefficient [42,43], the producer's accuracy (PA, the share of reference pixels classified correctly) and the user's accuracy (UA, the share of mapped pixels that truly belong to the class) [44] were calculated. Matrices were computed with Python (GDAL, NumPy) and agree with the result of OTB ComputeConfusionMatrix. For juniper, assessed against the reference manual mapping as a binary "juniper / other" task, the F1 score, the IoU and the area bias were also calculated. The F1 score is the harmonic mean of PA and UA, F1 = 2 × PA × UA / (PA + UA); it is high only when both measures are high, i.e. it accounts for both missed and added juniper. The IoU (Intersection over Union) is the share of the intersection in the union of the mapped and reference juniper, IoU = TP / (TP + FP + FN) = F1 / (2 - F1). The area bias is (FP - FN) / (TP + FN), where TP are the pixels mapped as juniper and belonging to the reference manual mapping, FP are those mapped as juniper but outside the reference manual mapping, and FN are the pixels of the reference manual mapping that are not mapped as juniper; a positive value means overestimation of the class area. Pixels are spatially correlated, so no significance tests were applied (e.g. McNemar at the pixel level), and differences between variants are interpreted descriptively.
Reference manual mapping of juniper. The validation polygons were selected purposively, not by random sampling, and do not cover the whole area. For a real assessment of the method over the whole test plot, and not over a sample, a layer of 880 polygons was digitized manually (Figure 5b), covering all visible juniper within the valid mask. The polygons of the reference manual mapping were drawn on the September RGB orthophoto (2 cm) and rasterized by the pixel center rule. The comparison is binary (juniper versus all other classes) on the pixels outside the training polygons. PA, UA, F1 score, IoU, Kappa and the area bias of the map relative to the reference were calculated. This layer was not used for tuning thresholds.
The final result is the map generated after the last of the five processing stages (classification, Sieve, upper threshold, two-threshold rule, shadow correction), i.e. after the shadow correction. It is applied in the same way for June and for September, with a different lower threshold T for each month (0.25 m and 0.07 m). The results of the five stages are compared in Section 3.
3. Results
3.1. Accuracy of the Raster Products
The accuracy of the digital models was assessed with six independent check points (2001, 2002, 2003, 2005, 2006 and 2007) that were not used in the processing (Table 4). Point 2004 was the only control point and was used for georeferencing in all processing variants (RTK/PPK). For the SfM DSM, the height RMSE is 6.4 cm in June and 5.5 cm in September, and the horizontal RMSE is 5.7 and 9.8 cm; the mean height deviation is -3.8 cm (from -13.3 to +4.0 cm) in June and +0.4 cm (from -6.4 to +9.3 cm) in September, and the maximum deviation is 13.3 and 9.3 cm, respectively. For the LiDAR point cloud, DJI Terra checks only elevations, so no horizontal error is estimated; the mean height deviation is -8.3 cm (from -16.0 to -3.1 cm), the RMSE is 9.4 cm in height, the maximum deviation is 16.0 cm, and the mean density of the cloud is about 1200 points/m². The largest height deviation in all three products is at point 2003, which is located on the edge of a concrete structure (a drainage reinforcement) rising above the terrain, where the height changes abruptly over a short distance.
All layers were converted to a pixel size of 10 cm, brought to one coordinate system (EPSG:32635) and aligned in extent (2644 × 4133 pixels), so that their pixels coincide one to one. The common mask, which includes the pixels with data in all layers for both months, covers 94.85% of the grid (10,364,517 pixels, 103,645 m² = 10.36 ha); all classifications and assessments are only within its limits. Two composite rasters were obtained for each month: composite F0 (G, R, RE, NIR) and composite F1 (F0 and NDVI), as well as an nDSM raster, which is not part of them and is used only for post-processing.
3.2. Classification: Model and Class Areas
The areal distribution of the classes is given in Table 5 and Figure 6 for SVM on composite F0. The classifier alone assigns 21.3% of the valid area to juniper in June and 19.7% in September, to trees 17.6% and 14.1%, to grass 56.3% and 62.2%, to road 2.6% and 3.0%, and to artificial objects 2.1% and 1.0%. The Sieve filter reduces the share of juniper (to 18.2% in June) and of trees (to 15.2% in June) at the expense of grass (62.2%). The upper nDSM threshold moves pixels to trees (16.3% in June and 13.8% in September), and the two-threshold rule reduces juniper to 11.6% and 11.5%, while grass rises to 67.8% and 71.6%. Finally, the shadow correction (Section 3.4) reduces trees to 8.5% in June and 7.6% in September and increases juniper to 13.9% and 14.2% and grass to 73.3% and 75.1%. The two-threshold rule and the shadow correction do not change road and artificial objects (2.4% and 2.0% in June; 2.7% and 0.4% in September).
3.3. Vegetation Height (nDSM) by Class and Selection of Thresholds
The nDSM values in the training polygons clearly separate the main classes (Table 6; Figure 7). Trees have a median of 14.4 m in June and 12.5 m in September, and juniper 0.49 m [5th-95th percentile: 0.22-0.86] in June and 0.35 m [0.08-0.76] in September. Grass is around zero: 0.15 m [0.09-0.23] in June and -0.02 m [-0.07-0.05] in September, and the road has a median of 0.12 and 0.04 m. The difference between the grass medians in the two months (0.17 m) agrees with the median difference between the September and June DSM (-0.16 m), and since the DEM is the same for both months, the change in level comes from the difference between the DSM and the DEM, not from the class itself (Section 4.1).
The lower threshold, selected at the maximum of the balanced accuracy on the training polygons, is 0.25 m for June (balanced accuracy 95.2%) and 0.07 m for September (97.8%) (Figure 8). Relative to the grass median, the two thresholds are almost equal: 0.10 and 0.09 m. The difference between the two thresholds (0.18 m) follows the change in the nDSM level above the grass: the median is 0.15 m in June and -0.02 m in September, i.e. it decreases by 0.17 m (Table 6). This change has two components. The first is the height of the grass, which is in full vegetation in June and dry and grazed in September. The second is a possible difference in the absolute height of the DSM relative to the DEM between the two flights: over the road, which has no vegetation, the median nDSM changes by 0.08 m (from 0.12 to 0.04 m). If this reflects an offset of the DSM relative to the DEM, about half of the change for the grass can be attributed to it, and the remainder (about 0.09 m) to a change in grass height. The check points in Table 4 (six points) are too few to confirm or exclude an offset of this size. The two components were not verified separately with field measurements. The maximum of juniper in the training polygons is 1.25 m in June (99th percentile 1.02 m) and 1.15 m in September (0.94 m), so the upper threshold is 1.5 m for both months. Negative nDSM values below -1 m occurs in 0.10% of the area in June and in 0.07% in September.
3.4. Shadow Correction and Low Vegetation by Height
In the map after the Sieve filter and the two-threshold rule, part of the tree shadows and of the dark juniper shrubs remain in the class "trees" (Figure 9b), because the classifier has no "shadow" class and their LiDAR height (nDSM) is below 1.5 m. The shadow correction applies the same thresholds (T and 1.5 m) to all vegetation classes (see Section 2.2.3). It changes 7.8% of the valid area in June and 6.2% in September, i.e. the pixels of the class "trees" with nDSM between -1 and 1.5 m. Part of them become grass (5.5 and 3.5 percentage points) and the rest become juniper (2.3 and 2.7 points). Thus, the share of trees decreases from 16.3 to 8.5% in June and from 13.8 to 7.6% in September, and that of juniper increases from 11.6 to 13.9% and from 11.5 to 14.2% (Table 5). Pixels with nDSM below -1 m (0.10% of the area in June and 0.07% in September) are not changed.
3.5. Assessment with the Validation Polygons
In the assessment with the 108 validation polygons (SVM, composite F0), the overall accuracy of the classifier alone is 81.3% in June (Kappa 0.725) and 85.1% in September (0.773) (Table 7). The Sieve filter raises it to 87.8% and 89.6%. The upper nDSM threshold leads to 95.1% (Kappa 0.923) in June and 96.4% (0.943) in September, and the two-threshold rule to 98.8% (0.981) in June. In September the lower threshold adds nothing to the result (96.2%, Kappa 0.939, against 96.4%, 0.943). The shadow correction (Section 3.4) gives an overall accuracy of 98.7% (Kappa 0.979) in June and 96.4% (0.944) in September, i.e. practically no change relative to the two-threshold rule (-0.1 percentage points in June and +0.2 in September). The effect of the correction is seen mainly in the assessment against the reference manual mapping (Section 3.6).
By class, the improvement is greatest for juniper and grass in June: the user's accuracy (UA) for juniper increases from 65.0% (classifier) to 99.4% (two-threshold rule), and for grass from 33.9% to 91.2%; the producer's accuracy (PA) for juniper increases from 70.9% to 95.9%. The shadow correction raises the PA of juniper from 95.9 to 97.1% in June and from 85.7 to 97.5% in September, while the UA falls from 99.4 to 98.4% and from 96.8 to 90.6%. The PA of trees decreases from 99.7 to 99.1% and from 98.0 to 94.0%; in September after the correction 3.7% of the pixels in the tree polygons are juniper and 2.3% are grass. The UA of grass falls from 91.2 to 89.2% and from 86.6 to 78.7%. These values are higher than the assessment against the reference manual mapping (Section 3.6) and are regarded as optimistic (see Section 2.2.4).
3.6. Assessment against the Reference Manual Mapping
The assessment against the reference manual mapping of juniper (880 polygons with a total area of 14,507 m², i.e. 14.0% of the valid area; 14,083 m² of it outside the training polygons) is stricter (Table 8). The classifier alone has an F1 score for juniper of 43.0% in June and 60.5% in September, i.e. the September classification is more accurate. The Sieve filter raises the F1 score to 51.5% and 66.4%, and the upper threshold adds about 1 percentage point more (52.6% and 67.7%). The decisive step is the lower threshold: with the two-threshold rule the F1 score is 77.7% in June and 77.0% in September, the IoU 63.6% and 62.7%, the Kappa 0.746 and 0.738, and the overall accuracy 94.4% and 94.2%. With this, the difference between the two months disappears: the F1 score increases by 25.1 points in June and by 9.3 in September relative to the upper-threshold step. The shadow correction (Section 3.4) changes the result differently in the two months. In September the F1 score increases to 80.0% (IoU 66.7%, Kappa 0.768, overall accuracy 94.4%), while in June it decreases to 76.5% (IoU 62.0%, Kappa 0.728, overall accuracy 93.5%), i.e. 1.2 points lower than with the two-threshold rule. The area bias of juniper decreases from -17.6% and -18.1% to -0.8% and +1.4%. Thus, the September F1 score is again higher than the June one (by 3.5 points).
For juniper, the rule raises the UA from 47.1% to 86.0% in June and from 59.0% to 85.6% in September. The PA increases in June (from 59.6% to 70.9%), because pixels of the classes "juniper" and "grass" are reclassified by nDSM and decreases in September (from 79.3% to 70.1%). The shadow correction raises the PA to 76.2% in June and to 80.6% in September, while the UA falls to 76.8% and 79.5%.
After the rule, the chosen algorithm hardly changes the result. RF gives an F1 score of 77.7% in June and 77.0% in September, and SVM with composite F1 (with NDVI) 78.2% and 77.1%, i.e. the difference from SVM with composite F0 is at most 0.5 percentage points. After the shadow correction, RF gives an F1 score of 76.6% in June and 80.0% in September, and SVM with composite F1 76.6% and 80.1%, i.e. the difference from SVM with composite F0 (76.5% and 80.0%) is at most 0.1 percentage points.
3.7. Juniper Areas and Sensitivity to the Lower Threshold
Before the nDSM rule, the classifier overestimates juniper in both months: 21.3% of the valid area in June and 19.7% in September, against 14.0% in the reference manual mapping (14,507 m²) (Table 9). The Sieve filter and the upper threshold reduce it only to 17.5% and 18.7%, and the two-threshold rule to 11.6% (11,994 m²) in June and 11.5% (11,914 m²) in September, i.e. 17-18% below the reference manual mapping. The shadow correction increases juniper to 13.9% (14,359 m²) in June and 14.2% (14,689 m²) in September, i.e. to values close to the reference 14.0% (bias -0.8% and +1.4%, Table 8). A close area does not mean full spatial agreement: the F1 score is 76.5% in June and 80.0% in September. The result is similar with RF (13.8% and 14.2%) and with composite F1 (13.8% and 14.1%).
The choice of the lower threshold is decisive. It was calibrated separately for each month, because the nDSM level above the grass depends on the difference between the respective DSM and DEM (median 0.15 m in June and -0.02 m in September). The sensitivity to the threshold is large (Table S2, two-threshold rule): within 0.05 m around the chosen threshold the F1 score is 2.5-5.7 percentage points lower, and for larger deviations it falls sharply. Among the thresholds tested, the maximum of the F1 score against the reference manual mapping is at the same values as those determined from the training polygons (0.25 and 0.07 m). The sensitivity of the shadow correction to the threshold was not investigated.
4. Discussion
4.1. Limitations and Interpretation of the Thresholds
The reference manual mapping of juniper and the LiDAR DEM are from September, and the June map is assessed against them. The reference has a resolution of 2 cm and the maps 10 cm, so boundary pixels are mixed. There are no field measurements of the height of the grass and juniper, and the accuracy of the point cloud refers to bare terrain; the height error of the DEM under grass was not assessed. Validation of the LiDAR DEM with field measurements, including under grass vegetation, is planned with a minimum of 30 independent check points, as required for a statistically reliable accuracy estimate by the ASPRS Positional Accuracy Standards for Digital Geospatial Data [45]. The nDSM thresholds (0.25 m in June and 0.07 m in September) are therefore parameters of the data set and not a real height of juniper or grass: the nDSM level above the grass depends on the difference between the DSM and the DEM (Table 6). This difference between the months has two components: a vertical offset between the two models and a change in grass height (in June it is in full vegetation, and in September it is dry and grazed by livestock). The road, which is almost without vegetation, changes by 0.08 m (median 0.12 m in June and 0.04 m in September), which may indicate an offset of the DSM relative to the DEM. The grass changes by 0.17 m, so, if the road reflects the offset, the remainder of about 0.09 m would be due to a change in grass height. The two components were not verified separately with field measurements.
The shadow correction has additional limitations. The classifier has no "shadow" class, and the separation of shadows is based only on the LiDAR height and on visual checking (Figure 9). The sensitivity of the correction to the lower threshold was not investigated. The validation polygons give higher values than the assessment against the manual mapping (Table 7 and Table 8) and are regarded as optimistic.
4.2. Trade-off between Producer’s and User’s Accuracy
The two-threshold rule changes the accuracy for the juniper class differently in the two months: the UA increases strongly (from 35.4 to 86.0% for June and from 51.7 to 85.6% for September relative to the classifier), while the PA increases in June (from 54.6 to 70.9%) and decreases in September (from 73.0 to 70.1%) (Figure 10). The F1 score improves from 43.0 and 60.5% for the classifier to 77.7% and 77.0%. The area of juniper goes from overestimated (21.3% and 19.7% for the classifier against 14.0% in the reference manual mapping) to underestimated (11.6% and 11.5%; Figure 11): the rule removes much false juniper, but also removes part of the true juniper.
The shadow correction returns part of the removed juniper: the PA increases to 76.2% in June and to 80.6% in September, while the UA falls to 76.8% and 79.5%. The area of juniper (13.9% and 14.2%) is close to the reference (bias -0.8% and +1.4%).
The effect on the overall assessment differs between the two months. In September the F1 score with the shadow correction (80.0%) is higher than the best F1 score of the two-threshold rule at all thresholds tested (77.0%, Table S2). In June it is the opposite: 76.5% against 77.7%, i.e. the increase in PA does not compensate for the drop in UA. The reason for this difference between the months was not investigated.
4.3. Accuracy Assessment of the Products
In the reviewed UAV studies of shrub and tree vegetation, the accuracy of the raster products themselves (orthomosaic, DSM, point cloud) is either not assessed [6,15], or is reported in summary form, as the number of control points and a mean positional error [30] or only as a centimeter-level georeferencing accuracy [35], or is checked with a small number of point pairs (3-4 per plot [32]). In the present study, the DSM and the LiDAR point cloud were assessed with check points that did not take part in the processing, separately in height and horizontally (Table 4). In this way the errors of the products can be separated from the errors of the classification.
5. Conclusions
Unmanned aerial systems with multispectral cameras and LiDAR make it possible to capture mountain pastures in great detail, but separating juniper from grass and trees by spectral data alone remains difficult. In this work we investigated whether height information from LiDAR improves the pixel-based classification of juniper in the Peshova Maka locality (Central Balkan National Park). The SVM classification was followed by a Sieve filter and by an nDSM rule, which determines the class of vegetation pixels by height, including in the shadow of trees.
The classifier alone gave an F1 score for juniper of 43.0% in June and 60.5% in September against the reference manual mapping, and the nDSM rule raised it to 76.5 and 80.0%. The juniper area came close to the reference (bias -0.8 and +1.4%). After the shadow correction, the choice between SVM and RF had practically no effect on the result (up to 0.1 percentage points). Compared with the two-threshold rule applied only to juniper and grass, the correction in the shadow of trees removed the underestimation of juniper (-17.6 and -18.1%) at a similar F1 score: 76.5 against 77.7% in June and 80.0 against 77.0% in September.
The rule has limitations. The lower nDSM threshold (0.25 m in June and 0.07 m in September) was determined separately for each survey as the value at which the training polygons of juniper and grass are best separated, and it is not a measured vegetation height. The difference between the two thresholds (0.18 m) probably has two parts. If the road reflects an offset between the DSM and the DEM, about 0.08 m of this difference could be attributed to it, and the remaining about 0.09 m probably to the condition of the grass (in full vegetation in June, dry and grazed in September). The separation of the two parts was not verified in the field. The DEM for both months was derived from the September LiDAR, and the reference manual mapping was digitized on the September orthophoto. The shadow correction reduces the user's accuracy for juniper, and its sensitivity to the threshold was not investigated. The accuracy at the validation polygons is optimistic, so the reference manual mapping was used to assess quality.
The study covers one site and two dates. Next steps are testing the approach at other sites and in other years, assessing the sensitivity of the shadow correction to the threshold, and examining the role of grass condition. Overall, the results show that a simple height rule, whose thresholds are determined only from the training polygons, substantially improves the mapping of juniper compared with the spectral classification alone. After testing at other sites, it can serve as a basis for monitoring juniper encroachment into pastures.
Supplementary Materials
The following supporting information can be downloaded at: [link to be added]. Table S1: Sensitivity of the results to the threshold of the Sieve filter (10, 25 and 50 pixels); Table S2: Sensitivity to the lower threshold T; Minimal dataset: processed result tables (CSV) with a README file.
Author Contributions
Author Contributions: Conceptualization, D.D., A.K. and D.H.; methodology, D.D.; software, D.D.; validation, D.D.; formal analysis, D.D.; investigation, D.D. and A.K.; resources, D.D.; data curation, D.D., A.K. and D.H.; writing—original draft preparation, D.D., A.K. and D.H.; writing—review and editing, D.D.; visualization, D.D.; supervision, D.D.; project administration, D.D. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by Biodiversa+, the European Biodiversity Partnership, in the context of the TransWILD project under the 2021-2022 BiodivProtect joint call. It was co-funded by the European Commission (GA No.101052342) and the following funding organizations: AEI (Agencia Estatal de Investigación), BNSF (Bulgarian National Science Fund), MUR (Italian Ministry of Universities and Research), FB (Fundación Biodiversidad), RCN (Research Council of Norway - project 342821), and VDI-VDE-IT/BMBF (Bundesministerium für Bildung und Forschung). The funding agencies had no role in study design, collection, analysis and interpretation of data, writing the manuscript and in the decision to submit the article for publication.
Data Availability Statement
The custom analysis code and processed tabular results are available from the authors upon reasonable request. The orthomosaics, digital surface and terrain models, LiDAR point cloud, and reference and training polygons are available from the corresponding author upon reasonable request, due to large file sizes.
Acknowledgments
Тhe authors would like to express their gratitude to the Central Balkan National Park Directorate (Ministry of Environment and Water of Bulgaria) for granting the necessary research permits and facilitating access to the protected areas. During the preparation of this manuscript, the authors used Claude (Anthropic; Sonnet 5.5) for the following purposes: assistance in writing and debugging Python scripts for post-processing, accuracy assessment, and sensitivity analyses; verifying the consistency of terminology and numerical values; translation between Bulgarian and English; and checking the reference list. The AI tool was not used to collect data, digitize the training, validation, and reference polygons, or design the study. The authors have reviewed and edited all outputs, verified all numerical results, tables, figures, and citations against the source data and original publications, and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| UAS | unmanned aerial system |
| LiDAR | light detection and ranging |
| SfM | Structure from Motion |
| DSM | digital surface model |
| DEM | digital elevation model |
| nDSM | normalized digital surface model (DSM minus DEM) |
| CSF | cloth simulation filter |
| OTB | Orfeo ToolBox |
| SVM | Support Vector Machine |
| RF | Random Forest |
| RBF | radial basis function |
| G, R, RE, NIR | green, red, red-edge and near-infrared bands |
| NDVI | normalized difference vegetation index |
| GNDVI | green normalized difference vegetation index |
| NDWI | normalized difference water index |
| OA | overall accuracy |
| PA | producer’s accuracy |
| UA | user’s accuracy |
| IoU | intersection over union |
| RMSE | root mean square error |
| GEOBIA | geographic object-based image analysis |
| GIS | geographic information system |
| PPK | post-processed kinematic |
| GSD | ground sampling distance |
References
- IUCN; WCMC. Guidelines for Protected Area Management Categories; IUCN: Gland, Switzerland, 1994; Available online: https://portals.iucn.org/library/efiles/documents/1994-007-En.pdf.
- Management Plan of the Central Balkan National Park 2016-2025 (In Bulgarian); Ministry of Environment and Water: Sofia, Bulgaria, 2016.
- Koshev, Y.; Kachamakova, M.; Arangelov, S.; Ragyov, D. Translocations of European ground squirrel (Spermophilus Catellus) along altitudinal gradient in Bulgaria - an overview. Nat. Conserv. 2019, 35, 63–95. [Google Scholar] [CrossRef]
- Tzonev, R.; Gusev, C. Manual for Determination and Effective Management of Grassland Habitats (Pastures, Meadows and Permanent Grassland) - Subject of Conservation and Economic Use in Bulgaria (In Bulgarian); Bulgarian Society for the Protection of Birds, Conservation Series, Book 34: Sofia, Bulgaria, 2020; ISBN 978-954-8310-39-0. [Google Scholar]
- Oddi, L.; Cremonese, E.; Ascari, L.; Filippa, G.; Galvagno, M.; Serafino, D.; Cella, U.M.d. Using UAV Imagery to Detect and Map Woody Species Encroachment in a Subalpine Grassland: Advantages and Limits. Remote Sens. 2021, 13, 1239. [Google Scholar] [CrossRef]
- Durfee, N.; Ochoa, C.G.; Mata-Gonzalez, R. The Use of Low-Altitude UAV Imagery to Assess Western Juniper Density and Canopy Cover in Treated and Untreated Stands. Forests 2019, 10, 296. [Google Scholar] [CrossRef]
- Khazieva, E.; Verburg, P.H.; Pazúr, R. Grassland degradation by shrub encroachment: Mapping patterns and drivers of encroachment in Kyrgyzstan. J. Arid Environ. 2022, 207, 104849. [Google Scholar] [CrossRef]
- Pádua, L.; Vanko, J.; Hruška, J.; Adão, T.; Sousa, J.J.; Peres, E.; Morais, R. UAS, sensors, and data processing in agroforestry: A review towards practical applications. Int. J. Remote Sens. 2017, 38, 2349–2391. [Google Scholar] [CrossRef]
- Michez, A.; Lejeune, P.; Bauwens, S.; Herinaina, A.A.L.; Blaise, Y.; Castro Muñoz, E.; Lebeau, F.; Bindelle, J. Mapping and Monitoring of Biomass and Grazing in Pasture with an Unmanned Aerial System. Remote Sens. 2019, 11, 473. [Google Scholar] [CrossRef]
- Barnetson, J.; Phinn, S.; Scarth, P. Estimating Plant Pasture Biomass and Quality from UAV Imaging across Queensland's Rangelands. AgriEngineering 2020, 2, 523–543. [Google Scholar] [CrossRef]
- Evstatiev, B.; Valova, I.; Kaneva, T.; Valov, N.; Sevov, A.; Stanchev, G.; Komitov, G.; Zhelyazkova, T.; Gerdzhikova, M.; Todorova, M.; et al. Identification of Pasture Degradation Using Remote Sensing Data and Machine Learning: A Case Study of Obichnik. Appl. Sci. 2024, 14, 7599. [Google Scholar] [CrossRef]
- Zhang, X.; Zhang, F.; Qi, Y.; Deng, L.; Wang, X.; Yang, S. New research methods for vegetation information extraction based on visible light remote sensing images from an unmanned aerial vehicle (UAV). Int. J. Appl. Earth Obs. Geoinf. 2019, 78, 215–226. [Google Scholar] [CrossRef]
- Ashapure, A.; Jung, J.; Chang, A.; Oh, S.; Maeda, M.; Landivar, J. A Comparative Study of RGB and Multispectral Sensor-Based Cotton Canopy Cover Modelling Using Multi-Temporal UAS Data. Remote Sens. 2019, 11, 2757. [Google Scholar] [CrossRef]
- Zhang, Y.; Yang, W.; Sun, Y.; Chang, C.; Yu, J.; Zhang, W. Fusion of Multispectral Aerial Imagery and Vegetation Indices for Machine Learning-Based Ground Classification. Remote Sens. 2021, 13, 1411. [Google Scholar] [CrossRef]
- De Luca, G.; Silva, J.M.N.; Cerasoli, S.; Araújo, J.; Campos, J.; Di Fazio, S.; Modica, G. Object-Based Land Cover Classification of Cork Oak Woodlands using UAV Imagery and Orfeo ToolBox. Remote Sens. 2019, 11, 1238. [Google Scholar] [CrossRef]
- Wickramarathna, S.; Van Den Hoek, J.; Strimbu, B. Automated detection of individual juniper tree location and forest cover changes using Google Earth Engine. Ann. For. Res. 2021, 64, 61–72. [Google Scholar] [CrossRef]
- Kuzucu, A.K.; Balcik, F.B. Testing the Potential of Vegetation Indices for Land Use/Cover Classification Using High Resolution Data. ISPRS Ann. Photogramm. Remote Sens. Spat. Inf. Sci. 2017, IV-4/W4, 279–283. [Google Scholar] [CrossRef]
- Candiago, S.; Remondino, F.; De Giglio, M.; Dubbini, M.; Gattelli, M. Evaluating Multispectral Images and Vegetation Indices for Precision Farming Applications from UAV Images. Remote Sens. 2015, 7, 4026–4047. [Google Scholar] [CrossRef]
- Silva, V.S.d.; Salami, G.; Silva, M.I.O.d.; Silva, E.A.; Monteiro Junior, J.J.; Alba, E. Methodological evaluation of vegetation indexes in land use and land cover (LULC) classification. Geol. Ecol. Landsc. 2020, 4, 159–169. [Google Scholar] [CrossRef]
- Natesan, S.; Armenakis, C.; Vepakomma, U. Individual tree species identification using Dense Convolutional Network (DenseNet) on multitemporal RGB images from UAV. J. Unmanned Veh. Syst. 2020, 8, 310–333. [Google Scholar] [CrossRef]
- Ghayour, L.; Neshat, A.; Paryani, S.; Shahabi, H.; Shirzadi, A.; Chen, W.; Al-Ansari, N.; Geertsema, M.; Pourmehdi Amiri, M.; Gholamnia, M.; et al. Performance Evaluation of Sentinel-2 and Landsat 8 OLI Data for Land Cover/Use Classification Using a Comparison between Machine Learning Algorithms. Remote Sens. 2021, 13, 1349. [Google Scholar] [CrossRef]
- Thanh Noi, P.; Kappas, M. Comparison of random forest, k-nearest neighbor, and support vector machine classifiers for land cover classification using Sentinel-2 imagery. Sensors 2018, 18, 18. [Google Scholar] [CrossRef] [PubMed]
- Qian, Y.; Zhou, W.; Yan, J.; Li, W.; Han, L. Comparing machine learning classifiers for object-based land cover classification using very high resolution imagery. Remote Sens. 2015, 7, 153–168. [Google Scholar] [CrossRef]
- Vapnik, V.N. The Nature of Statistical Learning Theory, 2nd ed.; Springer: New York, NY, USA, 1999. [Google Scholar]
- Mountrakis, G.; Im, J.; Ogole, C. Support vector machines in remote sensing: A review. ISPRS J. Photogramm. Remote Sens. 2011, 66, 247–259. [Google Scholar] [CrossRef]
- Mousavi, M.; Biney, J.K.M.; Kishchuk, B.; Youssef, A.; Cordeiro, M.R.C.; Friesen, G.; Cattani, D.; Namous, M.; Badreldin, N. A Hierarchical Machine Learning-Based Strategy for Mapping Grassland in Manitoba's Diverse Ecoregions. Remote Sens. 2024, 16, 4730. [Google Scholar] [CrossRef]
- Xu, D.; Chen, B.; Shen, B.; Wang, X.; Yan, Y.; Xu, L.; Xin, X. The Classification of Grassland Types Based on Object-Based Image Analysis with Multisource Data. Rangel. Ecol. Manag. 2019, 72, 318–326. [Google Scholar] [CrossRef]
- Costa, W.; Fonseca, L.; Körting, T. Classifying Grasslands and Cultivated Pastures in the Brazilian Cerrado Using Support Vector Machines, Multilayer Perceptrons and Autoencoders. In Machine Learning and Data Mining in Pattern Recognition (MLDM 2015); Lecture Notes in Computer Science; Perner, P., Ed.; Springer: Cham, Switzerland, 2015; Vol. 9166. [Google Scholar] [CrossRef]
- Blaschke, T.; Hay, G.J.; Kelly, M.; Lang, S.; Hofmann, P.; Addink, E.; Feitosa, R.Q.; van der Meer, F.; van der Werff, H.; van Coillie, F.; et al. Geographic Object-Based Image Analysis - Towards a new paradigm. ISPRS J. Photogramm. Remote Sens. 2014, 87, 180–191. [Google Scholar] [CrossRef] [PubMed]
- Prošek, J.; Šímová, P. UAV for mapping shrubland vegetation: Does fusion of spectral and vertical information derived from a single sensor increase the classification accuracy? Int. J. Appl. Earth Obs. Geoinf. 2019, 75, 151–162. [Google Scholar] [CrossRef]
- Komárek, J.; Klouček, T.; Prošek, J. The potential of Unmanned Aerial Systems: A tool towards precision classification of hard-to-distinguish vegetation types? Int. J. Appl. Earth Obs. Geoinf. 2018, 71, 9–19. [Google Scholar] [CrossRef]
- Dong, Y.; Yan, H.; Wang, N.; Huang, M.; Hu, Y. Automatic Identification of Shrub-Encroached Grassland in the Mongolian Plateau Based on UAS Remote Sensing. Remote Sens. 2019, 11, 1623. [Google Scholar] [CrossRef]
- Mestre-Runge, C.; Ludwig, M.; Sebastià, M.T.; Plaixats, J.; Lobo, A. Optimizing Drone-Based Surface Models for Prescribed Fire Monitoring. Fire 2023, 6, 419. [Google Scholar] [CrossRef]
- Zhao, Y.; Liu, X.; Wang, Y.; Zheng, Z.; Zheng, S.; Zhao, D.; Bai, Y. UAV-based individual shrub aboveground biomass estimation calibrated against terrestrial LiDAR in a shrub-encroached grassland. Int. J. Appl. Earth Obs. Geoinf. 2021, 101, 102358. [Google Scholar] [CrossRef]
- Hoffrén, R.; Lamelas, M.T.; de la Riva, J. UAV-derived photogrammetric point clouds and multispectral indices for fuel estimation in Mediterranean forests. Remote Sens. Appl. Soc. Environ. 2023, 31, 100997. [Google Scholar] [CrossRef]
- Zhang, W.; Qi, J.; Wan, P.; Wang, H.; Xie, D.; Wang, X.; Yan, G. An Easy-to-Use Airborne LiDAR Data Filtering Method Based on Cloth Simulation. Remote Sens. 2016, 8, 501. [Google Scholar] [CrossRef]
- Karatoteva, D.; Malinova, L. Macro and Microelement Contents in Soil of Some Grassland Landscape in “Central Balkan” National Park. Bulg. J. Agric. Sci. 2016, 22, 580–583. [Google Scholar]
- Rouse, J.W.; Haas, R.H.; Schell, J.A.; Deering, D.W. Monitoring Vegetation Systems in the Great Plains with ERTS. In Proceedings of the Third ERTS Symposium, NASA SP-351; NASA: Washington, DC, USA, 1974; Volume 1, pp. 309–317. [Google Scholar]
- Grizonnet, M.; Michel, J.; Poughon, V.; Inglada, J.; Savinaud, M.; Cresson, R. Orfeo ToolBox: Open Source Processing of Remote Sensing Images. Open Geospat. Data Softw. Stand. 2017, 2, 15. [Google Scholar] [CrossRef]
- Chang, C.-C.; Lin, C.-J. LIBSVM: A Library for Support Vector Machines. ACM Trans. Intell. Syst. Technol. 2011, 2, 27. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Cohen, J. A Coefficient of Agreement for Nominal Scales. Educ. Psychol. Meas. 1960, 20, 37–46. [Google Scholar] [CrossRef]
- Landis, J.R.; Koch, G.G. The Measurement of Observer Agreement for Categorical Data. Biometrics 1977, 33, 159–174. [Google Scholar] [CrossRef]
- Congalton, R.G. A Review of Assessing the Accuracy of Classifications of Remotely Sensed Data. Remote Sens. Environ. 1991, 37, 35–46. [Google Scholar] [CrossRef]
- ASPRS. ASPRS Positional Accuracy Standards for Digital Geospatial Data, Edition 2, Version 2.0; American Society for Photogrammetry and Remote Sensing: Bethesda, MD, USA, 2024. [Google Scholar]
Figure 1.
Workflow: data preparation (multispectral orthomosaics, SfM DSM and LiDAR DEM), classification in Orfeo ToolBox, post-processing (Sieve, nDSM rule and shadow correction) and accuracy assessment. SfM, Structure from Motion; DSM, digital surface model; LiDAR, light detection and ranging; DEM, digital elevation model; nDSM, normalized DSM.
Figure 1.
Workflow: data preparation (multispectral orthomosaics, SfM DSM and LiDAR DEM), classification in Orfeo ToolBox, post-processing (Sieve, nDSM rule and shadow correction) and accuracy assessment. SfM, Structure from Motion; DSM, digital surface model; LiDAR, light detection and ranging; DEM, digital elevation model; nDSM, normalized DSM.

Figure 2.
(a) Location of the study area in Bulgaria; (b) UAS DJI Mavic 3M-RTK; (c) UAS DJI M350-RTK with LiDAR L2; (d) orthophoto of the test plot (WGS 84: 42.73° N; 24.66° (e) landscape view of the study area.
Figure 2.
(a) Location of the study area in Bulgaria; (b) UAS DJI Mavic 3M-RTK; (c) UAS DJI M350-RTK with LiDAR L2; (d) orthophoto of the test plot (WGS 84: 42.73° N; 24.66° (e) landscape view of the study area.

Figure 3.
Location of the control points in the test plot: the central point (2004) used for georeferencing and the check points. The grid is in WGS 84 / UTM zone 35N (EPSG:32635); coordinates in meters.
Figure 3.
Location of the control points in the test plot: the central point (2004) used for georeferencing and the check points. The grid is in WGS 84 / UTM zone 35N (EPSG:32635); coordinates in meters.

Figure 4.
Input data for June and September: bands of composite F0, green (G), red (R), red-edge (RE) and near-infrared (NIR) (a, f), with a 30 × 30 m extract outlined on panel (d); NDVI (normalized difference vegetation index) as the fifth band of composite F1 (b, g); DSM (c, h); common LiDAR DEM (d); and nDSM (e, i), used by the height rule. All panels are in WGS 84 / UTM zone 35N (EPSG:32635) and share the same extent, except the extract in (a, f).
Figure 4.
Input data for June and September: bands of composite F0, green (G), red (R), red-edge (RE) and near-infrared (NIR) (a, f), with a 30 × 30 m extract outlined on panel (d); NDVI (normalized difference vegetation index) as the fifth band of composite F1 (b, g); DSM (c, h); common LiDAR DEM (d); and nDSM (e, i), used by the height rule. All panels are in WGS 84 / UTM zone 35N (EPSG:32635) and share the same extent, except the extract in (a, f).

Figure 5.
Polygons over the DSM of the test plot: (a) training (filled) and validation (outlined) polygons by class; (b) reference manual mapping of juniper; (c) enlargement of the area marked by the frame in (a) and (b).
Figure 5.
Polygons over the DSM of the test plot: (a) training (filled) and validation (outlined) polygons by class; (b) reference manual mapping of juniper; (c) enlargement of the area marked by the frame in (a) and (b).

Figure 6.
Land-cover maps of the test plot for (a) June and (b) September: SVM on composite F0, after the Sieve filter, the two-threshold nDSM rule (T = 0.25 m for June and 0.07 m for September; upper threshold 1.5 m) and the shadow correction. Outside the valid mask the map is white.
Figure 6.
Land-cover maps of the test plot for (a) June and (b) September: SVM on composite F0, after the Sieve filter, the two-threshold nDSM rule (T = 0.25 m for June and 0.07 m for September; upper threshold 1.5 m) and the shadow correction. Outside the valid mask the map is white.

Figure 7.
Distribution of nDSM in the training polygons by class for (a) June and (b) September. The dashed line is the lower threshold T (0.25 and 0.07 m) and the dotted line is the upper threshold (1.5 m). *Trees (median 14.4 and 12.5 m) lie beyond the axis range.
Figure 7.
Distribution of nDSM in the training polygons by class for (a) June and (b) September. The dashed line is the lower threshold T (0.25 and 0.07 m) and the dotted line is the upper threshold (1.5 m). *Trees (median 14.4 and 12.5 m) lie beyond the axis range.

Figure 8.
Selection of the lower threshold T from the training polygons: share of juniper pixels above the threshold, share of grass pixels below the threshold, and their mean (balanced accuracy) as a function of T for (a) June and (b) September. The dashed line and the dot mark the selected threshold (maximum balanced accuracy): T = 0.25 m (95.2%) for June and 0.07 m (97.8%) for September.
Figure 8.
Selection of the lower threshold T from the training polygons: share of juniper pixels above the threshold, share of grass pixels below the threshold, and their mean (balanced accuracy) as a function of T for (a) June and (b) September. The dashed line and the dot mark the selected threshold (maximum balanced accuracy): T = 0.25 m (95.2%) for June and 0.07 m (97.8%) for September.

Figure 9.
Shadow correction in a part of the September image (about 106 × 110 m): (a) orthophoto; (b) classification before the correction; (c) classification after the correction. In (b) tree shadows and shadows on juniper are classified as trees.
Figure 9.
Shadow correction in a part of the September image (about 106 × 110 m): (a) orthophoto; (b) classification before the correction; (c) classification after the correction. In (b) tree shadows and shadows on juniper are classified as trees.

Figure 10.
Accuracy for the juniper class against the reference manual mapping (outside the training polygons) by processing stage for June and September: (a) producer’s accuracy (PA); (b) user’s accuracy (UA); (c) F1 score. Stages: classifier, + Sieve, + upper threshold, + two-threshold rule, + shadow correction. Values are in percent (Table 8).
Figure 10.
Accuracy for the juniper class against the reference manual mapping (outside the training polygons) by processing stage for June and September: (a) producer’s accuracy (PA); (b) user’s accuracy (UA); (c) F1 score. Stages: classifier, + Sieve, + upper threshold, + two-threshold rule, + shadow correction. Values are in percent (Table 8).

Figure 11.
Share of juniper in the valid area (103,645 m²) by processing stage for June and September. The dotted line is the juniper share from the reference manual mapping (14.0%). Stages are as in Figure 10 (Table 9).

Table 1.
Training polygons: number and total area by class.
| Land cover class | Training polygons, n | Area, m² |
| Juniper (1) | 25 | 423.95 |
| Trees (2) | 5 | 1,072.16 |
| Grass (3) | 30 | 115.23 |
| Road (4) | 5 | 244.77 |
| Artificial objects (5) | 5 | 26.85 |
| Total | 70 | 1,882.96 |
Table 2.
nDSM rule for reclassifying pixels classified as juniper (1) or grass (3). With the shadow correction, the same rule is also applied to pixels classified as trees (2). T is the lower threshold, determined separately for each month.
Table 2.
nDSM rule for reclassifying pixels classified as juniper (1) or grass (3). With the shadow correction, the same rule is also applied to pixels classified as trees (2). T is the lower threshold, determined separately for each month.
| Pixel nDSM | New class |
| < -1 m | unchanged (height not reliable) |
| > 1.5 m | tree (2) |
| > T and ≤ 1.5 m | juniper (1) |
| ≥ -1 m and ≤ T | grass (3) |
nDSM, normalized digital surface model.
Table 3.
Validation polygons: number and total area by class.
| Class | Validation polygons, n | Area, m² |
| Juniper (1) | 43 | 366.09 |
| Trees (2) | 10 | 988.03 |
| Grass (3) | 35 | 117.04 |
| Road (4) | 10 | 402.94 |
| Artificial objects (5) | 10 | 3.68 |
| Total | 108 | 1,877.78 |
Table 4.
Accuracy of the raster products at check points not used in processing.
| Product | Cell size / density | Check points, n | Mean height deviation, cm | Height RMSE, cm | Horizontal RMSE, cm | Maximum deviation, cm |
| DSM, June (SfM) | 5 cm | 6 | -3.8 (from -13.3 to +4.0) | 6.4 | 5.7 | 13.3 |
| DSM, September (SfM) | 5 cm | 6 | +0.4 (from -6.4 to +9.3) | 5.5 | 9.8 | 9.3 |
| LiDAR point cloud (L2) | ≈ 1,200 points/m² | 6 | -8.3 (from -16.0 to -3.1) | 9.4 | - | 16.0 |
DSM, digital surface model; SfM, Structure from Motion; LiDAR, light detection and ranging; RMSE, root mean square error.
Table 5.
Share of classes in the valid area (103,645 m²), % (SVM, composite F0).
| Stage | Juniper (1) | Trees (2) | Grass (3) | Road (4) | Artificial objects (5) |
| June: classifier | 21.3 | 17.6 | 56.3 | 2.6 | 2.1 |
| June: + Sieve | 18.2 | 15.2 | 62.2 | 2.4 | 2.0 |
| June: + upper threshold | 17.5 | 16.3 | 61.8 | 2.4 | 2.0 |
| June: + two thresholds | 11.6 | 16.3 | 67.8 | 2.4 | 2.0 |
| June: + shadow correction | 13.9 | 8.5 | 73.3 | 2.4 | 2.0 |
| September: classifier | 19.7 | 14.1 | 62.2 | 3.0 | 1.0 |
| September: + Sieve | 19.4 | 13.0 | 64.5 | 2.7 | 0.4 |
| September: + upper threshold | 18.7 | 13.8 | 64.4 | 2.7 | 0.4 |
| September: + two thresholds | 11.5 | 13.8 | 71.6 | 2.7 | 0.4 |
| September: + shadow correction | 14.2 | 7.6 | 75.1 | 2.7 | 0.4 |
SVM, Support Vector Machine; composite F0, green, red, red-edge and near-infrared bands.
Table 6.
nDSM in the training polygons and selected thresholds.
| Indicator | June | September |
| Juniper, median [5th-95th percentile], m | 0.49 [0.22-0.86] | 0.35 [0.08-0.76] |
| Trees, m | 14.4 [7.4-18.7] | 12.5 [5.7-17.3] |
| Grass, m | 0.15 [0.09-0.23] | -0.02 [-0.07-0.05] |
| Road, median, m | 0.12 | 0.04 |
| Lower threshold, m (balanced accuracy) | 0.25 (95.2%) | 0.07 (97.8%) |
| Lower threshold minus grass median, m | 0.10 | 0.09 |
| Upper threshold, m (juniper maximum) | 1.5 (1.25) | 1.5 (1.15) |
Medians with the 5th-95th percentile range in square brackets, for juniper, trees and grass. For the upper threshold, the juniper maximum in the training polygons is given in parentheses; for the lower threshold, the balanced accuracy.
Table 7.
Overall accuracy (OA) and Kappa for the validation polygons (SVM, composite F0).
| Stage | June: OA, % | June: Kappa | September: OA, % | September: Kappa |
| Classifier | 81.3 | 0.725 | 85.1 | 0.773 |
| + Sieve | 87.8 | 0.817 | 89.6 | 0.840 |
| + upper threshold | 95.1 | 0.923 | 96.4 | 0.943 |
| + two thresholds | 98.8 | 0.981 | 96.2 | 0.939 |
| + shadow correction | 98.7 | 0.979 | 96.4 | 0.944 |
Table 8.
Accuracy for the juniper class against the reference manual mapping, outside the training polygons (SVM, composite F0).
Table 8.
Accuracy for the juniper class against the reference manual mapping, outside the training polygons (SVM, composite F0).
| Month | Stage | PA, % | UA, % | F1 score, % | IoU, % | Kappa | Area bias, % |
| June | Classifier | 54.6 | 35.4 | 43.0 | 27.3 | 0.314 | +54.2 |
| June | + Sieve | 59.6 | 45.4 | 51.5 | 34.7 | 0.425 | +31.3 |
| June | + upper threshold | 59.6 | 47.1 | 52.6 | 35.7 | 0.440 | +26.4 |
| June | + two thresholds | 70.9 | 86.0 | 77.7 | 63.6 | 0.746 | -17.6 |
| June | + shadow correction | 76.2 | 76.8 | 76.5 | 62.0 | 0.728 | -0.8 |
| September | Classifier | 73.0 | 51.7 | 60.5 | 43.4 | 0.529 | +41.3 |
| September | + Sieve | 79.4 | 57.1 | 66.4 | 49.7 | 0.600 | +39.0 |
| September | + upper threshold | 79.3 | 59.0 | 67.7 | 51.2 | 0.616 | +34.3 |
| September | + two thresholds | 70.1 | 85.6 | 77.0 | 62.7 | 0.738 | -18.1 |
| September | + shadow correction | 80.6 | 79.5 | 80.0 | 66.7 | 0.768 | +1.4 |
PA, producer’s accuracy; UA, user’s accuracy; IoU, intersection over union.
Table 9.
Share and area of juniper in the valid area (103,645 m²) by stage (SVM, composite F0).
| Stage | June: share, % (m²) | September: share, % (m²) |
| Classifier | 21.3 (22,112) | 19.7 (20,443) |
| + Sieve | 18.2 (18,904) | 19.4 (20,094) |
| + upper threshold | 17.5 (18,159) | 18.7 (19,327) |
| + two thresholds | 11.6 (11,994) | 11.5 (11,914) |
| + shadow correction | 13.9 (14,359) | 14.2 (14,689) |
| Reference manual mapping | 14.0 (14,507) | 14.0 (14,507) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.