Next Article in Journal
Effects of Concentrate Supplementation Under Grazing Conditions on Milk Yield and Milk Nutritional Composition in Yili Mares
Previous Article in Journal
Transcriptomic Insights into the Effects of Iron, Potassium, and Manganese on Mycelial Growth of Lentinula edodes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Segmentation of Soil Surface Roughness Features in High-Resolution DEMS

Laboratoire Atmosphères, Milieux, Observations Spatiales (LATMOS), Institut Pierre-Simon Laplace (IPSL), Université de Versailles Saint-Quentin-en-Yvelines (UVSQ), Université Paris-Saclay, 11 Boulevard d’Alembert, 78280 Guyancourt, France
*
Author to whom correspondence should be addressed.
Agriculture 2026, 16(10), 1070; https://doi.org/10.3390/agriculture16101070
Submission received: 18 February 2026 / Revised: 9 April 2026 / Accepted: 15 April 2026 / Published: 14 May 2026
(This article belongs to the Section Artificial Intelligence and Digital Agriculture)

Abstract

Soil surface roughness (SSR), referring to surface irregularities, is a key parameter for assessing soil condition and tillage outcomes. Characterizing roughness at fine scales—including clods and depressions—remains challenging for 2.5D digital elevation models (DEMs) collected at the meter scale in the field. This study presents two segmentation methods for high-resolution DEMs from an agricultural site. For clod segmentation, a wavelet-based approach from the literature was used, while a novel histogram-based method was introduced for depressions. Both methods were evaluated on natural soil surfaces with varying roughness levels and a simulated surface, with and without noise, using standard metrics (recall, precision, F1-score, IoU). The best clod segmentation results were achieved on fine seedbeds (95.2% recall, 97.3% precision, 96.2% F1-score), with slightly lower but strong performance on plowed surfaces (84.2% recall, 96.9% precision, 90.1% F1-score). Due to their lower frequency, depressions were primarily assessed visually under field conditions. For the simulated surface (with ground truth), IoU values ranged from 84.2% to 87.9% for clods and around 92% for depressions, demonstrating competitive performance. Additionally, the volume of roughness features was computed and visualized using cumulative distribution functions. These segmentation methods enable monitoring of soil surface conditions, with applications in precision agriculture, surface-water interactions, and meter-scale microwave remote sensing.

1. Introduction

An interdisciplinary approach is necessary to inform choices for agricultural practice from a sustainable perspective [1]. Tillage operations aim to achieve the soil’s needed characteristics, in terms of friability, compaction, fragmentation, water content, and carbon capture, for optimal crop emergence and growth [2,3,4,5]. Soil surface roughness (SSR) contains significant information to qualify soil condition and tillage outcome [6,7,8,9]. It also influences water infiltration or runoff and soil erosion [10,11] at a small scale. Numerous studies have therefore focused on surface roughness parameterization, soil height changes, and soil cloddiness characterization, at the meter scale, for example, in recent research [12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]. Delineating the clods and holes or small depressions is thus a means to characterize the irregularities of the soil surface at this scale. It has long been recognized that micro-topography must be considered when mapping within-field variability [27].
Segmenting soil clods is a complex task because they can be dimly demarcated, embedded with another piece of relief or with each other. This is especially true long after tillage and among rough surfaces such as ploughings [18,28]. Several approaches were attempted, including on soil profiles [29], on 2D images [21,30,31,32,33,34,35], and on 2.5D Digital Elevation Models (DEMs) [18,28,36,37] or depth images [24]. Pre-sieved clods were used in some studies due to the complexity of the clod segmentation problem. According to ref. [24], depth images are more pertinent than RGB images for clod segmentation. For that purpose, several approaches have been proposed: contour-based methods [24,36], adapted watershed [37], dynamic contours [37], and wavelet-based methods [18,28].
Segmenting soil depressions has also been addressed in the literature at different scales [38,39,40,41,42,43,44]. At the interrill scale, micro-topography determines overland flow initiation. According to ref. [45], several configurations of extreme micro-topography type can be envisaged. These are: river-type (with connected pattern of depressions), random-type or crater-type (with connected crests that isolate the depressions). In reality, micro-topographies are often combinations of these intermediate forms. Depressions are mainly isolated from each other just after tillage and form crater-type topographies. In ref. [46], depression geometry was approximated by spherical cups, and plasticine cup-made surfaces were created for hydrological modeling. Depression storage or dead storage may be estimated by segmenting a surface DEM. Indeed, 2.5D DEMs are particularly well adapted to estimate small closed depressions, because it can be done by thresholding the elevations. For that purpose, RGB images, where color represents elevations, are appropriate to use. Histogram-based methods are quick and simple, often efficient, segmentation methods. They are particularly apt in the case of small datasets without ground truth if the regions of interest can be isolated by thresholding. Histogram thresholding methods are often based on grayscale images or on images transformed into the HSV or Lab color space when lighting and saturation are important. If the colors represent heights, there is no need to switch to the HSV or Lab color space. Thresholding the RGB channels independently is the simplest method for selecting colors related to depressions. It is a way to perform adaptive thresholding for heights. This approach is well adapted to the segmentation of depressions but not suitable for the segmentation of soil clods that may have a tilted base, different sizes, and lay at different heights. For that purpose, the boundary-based geometrical approach used in ref. [18] is more suited.
In ref. [47], it has been noted that the use of photogrammetry to assess post-tillage soil quality in agricultural fields has received limited attention. In particular, automatic delineation of soil clods and depressions remains largely unexplored in 2.5D DEMs of diverse surfaces recorded in the field at the meter scale. This study addresses this gap and presents computational techniques for interpreting measurement and quantifying roughness features at the within-field scale in order to assess soil surface spatial variability. First, a wavelet-based segmentation algorithm [18], originally developed in controlled experiments, is adapted to identify soil clods under field conditions. Second, a novel algorithm, specifically designed to segment two levels of soil depressions, is proposed. Both methods are applied here for the first time to field-acquired 2.5D DEMs, enabling the derivation of roughness feature volumes. These methods will be useful for assessing surface condition in soil monitoring.

2. Materials and Methods

2.1. Digital Elevation Models of Soil Surfaces

2.1.1. Measures in the Field

