Abstract

Mulching is used to improve the condition of agricultural soils by covering the soil with different materials, mainly black polyethylene (PE). However, problems derived from its use are how to remove it from the field and, in the case of it remaining in the soil, the possible effects on it. One possible solution is to use biodegradable plastic (BD) or paper (PP), as mulch, which could present an alternative, reducing nonrecyclable waste and decreasing the environmental pollution associated with it. Determination of mulch residues in the ground is one of the basic requirements to estimate the potential of each material to degrade. This study has the goal of evaluating the residue of several mulch materials over a crop campaign in Central Spain through image analysis. Color images were acquired under similar lighting conditions at the experimental field. Different thresholding methods were applied to binarize the histogram values of the image saturation plane in order to show the best contrast between soil and mulch. Then the percentage of white pixels (i.e., soil area) was used to calculate the mulch deterioration. A comparison of thresholding methods and the different mulch materials based on percentage of bare soil area obtained is shown.

1. Introduction

Mulching is a method of improving the condition of agricultural soils by covering the soil surface with different kinds of materials. For this purpose, black polyethylene (PE), a petroleum-based plastic, is the most used due to its low price and the positive effects on crop yields [1, 2]. However, a major problem derived from its use is how to remove it from the field and how it can be completely done [2], because the useful life of plastic materials exceeds the duration of crop cycles, and they are usually left in the soil afterward. Although the part exposed to the light undergoes photodegradation and favors the plastic decomposition, the rest of the material is broken into pieces by ploughing labors, some pieces being buried or remaining on the soil surface. The buried pieces are more difficult to decompose since they are less affected by light and heat, creating serious soil problems whose environmental repercussion has not been fully evaluated [3]. Feuilloley et al. [4] found that it is difficult to foresee the accumulative effects of PE fragments and the impact of the repeated use of these PE films on the environment. In this context, the microfragments derived from the buried pieces are electrically charged and their impact, if accumulated, on the argilo-humic complex is unknown. With the aim of accelerating the PE fragmentation in the soil, special prooxidant additives are used. These substances contain different complexes of transition metals, particularly Fe, Co, and Mn [5], with the environmental risk associated with soil heavy metal accumulation.

One possible solution to these environmental problems is to use biodegradable plastic or paper, as mulch, which could present an alternative to polyethylene in reducing nonrecyclable waste and decreasing the environmental pollution associated with it [68]. On the other hand, it is essential to control the functionality of these materials in the soil. This can be done at the laboratory, such as by measuring the transmittance of the materials [9], which would be quite complex, or at field level, by determining the level of deterioration of materials. In the latter case, it is very common to use qualitative scales to measure the degree of disrepair, for example, 9 or no deterioration (material practically intact) down to 1 or totally degraded, as indicated by Martin-Closas et al. [10], accompanied by photographic monitoring, apart from visual inspection, which is largely subjective.

Determination of mulch residues on the ground is one of the basic requirements to estimate the potential of each material to degrade. Determining the extent of mulch residue in the field is an exhausting job and there is not a distinct and accurate criterion for its measurement, as reported in detail in the review by Cowan [11]. There are several indices to estimate the residue covers but most of them are not only laborious and time consuming but also greatly affected by human errors. Human vision is fast and accurate enough in this case but the problem is that the magnitude must be stated numerically to be reported and to be used for comparison between different mulches or mulches at different times. Interpretation of the extent perceived by vision into figures is possible by a simulation of the human vision system.

Machine vision comprising image processing systems can perform these tasks. Lately, recent developments in robotics, computer vision, and hardware have helped to solve several problems in agriculture. Thus, the information provided by digital imaging has been used extensively in ground classification cover [12], leaf area index estimation in forest ecosystems [13], identifying eroded areas [14], mechanical properties of horticultural products [15], crop classification [16], and weed recognition [17]. In these latter cases, it is important to have efficient and automatic image segmentation to distinguish vegetation from the ground (Guijarro et al. [18] and references therein).

However, these images in field conditions, with soil and mulch, are quite complex, especially because of the small contrast between them. Meanwhile the initial appearance of most of the mulches is a kind of black PE and at the end of the crop campaign the materials appeared somewhat discolored and soil and/or crop residue was impregnated making it very difficult to completely remove them (Figure 1(a) as an example).

