Method and device for quickly identifying soil key pores in CT (Computed Tomography) image
Through CT image segmentation and network model analysis, key soil pores are quickly identified, which solves the problem of difficult analysis of pores in large soil samples, achieves rapid understanding and improvement of soil structure and functional correlation, and provides scientific guidance for soil structure.
Patent Information
- Application Number
- CN202410647809.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-03
AI Technical Summary
Existing technologies are difficult to quickly and efficiently identify and analyze key pores in large soil samples, making it difficult to quickly understand soil structure and functional relationships and consuming a large amount of computing resources.
Through CT image segmentation, noise reduction filtering, construction of pore network model, dimensionality reduction topology map analysis and clustering screening, key pores in the soil are identified, and the pore information list is combined for visual output.
It achieves rapid identification of key soil pores, reduces computing resource consumption, and provides important information on soil structure improvement and functional correlation. It has the advantages of simple operation, low cost, and fast identification speed.
Smart Images

Figure CN118587380A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of soil structure and function research, and in particular relates to a method and a device for quickly identifying key soil pores in a CT image. Background Art
[0002] Soil pores are one of the most critical physical properties of soil. They control the movement of water and nutrients and gas exchange in the soil, and strongly affect the physical, chemical and biochemical properties of the soil. Soil pore structure includes porosity, pore size distribution, morphology, connectivity, anisotropy, etc. These pore characteristics determine all processes and functions in the soil, such as soil water supply, gas exchange, and the migration of solutes, nutrients and solid particles from various sources. They are also the activity channels and habitats of soil organisms. Soil pores are usually interconnected by pores of different sizes and shapes to form a pore network. In the pore network, different pores play completely different roles. Among them, only a small number of pores are key nodes in the soil pore network, which play a vital role in the movement of soil water and nutrients and the transmission of gas. Exploring these pores is the key to understanding the relationship between soil structure and function, and is also an important prerequisite for the rational formulation of soil structure regulation programs. It has extremely important scientific and practical significance.
[0003] For many years, the research on soil structure at home and abroad has remained at the level of quantitative description and characterization of pores. Although more and more studies have used computational fluid dynamics methods to simulate microscale processes inside soils to establish the relationship between soil structure and function, these methods are mainly applicable to smaller samples or a representative area in a large sample (a sample or representative area with a size of 400×400×400 voxels). High-precision simulation of large samples consumes a lot of time and computing resources.
[0004] Patent document CN110427732A discloses a method for constructing a double-layer heterogeneous soil layer structure model, and the specific steps of constructing the model are: (1) inputting parameters required for constructing the model, including soil physical property parameters of the upper and lower soil layers, and location parameters of the layered soil layer modeling area; (2) determining the boundary line of the upper and lower soil layers based on the location of the soil layer area in step (1); (3) setting soil particle crossing and particle intersection restriction conditions; (4) based on the set restriction conditions, constructing a soil pore structure model of the upper and lower soil layers that conforms to the input soil physical property parameters in the upper and lower areas divided by the boundary line; the layered soil layer modeling area location parameters include a boundary length interval, a width interval, a left boundary point coordinate, and a right boundary point coordinate; according to the left boundary point coordinate and the right boundary point coordinate, a geometric analytical expression is used. To represent the soil boundary: y=k*(x-X0)+Y0; according to the constructed soil boundary, the restriction condition of soil particles crossing the boundary is set, and the judgment function is as follows: if(y>k*(x-X0)+Y0\|\|x–realGaussianR<0\|\|x+realGaussianR>LENGTH\|\|y+realGaussianR>WIDTH\|\|y-realGaussianR<0); where realGaussianR is the particle size of the soil particles that satisfies the Gaussian function, LENGTH is the length of the modeling area, and WIDTH is the width of the modeling area; according to the above function, it is determined whether the particle size data and particle center coordinate data contained in the newly generated soil particles are located in the upper soil layer. Summary of the invention
[0005] The purpose of the present invention is to provide a method and device for quickly identifying key pores in soil in CT images. The method can quickly analyze the key pores in soil samples, thereby providing important information for understanding the relationship between soil structure and function, and providing scientific guidance for improving soil structure.
[0006] In order to achieve the first object of the present invention, the following technical solution is provided: a method for quickly identifying key pores of soil in a CT image, comprising the following steps:
[0007] Acquire a CT image of the soil, and perform an image segmentation operation on the CT image to obtain soil pore information, wherein the soil pore information includes voxel information occupied by all pores in the CT image;
[0008] All pores in the CT image are divided into connected pores that are interconnected in space and isolated pores that are independent and unconnected in space;
[0009] Remove isolated pores in the CT image, retain only connected pores, identify, mark and segment them, and obtain pore segmentation images corresponding to each pore in the connected pores;
[0010] The pores in the connected pores are taken as nodes and the connection relationship between the pores is taken as edges to construct a pore network model for representing the connection relationship of the pores in the three-dimensional space, and the pore information list of the corresponding pores is generated by the pore segmentation image and the corresponding voxel information corresponding to each pore;
[0011] A pore network topology map of a two-dimensional plane is drawn by a dimensionality reduction operation for the pore network model, and the pore network topology map is clustered to divide all pores into a plurality of modules, each module containing a plurality of interconnected pore sets;
[0012] The pores are screened according to their connectivity with the module and with other modules to obtain the key pore set in the CT image, which is then visualized and output in combination with the pore information list.
[0013] The present invention presents the complex internal structure of the soil in the form of CT three-dimensional images, then reduces the dimension into a two-dimensional topological map, and completes the classification of related pores to analyze the connectivity between the pores, thereby obtaining the key pores.
[0014] Specifically, before performing image segmentation operation on the CT image, it is necessary to use the Anisotropic Diffusion filter filtering algorithm to perform image noise reduction filtering processing on the CT image.
[0015] Specifically, a watershed algorithm is used to identify, label, and segment a large number of interconnected pores that constitute connected pores.
[0016] Specifically, the pore information list is quantitatively calculated in three-dimensional space based on voxel information of the pores to obtain three-dimensional modeling data of the pores.
[0017] Specifically, the pore information list includes pore size, pore length and throat area used for pore three-dimensional modeling.
[0018] Specifically, a projection method is used to project the three-dimensional pore network model onto a two-dimensional plane to draw a pore network topology map of connected pores.
[0019] Specifically, a fast greedy algorithm is used to cluster the pore network topology map to output several modules.
[0020] Specifically, the screening rules for the key pores are as follows:
[0021] The connectivity within the module is greater than 1; at the same time, the connectivity with other modules is greater than 0.5.
[0022] In order to achieve the second purpose of the present invention, the following technical solution is provided: a soil key pore identification device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above-mentioned method for quickly identifying soil key pores in CT images are implemented to obtain a set of key pores in the soil sample.
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] Through the analysis of CT images, a method for quickly identifying key soil pores was established, which realized the correlation between soil structure and soil function without consuming a lot of computing resources, thereby solving the important problem that key soil functions cannot be quickly analyzed, and providing important information for understanding the correlation between soil structure and function; and providing scientific guidance for the improvement of soil structure. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A flowchart for quickly identifying key pores in CT images provided in this embodiment;
[0026] Figure 2 A pore network topology diagram of the pore network model provided in this embodiment;
[0027] Figure 3 The key pore identification results provided for this embodiment;
[0028] Figure 4 A three-dimensional rendering of the key pores provided for this embodiment;
[0029] Figure 5 Result diagram for saturated water flow path simulation;
[0030] Figure 6 are the pores on the main saturated flow path;
[0031] Figure 7 To remove Figure 5 Result plot after the pores on the main saturated flow path. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0033] like Figure 1 As shown, the method for quickly identifying the key pore structure of soil provided in this embodiment is described using a typical paddy soil aggregate as a sample, and includes the following steps:
[0034] The CT images of the soil samples were imported into the PerGeos software, and the images were subjected to noise reduction filtering using the Anisotropic Diffusion filter algorithm.
[0035] The Interactive Overlay Threshold image segmentation method is used to segment the filtered image to identify and extract soil pores.
[0036] The Connected Pore Space tool of PerGeos software was used to remove isolated pores in the soil and retain the connected pores. The Neighborhood parameter was set to 26 and the Orientation parameter was set to Z axis.
[0037] The Separate Pore Space tool of PerGeos software was used to segment and mark the connected pores. The Interpretation was set to 3D, the Neighborhood parameter was set to 26, the Marker Extent parameter was set to 4, the Output Type was set to connected object, and the Algorithm Mode was set to repeatable.
[0038] Use the Pore Network Model Extraction tool of PerGeos software to model the pore network of connected pores. Select Statistics & Single Phase as the extraction method and Separated Pores as the input image.
[0039] After completing the pore network modeling, the pore information and connection relationship are saved as node list and edge list respectively. The above lists are saved in txt format.
[0040] Call the igraph package in R software, read the node list and edge list respectively, and use the igraph.plot function to draw the topological structure diagram of the connected pores. The topological structure diagram is as follows Figure 2 As shown in Figure 2, the intra-module connectivity and inter-module connectivity of each node in the pore network are calculated simultaneously and plotted as Figure 3 The pore connectivity diagram shown in the figure has the following specific process: the threshold lines of intra-module connectivity and inter-module connectivity are marked in the pore connectivity diagram, and the key pores with intra-module connectivity > 1.0 and inter-module connectivity > 0.5 are marked and screened out.
[0041] like Figure 4 As shown in the figure, it is a 3D rendering provided for this example. The specific process is as follows: all key pores are extracted in the PerGeos software, the Labeled Pore Space Analysis tool is used to quantitatively analyze the pore volume, pore size, morphology and other properties of the above key pores, and the Volume Rendering module is used for 3D display.
[0042] This example also provides a soil key pore identification device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method for quickly identifying soil key pores in CT images provided in the above embodiment are performed.
[0043] In order to verify the scientificity and reliability of the above method, a two-step verification method was used in this verification example to verify the key pores identified by this method.
[0044] (1) Computer simulation of the saturated water flow path of a typical soil sample in this embodiment is performed, and then the pores on the main saturated flow path are compared with the key pores identified in the embodiment, where Figure 5 This is the simulation result diagram of saturated water flow path. Figure 6 is the pore space on the main saturated flow path. Figure 4 and Figure 6 By comparing the pores in the pores, it is known that the key pores identified in the method of the present invention are completely consistent with the pores on the main saturated flow path of typical soil aggregates.
[0045] (2) Remove the key pores identified in this embodiment from the pore network, and then perform another computer simulation of the saturated flow path in the soil. Then compare the two simulation results before and after the key pores are removed. If the main saturated flow path disappears after the key pores are removed, it means that the method for identifying key pores in this embodiment is completely reliable.
[0046] like Figure 7 As shown, after the key pores inside the soil aggregates are removed, the main saturated flow path disappears, which further proves the reliability of the technical solution of the present invention.
[0047] In summary, with the help of the technical solution of the present invention, the key pores inside the soil can be identified by simple modeling and analysis of CT images. While establishing the relationship between soil pore structure and function, it can also provide key technical information for soil structure transformation, which has important scientific significance and high application value. The whole set of technical solutions has the characteristics of simple operation, low cost, fast recognition speed, and no need to consume a lot of computing resources. In addition, the PerGeos software used in the technical solution of the present invention has a user-friendly operating interface, and only requires a little familiarity to get started, and has the advantages of strong practicality and easy promotion.
[0048] In addition, the terms "upper", "lower", "inner", "outer", "front", "rear" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. Unless otherwise specifically stated, the relative steps, numerical expressions and values of the components and steps described in these embodiments do not limit the scope of the present invention.
[0049] Of course, the above description is only a specific embodiment of the present invention and is not intended to limit the scope of implementation of the present invention. All equivalent changes or modifications made according to the structure, characteristics and principles described in the patent application scope of the present invention should be included in the patent application scope of the present invention.
[0050] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for quickly identifying key pores in soil in CT images, characterized in that: The following steps are involved: Acquire a CT image of the soil, and perform an image segmentation operation on the CT image to obtain soil pore information, wherein the soil pore information includes voxel information occupied by all pores in the CT image; All pores in the CT image are divided into connected pores that are interconnected in space and isolated pores that are independent and unconnected in space; Remove isolated pores in the CT image, retain only connected pores, identify, mark and segment them, and obtain pore segmentation images corresponding to each pore in the connected pores; The pores in the connected pores are taken as nodes and the connection relationship between the pores is taken as edges to construct a pore network model for representing the connection relationship of the pores in the three-dimensional space, and the pore information list of the corresponding pores is generated by the pore segmentation image and the corresponding voxel information corresponding to each pore; A pore network topology map of a two-dimensional plane is drawn by a dimensionality reduction operation for the pore network model, and the pore network topology map is clustered to divide all pores into a plurality of modules, each module containing a plurality of interconnected pore sets; The pores are screened according to their connectivity with the module and with other modules to obtain the key pore set in the CT image, which is then visualized and output in combination with the pore information list.
2. The method for rapidly identifying key soil pores in CT images according to claim 1, characterized in that: Before performing image segmentation on the CT image, it is necessary to use the Anisotropic Diffusion filter algorithm to perform image noise reduction filtering on the CT image.
3. The method for rapidly identifying key soil pores in CT images according to claim 1, characterized in that: The watershed algorithm was used to identify, label, and segment the large number of interconnected pores that constitute the connected pores.
4. The method for rapidly identifying key soil pores in CT images according to claim 1, characterized in that: The pore information list is quantitatively calculated in three-dimensional space based on voxel information of the pores to obtain three-dimensional modeling data of the pores.
5. The method for rapidly identifying key soil pores in CT images according to claim 1 or 4, characterized in that: The pore information list includes pore size, pore length and throat area used for pore three-dimensional modeling.
6. The method for rapidly identifying key soil pores in CT images according to claim 1, characterized in that: The projection method is used to project the three-dimensional pore network model onto a two-dimensional plane to draw a pore network topology map of connected pores.
7. The method for rapidly identifying key soil pores in CT images according to claim 1, characterized in that: The fast greedy algorithm is used to cluster the pore network topology to output several modules.
8. The method for rapidly identifying key soil pores in CT images according to claim 1, characterized in that: The screening rules for the key pores are as follows: The connectivity within the module is greater than 1; at the same time, the connectivity with other modules is greater than 0.
5.
9. A soil key pore identification device, comprising a memory and a processor, wherein a computer program is stored in the memory, characterized in that: When the processor executes the computer program, the steps of the method for rapidly identifying key soil pores in a CT image according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Soil pore structure monitoring method and system based on low-field nuclear magnetic resonance imaging
CN119901651A
Soil pore structure monitoring method and system based on low-field nuclear magnetic resonance imaging
CN119901651B
Method for calculating relative spatial distribution of granular organic matters and pore structures in CT image
CN122289825A
Plough pan automatic identification method and device based on porosity gradient algorithm
CN122361485A