Three plots were chosen for DEM recording: one prepared for rapeseed, one for maize, and one for pea, in Beauce, at an agricultural site around Illiers-Combray, France (DMS coordinates: X = 48°18′04″; Y = 1°14′54″) (see Figure 1, plots 4, 6 and 12). Two replications of ploughing, rough seedbed and fine seedbed, were thus retained for the present study, resulting in 6 DEMs of 450 by 450 mm2 at a 0.5 mm resolution. The measurements were taken using a laser scanner, in April 2012, 5 to 6 months after tillage operations. One plot is shown in Figure 2.
The laser scanner was composed of a rail equipped with a laser, a motor, and a charge-coupled device (CCD) camera [48] (Figure 3). Profiles of the soil surface were measured in the x–z plane. The laser was moved along the y-axis, back and forth, to get the whole geometry and tackle the shadows created by the surface roughness, which induce around 20% of missing data. Repositioning was done by searching the best translation and rotation matching the highest clods on the two measures. This step was important for the quality of the DEMs. Indeed, when measuring elevations in the fields, slight shifts were common. Combining the two measurements allowed for reducing the missing data to around 7%, which were estimated by spline interpolation. Note that 7% is very low. Possible interpolation errors might change the boundaries of clods or depressions by a pixel. The vertical precision of the laser scanner is 0.5 mm. As there may be a bias between elevations in the two measurements, this can induce additional measurement noise consisting of peaks or blurred areas. Moreover, this study focused on the random roughness component of the surfaces. So, the DEMs were filtered and denoised using Random Forest and Singular Value Decomposition (SVD). The Random Forest algorithm allows for predicting values after learning from reliable areas [49]. It allowed for removing almost all the additional noise and strengthened the interpolation. The SVD was used for removing the deterministic component, corresponding to the first singular value, and the ground noise associated with the 5% lowest singular values (Equation (1)). Recall that singular value decomposition is a linear algebra method that expresses a matrix M as the product of three components:
M = U Σ V *
where U is an orthogonal matrix representing the Eigen vectors in the lines space, Σ is a diagonal matrix of ordered singular values, and V* is the adjoint matrix representing the Eigen vectors in the column space [50]. The greater singular values represent the main information and the smallest represent the residual noise. The first singular value is the largest and represents the deterministic part of the surfaces well. From the second singular value onward, some aspects of the clod structure were captured. Typical thresholds for the smallest singular values, which represent noise, are 1% or 5%. There was almost no difference between these thresholds, since the corresponding singular values were very small. Finally, some residual peaks (outliers with a high elevation value) were corrected with nearest-neighbor values.
Since the deterministic part of the surfaces has been removed, they have zero mean. The other basic statistics are gathered in Table 1.

2.1.2. Simulated Surface

To complete the evaluation of segmentation methods, a simulated surface was generated numerically by setting half ellipsoids corresponding to clods and depressions on a horizontal plane. This model was already used for clods in refs. [12,26]. In ref. [46], depressions were approximated using spherical cups. Half ellipsoids were preferred here, as with clods. The distribution of parameters was set from seedbeds and laboratory surface properties (Equations (2)–(5)). For the clods, semi-major axis length a was drawn from a Weibull probability density function of shape parameter k = 9.4794 and scale parameter λ = 1.3957:
f x ; k , λ = k λ x λ k 1 e x λ k
and added with a minimum value of 5. Then, semi-minor axis length b and semi-height c were computed by linear regression according to the following equations:
b = 0.74 a + 0.22 + r b
c = 1.63 a 4.34 + r c
where r b and r c are uniform random noises of standard deviation 3 and 7, respectively.
For the depressions, semi-major axis length a was taken between 10 and 50 according to the following equation:
a = α x + δ
with α = 1437.9 and δ = 1.887. Semi-minor axis length b was proportional to a with a random factor between 0.6 and 0.9, and semi-height c was drawn from an exponential law of probability density of parameter µ = 3.1607:
f x ; μ = μ e μ x
and added with a minimum value of 20.
Both clods and depressions had random orientation values between π 2 and π 2 . A total of 200 clods and 100 depressions were ordered by size and set randomly on a horizontal plane without overlap.

2.2. Segmentation of the DEMs

2.2.1. Segmentation of Soil Clods

A clod is a cohesive soil aggregate, formed by desiccation, compaction or mechanical action, and larger than fine natural aggregates. From the micro-topography, we could characterize the size and shape through DEM segmentation. The principle of clod segmentation was based on initial multiresolution analysis of the surfaces to be segmented [18,28,51]. Let z = S(x, y) denote the DEM of a soil surface. The surface can be decomposed for different levels n into one approximation An(x, y) and the sum of n details D1(x, y), …, Dn(x, y) (Equations (6)–(8)):
S x , y = A n x , y + k = 1 n D k x , y
For n = 0, the approximation is the DEM itself and no detail is introduced:
S x , y = A 0 x , y
At each level n, approximation and detail were calculated according to the following recursion:
A n 1 x , y = A n x , y + D n x , y
Here, the detail Dn(x, y) was the total contribution of vertical, horizontal, and diagonal details. Thus, the approximation was the low-frequency part and the detail represented the high-frequency part. It was found that most energy in a soil surface was contained in the low-frequency band. Therefore, considering the approximations of a surface allowed for extracting the clods from the smallest to the largest.
The algorithm for clod segmentation is presented in Algorithm 1.
Algorithm 1: Clod segmentation
1:
  1st step: Detect the clods
2:
  Comput the approximations An of the surface.
3:
  For each surface approximation An, do
4:
      Detect the local maxima of the surface with a moving window.
5:
      For each maximum, do
6:
           Estimate the clod boundary box by testing the slope.
7:
           Check the difference in height to discard flat bumps and sharp peaks.
8:
      End for.
9:
  End for.
10:
Merge the detections at the different levels n from coarse to fine by looking roughly for clod inclusion in each other.
11:
2nd step: Delineate the clods
12:
For each detected clod, do
13:
    Extract the local surface around the clod from the DEM.
14:
    Get the centered local surface by removing the mean plane.
15:
    Get clod mask by keeping the elevations above the mean plane.
16:
    Extract the clod contour on the clod mask.
17:
    Check the goodness of the intersection with the mean plane and refine the inclination and the height of the mean plane when needed.
18:
    Check if the local surface needs to be extended.
19:
    Check for the segmentation of a block of clods.
20:
    Regularize the clod contour by morphological opening (or closing for too small clods).
21:
    Rule out the too flat clods.
22:
    Correct or rule out squared contours.
23:
End for.
24:
Sort the validated clod contours by decreasing size.
25:
3rd step: Overall handle of clods
26:
For each validated clod contour, do
27:
    Check for inclusion or partial overlapping with the other clod contours.
28:
    Remove the included clods and refine the delineation of the overlapping contours.
29:
End for.
It involves three main steps:
  • Extraction of the local maxima and boundary boxes for each level of surface approximation retained An, followed by validation and rough merging of the detected clods.
  • Accurate delineation of each clod contour by controlled intersection of the local soil surface and the clod base plane.
  • Handling of inclusions or overlaps of the validated contours.
Thus, the main parameters that may depend on the DEM resolution and surface roughness were: the list of approximation levels of the surface, the size of moving window, the distance between maxima for rough merging, the minimum size, and the minimum height difference (estimated with deciles 0.1 and 0.9) for clod validation. In this study, the last parameters were set to constant values of 10, 14, 32, and 3% of contour length, respectively. The mother wavelet used for wavelet transform was Daubechies 9. The algorithm’s parameters and rules were designed in refs. [18,28] to maximize recall and precision, and they have a physical meaning. Here, the segmentation method is evaluated on a new dataset to demonstrate its scalability. Steps 1 and 2 account for most of the running time. In Step 1, the pairwise comparison of clods was not optimized. Step 2 becomes longer as the number of clods increases. For DEMs of 900 × 900 pixels and around 500 clods, the algorithm takes 45 min on a laptop with a 2.6 GHz Intel Core i7 processor, and MATLAB (v2022b). This time would be reduced with smaller DEMs or fewer clods.

