You are on page 1of 8

Image Analysis in Soil Science  141

Image Analysis in Soil Science


Magnus Persson
Department of Water Resources Engineering, Lund University,
Box 221 00 Lund, Sweden
E-mail: magnus.persson@tvrl.lth.se

Abstract: In this article a review of different image analysis methods in the field of soil
science is presented. The future potential in some methods is pointed out. In general
these methods have proven to save a lot of labor intensive analysis work. However,
a certain degree of subjectiveness is present in many methods, making comparison of
results from different experts difficult.

Introduction
Transport of water and solutes through the soil poses one of the most seri-
ous threats to our environment at present as well as in a possibly sustainable
future. The soils and the vadose zone are constituents of a complex system
of inorganic and organic compounds that cover almost the entire land sur-
face of the earth. The unsaturated zone, situated between the soil surface
and the groundwater table, plays an important role in the ecosystem as it is
the base upon which the food chain is built. Plants take up nutrients and
water from the unsaturated zone. Vegetation in turn, is consumed by ani-
mals and human beings. Thus, harmful substances in the soil can pose a
threat to human health. Another important role of the unsaturated zone is
in the recharge of groundwater. Groundwater constitutes an important
­water supply component for, for instance, domestic, industrial, and agricul-
tural use, and is often considered a clean water resource. However, pollut-
ants from the soil surface can be transported down through the soil, thus
contaminating the groundwater. A sustainable management of these is the
fundament for a safe future food production, clean water supply, as well as
a clean recreational environment.
  Image analysis can be defined as extraction of useful information from
images by means of digital image processing techniques. In soil science,
­image analysis can be used to measure specific features of the soil or vegeta-
tion. An image can be considered to be a large data matrix where each
142  Magnus Persson

e­ lement (often called pixel) contains information about the brightness (in
black and white images) or color (in color images) of a small area of the
motif. Features of the image, like color or structures present, can be related
to physical properties of the motif (or parts of it). Using image analysis it is
possible to find patterns and boundaries, track objects, analyze colors, etc
in an automated way making image analysis ideal for various applications
like surveillance, robotics, astronomy, remote sensing and soil science.
  Images can be captured in several different ways. Nowadays digital
­cameras are used in most applications since they directly produce digital
images that directly can be analyzed mathematically. The wavelength of the
recorded light can be different, normally cameras record visible light
(roughly 400–700 nm), but longer or shorter wavelength are also used
(IR, UV, or even X-ray). The scales of the image can also vary; micro scale
images can be obtained through microscopes while satellite images almost
can cover entire continents.
  There is a great potential of using image analysis application in soil sci-
ence. Both characteristics of the crops and the soil material itself can be
measured using image analysis. The objective of this paper is to present a
review of image analysis applications in the field of soil science. In this ar-
ticle, I will focus on image analysis for determining soil characteristics since
image analysis related to crops can be found elsewhere (e.g., Zheng and
Moskal, 2009). For X-ray computed tomography imaging and other related
methods see, e.g., Taina et al. (2008).

Image analysis in soil science


In soil science image analysis has become increasingly popular during the
last decade. There are many interesting applications like: determining the
size and shapes of macroporosity (e.g., Czachor and Lipiec, 2004), root
mass and root length (Kimura et al., 1999), organic matter content (Chen
et al., 2000), soil albedo (Post et al., 2000), water content (Persson, 2005b),
and solute concentration (Forrer et al., 2002).
  Images are generally analyzed to determine either color of an object or to
find and analyze shapes and patterns. There are many more types of analy-
ses that can be done to extract useful information from images related to
soil science. Some examples are Fourier transforms, fractal dimension
­analysis, texture analysis etc. One important process often used as one of
the first steps in image analysis is segmentation. Segmentation means that
the image is partitioned into segments containing multiple pixels corre-
Image Analysis in Soil Science  143

sponding to structural elements or other objects of interest. The purpose of


segmentation is to reduce an image to information. One simple example is
thresholding of a gray scale image to produce a binary image. Pixels with
brightness above a certain threshold is given the value 1, all other pixels are
given the value 0.

Some applications
Color and color space
Physically, the wavelength of light determines its color. The color of an
object is determined both by the spectrum of the incident illumination and
on the reflectance spectrum of the surface. A color model (color space) is an
abstract mathematical model describing the way colors can be represented
as tuples of numbers. Some examples are RGB (red, green, and blue),
CMYK (cyan, magenta, yellow, and black), and HSV (hue, saturation, and
value). In the RGB color space, which is the one used by most digital cam-
eras and computer screens, all colors can be represented by mixing various
amounts of red, green, and blue. In most applications each channels con-
tains 8 bits of data 28 = 255. Thus 2553 = 16581375 different colors can be
described, see Figure 1.
  Human perception of color is highly influenced by in-brain image analy-
sis. Thus, an object of a specific, known color, appear to have the same
color when viewed in different lights. However, an image of an object needs

Figure 1. Different colors in the RGB (red, green, and blue) color space.
144  Magnus Persson

to be color corrected. Color consistency means that an image of an object


