Next Article in Journal
Randomized Controlled Clinical Trial of Nanostructured Carbonated Hydroxyapatite for Alveolar Bone Repair
Previous Article in Journal
P3HT Nanofibrils Thin-Film Transistors by Adsorbing Deposition in Suspension
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Image Analysis of Sewage Sludge and Barley Straw as Biological Materials Composted under Different Conditions

1
Institute of Biosystems Engineering, Poznań University of Life Sciences, Wojska Polskiego 50, Poznań 60–627, Poland
2
Department of Environmental Engineering and Geodesy, University of Life Sciences in Lublin, Leszczyńskiego 7, Lublin 20–069, Poland
*
Author to whom correspondence should be addressed.
Materials 2019, 12(22), 3644; https://doi.org/10.3390/ma12223644
Submission received: 18 October 2019 / Revised: 2 November 2019 / Accepted: 4 November 2019 / Published: 6 November 2019
(This article belongs to the Section Biomaterials)

Abstract

:
Composting is one of the most important methods of sewage sludge management. This paper describes the methods of computer image analysis used for objective comparison of the appearance of composted materials under diverse conditions in terms of size and thermal insulation of the composting chambers. The research material was a mixture of sewage sludge and barley straw. The composting process was performed under strictly controlled laboratory conditions, using 10 composting chambers with five different volumes. In half of them additional thermal insulation was used, while in the others no insulation was applied. A proper composting process run was observed only in the three chambers with the largest volume and with additional thermal insulation. The images of the materials were subjected to a wide analysis, wherein the values of 17 parameters regarding color and texture were estimated. Significant differences were observed in the appearances between materials obtained during the properly running composting processes and those obtained in the chambers of insufficient size and thermal insulation. The values of the considered parameters determined for images of the composted material under normal and abnormal conditions were significantly different from each other. Thus, these parameters may be used as indicators of a correctly conducted composting process. In the cases of 15 parameters, the values of these differences exceeded 10%, and in the cases of 10 parameters 50%, while in the cases of three parameters as much as 100%.

1. Introduction

Composting is the process of organic matter decomposition by aerobic microorganisms, commonly used both in home applications and on an industrial scale. During this process, under the influence of microorganisms, composted biomass is significantly heated [1]. This situation is conducive to the destruction of morbific pathogens contained in its interior [2], and under appropriate conditions may lead to its pasteurization [3,4]. Therefore, materials that due to unfavorable microbiological composition (in the unprocessed form) are often harmful to humans and other living organisms are often subjected to the composting process. An example is municipal sewage sludge [5,6,7,8]. Unfortunately, due to the amorphous structure and unfavorable chemical composition (excess of nitrogen in relation to carbon), the use of sewage sludge as the only substrate for composting is not rational [9,10]. Therefore, it is mixed with other substrates that loosen the structure and at the same time improve the carbon (C) to nitrogen (N) ratio [11,12]. Such material may be, for example, cereal straw, including barley, rape straw, sawdust as waste from wood processing, grass or leaves. Composting of the material containing sewage sludge in the right way, on the one hand, it promotes the hygienization of this sludge depriving it of unfavorable features, often manifesting as unpleasant odors, and on the other hand, it allows valuable fertilizer material to be obtained [13,14].
In Poland, composting of sewage sludge is particularly important in the light of legal regulations and standards introduced by the European Union. These regulations prohibit the basic method of managing sludge, that is, storage. As a result, composting, next to the combustion process, will become one of the two most important methods of this type of waste management. This fact has made it possible to observe recently increased research activity in the field of sewage sludge composting [9,15,16,17,18,19,20], related to both recognizing these processes and their optimization in terms of minimizing the time needed to obtain a final product with adequate quality. The research on composting of municipal sewage sludge is most often carried out on a laboratory scale. Composting chambers, also called bioreactors, are used for this purpose, which allow monitoring and controlling of the processes [11,21,22,23]. During such tests a number of physicochemical parameters are monitored and analyzed, including the following [11,21]:
  • batch temperature,
  • concentration of oxygen and carbon dioxide in the outgoing air,
  • emissions of ammonia, hydrogen sulfide and methane,
  • content of mineral and organic matter, mass of dry matter, pH, and conductivity of the material.
Knowledge of these parameters allows us to conclude on the correctness of the composting process, as well as on the sufficient maturity of the material and the possibility of completing the process.
In a properly conducted process, a thermophilic phase appears in which the material temperature exceeds 45 °C and can reach even 80 °C. Furthermore, it is also possible to observe a clear decrease in the oxygen concentration in the air coming out of the bioreactor chambers, which is a result of the increased activity of aerobic bacteria that generate CO2 as a product of the decomposition of organic matter. At the end of the process, the material temperature drops below 30 °C, and the oxygen concentration in the outgoing air approaches the nominal level. The distribution of organic matter occurring during composting causes a clear change in the structure and appearance of the material. On the basis of the changes in the compost appearance, it is possible to assess its maturity degree [17]. An objective assessment of these changes, however, requires the use of computer image analysis methods [24,25,26]. Such methods have turned out to give an adequate and reliable tool supporting the classification and assessment of the condition and composition of various materials. They are used in the field of waste management [27,28,29] as well as in broadly defined agriculture [30,31,32,33] and horticulture [34,35].
Running the composting process of the same material under different conditions may cause the properties of the product obtained after a certain time to be different. As a result, the appearance of this product may be different, and sometimes even far from the appearance required for the commercialization of the compost (brown, flowing, and homogeneous material). It can be assumed that the use of computer image analysis methods, in particular, color and texture analysis, will allow an objective assessment of these differences. Therefore, the purposes of this work were as follows:
  • to use computer image analysis methods to objectively compare the appearance of material composted under different conditions in terms of the size and thermal insulation of the composting chambers,
  • to determine whether the image parameters of the composted material may be useful as an indicator of composting correctness.

2. Materials and Methods

2.1. Research Material