This work has a double objective: first, to determine an image analysis method, reliable and accurate, in order to evaluate the residue of the mulch materials at the end of the crop season, and based on it, their deterioration level; and second, to determine and to compare the mulch residual of alternative materials to polyethylene. In order to achieve this, four thresholding methods were applied to binarize the images of four different mulch materials. Then a simple matrix calculation automatically determined the soil area as a measure of mulch deterioration. The results are compared with an area obtained by an expert user of imaging software. A preliminary idea of this work can be consulted in Moreno et al. [19].

2. Material and Methods

2.1. Mulch Materials and Image Acquisition

The mulch materials used were two black biodegradable plastics (BD) composed of corn starch (mulch 1: 15 μm, Novamont; mulch 2: 17 μm, Barbier), standard black polyethylene (PE) (mulch 3: 15 μm, Siberline), and one black paper (PP) (mulch 4: 85 g m−2, Mimcord).

Images were taken 100 days after the mulch was implanted in the ground to determine the deterioration, in August 2009. During the experimental period, meteorological data such as mean, mean maximum, and mean minimum temperatures, rainfall, and solar radiation were 22.8°C, 31.8°C, 12.3°C, 83.0 mm, and 27.1 MJ m−2, respectively. The corresponding mean values for the previous 9-year historical series (2000–2008) were 19.6°C, 27.2°C, 10.9°C, 49.0 mm, and 25.9 MJ m−2, respectively. Irrigation was applied, so the soil had moisture conditions similar to those reached with summer vegetable crops. Also the time spent on the ground was adjusted to the duration of a horticulture crop cycle (e.g., tomatoes and peppers). The test was carried out in the experimental farm “El Chaparrillo” (3°56′W–39°0′N, altitude 640 m), property of the Junta de Comunidades de Castilla-La Mancha, in Ciudad Real (Central Spain).

A digital camera (Canon PowerShot A80-35 mm) was used to acquire color digital images (JPG format) under similar lighting conditions (sunny day and at noon) at the experimental field. A total of 24 photographs, 6 per mulch, were taken according to a randomized block design. Images were captured accurately covering a 1 × 0.5 meter frame which yielded images cropped to be 2400 × 1200 pixels. The images were processed with the Image Processing Toolbox from Matlab R2009a [20] belonging to The Mathworks, Inc. (Natick, MA, USA).

2.2. RGB and HSV Color Space Histograms

“Color” refers to the human brain’s subjective interpretation of combinations of a narrow band of wavelengths of light. González and Wood [21] define the “color space” transformations as various specifications of a three-dimensional coordinate system where each color is represented by a single point. The RGB model (red, green, and blue) is based on a system of Cartesian coordinates where each point is described by its primary red, green, and blue spectral components. RGB image color consists of three independent image planes, one for each primary color. Another color space is HSV, where each point is defined by hue (H), saturation (S), and value (V) coordinates.

The HSV color space has a better capability of representing the colors of human perception than the RGB color space does. The H and S components are closely related to the human eye color perception. The third component (V) is related to image brightness [21]. The transformation equations from RGB to HSV space are commonly used and can be consulted in the work of Chun-Ming Tsai [22]. The use of different color spaces is applied in agriculture, especially in plant detection, to discern the plant from the background [23, 24].

Both spaces (RGB and HSV) have been taken into consideration to study the image histograms derived from them and to see which one was better to binarize the image.

2.3. Image Segmentation

The segmentation process partitions the digital image into disjoint regions [25], the automated segmentation being, in general, one of the most difficult tasks in the image analysis [26]. There are many color segmentation techniques reported in the literature, such as texture analysis, edge detection, region split and merging, feature analysis and histogram thresholding or clustering, the last being the most commonly used, as indicated by Du et al. [27].

Image segmentation by the thresholding technique involves the assumption that the objects and the background have distinct level distributions and so the histogram contains two—or more—distinct peaks and the threshold value separating them can be obtained. If the histogram is bimodal, the image can be segmented into two classes or regions: the object with value levels above the threshold and background with values below the threshold, or vice versa [21, 28]. Then, usually, a binary (black and white) thresholded image is obtained from the corresponding histogram image : a value of 1 is assigned to the pixels of the object, and 0 to the background pixels. A survey on threshold selection techniques can be consulted at Sahoo et al. [28]. This study identified the soil as foreground and mulch as background.