2.2.2. Segmentation of Holes and Depressions

A depression is a low point of relief. It designates a hollow of the agricultural land where water concentrates more easily. Again, its size is important, and, here, an estimation of the volume has been done without any hypothesis of shape. When representing elevations in the MATLAB Parula color map (i.e., blue, green, yellow), the deep blue part corresponded very well to the depressions. This was the case because the surfaces had zero mean and were positively skewed. The purpose of transforming the DEMs into RGB space was therefore to work with the histograms of the color channels, scaled to the full range, in order to enable adaptive thresholding. This is an original approach. The proposed method therefore consists of two steps:
  • Scale images to the (1–256) range and register elevation images in RGB color space,
  • Threshold the blue and green channels.
For this second step, the envelope of the channel histogram was first estimated with wavelet approximation of level 3 and mother wavelet Daubechies 15. The combination of the blue and green channels allows for the selection of colors corresponding to depressions and their deepest parts. The threshold T on the blue channel was set at the 80% percentile, and higher values were kept. This threshold allows for the selection of the blue region with some margin. Below this value, the retained regions are two large, non-meaningful areas. It would be possible to set this threshold at 90%, as it made no difference. However, a value of 95% would be too high and would lead to no more concave depressions. Two thresholds, T1 and T2, were used for the green channel, the median for deepest holes, the 70% percentile for the depressions, and lower values were retained. In that case, the envelope of the histogram was forced to zero near the origin. These thresholds were set to obtain closed contours that can be modeled by a simple geometric shape in the case of holes, and that reach the clod bases near null elevations in the case of depressions. This ensures the physical significance of the regions segmented as lower parts of the relief with negative elevations. An example is illustrated in Figure 4. A sensitivity analysis of depression segmentation was conducted for the threshold T2 (Table 2). Indeed, the threshold on the green channel is the most important for delineating depressions and could be used alone. Table 2 shows only one example per tillage practice but the analysis was done on all the surfaces. Some depressions can be segmented from thresholds as low as 30% or 40%. Increasing the threshold then results in larger and more numerous depressions. However, for some surfaces, increasing the threshold can also cause depressions to merge, thereby reducing their number. The mean height of the depression contours tends to increase, reaching or slightly exceeding zero. The total volume occupied by the depressions also increases. From 75% to 90%, depending on the surface, some depressions become too large to be meaningful and may not be concave. Therefore, a value of 70% was retained.
Defining thresholds as percentiles rather than fixed values makes the algorithm adaptive and applicable to different soil surfaces, regardless of the elevation range. In this study, the standard deviation varies by a factor up to three. At the selected percentiles, the variability in the actual threshold values for the blue and green channels is of around 8%, whereas at other percentiles, it can reach 20%. Histogram thresholding is also a simple and quick method. The running time for segmentation of depressions was of less than 5 s.

2.3. Performance Assessment

The goodness of segmentation could be appreciated qualitatively, visually, and quantified by indices. For the evaluation of detection results, recall, reflecting the percentage of clods well detected, precision, representing the percentage of correct predictions as clods, and the F1-score, a balance between the two, are reference metrics. For contour evaluation, the IoU (Intersection over Union) is a reference metric. It represents the proportion of the common region area between a segmented region and its ground truth.
Due to visual bias and the inherent limitations of representation of 2.5D DEMs measured in the field, obtaining a ground truth for contour delineation was not feasible. Consequently, IoU metrics could not be computed in this context. To evaluate object detection, it was necessary to zoom in on smaller areas to perform an object-by-object evaluation. The segmentation was first applied to the entire DEMs and visually assessed. Then, smaller samples of 400 × 400 pixels were extracted to estimate recall, precision, and F1-score for the clods, which were sufficiently numerous for these metrics to be meaningful. Depressions were not numerous enough to allow for a quantitative evaluation of their detection. Nevertheless, the quality of the boundary delineation of clods and depressions was assessed using the IoU metric on simulated surfaces, for which the ground truth is known.

3. Results

3.1. Segmentation of the Real Surfaces

The first results presented are those with DEMs recorded in the field. Figure 5a shows a 3D view and Figure 5b a top view of a fine seedbed. Units are 0.5 mm, which means that there is 0.5 mm between two points. For this surface, 581 clods, 203 depressions and 56 deep holes were segmented. One can see that the micro-topography has been well captured. For fine seedbeds, levels A2–A5 of surface approximation were retained. Quantitative indices were estimated on two smaller samples located in the upper left and right corners. Figure 6 displays one of them. Out of 130 clods, 123 were correctly segmented (true positives), 7 were missed (false negatives) and 3 contours were not really clods (false positives). Thus, recall was 94.6%, precision 97.6% and the F1-score 96.1%. In some cases, the delineation included two clods that form a block. This occurred because the surface had weathered over a few months after tillage. On Figure 6b, one can see small holes or depressions just at formation, and larger ones. The delineation of holes or depressions matched well with some clod bases. A few clods were located in depth and were contained within depressions or the deepest holes. In the second sample, there were 122 clods: 115 true positives, 7 false negatives, and 2 false positives, resulting in a recall of 94.3%, a precision of 98.3%, and an F1-score of 96.3%. Table 3 summarizes the evaluation of clod segmentation for both fine seedbed DEMs and two samples per DEM. The results were relatively stable. Some samples of fine seedbed surfaces had slightly more or slightly fewer clods. There was sometimes uncertainty as to whether a bump was a clod or part of the support. Overall, the results were very good, with indices above 95%.
An example of rough seedbed surface is shown in Figure 7. For this surface, 528 clods, 131 depressions and 54 deeper holes were segmented. These were fewer than for the fine seedbeds. Some clods appeared larger. The surface exhibited both fine seedbed-like areas and coarser regions, resulting in fewer clods and more complex relief features. Additionally, the elevation range was −40 to 60 height samples (i.e., 100 × 0.5 = 50 mm) compared to −20 to 40 height samples (30 mm) for the fine seedbeds. For these rough seedbed surfaces, the retained segmentation levels were A2–A6 for surface approximations—one more level than for the fine seedbeds. As before, it was occasionally difficult to determine whether certain bumps should be classified as clods or as part of the support.
Table 4 presents the indices for two samples per DEM of rough seedbeds. The indices were generally stable, with the exception of one recall value dropping to 88.2%. Overall, the indices exceeded 93%, demonstrating very good performance. The delineation of holes or depressions again matched well with some clod bases, and as with fine seedbeds, a few clods were located in depth and contained within depressions or the deepest holes. Therefore, the proposed segmentation method proved well-adapted to seedbeds.
The case of ploughing surfaces was more complicated due to the superposition of different roughness. The largest clods or bulges were not always segmented as a whole if they contained several bumps. Including higher levels of approximation (A7–A9) did not bring any improvement. In this case, the question arose as to whether some bulges were large clods that should be considered as single objects or whether they were part of the support containing smaller clods on top (see Figure 8). Figure 8 shows one of the two DEMs of ploughed surfaces. It can be observed that the surface had a greater range of elevations (−50 to 100 height samples, i.e., 75 mm) and that some parts were coarser than others. For this surface, 237 clods, 47 depressions, and 34 deep holes were segmented. These were fewer than for seedbeds. Again, the depressions corresponded well with the clod bases. Here, identifying clod contours was more difficult than for seedbeds, and the visual bias was higher due to the complex micro-topography.
Table 5 shows the indices of clod detection for two samples per DEM. The number of clods varied significantly depending on the studied sample of the surface. Recall ranged between 80% and 86%, and precision ranged between 95.3% and 98.2%, indicating that some clods were not detected, but the detections were reliable. The F1-scores remained quite stable around 90%. The results were still good, but the segmentation method reached its limits, performing better on fine seedbeds that had less variability in clod size and a flatter support structure for clods.

