#### Abstract

The regularity of dynamic change of real mesostructures of soil is the foundation of the macro- and mesointegrated research. Mesoscale research about continuous image acquisition in real soils, identifying and quantifying mesostructures, is the subject of current interest. Soil mesostructure measurement method is the basis of modeling, and the development of rapid, direct, and lower-cost methods has great practical value for engineering practice. Combined with conventional triaxial loading test equipment, optical measurement, mesoscopic imaging tracking system, and digital image technology, a new method for measuring the dynamic change of the soil mesostructure is designed. This integrated approach to observation and acquisition is realized by direct observation and continuous image capture for dynamic change of real mesostructures of soil. The methods are used to analyze the high compressibility of a certain clay, shear zone development of cement soil, and erosive effects of ecological soil in order to investigate the continuous variation of mesostructures during the shear test. The aim of this paper is to provide a simple, straightforward, continuous, and low-cost test method for revealing the characteristics of consecutive change of real mesostructures of soil in the conventional triaxial test.

#### 1. Introduction

The regularity of dynamic change of real mesostructures of soil is the foundation of the macro- and mesointegrated research [1–4]. Investigating the characterization of mesostructural parameters can provide sufficient evidence for macro- and mesointegrated modeling schemes [1, 5–7]. As soil deformation is gradual, the change of real mesostructures is continuous [8, 9]. So, the characteristics of consecutive change of mesostructures’ parameters are the actual embodiment of macroscopic law during load and deformation.

Researching the evolution law of the internal structure of soils during loading is the subject of current interest. The test method decides the observation. Mercury intrusion test is used to measure the pore size and distribution of the soil, but there is a limitation of the pore size [10, 11]. Scanning electron microscope (SEM) [12, 13] and environmental scanning electron microscope test (ESEM) [10, 11] are used to observe the arrangement of particles and pores of the sample surface and are high in technical requirements for sample preparation [11]. Nondestructive testing methods as computed tomography (CT) [14–17] and nuclear magnetic resonance (NMR) [18, 19] are observed indirectly, and sampling strategy will affect reconstruction quality [20]. Besides, the larger the sample number, the higher the cost [21, 22]. Due to the adoption and nondestructive photogrammetry [23–26], the deformation measurement in 2D or 3D scale during triaxial testing is widespread in use. However, research shows that digital images can quantify and characterize mesostructure via CCD detectors combined with the optical microscope [7, 12]. And it is straightforward and cost-effective [27–29].

Dynamic change of real mesostructures of soils is the embodiment of macroscopic property. For this reason, Zhang et al. [30], Tang et al. [31], and Wang et al. [32] characterized the mesostructures’ evolution by digital images observed from a glass window on pressure vessels, but the soil sample has limitations. Shao et al. [8] and Tang et al. [33] measured the shear band evolution by tracking the label on the sample surface, which cannot observe the mesostructure. Wang et al. [9] and Rechenmacher and Cetina [34] proposed the image-finite-element method to characterize the mesostructures’ evolution during loading, but the dynamic change of objects is simulation. Lanting et al. [35] achieved the visualization of the shear band evolution in a laboratory slope model test using transparent soil, but the sample was surrogation. Salazar and Coffman [36] investigated the shear band evolution by 360-degree coverage of sample in the triaxial compression test; Mehdizadeh et al. [37] proposed the shear band evolution was discontinuous in this test method. However, the above research efforts indicate that the testing methods for dynamic change of real mesostructures of soil lack being simple, straightforward, continuousness, and of low cost.

A methodology of dynamic change of real mesostructures of soil is introduced based on photogrammetry. Through the design of the semicylindrical loading chamber, the real mesostructure of the soil sample under three-dimensional loading is observed directly. Based on automatic tracking technology, continuous observation and acquisition of real mesoscopic structure dynamic changes are realized. Combined with triaxial equipment and observation equipment, the simultaneous observation and measurement of macro- and mesotests in the process of three-dimensional loading of soil are realized. It also provides equipment and method support for macro- and mesointegrated observation.