When the threshold depends only on , the threshold is called global, while if it also depends on local properties of each point , the threshold is called local. In this study we have two global methods and one local method. The global Otsu [29] (OT) and Ridler-Calvard [30] (RC) thresholds have been chosen because they are widely used thresholding techniques which have proven their effectiveness in various fields [31]. Furthermore, the OT method is implemented as the default approach to image thresholding in some free or commercial software such as Matlab. The local entropy-based thresholding method (LE) is a local thresholding method that has been shown to be promising and effective in image thresholding [27, 32]. Below we briefly explain each method.

Otsu’s method (OT) [29] has shown great success in image segmentation. Several improved versions of Otsu’s method have been proposed, such as a recursive Otsu’s method by Cheriet et al. [33] or the version of the method given by Xu et al. [34].

OT finds the threshold that maximizes the between-class variance (background and foreground), , in the image histogram. Equivalently, OT finds the threshold that minimizes the within-class variance, .

The principle of the RC method [30, 35] is to evaluate the threshold for any image with a bimodal histogram by assuming to be , where and are the means of each of the two components of the histogram separated by the threshold. For this, an initial threshold is selected, and a new threshold is obtained by averaging the means of the two classes. The process continues until the value of the threshold converges. When the iterative algorithm stops, the threshold calculated is the average of the mean levels of the two classes [34, 36].

LE thresholding is based on the maximization of the information measure between two classes, foreground and background. Therefore, the optimal maximizes the addition of foreground and background entropy [3739]. A survey and comparative analysis of entropy and relative entropy thresholding techniques can be consulted in Chang et al. [40].

Entropy refers to the amount of information that can be obtained from a set of messages and was first introduced into information theory by Shannon [41]. The entropy of an image can be defined as , where is the probability that the gray-value appears in the image, and is the maximum gray-value.

Additionally, threshold setting by the user, partly subjective, in the image histogram is quite frequently applied and therefore also incorporated into the study named as manual thresholding (MT).

2.4. Performance to Obtain Binary Images and Percentage of Bare Soil Area

The thresholding methods tested (Otsu, Ridler-Calvard, local entropy, and manual thresholding) were applied to the histograms corresponding to each independent plane (red, blue, and green at RGB color space and hue, saturation, and value at HSV color space).

Otsu’s method was applied directly using Matlab commands; Ridler-Calvard method was implemented automatically using the iterative Isodata algorithm [20], and the development of the local entropy method is based on Du et al. [27] and Du [32] works.

The result of segmentation using the proposed methods is a binary image () with white pixels representing bare soil and black pixels representing the mulch. A last step consisted of applying to each binary image a morphological operation to reduce the noise regions with an area smaller than /100. Removing small objects (both in foreground and background) was carried out by opening the binary areas (in both binary image and its complement) with an 8-connectivity. Then all small objects were removed to obtain the final binary image (B). This operation was performed using a specific Matlab function.

The area estimated was the percentage of bare soil and it is determined by dividing the number of white pixels by that of all pixels of the image.

Manual thresholding was based on the image histogram. Most image processing software programmes, including Matlab or Photoshop, have an interactive contrast and brightness adjustment tool that can be associated with a grayscale image. Then the thresholds were adjusted in the histograms to achieve the best discrimination between soil and mulch.

The reference areas () were obtained from the color images to use them as the optimum classification. They were obtained by an expert user of Adobe Photoshop CS 3 software who used a zoom of 800 to discriminate soil and mulch.

2.5. Statistical Analysis

A paired 2-tailed Student’s t-test was performed to determine the variability in the metrics for each pair of areas: area of reference (obtained by the expert of Adobe Photoshop CS 3) and area using a threshold method. A paired 2-tailed Wilcoxon nonparametric test was used in case of no normality (tested by Shapiro-Wilk’s test).

An analysis of variance (ANOVA) was applied to compare the degradation among the mulch materials, by comparing the percentage of soil area estimated by each thresholding method.

3. Results and Discussion

3.1. Histograms Selected

The original RGB images used in this work had the problem of presenting a very low reflectance difference between soil and mulch, with low contrast also in each of the three separate color planes (Figures 2(a), 2(b), and 2(c)).

The histograms of the grayscale image corresponding to the original RGB color images were practically unimodal (Figure 1(b) and its histogram in Figure 3(a)); that is, soil and mulch looked confused to each other. Neither of the images of , , and obtained from the separate RGB color planes showed good contrast levels (Figures 2(a), 2(b), and 2(c)). For this reason we carried out the conversion of images from the RGB color space to HSV space and the three independent planes (Figures 2(d), 2(e), and 2(f)) were examined.