3.2. Segmentation of the Simulated Surface

Now let us consider the simulated surface to quantify the accuracy of contour delineations for clods and depressions. For this surface, using the Daubechies 9 wavelet applied to in-field surfaces induced too many undulations; so, Daubechies 3 was used instead [51]. As the surface was already smooth, no approximation was needed. When adding some random noise, levels 1 and 2 were used for moderate and higher cases, respectively. Figure 9 shows the delineations of segmented clods and depressions (dotted lines) and the ground truth (solid line) for the simulated surface without noise.
Table 6 presents the IoU values obtained in the three cases: (1) surface without noise, (2) surface with moderate noise, and (3) surface with higher noise. The variance in the noise added to the surface was computed separately for clods and depressions, as they differ significantly in size. Moreover, because the ranges of clods and depressions were large, the signal-to-noise ratio (SNR) was different for each clod and each depression. Therefore, median values were reported in the table. The depressions were segmented with very good IoU values near 92% on average, and the method was robust against noise. Note that the simulated surface had a color map slightly different from in-field surfaces due to horizontal support; so, the thresholds on histograms corresponded to slightly different elevations. Consequently, the green threshold was fixed for the simulated surface. With a median SNR of 50%, the lowest decile had a SNR under 20%, and with a median signal-to-noise ratio of 10%, the lowest decile SNR was under 4%. Hence, all depressions were well segmented even in the presence of high noise. For clods, the results were also very good but more affected by noise due to a wider range of clod sizes. Some clods were not detected in the presence of noise, while the noise induced small bumps that were segmented as clods. To quantify the quality of delineation, only detections were considered for IoU statistics. Average IoU values were close to 88% in the first two cases and around 84% in the last one. With a median SNR of 50%, the lowest decile had an SNR below 4%. When the median SNR was 10%, the lowest decile SNR dropped below 0.8%. The noise condition was thus harder for clods than for depressions.

3.3. Application to Spatial Variability Quantification

An application of the proposed segmentation methods could be the computation of the volume of the segmented features to characterize their size and within-field spatial variability. Figure 10a shows the cumulative density function (CDF) of the clod volumes for each replicate of the soil surfaces. Since the volumes were more spread out and larger for ploughings than for seedbeds, a decimal logarithm scale was used for display. The fine seedbeds showed the smallest clod volumes, while the rough seedbeds were very similar but contained some larger clods. Notably, one rough seedbed and one fine seedbed showed the same volumes for the 20% smallest clods. However, when considering larger clods, the differences become more pronounced. The two ploughings were clearly distinct, with significantly larger clods. These results are consistent. The CDF plots also reveal the range of clod volumes obtained on bare soil a few months after soil preparation:
  • Fine seedbeds: ~2 × 102 to ~3 × 104 mm3;
  • Rough seedbeds: ~2 × 102 to ~105 mm3;
  • Ploughings: ~3 × 102 to >105 mm3.
Likewise, the CDF of the depression volumes for each replicate of soil surface can be seen in Figure 10b. The order of magnitude of depression volume is rather close to that of the clods, but slightly more spread out. Indeed, the small depressions are smaller than the smallest clods. This can be caused by a threshold for minimum size to validate clod delineation. Under this threshold, one should obtain aggregates, which are more difficult to study one by one, and were not tackled in this study. Also, both CDFs of clod volumes for ploughings were truncated so that Figure 10a is more intelligible. The convergence towards 1 would be obtained for volumes of clods of around 5 × 105 mm3. For depressions, the largest values were around 7 × 105 mm3. The seedbeds were grouped, and the ploughed surfaces were again clearly distinct, with larger depressions. An interesting finding is that the effect of the soil preparation is more expected for clod distribution than for depression distribution. In particular, the difference between a fine seedbed and a rough seedbed is clearer considering the clods.
To reflect the spatial variability in roughness features, the variation coefficients were estimated for clods and depressions. The variation coefficients for clod volumes were, respectively, 1.42 and 1.13 for fine seedbeds, 2.13 and 2.68 for rough seedbeds, and 3.77 and 3.49 for ploughings, which is very discriminant of the tillage operations and the soil surface roughness. For depression volumes, in the same order of surfaces, the coefficients of variation amounted, respectively, to 4.85, 4.27, 4.96, 7.18, 3.90, and 2.68. The fine seedbeds had around 190 depressions due to small irregularities of the microrelief of the surface. It led to great variations in the size of depressions. The ploughings were coarser and smoother surfaces with only about forty depressions of larger size, which led to globally smaller coefficients of variation. The rough seedbeds were in between, with around 130 depressions and rather fine parts and coarser parts, which led to the maximum coefficients of variation.

4. Discussion