Furthermore, the automatic tracking of dynamic change of pores (particles) and cracks is realized by using photogrammetry. Then, statistical parameters, such as probability entropy and fractal dimension, are introduced to describe the pores (particles) and cracks direction distribution, area distribution, and complexity variation, respectively, by image processing technologies. The methods are used to analyze the high compressibility of a certain clay, shear zone development of cement soil, and erosive effects of ecological soil in order to investigate the continuous variation of mesostructure during the shear test. The results show that the characteristics of mesostructures correspond to the macroscopic law using this method. The aim of this paper is to provide a continuous and reliable test method for the characteristics of dynamic change of real mesostructure of soil in the conventional triaxial test.

#### 2. Experimental Design and Testing Procedure

##### 2.1. Loading Chamber

To measure the dynamic change of internal structure of the soil in conventional triaxial test, divide the traditional cylindrical soil sample from the symmetrical surface, and the semicylindrical shape is taken as the test object, as shown in Figure 1(a). The loading system is the same as the conventional triaxial test. The pressure chamber is shown in Figure 1, which is made into a semicylindrical type. Axial pressure is given by the load sensor and displacement sensor and imposed by the movement of the semicylindrical loading cap assembly on the worm when it touches the soil sample. The capacity of the load sensor is 5 kN with a resolution of 1 N, and the displacement sensors is 55 mm with a resolution of 0.01 mm. Confining pressure is applied by air pressure in the rubber air cell, generated by high-pressure gas, and controlled by the lateral confining pressure sensor with a capacity of 1.0 MPa and resolution of 5 kPa, as shown in Figure 1(b).

**(a)**

**(b)**

**(c)**

The confining pressure of the observation plane is applied by the transparent tempered glass, which is fixed on the semicylindrical pressure chamber by screws. As shown in Figure 1(c) the observation plane is the axial symmetric plane from the cylindrical soil sample of the conventional triaxial test, is vertical stress, and the stresses on the observation plane are equal to confining pressure . The stress states of the observation plane are similar to the axial symmetric plane of cylindrical soil samples of the conventional triaxial test. Thus, the simple, direct observation of the internal structure of soils can be realized in this way.

##### 2.2. Sample Preparation

The soil sample is prepared according to the triaxial test, and the cylindrical soil sample is 39.1 mm in diameter and 80 mm in height, which is cut with a foil sampler. Tang et al. [31] and Wang et al. [32] observe the mesostructure of soil through transparent glass plates, which attach to the observation surface. Wang et al. [9] divided the cylindrical sample into two parts from the symmetrical surface and obtained the real mesostructure of soil through the symmetrical plane. Based on this, a semicylindrical soil sample is prepared, and the symmetry plane of a cylindrical soil sample is selected as the observation surface, which is observed through a transparent glass plate.

When the cylindrical soil sample is divided, in order to ensure the shape of the symmetrical plane, it is concluded after repeated tests; that is, cut along the symmetrical plane of the cylindrical soil sample vertically; use mechanical cutting method about 3 cm at first; then, score the outer surface of the cylinder sample along the cutting line; and then, open it along the cutting line into half-cylinder. At this time, the divided part of the soil sample without the mechanical cutting method is a fresh section, and images with real mesostructure characteristics can be obtained [9, 38]. A magnifying glass should check the observation plane whether loose particles remain on. To remove the loose particles on the surface, thinly coat the surface with glue; then tear it off slightly; and blow it off the surface with a rubber ball to obtain a fresh surface. The operation process should be gentle and careful.

##### 2.3. Microdevices

Localization of deformation is of the order of magnitude as the size of particles on the mesoscopic scale [39, 40]. Under the definition of Cotecchia et al. [1], the side size of the mesostructure’s parameters is 0.1 mm∼10 mm. Therefore, microdevices use a noncontact remote microscope: Questar Long Working Distance Microscope QM100. Main function parameters are working distance with 15–35 cm; resolution of 1.1 *μ*m; maximum magnification with 300×; the field of view with 0.375–8.0 mm.