All images corresponding to saturation plane provided a good contrast between soil and mulch (Figure 2(e)) and the histograms appeared bimodal (Figure 3(b)). So these histograms were chosen to give the corresponding binary images by applying the four thresholding methods.

3.2. Comparison of Thresholding Methods and Computational Time

In all images it was fulfilled that the relationship between the Ridler-Calvard and the Otsu thresholds was (Table 1). Therefore, in the binary images obtained initially (prior to performing morphological operations), the relationship between the values corresponding to the bare soil (white) obtained through these thresholds was the opposite: . Additionally, in most of the images the following was satisfied: , and therefore the ratio of initial areas (data not shown) was for all of them. In these cases, the area corresponding to bare soil was overestimated by the threshold, especially when compared with . Guijarro et al. [18] also observed that the threshold obtained by Otsu’s method tended to produce an undersegmentation of white pixels, corresponding to barley and corn crops, because it provided a relatively high value in the histogram.

For example, the thresholds corresponding to Figure 1 were = 0.2499, = 0.2677, and = 0.2745, and the corresponding bare soil areas, prior to performing morphological operations (expressed as a percentage), were 39.16, 36.41 and 35.78, respectively.

The maximum difference between the thresholds was 0.0191, while the maximum differences between abs() and abs() were higher (0.2350 and 0.2541, resp.). The averages of the differences among abs(), abs(), and abs() were 0.0046, 0.0530, and 0.0515, respectively. All this proves the close proximity existing between the and thresholds and the greater difference they show in relation to the manual threshold.

Xu et al. [34] proved that the optimal Otsu threshold is equal to the average value of the mean levels of two classes partitioned by this threshold. This result revealed the Ridler-Calvard method as an iterative version of Otsu’s method, and therefore both approaches to image thresholding would be very close [31]. However, the slight right shift of the threshold observed in the histograms would indicate, according to the studies by Xu et al. [34] and Xue et al. [31], that the class with pixels of bare soil (foreground) has larger variance than the class with pixels of mulch (background). According to these studies, tends to balance the two classes, deviating from the intersection point of the two classes toward the class with larger variance. Also, shifts to the bigger size class when the size difference between background and object is very significant. This occurs in pictures 17 and 18 (Table 1), in which the size of the foreground class is much smaller than the background class, so would shift left from the histogram valley. These findings [31, 34] could explain the infrasegmentation concerning the identification of green obtained by Guijarro et al. [18] with the Otsu threshold.

The thresholds obtained by the LE method did not follow a pattern of behavior similar to the thresholds obtained by the other methods. The thresholds were very different from the and . Du et al. [27] also obtained OT and LE thresholds very different from each other in the , , and color domains. However, when comparing four gray level thresholding methods (Otsu, Pal and Pal’s local entropy, joint entropy, and the joint relative entropy methods), no conclusions could be drawn on which thresholding method performed better than the others. In this context, Glasbey [42], when comparing bimodal histograms for 11 thresholding methods including Otsu, Ridler-Calvard, and other methods based on entropy, found that the entropy method generated the widest spread of thresholds.

The initial binary images obtained from OT, RC, and MT thresholding methods differed little from the final binary images (after eliminating the small objects), both visually and in terms of the value of the area. For example, the respective areas before and after eliminating the small objects in the image presented in Figure 1 were 39.1596 and 38.2370 for MT, 36.4105 and 35.7161 for RC, and 35.7760 and 36.4270 for OT thresholding methods. In the case of the binary images obtained by the LE method, there were higher visual differences before and after performing morphological operations (for the cited image, the areas were 51.7199 and 57.5681, resp.).

In general, the binary images derived from the OT and RC thresholds gave a better visual fit to reality than those derived from both the manual and the LE thresholds (Figure 4 as an example).

Moreover, the time spent in obtaining areas using a manual threshold was higher than the automatic thresholding methods, as expected (Table 2). Among the automatic methods, LE gave a longer computational time, in fact double the time of the RC. Calculating the ratio with respect to the MT method, the automatic methods from faster to slower are RC, OT, and LE (Table 2). In accordance with Glasbey [42], RC is slightly less computationally intensive than Otsu.

3.3. Comparison among Bare Soil Areas