should have the same color regardless of the ambient lighting conditions.
Factors affecting the color of an object are; inhomogeneous illumination,
color temperature, and image noise. Any image can be transferred to a com-
mon norm by correcting for color temperature and inhomogeneous illumi-
nation (see Persson, 2005a). Image noise, however, is random and cannot be
corrected for. Using high end cameras and a powerful light source will in
most cases reduce the image noise sufficiently. Different averaging filters
can also be used.

Dye tracers
Dye tracers have been used for many years by soil scientists investigating
the effects of soil heterogeneity as they allow visualization of spatial flow
patterns (see, e.g., Flury and Flühler, 1995). This method has proven very
useful for detecting preferential flow paths in the soil. Traditionally, image
analysis of the dye photographs has only involved separation between
stained and non-stained soil. However, using image analysis the dye con-
centration can be estimated from soil color (e.g., Ewing and Horton, 1999;
Forrer et al., 2002).
  The color as expressed in a specific color space of the corrected images
can be related to dye concentration. In most cases, an empirical polynomial
equation is adopted to model the relationship between RGB or HSV values
and dye concentration (Ewing and Horton, 1999; Aeby et al., 2001; Persson
et al., 2005). Other more complex models like neural networks have also
been used (Persson, 2005a). The relationship between soil color and dye
concentration is soil specific. One example is presented in Figure 2.
  The same fundamental principle of color consistency can also be used for
determining other physical characteristics of soil material like organic mat-
ter content (Chen et al., 2000), soil albedo (Post et al., 2000), or water con-
tent (Persson, 2005b).

Pore space analysis


There are several ways to describing the shape related features of an object,
e.g., formfactor, roundness, and elongation. Each of these is strictly math-
ematically described. By defining limits for these parameters, different
kinds of objects can be separated from each other.
  Image analysis of the soil pore space is normally done on small scale
samples impregnated with a resin. Different types of resin have been used;
Image Analysis in Soil Science  145

Figure 2. The relationship between RGB values and dye concentration in three soil types.

usually the resin contains some sort of dye so that is stands out from the
color of the soil grains. Using fluorescent resins and light sources with
­different wavelengths even more information can be extracted from the im-
ages. After hardening the sample is cut into thin sections that are photo-
graphed (e.g., Bouma et al., 1977; Protz et al., 1992; Ringrose-Voase, 1996).
After segmentation the pore space can be analyzed to find the shape and
size of pores between the grains. Furthermore, characteristics like connec-
tivity of pores, types of soil material, and identification of earth worm
channels etc can be determined.
146  Magnus Persson

  Some studies about automated classification of soils using image analysis


have been presented. Marschallinger (1997) showed how image analysis
could be used for classifying minerals in rock samples. Maragos et al. (2004)
presented an automated system for estimation of the bioecological quality
of soils using sophisticated image analysis. Generally these applications re-
quire large computational efforts, but with the development of computers
and image analysis software these application will likely become more used
in the near future.
  Interesting attempts on relating micro scale characteristics of the pore
network determined using image analysis to the transport of water and sol-
utes. Pioneering work was carried out already by Bullock and Thomasson
(1979) who compared characterization of macroporosity and water reten-
tion data. Walker and Trudgill (1983) studied the relationship between im-
age analysis of pore network and dispersivity.

Other applications
Image analysis for determining root length and diameter has received a lot
of attention. Previous analysis methods (manual inspection) were very
­labor intensive and several commercial image analysis software packages
has been developed (e.g., Kirchhof, 1992; van der Weele, 2003; French et al.,
2009).

Conclusion and Discussion


Image analysis and especially its application to soil science is still a young
science. Most research within the field has been done during the last dec-
ades. Some applications are already routinely used whereas many potential
applications have received little attention yet. Especially interesting is auto-
mated image analysis for soil classification and studies where pore scale soil
properties are related to macroscopic features like water retention or soil
fertility. Another area where I expect further development is the use of
automated image analysis to study dynamic processes, e.g., solute transport
or root growth.
  It should be noted that even if image analysis can be automated, it con-
tains several steps which can be affected by subjectivity. Different opera-
tors are likely to come to slightly different conclusions based on the same
images. Thompson et al. (1992) discussed this problem and suggested some
types of standardization. Unfortunately, very few of his suggestions have
Image Analysis in Soil Science  147

been implemented. Baveye et al. (2010) presented an interesting study


where 13 experts analyzed a set of images. They found that experts rely on
very different approaches to threshold images of soils, and that there is
considerable observer influence associated with this thresholding. There-
fore caution should be taken when results from different investigators are
compared.
  Lastly I have to point out the great potential of using images and image
analysis for educational purposes. Learning and understanding complicated
processes is greatly enhanced when they can be visualized. Therefore image
analysis applications are ideal in teaching or when communicating with the
public.

References
Aeby, P., Schultze, U. Braichotte, D. Bundt, M. Wydler, H., and Flühler, H., 2001. Flu-
orescence imaging tracer distributions in soil profiles. Environmental Science &
Technology, 35: 753–760
Baveye, P., Laba, M., Otten, W., Bouckaert, L., Sterpaio, P.D., Goswami, R.R., Grinev,
D., Houston, A., Hu, Y., Liu, J., Mooney, S., Pajor, R., Sleutel, S., Tarquis, A., Wang,
W., Wei, Q., and Sezgin, M., 2010. Observer-dependent variability of the threshold-
ing step in the quantitative analysis of soil images and X-ray microtomography data.
Geoderma, 157: 51–63.
Bouma, J., Jongerium, A., Boersma, O., Jager, A., and Schoonderbreek, D., 1977. The
function of different types of macropores during saturated flow through four swell-
ing soil horizons. Soil Science Society of America Journal, 41: 945–950
Bullock, P., and Thomasson, A. J., 1979. Rothamsted studies of soil structure, 2 meas-
urement and characterization of macroporosity by image analysis and comparison
with data from water-retention measurements, Journal of Soil Science, 30: 391–413
Chen, F., Kissel, D. E., West, L. T., and Adkins, W., 2000. Field-scale mapping of surface
soil organic carbon using remotely sensed imagery. Soil Science Society of America
Journal, 64:746–753
Czachor, H., and Lipiec, J. 2004. Quantification of soil macroporosity with image
­analysis. International Agrophysics, 18;217–223
Ewing, R. P., and Horton, R., 1999. Discriminating dyes in soil with color image analy-
sis. Soil Science Society of America Journal, 63: 18–24
Flury, M., and H. Flühler. 1995. Tracer characteristics of Brilliant Blue FCF. Soil Science
Society of America Journal, 59: 22–27
Forrer, I., Papritz, A., Kasteel, R., Flühler, H., and Luca, D., 2002. Quantifying dye
tracers in soil profiles by image processing. European Journal of Soil Science, 51:
313–322
French, A., Ubeda-Tomás, S., Holman, T. J., Bennett, M. J., Pridmore, T., 2009. High-
Throughput quantification of root growth using a novel image-analysis tool. Plant
Physiology, 150: 1784–1795
148  Magnus Persson

Kimura, K., Kikuchi, S., and Yamasaki, S., 1999. Accurate root length measurement by
image analysis. Plant and Soil, 216;117–127
Kirchhof, G., 1992. Measurement of root length and thickness using a hand-held com-
puter scanner, Field Crops Research, 29: 79–88
Maragos, P., Sofou, A., Stamou, G. B., Tzouvaras, V., Papatheodorou, E., and Stamou,
G. P., 2004. Image analysis of soil micromorphology: feature extraction, segmenta-
tion, and quality inference. EURASIP Journal on Applied Signal Processing, 2004:
902–912
Marschallinger, R., 1997. Automatic mineral classification in the macroscopic scale.
Computers and Geosciences, 23: 119–126
Persson, M., 2005a. Accurate dye tracer concentration estimations using image analysis.
Soil Science Society of America Journal, 69: 967–975
Persson, M., 2005b. Estimating surface soil moisture from soil color using image analy-
sis. Vadose Zone Journal, 4: 1119–1122
Persson, M., Haridy, S., Olsson, J., and Wendt, J., 2005. Solute transport dynamics by
high-resolution dye tracer experiments—image analysis and time moments. Vadose
Zone Journal, 4: 856–865
Post, D. F., Fimbres, A., Matthias, A. D., Sano, E. E., Accioly, L., Batchily, A. K., and
Ferreira, L. G., 2000. Predicting soil albedo from soil color and spectral reflectance
data. Soil Science Society of America Journal, 64: 1027–1034
Protz, R., Sweeney, S. J., and Fox, C. A., 1992. An application of spectral image analysis
to soil micromorphology. I: Methods of analysis. Geoderma, 53: 275–288
Ringrose-Voase, A. J., 1996. Measurement of soil macropore geometry by image analy-
sis of sections through impregnated soil. Plant and Soil, 183: 27–47
Thompson, M. L., Singh, P., Corak, S., and Straszheim, W. E., 1992. Cautionary notes
for the automated analysis of soil pore-space images. Geoderma, 53: 399–415
Taina, I. A.; Heck, R. J.; and Elliot, T. R., 2008. Application of X-ray computed tomog-
raphy to soil science: A literature review, Canadian Journal of Soil Science, 88: 1–20
van der Weele, C. M.; Jiang, H. S.; Palaniappan, K. K.; Ivanov, V. B.; Palaniappan, K.;
and Baskin, T. I. 2003. A new algorithm for computational image analysis of deform-
able motion at high spatial and temporal resolution applied to root growth. Roughly
uniform elongation in the meristem and also, after an abrupt acceleration, in the
elongation zone. Plant Physiology, 132: 1138–1148
Walker, P. J. C., and Trudgill, S. T., 1983. Quantimet image analysis of soil pore geom-
etry: Comparison with tracer breakthrough curves. Earth Surface Processes and
Landforms, 8: 465–472
Zheng G., and Moskal, L. M., 2009. Retrieving leaf area index (LAI) using remote sens-
ing: theories, methods and sensors. Sensors 9: 2719–2745

You might also like