The research material subjected to composting was a mixture of sewage sludge and barley straw in proportions of 65% to 35% in relation to the content of dry substance. The substrates were produced in the Wielkopolska Voivodship, near Poznań (Poland). Sewage sludge came from the municipal sewage treatment plant in Szamotuły (a city of less than 40,000 inhabitants, without heavy industry) while the straw came from the branch of the Agricultural Experimental Farm Swadzim, located in Złotniki, belonging to the Poznań University of Life Sciences.
The composting process was performed under strictly controlled laboratory conditions. The experiments were carried out in 10 composting chambers with 5 different volumes, i.e. 10, 20, 50, 74, and 119 dm3. Two variants of the chambers were used for each volume, with the use of additional thermal insulation and without. This insulation was made of mineral wool with a thickness of 150 mm and a thermal conductivity coefficient of 0.04 W ∙ (m ∙ K)−1. Application of additional insulation was aimed at better mapping of the conditions prevailing inside the compost pile in industrial composting plants.
The duration of the process was 22 days. The diagram of the performed experiments is presented in Table 1. During the process, the following parameters were monitored: material temperature, concentration of oxygen, and carbon dioxide in the outgoing air as well as emissions of ammonia, hydrogen sulfide, and methane. After the completion of the processes, samples of material for image acquisition were taken as well as standard physicochemical analyses being carried out. These analyses included determination of such parameters as: dry substance content, pH, conductivity, organic matter content, ammonium, and general nitrogen as well as organic carbon [11,21]. To ensure a more representative character of the material samples, we assumed that they would be taken from the chambers in a random manner, after mixing the material.
The studies assumed that the appropriate quality material obtained in the composting process was compost at the early maturity stage. In reference to previous studies [17], the following criteria for achieving compost at this stage were taken into account:
  • The obtained material should have a dark color and smell similar to the smell of horticultural soil or forest mulch, unacceptable is a smell of rot or a specific and unpleasant smell, resulting from the increased emission of ammonia or hydrogen sulfide.
  • The tested material should undergo the hygienisation process, i.e., its temperature during the process should be at least 55 °C for at least 1 day or reach 70 °C for at least 1 h.
  • The temperature of the material obtained at the end of the process should not be higher than 30 °C.
  • The material should be relatively stable, in the air leaving the bioreactor chambers the oxygen content should be higher than 18%, and the content of carbon dioxide should not exceed 2.9%.
  • The material pH of the at the end of the process should be between 7 and 9.

2.2. Image Acquisition

The basic element of the stand for image acquisition of composted material samples was a photographic chamber illuminated with visible light [36]. The sample images recorded in visible light corresponded to what would be seen by the human eye in the form of light reflected from the material under standard lighting conditions, e.g., in sunlight. The use of the photographic chamber allowed the image acquisition of the analyzed material to be performed always under the same lighting conditions. This was necessary considering the need to obtain objective values of the parameter from the images.
The internal dimensions of the photographic chamber were 570 mm × 570 mm × 570 mm. The photographed material was placed on a pull-out tray located at the bottom of the chamber. The upper wall of the chamber was equipped with a hole that allowed the lens of the camera to be placed. The light source was 4 fluorescent lamps Sylvania Luxline Plus F15W/865 (Feilo Sylvania, Budapest, Hungary) embedded in fluorescent lamp fixtures placed in the upper part of the chamber. These lamps emit visible light with a color temperature of 6500K (cold daylight) and have a high color rendering index Ra of 85 (class 1B). The upper inner surface of the chamber and its internal side surfaces up to a height of 100 mm from the top, as well as the fixtures, were covered with a reflector foil increasing the amount of light reflected in the direction of the photographed material. Other interior surfaces were painted black to minimize the light reflection in undesirable directions. The diagram of the photographic chamber construction is presented in Figure 1.
An important element of the image acquisition station was the acquisition equipment. It included the following elements:
  • DSLR (digital single-lens reflex) camera with DX format and 10 megapixel resolution: Nikon D80 (Nikon Corporation, Tokyo, Japan),
  • 35 mm focal length lens (DX format): Nikkor 35 mm f/1.8G AF-S DX (Nikon Corporation, Tokyo, Japan),
  • high efficiency UV filter: Hoya Super HMC Pro1 (HOYA Corporation, Tokyo, Japan),
  • Silk Goodman Digital tripod (SLIK Corporation, Hidaka City, Japan), allowing for lower suspension of the camera.
In order to minimize the possibility of noise in the image, the camera ISO sensitivity was set to the lowest of the available values, i.e., ISO 100 [37]. The aperture value was set to f/5.6, and according to the photographic principles, the exposure time was set to 1/25 s. Both the exposure time as well as the correct white balance value were determined manually according to the amount and color temperature of visible light illuminating the photographed material. For this purpose, a light meter built into the body of the camera and a model gray photo card Lastolite EzyBalance LR 1250 (Manfrotto, Cassola, Italy), reflecting 18% of visible light was used. Photographs were taken in raw format (NEF) and then converted into JPG files.

2.3. Image Processing and Analysis

From the material produced as part of each of the 10 composting processes carried out, 32 images with a resolution of 968 × 648 pixels corresponding to an area of approx. 98 mm × 65 mm were obtained. For each image, 17 values for color and texture were determined. In order to determine a part of them, the following transformations were necessary [17]:
  • converting an image from a 24-bit RGB model to an 8-bit grayscale using the weighted sum of the component values R, G, and B:
    B r i g h t n e s s = 0.2989 · R + 0.5870 · G + 0.1140 · B .
  • binarization of the image taking into account 4 threshold values, i.e. 0.05, 0.10, 0.15, and 0.20 (in the range from 0 to 1).
GLCMs (grey level co-occurence matrices) were determined in the texture analysis process [17,38,39,40,41,42]. The following parameters were adopted when determining these matrices:
  • eight brightness classes of a pixel,
  • neighborhood in the form of 1 pixel,
  • four directions of neighborhood analysis: 0°, 45°, 90°, and 135° (symmetrically).