The comparison of the areas obtained from each method with the reference area () is shown in Table 3. There we can see the results of the paired 2-tailed Student’s -test between the and the area obtained by the OT, RC, and MT thresholding methods (, , and , resp.). In the comparison of the area provided by LE () and , due to the lack of normality (shown by the Shapiro-Wilk’s test) in the differences of the corresponding pairs of areas, the Wilcoxon test (for paired data) was performed. Statistically significant differences () between and were obtained; however, the visual appearance of both images was quite similar.

Despite the dubious significance of the paired 2-tailed Wilcoxon test for and areas, the differences between these values became important (Table 1), with max abs() = 40.1930. In these cases, visual differences between both types of binary image were perceived. The average of these differences, in absolute value, was 18.01, while this value was 5.13 for the OT method.

However, in some cases the use of entropies for image thresholding has provided better results than even Otsu’s method [43, 44].

3.4. Mulch Residue Analysis

The comparison of bare soil (where the mulch was gone) provided by each of the statistically reliable methods for the four types of mulches considered is shown in Table 4. These methods were OT, RC, and LE (Section 3.3, Table 3). ANOVA tables of the reference areas are also included to compare the results.

Table 4 is a comparison of mulch deterioration in actual field conditions, as measured by the percentage of bare soil area, by using different image thresholding methods. Data shown in Table 4 for the OT and RC methods in comparison with those obtained by ideal images are very similar, because ANOVA was significant in the three cases, and also because the mean values obtained in the deterioration of mulches by each method were quite similar. However, with the LE method, no significant differences between treatments () were observed; the area of bare soil for mulch 3 was much overestimated (37.77% versus 17.65% for the reference image) and also altered the behavior of mulches 2 and 4 with respect to the reference image (Table 4). Therefore, we discard LE as an accurate thresholding method for soil and mulch image segmentation. As a result, we choose the automatic OT and RC methods as the best thresholding methods with very similar results to each other and also with respect to the reference images. In general terms, both are simple and well-known methods. The RC method has a slightly lower computational cost while the OT method has the advantage of being included in specialized software.

The mean values of rate of deterioration (% bare soil area) obtained by expert user () and by the accurate thresholding methods (, ) were, respectively, 50.90%, 50.60%, and 50.33% for mulch 1; 52.76%, 54.66%, and 54.10% for mulch 2; 17.65%, 19.62%, and 18.85% for mulch 3; 41.46%, 44.82 %, and 44.14 % for mulch 4.

The best thresholding methods obtained (OT and RC) indicate that mulch 3 (polyethylene) differs significantly from the others by presenting much less deterioration (a lower percentage of bare soil) than the biodegradable materials. As expected, these results highlight the low degradability of polyethylene in the soil and warn of the environmental problems this may cause.

4. Conclusions

The results obtained by four thresholding methods from color images containing soil and mulch were compared: Otsu (OT), Ridler-Calvard (RC), local entropy (LE) and manual thresholding (MT). Furthermore, deterioration of four mulch materials (polyethylene, two biodegradable plastics, and paper) was analyzed 100 days after implantation in the soil, through computation of the area of bare soil.

The following conclusions were reached.(i)The problem of low-contrast color images in the field, with soil and mulch, can be solved by converting RGB to HSV color space and using the saturation plane histogram.(ii)Among the thresholding methods studied to obtain binary images, the most accurate ones with regard to the respective reference areas are Otsu and Ridler-Calvard.(iii)The percentage of missing mulch (soil area) has been automatically computed using binarized images.(iv)A hundred days after its implementation on the ground, biodegradable materials have deteriorated around 50%, well above the deterioration of polyethylene (below 20%).

The rate of deterioration of a mulch material, measured reliably and quickly in field conditions as we propose, is an important fact. It could help to better understand the overall behavior of the materials used as mulch. Therefore, the methods to obtain such data, as proposed in this study, will be useful to mulch manufacturers and farmers.

Acronyms

:Threshold obtained by manual thresholding
:Threshold obtained by Otsu’s method
:Threshold obtained by Ridler-Calvard’s method
:Threshold obtained by local entropy method
:Reference area
:Area obtained by manual thresholding
:Area obtained by Otsu’s method
:Area obtained by Ridler-Calvard’s method
:Area obtained by local entropy method.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work was funded by the Project INIA RTA2005-00189-C05-04, Spain. Materials were generously provided by Novamont S.p.A., Mimcord S.A., and Barbier S.A. companies. The authors thank Javier Casanova, Jaime Villena, and Ramón Meco for their assistance over the study period.