As shown in Table 1, the standard deviations of elevations are typical for the roughness of small, medium, and large soil surfaces measured in the field. Note that the DEMs were acquired a few months after tillage operations, which resulted in lower elevation standard deviations than those immediately after tillage. The probability density functions (PDFs) of elevations are positively skewed, indicating that having more clods than depressions is consistent. Finally, the kurtoses are greater than three, with one exception, indicating that the elevation PDFs are not Gaussian. In total, there are approximately 2800 clods, of which 1250 were analyzed individually to estimate quantitative indices. These indices are therefore statistically meaningful.
In the literature, the wavelet-based clod segmentation algorithm was evaluated on handmade soil surfaces of sieved clods (laboratory surfaces) in ref. [18]. It showed strong performance and robustness, with average overlap rates (IoU indices) ranging between 55.1% and 79.9%, for instance evaluation, i.e., clod by clod. This corresponded to goodness of agreement (i.e., reflecting probability of having a high IoU) between 65.1% and 86.1% when compared with other methods. The equivalent diameters derived from this method and manual segmentation yielded a very good regression equation of 0.93x + 1.9 mm, with R2 = 99%. This method was also evaluated on both real and laboratory surfaces in ref. [28] for the detection task, resulting in a sensitivity or recall of 83.6% and a precision of 93.6%, yielding an F1-score of 88.3%. Note that in the cited paper, the precision was mistakenly called specificity, and only the detection of clods was performed. In the present study, for in-field DEMs, the average recall, precision and F1-score were, respectively, 92.0%, 96.7%, and 94.2%, showing the scalability of the method. For simulation, IoU ranged from 84.2% to 87.9%. These results were thus better due to the relevance of steps 2 and 3 of the segmentation algorithm, which were specifically designed for clod delineation.
In ref. [21], for 2D images segmentation using deep learning under laboratory conditions, mean IoU values ranged from 41.3% to 79.3% depending on clod size class, with an average of 55.7%. This was lower than the proposed method, highlighting the complexity of the clod segmentation problem. Note that in the present study, the simulated surface was less realistic than laboratory or field surfaces. However, the excellent visual agreement of the boundaries for seedbeds and ploughed surfaces demonstrates the robustness of the method when applied in real conditions. In ref. [34], deep learning was also used for soil block identification. Average precision, recall, and F1-score were 87.3%, 87.8% and 88%, respectively, but only for the training dataset. These results are again lower than those obtained in the present study. In ref. [35], a preliminary study on deep-learning-based clod segmentation was proposed. It resulted in the detection of 103 clods on a 2D image. While segmented clod areas were presented, only the clod fraction (i.e., the ratio of total clod area to image area) was evaluated, and no assessment of the clod boundaries was provided.
To the best of our knowledge, no segmentation of depressions has been published at the small scale addressed in the present article. Topographic depressions have instead been studied at a meter-scale resolution. In ref. [44], karst depressions were segmented on 30 m resolution DEMs using deep learning with DEMs and derived variables as inputs. The best result achieved an F1-score of 85.1% and an IoU of 74.0%. The method presented in the present paper based on millimeter-scale resolution achieved better IoU values with an average of 91.8% on simulated surfaces, and visually comparable agreement on in-filed surfaces. Quantifying the segmentation of depressions remains challenging. Using a higher threshold on the green channel would have produced more extensive depressions. However, we have chosen to keep closed contours possibly modellable. Ultimately, the surface will be considered as the sum of clods, holes and depressions, supported by a base surface, as was the case for the simulated surface.
Clod segmentation proved more challenging than depression segmentation, leading to a more complex algorithm for clod detection. Optimal results were obtained for fine seedbeds, with excellent performance (F1-score and recall of 96.2% and 95.2%). However, performance was less strong (F1-score and recall of 90.1% and 84.2%), although still robust, for coarser ploughed surfaces. In that case, distinguishing between clods and the supporting terrain remains ambiguous and warrants further investigation. Several factors may contribute to this difficulty:
(1)
The number of singular values allocated to the deterministic component may need adjustment for rougher surfaces;
(2)
The choice of mother wavelet (e.g., Daubechies 9) and its family number may not be optimal for such surfaces;
(3)
Higher family numbers introduce more oscillations, potentially complicating the delineation of large clod contours.
Clods and depressions can be characterized by their size. In this study, this was done using volumes without any assumption about shape. For the simulated surface, for which the true volumes are known, the errors in the total volume occupied by clods and depressions were estimated at 6.9% and 2.3%, respectively, with a slight underestimation in each case. CDF plots are useful for characterizing tillage and surface conditions. Moreover, the spatial variability in clod volumes, quantified by the coefficient of variation, is highly discriminative of the roughness resulting from tillage operations and weathering. Indeed, the coefficients of variation were 1.42 and 1.13 for fine seedbeds, 2.13 and 2.68 for rough seedbeds, and 3.77 and 3.49 for ploughed surfaces, showing similar values across surface replications and an increasing order of magnitude as the surface becomes coarser.
The proposed segmentation methods thus provide a powerful tool for the quantitative assessment of agricultural surfaces, enabling precise characterization of soil clods and depressions while addressing both research and practical management needs. They allow for the derivation of morphometric indicators (size, shape, spatial distribution) and support automated classification of surface conditions. This will facilitate temporal monitoring of post-tillage evolution. The added value of the 2.5D representation compared to 2D lies in the ability to compute volumes of clods and depressions. Future applications may include hydrological and erosion studies, such as estimating water retention capacity and the spatio-temporal evolution of surface roughness. The combination of millimeter-scale resolution with meter-scale coverage also makes these methods relevant for remote sensing applications. They further open the way to surface modeling and the estimation of radar signatures using electromagnetic simulations [12].

5. Conclusions

This study explored automatic DEM interpretation to assess post-tillage soil quality and presented computational methods for quantifying field-scale roughness features. Two segmentation methods for delineating clods and small depressions were evaluated, and their application for studying spatial variability was demonstrated. Field-measured DEMs confirmed the relevance of the proposed approaches, with indices outperforming those reported in the literature.
These methods enable both global statistics on clod and depression size and shape, and precise localization of these features. They not only improve the quantitative characterization of soil surface roughness, but also pave the way for operational applications, including automated classification and high-resolution temporal monitoring of surface condition. Their unique combination of field-scale coverage and millimeter-scale resolution offers strong potential for advancing hydrological modeling, erosion assessment, and remote sensing of soil surface conditions.
Future work will focus on modeling clods and depressions to complete the characterization of surface roughness and simulate realistic soil surfaces, including the support structure of these features and deterministic components of the surface.

Author Contributions