##### 2.4. Automatic Tracking of Observation Area

According to the microscope parameters, the observation area is about 1 mm^{2} when the magnification is 150 times. The objects of mesostructure are dynamic change during loading. If the observation is not tracking the objects, the dynamic changing objects will be moved out of view as the field of view is only mm^{2}. Thus, the dynamic change of real mesostructures of soil needs continuous measurement. Many previous studies [27, 29, 34] have shown that displacement information can be obtained by matching the pixel subset, tracking clusters of uniquely colored pixels.

Image capture with intense overlapping subsets makes spaced center to center just a few pixels apart as Figure 2(a). “*mn*” is an objective area as center point coordinate is (*x*, *y*). To track the pixel subset recognize correlation coefficients of the gray value of “*mn*” from *kt* to (*k* + 1)*t* frame using the following equation:where *f* and are gray values of *k* frame, i.e., *f* [(*x*, *y*); *kt*]; *k* + 1 frame, i.e., *f* [(*x*, *y*); (*k* + 1)*t*]. *N* is the number of pixels. “*MN*” is the retrieval area. The best match for “*mn*” in “*MN*” is the maximum of correlation coefficients of gray value from *kt* to (*k* + 1) *t* frame [41]. The method is illustrated conceptually for a specimen in Figure 2(b). is horizontal displacement, and is the vertical displacement of the center point in the objective area. But the problem is how to realize the automatic tracking of observation by microdevices. Put the microscope on a platform that can move by stepping motor control driver in 3D, as shown in Figure 2(c).

**(a)**

**(b)**

**(c)**

Using equations (2) and (3), turn the relative distance of pixel subset into pulse number of stepping motor control driver.where *n*_{x} and *n*_{y} are pulse numbers of *x*- and *y*-direction and *K*_{x} and *K*_{y} are calibration coefficients of *x*- and *y*-direction for stepping motor control driver.

The major technical specifications of the platform in 3D are listed in Table 1.

##### 2.5. Image Fusion

The soil sample surface is less gray level different, and shallow depth of field influences the quality of the digital image. To solve this problem, get the images with different magnifications. And then, the image is decomposed into its low-frequency approximation and horizontal, vertical, diagonal edges using wavelet transforms [42] to image fusion, as Figure 3.

is a low-frequency component of information of the whole image; is edge information where *j* is the scale of decomposing (*j* = 1, 2, 3), and *k* is an orientation of edges (*k* = *h*, , *d* as horizontal, vertical, and diagonal).

First, merge the subband coefficients of the corresponding frequency content. The edge of the image is the high frequency of frequency field. are the high-frequency coefficients in edge orientation (*k*) with different scale (*j*). Choose maximum from two images before and after the following equation:

Choose the maximum value of the low-frequency coefficients from before images and after (i.e., and ), that is, as .

Then, generate a synthesized fused image by the inverse transform of and , shown in Figures 4(a) and 4(b). For evaluating its reliability, fused images in Figure 4(c) are compared with photoshopped images in Figure 4(d).

**(a)**

**(b)**

**(c)**

**(d)**

As Figures 4(c) and 4(d) show, they are similar, while Figure 4(d) has the edges of the image mosaic, which influences the identification of the mesostructure’s parameters in this place.

##### 2.6. Image Segmentation

The research objects of mesostructure are particles, pores, and fissures mostly [13]. Image segmentation is mainly based on identifying isolated regions in a binary image [12, 43], and black pixels represent pores in the binary image. Image binarization is done using the Mean Gray Level algorithm as in the following equations:where *θ*_{i,j} is the gray value of the pixel, is the average gray of the image, *f* (*x*, *y*) is the gray value of image point (*x*, *y*), and *f*_{t}(*x*, *y*) is the new gray value of image point (*x*, *y*). Select the image resolution as 1280 ∗ 1024. Figure 5 is the image segmentation in which the gray threshold value is 108, the particles gray value is 255, and the pores gray value is 0.

**(a)**

**(b)**

##### 2.7. Mesostructural Parameters Characterization

Characterization of mesostructures’ parameters includes area ratio, fractal dimension, probability entropy, Euler number, Roundness, and so on:(i)Area ratio is calculated by the number of pixels of the mesostructures’ parameter to the total number of pixels in the image. The area ratio of pores/fissures has shown the evolution law of inner defect.(ii)Fractal dimension using sandbox method of the fractal theory which Mandelbrot establishes. The sandbox method has divided the image into an orthogonal grid, with the length for “*a*.” The logarithm of the grid numbers of particles and pores is linearly related to the logarithm of the grid length. The slope of linear parts is the fractal dimension. The larger the fractal dimension of the object distribution, the greater the degree of dispersion.(iii)Direction distribution is described by probability entropy [4, 12], as equation (7). The larger the probability entropy, the more disordered the direction distribution. where *α* is the azimuth of the object’s longest strings, *p*_{i} is the probability of appearance about the object in a certain azimuth interval, and *n* is the number of azimuth intervals.(iv)Roundness is done using the following equation to describe the proximity with the shape of object and circle. *R* is one as the shape of the object is a circle, as the following equation: where *S* is the pixel area of the object, and *L* is the pixel perimeter of the object.(v)Euler number “*O*” is introduced to describe the section connectivity using equation (9). Mark the image backgrounds as 0 and the object as 1.

In the formula, is the number of the pixels of an object, it is the number of pixels of the object as vertically adjacent, is the number of the pixels of the object as horizontally adjacent, and is the number of the pixels of the object as surrounding adjacent.

A program, Geo-Image, has been developed with Microsoft Visual C++ 6.0 to compute the mesostructures’ parameters accurately.

##### 2.8. Testing Process

A sketch of the entire apparatus is shown in Figure 6. The characteristics of dynamic change of real mesostructures can be obtained by using the apparatus.

**(a)**

**(b)**

During the test, there are some problems as follows.(i)The observation glass is misting during loading when soil has high moisture content, causing image blurring. In order to mitigate its effects, apply petroleum jelly to the inside of the observation glass before testing. After image collection, median filtering is used for image denoising and then sharpening the image by high pass filtering. As Figure 7 shows, image binarization of soil samples with high moisture content after using denoising and sharpening to process image is useful for identification of mesostructures.(ii)When the point is changing, use an adjustable test platform and platform in 3D (Figure 6) to change the position of the microscope, thus to realize the observation of the interest area of the soil sample.

**(a)**

**(b)**

**(c)**

**(d)**

#### 3. Test Results and Discussion

##### 3.1. High Compressibility of a Certain Clay

A certain clay compression coefficient is higher than normal from an embankment backfill, as shown in Table 2. According to the Chinese National Standard “standard for engineering classification of the soil” [44] (Chinese 2007) and the Chinese National Standard “Test Methods of Soils for Highway Engineering” [45], it is low liquid limit clay and not expansive soil. The reason for its high compressibility cannot be explained from the macroscopic characterization.

In order to investigate the causes of high compressibility, the mineral composition was analyzed by XRD (X-ray diffraction) as shown in Table 3. Smectite content has a relationship with swelling [46]; the compression coefficient of T3006 is lower than T3813. Still, smectite content is higher than T3813, which means that it needs more effective revelation.

In order to reveal the embodiment of high compressibility of a certain clay, the characteristics of dynamic change of mesostructural parameters were studied using the continuous test method proposed. According to backfill of 1 meter, the loading scheme confining pressure is 10 kPa, and axial pressure is 0 kPa, 10 kPa, and 20 kPa. The microscope’s magnification is 150 times, and the mesostructures change process is shown in Figure 8. Take T3006 and T3813 as examples, with the load increasing and pores tending to close.

**(a)**

**(b)**

The macroscopic characteristics can be explained at the mesolevel. Quantification of mesostructures’ parameters is obtained using Geo-Image. During the test, as shown in Figure 9(a), the roundness decreased, Figure 9(b) particle number increased, and Figures 9(c) and 9(d) probability entropy and fractal dimension increased. It follows then that the soil mesostructures tend to stabilize, and the soil deformation decreases gradually, while, as shown in Figure 9(e) and Table 2, the higher initial pore, void ratio, and water content will lead to a more significant deformation.

**(a)**

**(b)**

**(c)**

**(d)**

**(e)**

**(f)**

On the other hand, extrastatic pore water pressure increased after loading, and then the pore connectivity enhanced, which is represented as probability entropy of pores increased in Figure 9(f). Furthermore, soil structure becomes looser and messier, and hence compressibility becomes higher. As described above, the causes of high compressibility can be explained from the mesoscopic characterization.

##### 3.2. Shear Zone Development of Cement Soil

The shear band’s initiation, development, and breakthrough are typical phenomena for strain localization of soil. The process of initiation of cemented soil shear band could be described through the variation of mesostructures’ parameters [47, 48]. The clay used in the test is quarried from Yunluo Expressway in Guangdong Province. The physical properties of the clay are given in Table 4. Five specimens masses are 153.72 g, 163.10 g, 173.31 g, 183.12 g, 192.75 g. Mix cement with soil and stir well, with cement content of 10%, compaction degree of 95%, water binder ratio of 1 : 2, and age of seven days.

Using the proposed method and via the uniaxial compression test on cemented soil specimens, study the regularity of the real mesostructure change of cemented soil in the initiation of the shear band. Use axial strain for shear, i.e., the axial displacement of 2 mm (strain 2.5%) each time as 12–15 rpm per minute. Digital image capture uses the strain value of 1% as the step size before the appearance of the shear band and uses the strain value of 0.2% as the step size after any shear band is observed. The stress-strain curve of cemented soil is shown in Figure 10. The stress-strain curve of cemented soil can be divided into three stages: the initial loading stage (0-A), the local deformation development stage (A-C), and the destruction stage (C-D). The microscope’s magnification is 250 times, and the corresponding images of mesostructure change are shown in Figure 11. Figure 11(a) shows microcracks in the specimen before local deformation. As shown in Figure 11(b), after the strain of 2.13% (point B of Figure 10), the slope of the curve decreased, where microcrack begin to expand, so point B of the stress-strain curve represents the occurrence of the shear band. When axial stress achieves a peak value of 2.69% (point C of Figure 10), the soil enters into the destruction stage, where cracks tend to connect as shown in Figures 11(c) and 11(d), and then the width of the shear band expanded to stabilize as shown in Figures 11(e) and 11(f).

**(a)**

**(b)**

**(c)**

**(d)**

**(e)**

**(f)**

**(a)**

**(b)**

In order to have a clearer understanding of the mesostructure evolution of cemented soil, the images use the Geo-Image software to extract the parameters for analysis in Figure 12. The development of mesostructure in the shear band has certain regularity. With the axial strains gradually increased, the fissure area ratio gradually increased; direction distribution, roundness, and fractal dimension of particle decreased gradually. These changes of mesostructure parameters can be used to explain the mechanical mechanism of the shear band at the mesoscale. Due to the heterogeneity of cemented soil, the area with weak connection strength between particles in the sample is disconnected first (Figure 11(a)). As the axial strains increase, the fissure area ratio increases rapidly (Figure 12(a)), that is, initial small cracks propagation as shown in Figures 11(b) and 11(c). After that, the stress concentrates towards this region, which leads to further damage in the region with weak intergranular connections, as shown in Figures 11(d) and 11(e). At this time, the number of particle roundness (Figure 12(b)), direction distribution (Figure 12(a)), and fractal dimension (Figure 12(b)) decreased rapidly, indicating that the particles in the shear band are elongated and aligned directionally. In this way, after the axial strain exceeds 2.9%, as shown in Figure 12, the mesoscopic particle parameters tend to be stable, while the fissure area is still increasing, indicating that the small cracks are linking each other into another large crack at this time (Figure 11(f)).

**(a)**

**(b)**

##### 3.3. Erosive Effects of Ecological Soil

The Dutch [49] proposed ecological soil to reinforce the soft soils, i.e., mixed foam, fibers, microbe, and binder into soft soil. The basic physical parameters and chemical composition of ecological soil are shown in Table 5. In order to study the erosion mechanism of ecological soil in coastal areas (main cation as Na+ and anions as , ) [50] or industrial and agriculture developed area (main anions as , ) [51] soak the specimens in a solution with a pH of 7, 4810 mg/L concentration of NaCl, and 4440 mg/L concentration of Na_{2}SO_{4}.

The dry density (i.e., weight loss rate) in 90 days of the soil specimens is calculated by wet density and water content shown in Figure 13(a). In Figure 13(b), the uniaxial compressive strength of the soil specimens is measured.

The decrease of dry density (i.e., weight loss rate) mainly occurs in the 45 days before, the decrease of strength mainly occurs in the 60 days before, and then both stabilize in Figure 13. In order to explain the macroscopic law during load, take images of mesostructure by SEM in Figure 14.

**(a)**

**(b)**

Clumps of particle aggregates are gradually diminished, and interaggregate pores are gradually increased. The aggregates and bridges of soil are eroded by and . And the erosive effects of NaCl solutions are stronger than solutions, which means the erosive effects of solutions are stronger than on the ecological soil. Thus, the mesostructure is looser and has low stability in NaCl solutions.

To have a clearer understanding of the erosive effects of ecological soil, the images of SEM use the Geo-Image software to extract the parameters for analysis in Figure 15.

**(a)**

**(b)**

The mesostructure parameters have obvious regularity. The particle area ratio in NaCl solution is decreased more than Na_{2}SO_{4} solution, and Euler number is increased more with the increase of soaking time. Again, the erosive effects of solutions are stronger than on the ecological soil at the mesoscopic level. Therefore, the measures against must be taken when ecological soil reinforced the soft soil in coastal areas or industrial and agriculture developed areas.

#### 4. Conclusions

A continuous test method and equipment are proposed, which can realize the macro- and mesointegrated observation. A semicylindrical pressure chamber with transparent tempered glass is produced, which realizes the direct observation of the internal structure of soils, equipped with a noncontact microscope and CCD camera that realized mesostructure’s measurement, by tracking clusters of uniquely colored pixels to realize tracking of objects and transform the relative distance of pixel subset into pulse number of stepping motor control driver to realize the autotracking by microscope. Based on image processing technologies as image fusion and image segmentation, identify and extract the characterization of mesostructural parameters such as area ratio, fractal dimension, direction distribution, roundness, and Euler number for dynamic change of real mesostructure research. By combining conventional triaxial test equipment, a self-designed semicylindrical loading chamber, and the automatic image tracking technology, we realize the macro-meso-integrated measurement.

In order to verify the feasibility and effectiveness of the proposed method, the macro- and mesocharacteristics of soil samples are measured by the proposed method, which cannot be explained from the macroscopic level, for example, the reason of the high compressibility of a certain clay; shear zone development of cement soil; erosive effects of ecological soil. By obtaining the dynamic change of real mesostructure parameters, the mechanism of soil macroscopic characteristics can be revealed from the mesolevel.

#### Data Availability

The datasets supporting the conclusions of this article are included within the article.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest.

#### Acknowledgments

This study was sponsored by the National Natural Science Foundation of China (Grant no. 51609071), Fundamental Research Funds for the Central Universities (Grant nos. B200202087 and B200204032), Young Scientists Fund of the National Natural Science Foundation of China (Grant no. 51908278), Natural Science Foundation of the Jiangsu Higher Education Institutions of China (Grant no. 19KJD410002), and Jiangsu Students’ Platform for Innovation and Entrepreneurship Training Program (Grant no. 202113646014Y).