Finally, the values of the following color parameters were determined:
  • R_MEAN, G_MEAN, and B_MEAN - the average brightness value of the R, G, and B components of a pixel in a 24-bit image in the RGB model,
  • R_MEDIAN, G_MEDIAN, and B_MEDIAN—median brightness of R, G, and B components of a 24-bit pixel on an image in the RGB model,
  • GS_MEAN—the average brightness value of a pixel on an 8-bit grayscale image,
  • GS_MEDIAN—median brightness of a pixel on an 8-bit grayscale image,
  • WH_PERCENT1, WH_PERCENT2, WH_PERCENT3, and WH_PERCENT4—percentage share of white color in the binarized image, respectively for the binarization thresholds 0.05, 0.10, 0.15, and 0.20.
In turn, in relation to the texture, the values of the following parameters were defined:
  • ENTROPY—entropy of an 8-bit grayscale image,
  • CONTRAST—brightness contrast between pixels and their neighborhood on an 8-bit grayscale image, averaged for selected directions,
  • CORRELATION—correlation between pixels and their neighborhood on an 8-bit grayscale image, averaged for selected directions,
  • ENERGY—energy for an 8-bit grayscale image, averaged for selected directions,
  • HOMOGENEITY—uniformity of an 8-bit grayscale image, averaged for selected directions.
To determine the values of texture parameters based on the designated GLCMs, the following formulas were used [17,38,39,40,43]:
E n t r o p y = k = 1 256 ( n k · l o g 2 n k ) ,  
C o n t r a s t = i = 1 8 j = 1 8 ( i j ) 2 p ( i , j ) ,
C o r r e l a t i o n = i = 1 8 j = 1 8 ( i μ i ) ( j μ j ) p ( i , j ) σ i σ j ,
E n e r g y = i = 1 8 j = 1 8 p ( i , j ) 2 ,
H o m o g e n e i t y = i = 1 8 j = 1 8 p ( i , j ) 1 + ( i j ) ,
where:
μ i = i = 1 8 j = 1 8 i · p ( i , j ) ,
μ j = i = 1 8 j = 1 8 j · p ( i , j ) ,
σ i = i = 1 8 j = 1 8 ( i μ i ) 2 · p ( i , j ) ,
σ i = i = 1 8 j = 1 8 ( j μ j ) 2 · p ( i , j ) ,
nk—number of pixels with k brightness, i—row number of the GLCM, j—column number of the GLCM, p(i, j)—value of the GLCM element with indices (i, j) divided by the sum of all elements.
The texture parameters, i.e. entropy, contrast, energy and homogeneity, were firstly determined individually for the four GLCMs obtained for selected directions of neighborhood. Then the values of these parameters were averaged.
Acquisition of parameters regarding the color and texture contained in images of composted material samples was carried out in an automated manner using the proprietary Compost Image Analysis software (version 1.5, Sebastian Kujawa, Poznań, Poland), [17]. It was created in the MATLAB environment extended with the Image Processing Toolbox.

3. Results and Discussion

3.1. The Course of the Composting Process and Analysis of the Obtained Material

Table 2 presents selected physicochemical parameters of the material obtained at the end of the composting experiments. After their analysis, and especially after assessing the characteristics of temperature changes and oxygen concentration, it was apparent that these processes were very diverse. Taking into account the assumptions made, it was found that only three out of the 10 experiments were carried out correctly. These were experiments marked with the symbols C50I, C74I and C119I, realized in chambers 50, 74, and 119 dm3 additionally insulated with mineral wool. Only in these experiments was the material temperature reached and maintained for at least 1 day at a level of at least 55 °C, which indicates a successful passage of the hygienization process. At the end of the composting process, the material temperature stabilized at a level below 30 °C. It is worth noting that in the initial phase of these three experiments a clear reduction in the oxygen concentration in the air coming out of the composting chambers was observed with the lowest value from about 11% to about 13% on the 5th to 7th day of the process. This low O2 concentration, together with the highest levels of temperature measured during the experiment, illustrate very intensive decomposition of organic matter in the most dynamic period of the thermophilic phase in the composting process. Strongly decreasing oxygen concentration is related to high microbiological activities during organic matter decomposition which lead to intensive production of CO2, H2O and heat.
At the end of the process, only for these three experiments, the oxygen concentration in the outgoing air stabilized at a level higher than 18%, which in turn indicates the limited activity of aerobic bacteria and a significant inhibition of the oxygen decomposition of the material. Figure 2 and Figure 3 show the characteristics of temperature changes and oxygen concentration in the air coming out of the composting compartments for the three composting processes that went well. In the other seven composting variants, i.e., all of them carried out using chambers without additional thermal insulation (C10N, C20N, C50N, C74N, and C119N) and two realized using the smallest chambers in which additional insulation was applied (C10I and C20I), the composting process did not run properly. In these experiments, the composted biomass was not adequately heated and the oxygen content in the air did not stabilize at the appropriate level in the final phase of the process. It can therefore be concluded that the size of the composting chamber, as well as the method of its insulation leading (or not) to achieving the intense thermophilic phase, was important in terms of the correctness of the composting process.
Figure 4 presents exemplary images of the composted material samples produced during the experiments. Even without using objective methods of computer image analysis, it can be seen that the images of the material produced in the C50I, C74I, and C119I chambers are darker than the images of the material obtained in the remaining chambers. This paper attempted an objective analysis of selected parameters describing the color and texture for images of material obtained in individual composting variants. The basis for this analysis were the values of the adopted parameters averaged for 32 images acquired for each of the 10 composting variants.

3.2. Color and Texture Analysis

The objective color analysis of the obtained images was first associated with the determination of parameters such as mean and median brightness of the pixel. These parameters were determined separately for individual components of images in the RGB model, as well as for images converted to the grayscale. Moreover, as part of the color analysis, grayscale images were binarized [44] using the four adopted threshold values, and then the percentage of white content on the binarized images was determined [17,40]. In the first place, the parameters indicated were determined for all the material images acquired as part of the subsequent composting experiments, and then the average values of these parameters for individual experiments were determined.
Figure 5 presents the charts of the mean brightness of the individual components of the pixel (R, G, and B), as well as the mean brightness of the pixel in the grayscale for images of the material produced in the composting chambers used. In contrast, Figure 6 presents the median brightness graphs of the pixel, including both image components in the RGB model and the grayscale. The averaged values of mean brightness of the R, G, B components for properly composted material (chambers 50, 74, and 119 dm3 with additional thermal insulation) were respectively 25, 20, and 15. In contrast, for incorrectly composted material they were successively 42, 30, and 21, so they were higher by respectively 69%, 55%, and 37%. The averaged median brightness values of the R, G, B components for properly composted material were successively 19, 15, and 11, while for incorrectly composted material amounted respectively 37, 27, and 18 and were higher by respectively 92%, 80%, and 65%. On analyzing the values of the mean and median brightness of the pixel for grayscale images, it was found that for properly composted material the values of these parameters were 21 and 16, respectively. In turn, for improperly composted material they were respectively: 33 and 29, and were therefore higher by respectively: 58% and 84%.
Figure 7 presents graphs of the percentage of white content on the binarized images of material produced in the considered composting chambers. For each of the assumed binarization thresholds one can see a significant difference in the whiteness content between the binary images of the material produced both under conducive and unfavorable conditions for composting. The averaged percentage of white color for images of correctly composted material was: 65%, 26%, 12%, and 5%, respectively for the binarization threshold: 0.05, 0.10, 0.15, and 0.20. In turn, for material composted under unfavorable conditions, the values of this parameter for subsequent binarization thresholds were 92%, 59%, 28%, and 13%, respectively, so they were relatively higher by 43%, 125%, 134%, and 143%, respectively.
Regarding the color analysis of the obtained material, carried out for the RGB model, grayscale and binarized images, there were clear differences between the values of each of the considered parameters specified for images of material obtained during correctly running composting processes (chambers with a volume of at least 50 dm3 with additional thermal insulation), and those defined for images of material for which insufficient size and thermal insulation of the composting chamber did not allow the proper course of the process. Regarding the images in the RGB model, it was found that the largest differences between the composted material under favorable conditions and those produced under unfavorable conditions occurred in relation to the red component (R), followed by the green (G) component and the blue one (B).
Analysis of the texture of the obtained images was associated with the determination of such parameters as: entropy, contrast, correlation, energy, and homogeneity. These parameters were determined for images converted to the grayscale. The values of the last four parameters were determined based on the GLCMs. First, the texture parameters were determined for all material images acquired as part of subsequent composting experiments, and then the average values of these parameters for individual experiments were determined.
Figure 8 shows the entropy chart for grayscale images of the material produced in the composting chambers used. The averaged value of entropy for properly composted material was 5.5. In turn, for incorrectly composted material, the value of this parameter amounted to 6.0 and was higher by 9%.
Figure 9 presents the values of texture parameters determined using the GLCMs. The average contrast value for composted material under favorable conditions was 0.11, while for composted material under unfavorable conditions it amounted to 0.14 and was 30% higher. In turn, the average correlation value for correctly composted material was 0.75, and for incorrectly composted material 0.84 and was higher by 12%. The biggest difference in texture parameters was observed in the energy range. The average value of this parameter for compost obtained under favorable conditions was 0.62, and for material obtained under unfavorable conditions it amounted to 0.38 and was lower by 39%. Regarding the homogeneity, it was noted that the differences between correctly and incorrectly composted materials were negligible. With respect to correctly composted material, the average value of this parameter was 0.95, while for incorrectly composted material it amounted 0.93 and was lower by 2%.
As a result of texture analysis performed for images of the obtained material, the differences between the values of the considered parameters specified for images of material obtained during properly running composting processes were observed, i.e. in chambers with size of at least 50 dm3 with additional thermal insulation and specified for material images, whose insufficient size and thermal insulation of the chamber did not allow the proper course of the process. Considering the highest values of these differences expressed as a percentage, the order of the texture parameters is as follows: energy, contrast, correlation, entropy, and homogeneity.
Figure 10 presents the percentage of absolute differences between the values of 17 color and texture parameters specified for the composted material under favorable and unfavorable conditions. The graph shows that the highest values of these differences were characterized by three parameters concerning the percentage of white color in the images subjected to binarization, respectively for the binarization thresholds of 0.20, 0.15, and 0.10. Only for these parameters did the values of the analyzed differences significantly exceed 100%. With regard to the next seven parameters, the analyzed differences were higher than 50%. In order they were as follows: the median brightness of the R component, the median brightness of the image in the grayscale, the median brightness of the G component, the median brightness of the R component, the median brightness of the B component, the average brightness of the image in the grayscale, the average brightness of the G component. It is worth noting that these parameters concerned only the color in the RGB and grayscale models. The smallest percentage differences were recorded for four out of five texture parameters, namely: contrast, correlation, entropy, and homogeneity. Regarding the parameters of the texture, the greatest difference was shown by energy, which was in 12th place.
Statistical analyses were carried out for image parameters determined for material composted in favorable and unfavorable conditions. Average values of the parameters were estimated, as well as standard deviations. In addition, the existence of significant differences between the parameters was examined. For this purpose, the Mann–Whitney U test was used and the level of significance α = 0.05 was adopted. These differences were found to be highly significant for all of the parameters (p-values were very close to zero and definitely lower than α). The main results of the statistical analyses are given in Table 3.
In the properly running composting processes, the material temperature reached the highest values of up to about 65 °C, and for a period of a few days it remained at a definitely higher level than in the other chambers. Therefore, it can be assumed that ensuring the right temperature of the material is the key factor having the greatest impact on the production of good quality compost. The material obtained in compost chambers, in which the composting process proceeded correctly differed in appearance from the material obtained under unfavorable conditions. The differences in appearance were expressed in an objective manner using selected parameters of color and textures obtained from the images of samples of the obtained material. The differences of the analyzed parameters were statistically significant and they may be useful as an indicator of correctly conducted sewage sludge composting.
The studies carried out in this paper were pilot studies of a unique nature. The authors have not found any other studies in the literature aimed at an objective comparison of differences in the appearance of the material composted under different conditions in terms of the size and thermal insulation of the composting chambers. There are a few studies in which the methods of computer image analysis combined with neural modelling have been used to assess certain compost features, such as maturity degree [17,45] or dry matter content [46]. However, their objectives and methods are very far from the studies presented in this manuscript. Proper evaluation of the material obtained in the composting process requires knowledge of at least its physicochemical parameters, preferably in combination with the characteristics of changes in the material temperature and the chemical composition of gases leaving the compost chambers during the process [11,17]. Unfortunately, such analyses are expensive, time-consuming and in practice difficult to perform under real-life conditions of a composting plant. As this study has shown, methods based on computer image analysis may in the future provide an alternative, simplified approach to the approximate evaluation of the material obtained. However, for this to happen, further studies should be carried out. They should include more substrates to be analyzed, as well as more repetitions of composting experiments.

4. Conclusions

Correct composting conditions were achieved in three out of 10 chambers, i.e., those with a volume of 50, 74, and 119 dm3 with additional thermal insulation in the form of 150 mm thick mineral wool. The composting process did not run properly in the chambers where no additional thermal insulation was applied, and in the two smallest chambers (10 and 20 dm3), where such insulation was used. The values of 17 considered parameters determined for images of composted material under correct and abnormal conditions were significantly different. They may be used as indicators of correctly conducted composting process. In the case of 15 parameters, the value of these differences exceeded 10%. The biggest differences, definitely exceeding 100%, were recorded for three parameters regarding the percentage of white color in the image subjected to binarization with the threshold values: 0.20, 0.15, and 0.10. Statistical parameters determined for the brightness of individual components of the image in the RGB model and the brightness of the grayscale image were characterized by differences in the range of 37% to 92%. The differences considered for the analyzed texture parameters belonged to the least clear ones. While these differences in terms of energy, contrast, and correlation were higher than 10% and amounted to 39%, 30,% and 12% respectively, in terms of entropy and homogeneity, they amounted to only 9% and 2%.

Author Contributions

Conceptualization, S.K. and D.J.; methodology, S.K.; validation, S.K., D.J. and A.M.; formal analysis, S.K. and A.M.; investigation, S.K. and D.J.; data curation, S.K. and D.J.; writing—original draft preparation, S.K.; writing—review and editing, S.K., D.J. and A.M.; visualization, S.K.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Neugebauer, M.; Sołowiej, P.; Piechocki, J. Fuzzy control for the process of heat removal during the composting of agricultural waste. J. Mater. Cycles Waste Manag. 2014, 16, 291–297. [Google Scholar] [CrossRef]
  2. Buonocore, E.; Mellino, S.; De Angelis, G.; Liu, G.; Ulgiati, S. Life cycle assessment indicators of urban wastewater and sewage sludge treatment. Ecol. Indic. 2018, 94, 13–23. [Google Scholar] [CrossRef]
  3. Starzyk, J.; Czekała, W. The influence of admixtures accelerating the pine bark composting process on variation in the bacteriological state of composts. Arch. Environ. Prot. 2014, 40, 125–135. [Google Scholar] [CrossRef]
  4. Wolna-Maruwka, A.; Schroeter-Zakrzewska, A.; Dach, J. Analysis of the growth and metabolic activity of microorganisms in substrates prepared on the base of sewage sludges and their impact on growth and flowering of garden verbena. Fresenius Environ. Bull. 2012, 21, 325–336. [Google Scholar]
  5. Lu, Y.; Zheng, G.; Zhou, W.; Wang, J.; Zhou, L. Bioleaching conditioning increased the bioavailability of polycyclic aromatic hydrocarbons to promote their removal during co-composting of industrial and municipal sewage sludges. Sci. Total Environ. 2019, 665, 1073–1082. [Google Scholar] [CrossRef]
  6. Ivanová, L.; Mackuľak, T.; Grabic, R.; Golovko, O.; Koba, O.; Staňová, A.V.; Szabová, P.; Grenčíková, A.; Bodík, I. Pharmaceuticals and illicit drugs—A new threat to the application of sewage sludge in agriculture. Sci. Total Environ. 2018, 634, 606–615. [Google Scholar] [CrossRef]
  7. Alvarenga, P.; Mourinha, C.; Farto, M.; Santos, T.; Palma, P.; Sengo, J.; Morais, M.-C.; Cunha-Queda, C. Sewage sludge, compost and other representative organic wastes as agricultural soil amendments: Benefits versus limiting factors. Waste Manag. 2015, 40, 44–52. [Google Scholar] [CrossRef]
  8. Wolna-Maruwka, A.; Czekala, J. Dynamics of changes in the number of selected microorganism groups in sewage sludge and in manure subject to composting process and in the soil enriched with composts. Arch. Environ. Prot. 2007, 33, 53–66. [Google Scholar]
  9. Malińska, K.; Czekała, W.; Janczak, D.; Dach, J.; Mazurkiewicz, J.; Dróżdż, D. Spent mushroom substrate as a supplementary material for sewage sludge composting mixtures. Eng. Prot. Environ. 2018, 21, 29–38. [Google Scholar] [CrossRef]
  10. Nazari, L.; Sarathy, S.; Santoro, D.; Ho, D.; Ray, M.B.; Xu, C. Recent advances in energy recovery from wastewater sludge. In Direct Thermochemical Liquefaction for Energy Applications; Rosendahl, L., Ed.; Woodhead Publishing: Sawston, UK, 2018; pp. 67–100. [Google Scholar]
  11. Czekała, W.; Dach, J.; Dong, R.; Janczak, D.; Malińska, K.; Jóźwiakowski, K.; Smurzyńska, A.; Cieślik, M. Composting potential of the solid fraction of digested pulp produced by a biogas plant. Biosyst. Eng. 2017, 160, 25–29. [Google Scholar] [CrossRef]
  12. Czekała, W.; Dach, J.; Ludwiczak, A.; Przybylak, A.; Boniecki, P.; Koszela, K.; Zaborowicz, M.; Przybył, K.; Wojcieszak, D.; Witaszek, K. The use of image analysis to investigate C:N ratio in the mixture of chicken manure and straw. In Proceedings of the SPIE, Seventh International Conference on Digital Image Processing (ICDIP 2015), Los Angeles, CA, USA, 9–10 April 2015; Volume 9631, p. 963117. [Google Scholar]
  13. Waszkielis, K.M.; Wronowski, R.; Chlebus, W.; Białobrzewski, I.; Dach, J.; Pilarski, K.; Janczak, D. The effect of temperature, composition and phase of the composting process on the thermal conductivity of the substrate. Ecol. Eng. 2013, 61, 354–357. [Google Scholar] [CrossRef]
  14. Brochier, V.; Gourland, P.; Kallassy, M.; Poitrenaud, M.; Houot, S. Occurrence of pathogens in soils and plants in a long-term field study regularly amended with different composts and manure. Agric. Ecosyst. Environ. 2012, 160, 91–98. [Google Scholar] [CrossRef]
  15. Białobrzewski, I.; Mikš-Krajnik, M.; Dach, J.; Markowski, M.; Czekała, W.; Głuchowska, K. Model of the sewage sludge-straw composting process integrating different heat generation capacities of mesophilic and thermophilic microorganisms. Waste Manag. 2015, 43, 72–83. [Google Scholar] [CrossRef] [PubMed]
  16. Kulikowska, D.; Gusiatin, Z.M. Sewage sludge composting in a two-stage system: Carbon and nitrogen transformations and potential ecological risk assessment. Waste Manag. 2015, 38, 312–320. [Google Scholar] [CrossRef]
  17. Kujawa, S.; Nowakowski, K.; Tomczak, R.J.; Dach, J.; Boniecki, P.; Weres, J.; Mueller, W.; Raba, B.; Piechota, T.; Rodríguez Carmona, P.C. Neural image analysis for maturity classification of sewage sludge composted with maize straw. Comput. Electron. Agric. 2014, 109, 302–310. [Google Scholar] [CrossRef]
  18. Lewicki, A.; Dach, J.; Boniecki, P.; Czekała, W.; Witaszek, K. The control of air humidity and temperature in relationship with a biowaste composting process. Adv. Mater. Res. 2014, 909, 455–462. [Google Scholar] [CrossRef]
  19. Malińska, K.; Zabochnicka-Świątek, M. Selection of bulking agents for composting of sewage sludge. Environ. Prot. Eng. 2013, 39, 91–103. [Google Scholar]
  20. Boniecki, P.; Dach, J.; Pilarski, K.; Piekarska-Boniecka, H. Artificial neural networks for modeling ammonia emissions released from sewage sludge composting. Atmos. Environ. 2012, 57, 49–54. [Google Scholar] [CrossRef]
  21. Czekała, W.; Malińska, K.; Cáceres, R.; Janczak, D.; Dach, J.; Lewicki, A. Co-composting of poultry manure mixtures amended with biochar—The effect of biochar on temperature and C-CO2 emission. Bioresour. Technol. 2016, 200, 921–927. [Google Scholar] [CrossRef]
  22. Janczak, D.; Marciniak, M.; Lewicki, A.; Czekała, W.; Witaszek, K.; Rodríguez Carmona, P.C.; Cieślik, M.; Dach, J. Bioreactor internet system for experimental data monitoring and measurement. Procedia Technol. 2013, 8, 209–214. [Google Scholar] [CrossRef]
  23. Piotrowska-Cyplik, A.; Chrzanowski, Ł.; Cyplik, P.; Dach, J.; Olejnik, A.; Staninska, J.; Czarny, J.; Lewicki, A.; Marecik, R.; Powierska-Czarny, J. Composting of oiled bleaching earth: Fatty acids degradation, phytotoxicity and mutagenicity changes. Int. Biodeter. Biodegr. 2013, 78, 49–57. [Google Scholar] [CrossRef]
  24. Firozjaei, K.M.; Kiavarz, M.; Alavipanah, S.K.; Lakes, T.; Qureshi, S. Monitoring and forecasting heat island intensity through multi-temporal image analysis and cellular Automata-Markov chain modelling: A case of Babol city, Iran. Ecol. Indic. 2018, 91, 155–170. [Google Scholar] [CrossRef]
  25. Tatti, F.; Papini, M.P.; Sappa, G.; Raboni, M.; Arjmand, F.; Viotti, P. Contaminant back-diffusion from low-permeability layers as affected by groundwater velocity: A laboratory investigation by box model and image analysis. Sci. Total Environ. 2018, 622–623, 164–171. [Google Scholar] [CrossRef] [PubMed]
  26. Speranzini, E.; Marsili, R.; Moretti, M.; Rossi, G. Image Analysis Technique for Material Behavior Evaluation in Civil Structures. Materials 2017, 10, 770. [Google Scholar] [CrossRef]
  27. Wagland, S.T.; Veltre, F.; Longhurst, P.J. Development of an image-based analysis method to determine the physical composition of a mixed waste material. Waste Manag. 2012, 32, 245–248. [Google Scholar] [CrossRef] [Green Version]
  28. Peddireddy, S.; Longhurst, P.J.; Wagland, S.T. Characterising the composition of waste-derived fuels using a novel image analysis tool. Waste Manag. 2015, 40, 9–13. [Google Scholar] [CrossRef]
  29. Franceschi, M.; Genty, D.; Girou, A.; Humbert, L.; Verdier, A. Possibilities of the numerical treatment of images to assess quantitatively the morphological characters of flocs. Waste Manag. 1990, 10, 85–94. [Google Scholar] [CrossRef]
  30. Szczypiński, P.M.; Klepaczko, A.; Zapotoczny, P. Identifying barley varieties by computer vision. Comput. Electron. Agric. 2015, 110, 1–8. [Google Scholar] [CrossRef]
  31. Vesali, F.; Omid, M.; Kaleita, A.; Mobli, H. Development of an android app to estimate chlorophyll content of corn leaves based on contact imaging. Comput. Electron. Agric. 2015, 116, 211–220. [Google Scholar] [CrossRef]
  32. Delwiche, S.R.; Yang, I.-C.; Graybosch, R.A. Multiple view image analysis of freefalling U.S. wheat grains for damage assessment. Comput. Electron. Agric. 2013, 98, 62–73. [Google Scholar] [CrossRef]
  33. Szczypiński, P.M.; Zapotoczny, P. Computer vision algorithm for barley kernel identification, orientation estimation and surface structure assessment. Comput. Electron. Agric. 2012, 87, 32–38. [Google Scholar] [CrossRef]
  34. Zaborowicz, M.; Boniecki, P.; Koszela, K.; Przybył, J.; Mazur, R.; Kujawa, S.; Pilarski, K. Use of artificial neural networks in the identification and classification of tomatoes. In Proceedings of the SPIE, Fifth International Conference on Digital Image Processing (ICDIP 2013), Beijing, China, 21–22 April 2013; Volume 8878, p. 88782R. [Google Scholar]
  35. Rodríguez-Pulido, F.J.; Gómez-Robledo, L.; Melgosa, M.; Gordillo, B.; González-Miret, M.L.; Heredia, F.J. Ripeness estimation of grape berries and seeds by image analysis. Comput. Electron. Agric. 2012, 82, 128–133. [Google Scholar] [CrossRef]
  36. Kujawa, S.; Tomczak, R.J.; Kluza, T.; Weres, J.; Boniecki, P. A stand for the image acquisition of composted material based on the sewage sludge. In Proceedings of the SPIE, Fourth International Conference on Digital Image Processing (ICDIP 2012), Kuala Lumpur, Malaysia, 7–8 April 2012; Volume 8334, p. 83341R. [Google Scholar]
  37. ISO 12232:2019–Photography — Digital still cameras — Determination of exposure index, ISO speed ratings, standard output sensitivity, and recommended exposure index; International Organization for Standardization: Geneva, Switzerland, 2019.
  38. Haralick, R.M.; Shanmugan, K.; Dinstein, I. Textural features for image classification. IEEE Trans. Syst. Man Cybern. 1973, SMC-3, 610–621. [Google Scholar] [CrossRef]
  39. Haralick, R.M.; Shapiro, L.G. Computer and Robot Vision: Vol. 1; Addison-Wesley: Boston, MA, USA, 1992. [Google Scholar]
  40. Kujawa, S.; Nowakowski, K.; Tomczak, R.J.; Boniecki, P.; Dach, J. Image parameters for maturity determination of a composted material containing sewage sludge. In Proceedings of the SPIE, Fifth International Conference on Digital Image Processing (ICDIP 2013), Beijing, China, 21–22 April 2013; Volume 8878, p. 88782K. [Google Scholar]
  41. Pourreza, A.; Pourreza, H.; Abbaspour-Fard, M.-H.; Sadrnia, H. Identification of nine Iranian wheat seed varieties by textural analysis with image processing. Comput. Electron. Agric. 2012, 83, 102–108. [Google Scholar] [CrossRef]
  42. Youssef, D.; El-Ghandoor, H.; Kandel, H.; El-Azab, J.; Hassab-Elnaby, S. Estimation of articular cartilage surface roughness using gray-level co-occurrence matrix of laser speckle image. Materials 2017, 10, 714. [Google Scholar] [CrossRef] [PubMed]
  43. Gao, J.; Li, X.; Zhu, F.; He, Y. Application of hyperspectral imaging technology to discriminate different geographical origins of Jatropha curcas L. seeds. Comput. Electron. Agric. 2013, 99, 186–193. [Google Scholar] [CrossRef]
  44. Niedbała, G.; Mioduszewska, N.; Mueller, W.; Boniecki, P.; Wojcieszak, D.; Koszela, K.; Kujawa, S.; Kozłowski, R.J.; Przybył, K. Use of computer image analysis methods to evaluate the quality topping sugar beets with using artificial neural networks. In Proceedings of the SPIE, Eighth International Conference on Digital Image Processing (ICDIP 2016), Chengdu, China, 20–22 May 2016; Volume 10033, p. 100332M. [Google Scholar]
  45. Kujawa, S.; Dach, J.; Kozłowski, R.J.; Przybył, K.; Niedbała, G.; Mueller, W.; Tomczak, R.J.; Zaborowicz, M.; Koszela, K. Maturity classification for sewage sludge composted with rapeseed straw using neural image analysis. In Proceedings of the SPIE, Eighth International Conference on Digital Image Processing (ICDIP 2016), Chengdu, China, 20–22 May 2016; Volume 10033, p. 100332H. [Google Scholar]
  46. Zaborowicz, M.; Wojcieszak, D.; Górna, K.; Kujawa, S.; Kozłowski, R.J.; Przybył, K.; Mioduszewska, N.; Idziaszek, P.; Boniecki, P. Determination of dry matter content in composted material based on digital images of compost taken under mixed visible and UV-A. light. In Proceedings of the SPIE, Eighth International Conference on Digital Image Processing (ICDIP 2016), Chengdu, China, 20–22 May 2016; Volume 10033, p. 100332G. [Google Scholar]
Figure 1. Diagram of the photographic chamber construction (dimensions in millimeters): (a) chamber interior view from the side, (b) view of the chamber upper inner part, 1—lens hole, 2—fluorescent lamp fixture, 3—fluorescent lamp, 4—reflector film, 5—extendable tray for material, 6—door [36].
Figure 1. Diagram of the photographic chamber construction (dimensions in millimeters): (a) chamber interior view from the side, (b) view of the chamber upper inner part, 1—lens hole, 2—fluorescent lamp fixture, 3—fluorescent lamp, 4—reflector film, 5—extendable tray for material, 6—door [36].
Materials 12 03644 g001
Figure 2. Change of composted material temperature over time.
Figure 2. Change of composted material temperature over time.
Materials 12 03644 g002
Figure 3. Change in oxygen concentration in the air coming out of composting chambers over time.
Figure 3. Change in oxygen concentration in the air coming out of composting chambers over time.
Materials 12 03644 g003
Figure 4. Exemplary images of samples of material produced in the considered composting chambers.
Figure 4. Exemplary images of samples of material produced in the considered composting chambers.
Materials 12 03644 g004
Figure 5. Mean brightness of the pixel averaged for images of composted material (a)—component R, (b)—component G, (c)—component B, (d)—grayscale.
Figure 5. Mean brightness of the pixel averaged for images of composted material (a)—component R, (b)—component G, (c)—component B, (d)—grayscale.
Materials 12 03644 g005
Figure 6. Median brightness of the pixel averaged for images of composted material (a)—component R, (b)—component G, (c)—component B, (d)—grayscale.
Figure 6. Median brightness of the pixel averaged for images of composted material (a)—component R, (b)—component G, (c)—component B, (d)—grayscale.
Materials 12 03644 g006
Figure 7. Percentage of white color averaged for images of composted material subjected to binarization (a)—threshold 0.05, (b)—threshold 0.10, (c)—threshold 0.15, (d)—threshold 0.20.
Figure 7. Percentage of white color averaged for images of composted material subjected to binarization (a)—threshold 0.05, (b)—threshold 0.10, (c)—threshold 0.15, (d)—threshold 0.20.
Materials 12 03644 g007
Figure 8. Entropy averaged for images of composted material in the grayscale.
Figure 8. Entropy averaged for images of composted material in the grayscale.
Materials 12 03644 g008
Figure 9. Texture parameters determined using an GLCMs for images of composted material in grayscale (a)—contrast, (b)—correlation, (c)—energy, (d)—homogeneity.
Figure 9. Texture parameters determined using an GLCMs for images of composted material in grayscale (a)—contrast, (b)—correlation, (c)—energy, (d)—homogeneity.
Materials 12 03644 g009
Figure 10. Absolute percentage differences in the values of the analyzed parameters of color and texture for the images of the material obtained under favorable and unfavorable composting conditions (blue color—parameters for a binarized image, red color—parameters for an RGB model image, gray color—parameters for a grayscale image, yellow color—texture parameters for a grayscale image).
Figure 10. Absolute percentage differences in the values of the analyzed parameters of color and texture for the images of the material obtained under favorable and unfavorable composting conditions (blue color—parameters for a binarized image, red color—parameters for an RGB model image, gray color—parameters for a grayscale image, yellow color—texture parameters for a grayscale image).
Materials 12 03644 g010
Table 1. Scheme of composting experiments.
Table 1. Scheme of composting experiments.
Name of the Experiment aVolume of the Chamber (dm3)Mass of the Batch Material (kg)
C10N103.6
C10I103.6
C20N207.1
C20I207.1
C50N5017.8
C50I5017.8
C74N7426.3
C74I7426.3
C119N11942.3
C119I11942.3
a Number means the chamber volume in dm3, “N” means no additional thermal insulation, “I” means additional insulation.
Table 2. Selected material parameters obtained at the end of the composting process.
Table 2. Selected material parameters obtained at the end of the composting process.
Name of the Experiment aContent of Dry Substance (%)pHConductivity (mS)
C10N16.236.70.38
C10I14.567.10.87
C20N17.086.60.38
C20I16.636.10.62
C50N17.736.90.43
C50I*17.338.92.07
C74N15.986.60.42
C74I*17.958.51.87
C119N13.876.40.40
C119I *17.408.41.54
a Number means the chamber volume in dm3, “N” means no additional thermal insulation, “I” means additional insulation, * the composting process was correct.
Table 3. Statistical information of the analyzed parameters of color and texture for the images of the material obtained under favorable and unfavorable composting conditions.
Table 3. Statistical information of the analyzed parameters of color and texture for the images of the material obtained under favorable and unfavorable composting conditions.
Parameter NameFavorable ConditionsUnfavorable Conditionsp-Value for Mann–Whitney U test
Average ValueStandard DeviationAverage ValueStandard Deviation
Color parameters
R_MEAN24.862.7842.264.30<0.001
G_MEAN19.622.1530.392.97<0.001
B_MEAN15.431.8120.992.16<0.001
R_MEDIAN19.332.1237.074.09<0.001
G_MEDIAN14.711.5126.452.75<0.001
B_MEDIAN11.131.1818.212.00<0.001
GS_MEAN20.712.2832.863.25<0.001
GS_MEDIAN15.691.5828.823.05<0.001
WH_PERCENT164.696.4092.002.96<0.001
WH_PERCENT226.165.0958.777.86<0.001
WH_PERCENT312.153.6428.416.98<0.001
WH_PERCENT45.172.1512.774.43<0.001
Texture Parameters
ENERGY5.500.196.010.19<0.001
CONTRAST0.110.030.140.03<0.001
CORRELATION0.750.030.850.03<0.001
ENERGY0.620.080.380.06<0.001
HOMOGENEITY0.950.010.930.01<0.001

Share and Cite

MDPI and ACS Style

Kujawa, S.; Janczak, D.; Mazur, A. Image Analysis of Sewage Sludge and Barley Straw as Biological Materials Composted under Different Conditions. Materials 2019, 12, 3644. https://doi.org/10.3390/ma12223644

AMA Style

Kujawa S, Janczak D, Mazur A. Image Analysis of Sewage Sludge and Barley Straw as Biological Materials Composted under Different Conditions. Materials. 2019; 12(22):3644. https://doi.org/10.3390/ma12223644

Chicago/Turabian Style

Kujawa, Sebastian, Damian Janczak, and Andrzej Mazur. 2019. "Image Analysis of Sewage Sludge and Barley Straw as Biological Materials Composted under Different Conditions" Materials 12, no. 22: 3644. https://doi.org/10.3390/ma12223644

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