Conceptualization, E.V.; methodology, E.V., R.D., M.S. and M.Z.; software, E.V., M.S. and M.Z.; data curation, R.D.; writing—original draft preparation, E.V., writing—review, R.D.; supervision, E.V. and R.D.; funding acquisition, E.V. and R.D. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Programme National de Télédétection Spatiale (PNTS, http://programmes.insu.cnrs.fr/pnts/ (accessed on 14 April 2026)), grant Nos. PNTS-2020.20 and A02010-499016.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The author would like to thank Frédéric Darboux for his help in measuring the data. They are also grateful to the reviewers who helped improve this article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

SSRSoil Surface Roughness
DEMDigital Elevation Model
IoUIntersection over Union
2DTwo dimensional
2.5DTwo dimensional and a half for z(x, y) data
RGBRed Green Blue
DMSDegrees/Minutes/Seconds
CCDCharge Coupled Device
SNRSignal-to-Noise Ratio
CDFCumulated Distribution Function
PDFProbability Density Function
FSFine Seedbed
RSRough Seedbed
PLPloughing

References

  1. Matranga, G.; Palazzi, F.; Leanza, A.; Milella, A.; Reina, G.; Cavallo, E.; Biddoccu, M. Estimating soil surface roughness by proximal sensing for soil erosion modeling implementation at field scale. Environ. Res. 2023, 238, 117191. [Google Scholar] [CrossRef]
  2. Schapel, A.; Marschner, P.; Churchman, J. Influence of clay clod size and number for organic carbon distribution in sandy soil with clay addition. Geoderma 2019, 335, 123–132. [Google Scholar] [CrossRef]
  3. Rahmani, H.; Scanlan, C.; Nadeem, U.; Bennamoun, M.; Bowles, R. Automated segmentation of gravel particles from depth images of gravel-soil mixtures. Comput. Geosci. 2019, 128, 1–10. [Google Scholar] [CrossRef]
  4. Wang, M.; Liu, H.; Rezanezhad, F.; Zak, D.; Lennartz, B. The influence of microtopography on soil carbon accumulation and nutrient release from a rewetted coastal peatland. Geoderma 2023, 438, 116637. [Google Scholar] [CrossRef]
  5. Zhao, Z.; Wei, H.; Liu, S.; Xue, Z. Estimation of agricultural soil surface roughness based on ultrasonic echo signal characteristics. Soil Tillage Res. 2024, 239, 106038. [Google Scholar] [CrossRef]
  6. Marinello, F.; Pezzuolo, A.; Gasparini, F.; Arvidsson, J.; Sartori, L. Application of the Kinect sensor for dynamic soil surface characterization. Precis. Agric. 2015, 16, 601–612. [Google Scholar] [CrossRef]
  7. Riegler-Nurscher, P.; Moitzi, G.; Prankl, J.; Huber, J.; Karner, J.; Wagentristl, H.; Vincze, M. Machine vision for soil roughness measurement and control of tillage machines during seedbed preparation. Soil Tillage Res. 2020, 196, 104351. [Google Scholar] [CrossRef]
  8. Zheng, X.; Li, L.; Wang, C.; Han, L.; Jiang, T.; Li, X.; Li, X.; Liu, F.; Li, B.; Feng, Z. Measuring surface roughness of agricultural soils: Measurement error evaluation and random components separation. Geoderma 2021, 404, 115393. [Google Scholar] [CrossRef]
  9. Yang, J.; Wang, T.; Liang, Y.; Wei, Y. Image segmentation and dominant region feature extraction for original soil: Towards soil property prediction based on images acquired from smartphones. Catena 2023, 233, 107508. [Google Scholar] [CrossRef]
  10. Herodowicz-Mleczak, K.; Piekarczyk, J.; Kaźmierowski, C.; Nowosad, J.; Mleczak, M. Estimating soil surface roughness with models based on the information about tillage practises and soil parameters. J. Adv. Model. Earth Syst. 2022, 14, e2021MS002578. [Google Scholar] [CrossRef]
  11. Luo, J.; Zheng, Z.; Li, T.; He, S.; Tarolli, P. Impact of tillage-induced microtopography on hydrological-sediment connectivity and its hydrodynamic understanding. Catena 2023, 228, 107168. [Google Scholar] [CrossRef]
  12. Vannier, E.; Taconet, O.; Dusséaux, R.; Chimi-Chiadjeu, O. Statistical characterization of bare soil surface microrelief. In Advance Geoscience Remote Sensing; Marghany, M., Ed.; Edition Intech: Rijeka, Croatia, 2014; pp. 207–228. [Google Scholar]
  13. Snapir, B.; Hobbs, S.; Waine, T.W. Roughness measurements over an agricultural soil surface with structure from motion. ISPRS J. Photogramm. Remote Sens. 2014, 96, 210–223. [Google Scholar] [CrossRef]
  14. Thomsen, L.M.; Baartman, J.E.; Barneveld, R.J.; Starkloff, T.; Stolte, J. Soil surface roughness: Comparing old and new measuring methods and application in a soil erosion model. Soils 2015, 1, 399–410. [Google Scholar] [CrossRef]
  15. Rahimi-Ajdadi, F.; Abbaspour-Gilandeh, Y.; Mollazade, K.; Hasanzadeh, R.P.R. Application of machine vision for classification of soil aggregate size. Soil Tillage Res. 2016, 162, 8–17. [Google Scholar] [CrossRef]
  16. Martinez-Agirre, A.; Alvarez-Mozos, J.; Gimenez, R. Evaluation of surface roughness parameters in agricultural soils with different tillage conditions using a laser profile meter. Soil Tillage Res. 2016, 161, 19–30. [Google Scholar] [CrossRef]
  17. Liu, Z.; Yang, W.; Li, M.; Zhou, P.; Yao, X.; Chen, Y.; Hao, Z. Soil roughness measuring system combined with image processing. IFAC-PapersOnLine 2018, 51, 689–694. [Google Scholar] [CrossRef]
  18. Vannier, E.; Dusséaux, R.; Taconet, O.; Darboux, F. Wavelet-based clod segmentation on digital elevation models of a soil surface with or without furrows. Geoderma 2019, 356, 113933. [Google Scholar] [CrossRef]
  19. Zhang, G.-H.; Xie, Z.-F. Soil surface roughness decay under different topographic conditions. Soil Tillage Res. 2019, 187, 92–101. [Google Scholar] [CrossRef]
  20. Vinci, A.; Todisco, F.; Vergni, L.; Torri, D. A comparative evaluation of random roughness indices by rainfall simulator and photogrammetry. Catena 2020, 188, 104468. [Google Scholar] [CrossRef]
  21. Azizi, A.; Abbaspour-Gilandeh, Y.; Vannier, E.; Dusséaux, R.; Mseri-Gundoshmian, T.; Moghaddam, H.A. Semantic segmentation: A modern approach for identifying soil clods in precision farming. Biosyst. Eng. 2020, 196, 172–182. [Google Scholar] [CrossRef]
  22. Dusséaux, R.; Vannier, E. Soil surface roughness modelling with the bidirectional autocorrelation function. Biosyst. Eng. 2022, 220, 87–102. [Google Scholar] [CrossRef]
  23. Bahddou, S.; Otten, W.; Whalley, W.R.; Shin, H.-C.; El Gharous, M.; Rickson, R.J. Changes in soil surface properties under simulated rainfall and the effect of surface roughness on runoff, infiltration and soil loss. Geoderma 2023, 431, 116341. [Google Scholar] [CrossRef]
  24. Ishii, S.; Suto, I.; Tabe, H.; Aono, K.; Zhao, M.; Ueshige, Y.; Matsushita, K.; Iritani, T.; Hanamoto, T.; Nakao, M.; et al. Construction of a soil clod recognition bench-scale experiment for discrete element method modelling of tilling phenomena. J. Terramech. 2023, 109, 63–71. [Google Scholar] [CrossRef]
  25. Liu, G.; Zheng, K.; Xia, J.; Cheng, J.; Liu, Z.; Wei, Y.; Zhang, B.; Zhang, P. Research on an intelligent vibration detachment system for rotary tiller based on soil surface roughness dynamic characteristics. Comput. Electron. Agric. 2024, 224, 109214. [Google Scholar] [CrossRef]
  26. Vannier, E.; Dusséaux, R. Machine learning of clod evolution under rain for numerical simulation of microtopographic variations by clod layout. Biosyst. Eng. 2025, 253, 104130. [Google Scholar] [CrossRef]
  27. Godwin, R.J.; Miller, P.C.H. A review of the technologies for mapping within-field variability. Biosyst. Eng. 2003, 84, 393–407. [Google Scholar] [CrossRef]
  28. Vannier, E.; Ciarletti, V.; Darboux, F. Wavelet-based detection of clods on a soil surface. Comput. Geosci. 2009, 35, 2259–2267. [Google Scholar] [CrossRef]
  29. Borselli, L. Segmentation of soil roughness profiles. Earth Surf. Process. Landf. 1999, 24, 71–90. [Google Scholar] [CrossRef]
  30. Sandri, R.; Anken, T.; Hilfiker, T.; Sartori, L.; Bollhalder, H. Comparison of methods for determining cloddiness in seedbed preparation. Soil Tillage Res. 1998, 45, 75–90. [Google Scholar] [CrossRef]
  31. Wang, W. Image analysis of aggregates. Comput. Geosci. 1999, 25, 71–81. [Google Scholar] [CrossRef]
  32. Bogrekci, I.; Godwin, R.J. Development of an image–processing technique for soil tilth sensing. Biosyst. Eng. 2007, 97, 323–331. [Google Scholar] [CrossRef]
  33. Torre, I.G.; Losada, J.C.; Tarquis, A.M. Multiscaling properties of soil images. Biosyst. Eng. 2018, 168, 133–141. [Google Scholar] [CrossRef]
  34. Liu, L.; Bi, Q.; Liang, J.; Li, Z.; Wang, W.; Zheng, Q. Farmland soil block identification and distribution statistics based on deep learning. Agriculture 2022, 12, 2038. [Google Scholar] [CrossRef]
  35. Yokota, A.; Tamás, K. Examination of soil surface clod fractions using image processing and yolo deep learning. In Proceedings of ECMS 2025; Scarpa, M., Cavalieri, S., Serrano, S., De Vita, F., Eds.; European Council for Modelling and Simulation: Catania, Italy, 2025; Volume 39, pp. 177–183. [Google Scholar]
  36. Taconet, O.; Vannier, E.; Le Hégarat-Mascle, S. A contour-based approach for clods identification and characterization on a soil surface. Soil Tillage Res. 2010, 109, 123–132. [Google Scholar] [CrossRef]
  37. Chimi-Chiadjeu, O.; Le Hégarat-Mascle, S.; Vannier, E.; Taconet, O.; Dusséaux, R. Automatic clod detection and boundary estimation from digital elevation model images using different approaches. Catena 2014, 118, 73–83. [Google Scholar] [CrossRef]
  38. Garbrecht, J.; Martz, L.W. The assignment of drainage direction over flat surfaces in raster digital elevation models. J. Hydrol. 1997, 193, 204–213. [Google Scholar] [CrossRef]
  39. Martinez-Casasnovas, J.; Stuiver, H. Automated de-lineation of drainage networks and elementary catchments from digital elevation models. ITC J. 1998, 3, 198–208. [Google Scholar]
  40. Arnold, N. A new approach for dealing with depressions in digital elevation models when calculing flow accumulation values. Prog. Phys. Geogr. Earth Environ. 2010, 34, 781–809, Correction in Prog. Phys. Geogr. Earth Environ. 2011, 35, 273. https://doi.org/10.1177/0309133311402917. [Google Scholar] [CrossRef]
  41. Li, S.; MacMillan, R.A.; Lobb, D.A.; McConkey, B.G.; Mouli, A.; Fraser, W.R. Lidar DEM error analyses and topographic depression identification in a hummocky landscape in the prairie region of Canada. Geomorphology 2011, 129, 263–275. [Google Scholar] [CrossRef]
  42. Barnes, R.; Callaghan, K.L.; Wickert, A.D. Computing water flow through complex landscapes, Part 2: Finding hierarchies in depressions and morphological segmentations. Earth Surf. Dyn. 2020, 8, 431–445. [Google Scholar] [CrossRef]
  43. Wang, N.; Chu, X. A New Algorithm for Delineation of Surface Depressions and Channels. Water 2020, 12, 7. [Google Scholar] [CrossRef]
  44. Da Rocha Nunes de Castro, H.; de Carvalho Júnior, O.A.; Ferreira de Carvalho, O.L.; Trancoso Gomes, R.A.; Fontes Guimarães, R. Detection of karst depression in Brazil comparing different semantic and instance segmentations and global digital elevation models. Geomorphology 2024, 456, 109212. [Google Scholar] [CrossRef]
  45. Antoine, M.; Javaux, M.; Bielders, C. What indicators can capture runoff-relevant connectivity properties of the micro-topography at the plot scale? Adv. Water Resour. 2009, 32, 1297–1310. [Google Scholar] [CrossRef]
  46. Borselli, L.; Torri, D. Soil roughness, slope and surface storage relationship for impervious areas. J. Hydrol. 2010, 393, 389–400. [Google Scholar] [CrossRef]
  47. Chen, X.; Guo, Y.; Hu, J.; Xu, G.; Liu, W.; Ma, G.; Ding, Q.; He, R. Quantitative evaluation of post-tillage soil structure based on close-range photogrammetry. Agriculture 2024, 14, 2124. [Google Scholar] [CrossRef]
  48. Darboux, F.; Huang, C.-H. An instantaneous-profile laser scanner to measure soil surface micro topography. Soil Sci. Soc. Am. J. 2003, 67, 92–97. [Google Scholar] [CrossRef]
  49. Géron, A. Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd ed.; O’Reilly Media Inc.: Sebastopol, CA, USA, 2022; ISBN 9781098125974. [Google Scholar]
  50. Muller, N.; Magaia, L.; Herbst, B.M. Singular value decomposition, eigenfaces, and 3D reconstructions. SIAM Rev. 2004, 46, 518–545. [Google Scholar] [CrossRef]
  51. Grabs, A. An introduction to wavelets. IEEE Comput. Sci. Eng. 1995, 2, 50–61. [Google Scholar] [CrossRef]
Figure 1. Agricultural site in Beauce, France.
Figure 1. Agricultural site in Beauce, France.
Agriculture 16 01070 g001
Figure 2. One plot for DEM measurement.
Figure 2. One plot for DEM measurement.
Agriculture 16 01070 g002
Figure 3. Laser-scanner system for DEM measurement measurement (reproduced from [48], with permission from John Wiley and Sons, 2026).
Figure 3. Laser-scanner system for DEM measurement measurement (reproduced from [48], with permission from John Wiley and Sons, 2026).
Agriculture 16 01070 g003
Figure 4. Histogram-based segmentation of holes (bold white line) and depressions (white line), (a) blue channel, (b) green channel, (c) result.
Figure 4. Histogram-based segmentation of holes (bold white line) and depressions (white line), (a) blue channel, (b) green channel, (c) result.
Agriculture 16 01070 g004
Figure 5. (a) Fine seedbed DEM, (b) segmentation of clods (black line), holes (bold white line) and depressions (white line).
Figure 5. (a) Fine seedbed DEM, (b) segmentation of clods (black line), holes (bold white line) and depressions (white line).
Agriculture 16 01070 g005
Figure 6. (a) Zoom on a fine seedbed segmentation, (b) automatic delineation of clods (black line), holes (bold white line) and depressions (white line). In blue, false negatives. In red, false positives.
Figure 6. (a) Zoom on a fine seedbed segmentation, (b) automatic delineation of clods (black line), holes (bold white line) and depressions (white line). In blue, false negatives. In red, false positives.
Agriculture 16 01070 g006
Figure 7. (a) Rough seedbed DEM, (b) segmentation of clods (black line), holes (bold white line) and depressions (white line).
Figure 7. (a) Rough seedbed DEM, (b) segmentation of clods (black line), holes (bold white line) and depressions (white line).
Agriculture 16 01070 g007
Figure 8. (a) Ploughing DEM, (b) segmentation of clods (black line), holes (bold white line) and depressions (white line). In blue, question arise as to whether it is a single large clod or a part of the support containing smaller clods upon.
Figure 8. (a) Ploughing DEM, (b) segmentation of clods (black line), holes (bold white line) and depressions (white line). In blue, question arise as to whether it is a single large clod or a part of the support containing smaller clods upon.
Agriculture 16 01070 g008
Figure 9. Segmentation of clods (dotted black line) and depressions (dotted white line) on a simulated surface. Ground truth is in solid purple line.
Figure 9. Segmentation of clods (dotted black line) and depressions (dotted white line) on a simulated surface. Ground truth is in solid purple line.
Agriculture 16 01070 g009
Figure 10. Cumulative distribution of volumes of roughness features: (a) clods, (b) depressions.
Figure 10. Cumulative distribution of volumes of roughness features: (a) clods, (b) depressions.
Agriculture 16 01070 g010
Table 1. Statistics of the surface elevations.
Table 1. Statistics of the surface elevations.
DEMMeanStandard Deviation (mm)SkewnessKurtosis
Fine seedbed 104.720.714.24
Fine seedbed 204.500.644.22
Rough seedbed 107.690.875.15
Rough seedbed 207.400.554.41
Ploughing 1018.50.633.49
Ploughing 2016.60.482.85
Table 2. Sensitivity of segmented depressions to T2 threshold. Nb is the number of depressions, Pmax is the maximum value of perimeter, Hmax is the maximum mean height of depression contours, and Vtot is the total volume occupied by depressions. FS denotes fine seedbed, RS denotes rough seedbed, and PL denotes ploughing.
Table 2. Sensitivity of segmented depressions to T2 threshold. Nb is the number of depressions, Pmax is the maximum value of perimeter, Hmax is the maximum mean height of depression contours, and Vtot is the total volume occupied by depressions. FS denotes fine seedbed, RS denotes rough seedbed, and PL denotes ploughing.
SurfaceT2NbPmax (mm)Hmax (mm)Vtot (mm3)Concave
FS 230%0
40%458.5−8.83 × 10−52.93 × 103yes
50%34156−9.58 × 10−51.26 × 104yes
60%61298−5.71 × 10−53.60 × 104yes
70%174607−3.78 × 10−59.52 × 104yes
75%208743−5.21 × 10−61.68 × 105yes
80%2191.22 × 1032.55 × 10−42.38 × 105no
90%2316.90 × 1031.65 × 10−43.20 × 105no
RS 130%0
40%26108−1.50 × 10−41.66 × 104yes
50%54454−9.99 × 10−51.11 × 105yes
60%118754−5.10 × 10−52.94 × 105yes
70%1311.85 × 1031.78 × 10−44.64 × 105yes
75%1232.07 × 1031.78 × 10−44.85 × 105no
80%1222.10 × 1032.18 × 10−45.33 × 105no
90%985.18 × 1031.78 × 10−45.37 × 105no
PL 230%355.4−1.79 × 10−35.93 × 103yes
40%14103−3.10 × 10−43.67 × 104yes
50%34129−2.49 × 10−41.13 × 105yes
60%32422−2.22 × 10−43.98 × 105yes
70%471.06 × 103−1.56 × 10−47.35 × 105yes
75%441.00 × 103−1.03 × 10−49.53 × 105yes
80%442.18 × 103−1.54 × 10−51.17 × 106yes
90%153.32 × 1039.90 × 10−51.24 × 106no
Table 3. Indices of clod detection for fine seedbed DEMs.
Table 3. Indices of clod detection for fine seedbed DEMs.
SampleNb ClodsRecallPrecisionF1-Score
S113094.6%97.6%96.1%
S212294.3%98.3%96.3%
S313396.2%96.2%96.2%
S413895.7%97.1%96.4%
Overall52395.2%97.3%96.2%
Table 4. Indices of clod detection for rough seedbed DEMs.
Table 4. Indices of clod detection for rough seedbed DEMs.
SampleNb ClodsRecallPrecisionF1-Score
S113394.7%95.5%95.1%
S29488.2%96.5%92.2%
S311994.1%96.6%95.3%
S48894.3%94.3%94.3%
Overall43193.5%95.7%94.6%
Table 5. Indices of clod detection for ploughing DEMs.
Table 5. Indices of clod detection for ploughing DEMs.
SampleNb ClodsRecallPrecisionF1-Score
S17080.0%98.2%88.2%
S27585.3%97.0%90.8%
S35786.0%98.0%91.6%
S49685.4%95.3%90.1%
Overall29884.2%96.9%90.1%
Table 6. IoU values for simulated surface.
Table 6. IoU values for simulated surface.
IoUMeanStandard DeviationMinimumMaximum
Depressions (no noise)91.8%4.8%78.8%98.4%
Depressions (SNR < 50% for ½)91.8%4.5%79.5%97.8%
Depressions (SNR < 10% for ½)91.8%3.9%80.7%97.5%
Clods (no noise)87.9%4.4%78.0%95.5%
Clods (SNR < 50% for ½)87.6%12.0%0%95.6%
Clods (SNR < 10% for ½)84.2%21.5%0%96.3%
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.

Share and Cite

MDPI and ACS Style

Vannier, E.; Dusséaux, R.; Sylla, M.; Zeggaï, M. Segmentation of Soil Surface Roughness Features in High-Resolution DEMS. Agriculture 2026, 16, 1070. https://doi.org/10.3390/agriculture16101070

AMA Style

Vannier E, Dusséaux R, Sylla M, Zeggaï M. Segmentation of Soil Surface Roughness Features in High-Resolution DEMS. Agriculture. 2026; 16(10):1070. https://doi.org/10.3390/agriculture16101070

Chicago/Turabian Style

Vannier, Edwige, Richard Dusséaux, Mohamed Sylla, and Mohammed Zeggaï. 2026. "Segmentation of Soil Surface Roughness Features in High-Resolution DEMS" Agriculture 16, no. 10: 1070. https://doi.org/10.3390/agriculture16101070

APA Style

Vannier, E., Dusséaux, R., Sylla, M., & Zeggaï, M. (2026). Segmentation of Soil Surface Roughness Features in High-Resolution DEMS. Agriculture, 16(10), 1070. https://doi.org/10.3390/agriculture16101070

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop