EGU General Assembly 2020
© Author(s) 2020. This work is distributed under
the Creative Commons Attribution 4.0 License.

Binarization of soil X-ray tomography images: revisiting Otsu’s method

Konstantin Abrosimov1, Konstantin Romanenko1, and Kirill Gerke2
Konstantin Abrosimov et al.
  • 1V.V. Dokuchaev Soil Science Institute, Lab. Soil phisics ang gidrology, Moscow, Russian Federation (
  • 2Schmidt Institute of Physics of the Earth of the Russian Academy of Sciences, Moscow, Russian Federation

In numerous applications the most critical step between studying soil structure with the help of X-ray tomography and its quantitative analysis is image segmentation; the simplest type is a division of the gray-scale images into solids and pores – or binarization, is necessary to perform pore-scale simulations (Gerke et al.,2018). This can be performed by either manual or automatic methods. Current state-of-the-art methods mainly include so called local segmentation where for each two phases one needs two confidence thresholds, i.e., 100% pores and 100% solids for binarization. These thresholds are either chosen manually (Karsanina et al.,2018) or automatically, the pixels/voxels in between these thresholds are classified according to some statistical measure or by growing phases from seeds. In case of global methods there is a single threshold that divides the histogram into pores and solids explicitly. There is, however, a class of popular automatic global/local methods based on gray-scale image variance minimization – Otsu’s method and its variations (Hapca et al.,2013), numerous related techniques are available in popular image processing software – ImageJ and SoilJ (Koestel,2018). The aims of our work to test Otsu-based techniques applicability to various soils and imaging resolutions.

In our study, we compared the results of using different variations of Otsu’s method working for 2D and fully 3D images for a number of soil samples of different sizes and taken at different resolutions: 240, 100, 16, 1µm. The largest samples - monoliths with a diameter of 10 cm were taken with the coarsest resolution, mesopores were segmented in micromonoliths with a diameter of 2 cm, with the most detailed resolution the pore space of microaggregates was investigated and segmented (fraction 2-1 mm). All objects of study have individual characteristics.

According to the results of the study, it can be argued that the Otsu method (3D) with a high degree of reliability worked only for detailed images of microaggregates. Its usage for all soils is generally unacceptable, as we observed for all other samples studied here. Moreover, automatic Otsu and related methods do not perform satisfactory on images with histograms resembling highly hierarchical structures (Gerke et al.,2015), which is true for all structured soils (Karsanina et al.,2018).

This research was supported by the RSF grant 19-74-10070.


Karsanina, M.V., Gerke, K.M., Skvortsova, E.B., Ivanov, A.L., & Mallants,D.(2018). Enhancing image resolution of soils by stochastic multiscale image fusion. Geoderma,314, 138-145.

Gerke, K.M., Karsanina, M.V., & Mallants, D. (2015). Universal stochastic multiscale image fusion: an example application for shale rock. Scientific reports,5, 15880.

Hapca, S.M., Houston, A.N., Otten, W., & Baveye, P.C. (2013). New local thresholding method for soil images by minimizing grayscale intra-class variance. Vadose Zone Journal,12(3).

Gerke, K.M., Vasilyev, R.V., Khirevich, S., Collins, D., Karsanina, M.V., Sizonenko, T.O., Korost D.V., Lamontagne S., & Mallants, D.(2018). Finite-difference method Stokes solver (FDMSS) for 3D pore geometries: Software development, validation and case studies. Computers & Geosciences, 114, 41-58

Koestel, J.(2018). SoilJ: an ImageJ plugin for the semiautomatic processing of three-dimensional X-ray images of soils. Vadose Zone Journal,17(1).

How to cite: Abrosimov, K., Romanenko, K., and Gerke, K.: Binarization of soil X-ray tomography images: revisiting Otsu’s method, EGU General Assembly 2020, Online, 4–8 May 2020, EGU2020-10758,, 2020

Display materials

Display file