Three-dimensional structure reconstruction and quantitative method of root-containing soil based on improved u-net

By improving the U-Net network and CBAM convolutional attention mechanism, and combining it with three-dimensional structural quantitative analysis methods, the problems of accuracy and efficiency in the reconstruction of root system three-dimensional structure were solved, realizing accurate identification and quantitative characterization of root system structure, improving identification accuracy and providing more reliable technical support.

CN123181747APending Publication Date: 2026-11-27TAIYUAN UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611688835.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies present a trade-off between accuracy and efficiency in the reconstruction of three-dimensional structures of plant roots. Manual identification is highly accurate but inefficient, while automated methods lack sufficient accuracy and a systematic solution from structural reconstruction to quantitative analysis.

Method used

An improved U-Net network, combined with the CBAM convolutional attention mechanism, is used to achieve fine three-dimensional structural reconstruction and quantitative analysis of the root system by adaptively learning the feature weights in the channel and spatial dimension, and by combining three-dimensional structural quantitative analysis methods.

Benefits of technology

It significantly improves the accuracy of root identification, enabling more accurate identification of fine and complex root structures, and realizes the continuous and complete expression of the spatial distribution of roots in the soil, providing more reliable technical support for root morphology analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181747A_ABST
    Figure CN123181747A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on improved U-Net's containing root soil three-dimensional structure reconstruction and quantitative method, belong to computer vision and plant root structure reconstruction field.The method includes the following steps: data acquisition, data pre-processing, model construction, three-dimensional structure reconstruction, quantitative characterization.The application is introduced CBAM convolution block attention mechanism in the decoding stage of U-Net network, adaptive learning feature weight on channel and spatial dimension, realizes the accurate identification and reconstruction of root structure, and utilizes refinement algorithm to simplify root structure, in combination with image processing technology, realizes the quantitative characterization of root structure;Significantly improve the accuracy of root identification, effectively overcome the low efficiency of traditional identification method, strong subjectivity, easy to miss and misclassification problem, realize the continuity, integrity expression of root spatial distribution state in soil, provide more reliable technical support for root morphology analysis and related research.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer vision and plant root structure reconstruction, and relates to a method for reconstruction and quantitative characterization of three-dimensional soil containing roots based on an improved U-Net network. Background Technology

[0002] The middle reaches of the Yellow River are characterized by fragmented topography and a fragile geological environment, making them one of the regions in my country most severely affected by soil erosion. The Yellow River carries approximately 900 million tons of sediment annually from its middle reaches, weakening soil fertility, seriously threatening regional food security and ecosystem stability, and hindering high-quality economic and social development. Rainfall erosion of loess slopes is the primary pathway for soil erosion in the middle reaches of the Yellow River. "Returning farmland to forest and grassland" is one of the main measures to control loess erosion and mitigate soil loss. However, the exact mechanisms by which plants modify the soil structure remain unclear. Determining the three-dimensional structure of the root-soil complex is crucial for clarifying the role of plant roots in modifying the hydrophysical properties of loess, providing theoretical support for the selection of grass species involved in "vegetation slope protection" projects, and ensuring the smooth implementation of the major national strategy of "ecological protection and high-quality development of the Yellow River Basin."

[0003] Traditional methods for reconstructing plant root structure mainly fall into two categories: destructive testing and non-destructive testing. Destructive testing primarily includes flushing and in-situ microcanal probing. Flushing carries the risk of damaging the root structure and cannot obtain the spatial topology of the roots within the soil. In-situ microcanal probing has limitations such as a limited observation window and difficulty in obtaining complete three-dimensional information. Non-destructive testing techniques typically involve collecting undisturbed root samples, using CT scanning to obtain a grayscale matrix characterizing the three-dimensional structure of the root-containing soil, and then identifying and reconstructing the three-dimensional root structure from this grayscale matrix. The core technical bottleneck of this approach lies in identifying the root system from the grayscale matrix. Existing identification methods mainly rely on manual identification or threshold segmentation. However, due to the complexity of soil structure, some roots and pores overlap in the grayscale region, making it difficult to accurately identify the root structure using threshold segmentation methods. Manual identification, on the other hand, suffers from high subjectivity and low efficiency.

[0004] The core problems with current methods include two aspects: First, the contradiction between accuracy and efficiency. Manual identification is highly accurate but inefficient, while automated methods lack sufficient accuracy. Second, the technical process is fragmented, lacking a systematic solution from structural reconstruction to quantitative analysis of structural features.

[0005] To address the aforementioned issues, this invention proposes a method for reconstructing and quantitatively characterizing the three-dimensional structure of root-containing soil based on an improved U-Net network. By establishing an improved U-Net network and combining it with three-dimensional structure quantitative analysis methods, the reconstruction and quantitative analysis of the three-dimensional structure of the root system can be achieved. Summary of the Invention

[0006] To address the issue that current CT imaging technology lacks sufficient image segmentation accuracy, making it impossible to achieve high-quality three-dimensional reconstruction of root systems, this invention provides a method for three-dimensional reconstruction and quantitative characterization of root-containing soil structures based on an improved U-Net network. By establishing an improved and optimized U-Net network structure and combining it with three-dimensional structural quantitative analysis methods, a refined three-dimensional structural reconstruction and quantitative analysis of root systems can be achieved.

[0007] The U-Net network model employs a classic encoder-decoder architecture, preserving detailed features through skip connections, and performs excellently in medical image segmentation, but its localization accuracy is limited. The CBAM convolutional attention mechanism can adaptively focus on key features with low computational cost, but it cannot provide a complete segmentation framework when used alone. Embedding CBAM into U-Net allows for adaptive learning of feature weights in both channel and spatial dimensions, enabling the network to focus on the root region and suppress interference from the soil background, significantly improving root recognition accuracy in complex textured scenes. However, embedding CBAM into U-Net inevitably adds corresponding parameters and computational load beyond the original U-Net structure, leading to increased model inference time. Furthermore, the newly added CBAM module requires random initialization; improper learning rate or weight initialization strategies can easily cause training instability, resulting in gradient anomalies or loss function oscillations. Therefore, it is necessary to rationally select model parameters to improve root segmentation accuracy while controlling the number of model parameters and inference time, and improving training stability to achieve the optimal overall performance.

[0008] To achieve the above objectives, the present invention adopts the following technical solution:

[0009] A method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on an improved U-Net includes the following steps:

[0010] Step 1: Data Acquisition: Obtain CT images of soil samples containing herbaceous root systems.

[0011] Step 2: Data preprocessing: Denoise the CT images and crop them. Manually mark the location of the root system in the cropped images to establish a prior knowledge base.

[0012] Step 3: Model Construction: A CBAM convolutional attention mechanism is added to the decoding stage of the U-Net network model to build an improved U-Net network model. The improved model is trained using training data from the prior knowledge base. The improved model is then validated and corrected using validation data.

[0013] Step 4: 3D Structure Reconstruction. Using the corrected model and CT scanning technology, the soil sample to be tested is CT scanned, and the root system locations are marked in the obtained images to reconstruct the 3D structure of the root system.

[0014] Step 5: Quantitative Characterization. The reconstructed three-dimensional root structure is refined by extracting the central axis of the root system. The points on the central axis are divided into endpoints, nodes, and connection points. Based on this, a node recognition algorithm is used to segment the central axis of the root system, and the structural parameters of each segment are calculated to complete the quantitative characterization of the three-dimensional root structure.

[0015] Furthermore, in step one, the CT image of the soil sample containing herbaceous roots is obtained by using μ-CT scanning technology to obtain a three-dimensional matrix that reflects the structural characteristics of the soil containing herbaceous roots, and the scanning accuracy should be 100 μm.

[0016] Furthermore, in step two, the noise reduction process is completed using a Gaussian noise reduction algorithm, and the cropping process refers to uniformly cropping all images to a size of 256×256.

[0017] Furthermore, in step two, identifying the root system refers to marking the area corresponding to the root system on the image file, dividing the image into two parts: the root system and the background, to form an annotation file.

[0018] Furthermore, the prior knowledge base in step two consists of pairs of original images and their corresponding annotation files. The data in the prior database is randomly divided into a training set and a validation set in an 8:2 ratio.

[0019] Furthermore, the CBAM convolutional attention mechanism in step three is a lightweight attention module that combines channel attention and spatial attention. The channel attention module uses global averaging and max pooling to capture channel-level statistical information and generates channel weights through a shared multilayer perceptron to achieve recalibration of key feature channels, as shown in the following formula:

[0020] Where F is the input feature map, AvgPool and MaxPool are global average / max pooling, MLP is a multilayer perceptron, W0 and W1 are the weights of the fully connected layer, σ is the sigmoid activation function, and M c (F) represents the channel attention weight.

[0021] The spatial attention module generates spatial feature descriptions through pooling operations along the channel dimension, and then generates spatial weight maps through convolutional layers to highlight key spatial locations in the feature maps. The formula is as follows:

[0022] Among them, f 7×7 The convolution is a 7×7 kernel convolution, [;] represents the concatenation of channel dimensions, M s (F) represents the spatial attention weights.

[0023] Its function is to improve the feature representation ability of convolutional neural networks and enhance model performance by adding adaptive learning channels and spatial attention weights.

[0024] Furthermore, the specific parameters of the improved U-Net network model in step three are: 100 epochs, 4 batch sizes, and an initial learning rate of 1×10⁻⁶. -4 The segmentation performance metric is the Dice coefficient, which is expressed as:

[0025]

[0026] Where X and Y are the predicted and actual root pixel sets, respectively. It is the predicted value of the i-th pixel. It is the true label value of the i-th pixel. , Typically, the value is 0 or 1, where 1 represents the root system and 0 represents the background.

[0027] Furthermore, step four, the three-dimensional reconstruction of the root system, specifically includes: stacking the root images obtained from model recognition to obtain a three-dimensional matrix of the root system, where the value representing root voxels in the matrix is ​​1, and other areas are 0. A visualization method is used to achieve the three-dimensional structure reconstruction.

[0028] Furthermore, the refinement process in step five refers to processing the three-dimensional root matrix using the central axis method, that is, peeling it layer by layer inward in three different directions of the root matrix until only the root central axis structure with a thickness of 1 voxel remains.

[0029] Further, the node identification algorithm in step five refers to: sequentially calculating the number of points belonging to the central axis structure within the 26 neighborhoods of each point on the central axis in the central axis structure matrix, denoted as N. All central axis points are classified according to the value of N: points with N=1 are defined as endpoints, points with N=2 are defined as connection points, and points with N=3 are defined as nodes. Based on the classification results, a path formed by consecutive connection points between any two adjacent endpoints or nodes is defined as a root system segment.

[0030] Furthermore, the structural parameters calculated in step five include length, radius, torsion, dip direction, inclination angle, and coordination number (the number of roots connected to each node). The definitions and calculation methods for each parameter are as follows:

[0031] Length: This is the sum of the distances between all adjacent voxel points connecting the two endpoints or nodes in a root system.

[0032] Radius: First, a three-dimensional Euclidean distance transformation is used to calculate the minimum Euclidean distance from each voxel point on the root axis to the root sidewall in turn; the average of these distances is taken as the radius of the root segment.

[0033] Twist: The formula is D=1-L v / L r In the formula L v L is the straight-line distance between the start and end points of this root system. r The value of D represents the actual length of the root system. The value of D ranges from 0 to 1. The closer the value of D is to 0, the straighter the root system is. The closer the value of D is to 1, the higher the degree of twisting of the root system is.

[0034] Tendency and Inclination Angle: Both are calculated based on the least-squares fitted line of the root system's central axis. Tendency refers to the angle required to rotate counterclockwise from the positive x-axis to the projection line of the least-squares line on the horizontal plane; Inclination Angle is the angle between the least-squares line and its horizontal projection line.

[0035] The beneficial effects of this invention are:

[0036] (1) This invention provides a method for reconstructing and quantitatively representing three-dimensional structures of soil containing roots based on an improved U-Net network. By introducing the CBAM convolutional block attention mechanism, adaptive learning channels and feature weights in the spatial dimension during the decoding stage of the U-Net network, the accurate identification and reconstruction of the root structure is achieved. The root structure is simplified by using a thinning algorithm and combined with image processing technology, the quantitative representation of the root structure is realized.

[0037] (2) This invention significantly improves the accuracy of root identification, enabling more accurate identification of small and complex root structures. It effectively overcomes the problems of low efficiency, strong subjectivity, and easy omission and misidentification of traditional identification methods, and realizes the continuous and complete expression of the spatial distribution of roots in the soil, providing more reliable technical support for root morphology analysis and related research. Attached Figure Description

[0038] Figure 1 This is a schematic diagram of the process for a method of reconstructing and quantitatively characterizing the three-dimensional structure of root-containing soil based on an improved U-Net network, as described in this invention.

[0039] Figure 2 This is a schematic diagram of a CT scan image of a root-containing soil sample in this invention.

[0040] Figure 3 This is a schematic diagram of the prior knowledge base annotation file in this invention.

[0041] Figure 4 This is a schematic diagram of the improved U-Net network structure in this invention.

[0042] Figure 5 This is a schematic diagram of the two-dimensional image of the root system identified using the U-Net network in this invention.

[0043] Figure 6 This is a schematic diagram of the two-dimensional image of the root system identified using the improved U-Net network in this invention.

[0044] Figure 7 This is a schematic diagram of the three-dimensional root system structure reconstructed after identification using the U-Net network in this invention.

[0045] Figure 8 This is a schematic diagram of the three-dimensional root system structure reconstructed after identification using the improved U-Net network in this invention. Detailed Implementation

[0046] To gain a deeper understanding of this invention, the following implementation process will be described in full and detail. However, this invention has multiple implementations and is not limited to the specific examples listed herein. The following embodiments are presented to enhance a comprehensive understanding of the disclosure of this invention.

[0047] Example:

[0048] like Figures 1-8 As shown, this embodiment provides a method for reconstructing and quantitatively characterizing the three-dimensional structure of root-bearing soil based on an improved U-Net network. The method mainly includes the following steps:

[0049] Step 1: Data Acquisition: Obtain CT images of soil samples containing herbaceous root systems;

[0050] μ-CT scanning technology was used to scan loess samples containing plant roots, with a scanning accuracy of 100 μm. CT images of the samples were acquired, resulting in a three-dimensional matrix reflecting the structural characteristics of the soil containing herbaceous roots. The matrix size was 2450×2450×2850. The three-dimensional structural model was then segmented into two-dimensional images along the XY direction with a thickness of 1 voxel. The two-dimensional images are shown below. Figure 2 As shown.

[0051] Step 2: Data Preprocessing. Gaussian filtering was used to reduce noise in the CT images, and the images were cropped to a size of 256×256. In the cropped images, the root system locations were manually marked using LabelMe, annotating the corresponding areas and their precise outlines. The image was divided into root system and background parts, forming JSON annotation files. These JSON files were then batch-converted into masked image annotation files, as shown below. Figure 3As shown, this is used for model training in subsequent improvements to the U-Net network. A prior knowledge base was organized and established, consisting of pairs of original images and their corresponding image annotation files. The data in the prior database was randomly divided into training and validation sets in an 8:2 ratio.

[0052] Step 3: Model Building

[0053] The U-Net network model was trained using training set data from the prior knowledge base. The specific training parameters were: 100 epochs, 4 batch sizes, and an initial learning rate of 1×10⁻⁶. -4 The segmentation performance metric is the Dice coefficient, which is expressed as:

[0054]

[0055] Where X and Y are the predicted and actual root pixel sets, respectively. It is the predicted value of the i-th pixel. It is the true label value of the i-th pixel, usually taken as 0 or 1, where 1 represents the root system and 0 represents the background.

[0056] Substituting the data into the calculation, the experimental result is Dice=0.652.

[0057] Using validation set data, the model was verified and improved. A CBAM convolutional attention mechanism was added to the decoding stage of the U-Net network model to establish an improved U-Net network model. The channel attention module uses global averaging and max pooling to capture channel-level statistical information and generates channel weights through a shared multilayer perceptron, achieving recalibration of key feature channels. The formula is as follows:

[0058] Where F is the input feature map, AvgPool and MaxPool are global average / max pooling, MLP is a multilayer perceptron, W0 and W1 are the weights of the fully connected layer, σ is the sigmoid activation function, and M c (F) represents the channel attention weight.

[0059] The spatial attention module generates spatial feature descriptions through pooling operations along the channel dimension, and then generates spatial weight maps through convolutional layers to highlight key spatial locations in the feature maps. The formula is as follows:

[0060] Among them, f 7×7 The convolution is a 7×7 kernel convolution, [;] represents the concatenation of channel dimensions, M s (F) represents the spatial attention weights.

[0061] Its function is to improve the feature representation ability of convolutional neural networks and enhance model performance by adding adaptive learning channels and spatial attention weights.

[0062] Model network structure as follows Figure 4 As shown, with the specific parameters of the training model unchanged, the experimental result is Dice=0.891, which is an improvement in accuracy compared to the U-Net model (Dice=0.652).

[0063] Step 4: 3D Structure Reconstruction. Using CT scanning technology, the soil sample to be tested is scanned. The obtained images are then analyzed based on a pre-trained optimal model file. The resulting 2D root system images are obtained from the model analysis. The 2D images obtained by the U-Net model are shown below. Figure 5 As shown, the improved U-Net model identifies the obtained two-dimensional images as follows: Figure 6 As shown, the 3D matrix of the root system is obtained by stacking, and a visualization method is used to reconstruct the 3D structure. The 3D structural image obtained by the U-Net model is shown below. Figure 7 As shown, the improved U-Net model identifies the obtained 3D structural images as follows: Figure 8 As shown, compared to the recognition performance of the U-Net model, the improved U-Net model is more accurate in identifying the root system.

[0064] Step 5: Quantitative Characterization. The reconstructed three-dimensional root structure is simplified and quantitatively analyzed. The central axis method is used to process the three-dimensional root structure, obtaining the central axis structure. Based on the node identification algorithm, the number of points belonging to the central axis structure within the 26 neighborhoods of each point on the central axis in the central axis structure matrix is ​​calculated sequentially, denoted as N. All central axis points are classified according to the N value: points with N=1 are defined as endpoints, points with N=2 as connection points, and points with N=3 as nodes. Based on the classification results, a path formed by continuous connection points between any adjacent endpoints or nodes is defined as a root segment. The calculated structural parameters include length, radius, tortuosity, dip, inclination angle, and coordination number (the number of roots connected to each node). The definitions and calculation methods of each parameter are as follows:

[0065] Length: This is the sum of the distances between all adjacent voxel points connecting the two endpoints or nodes in a root system.

[0066] Radius: First, a three-dimensional Euclidean distance transformation is used to calculate the minimum Euclidean distance from each voxel point on the root axis to the root sidewall in turn; the average of these distances is taken as the radius of the root segment.

[0067] Twist: The formula is D=1-L v / L r In the formula L vL is the straight-line distance between the start and end points of this root system. r The actual length of the root system is represented by D, which ranges from 0 to 1. The closer the D value is to 0, the straighter the root system is, and the closer it is to 1, the higher the degree of twisting of the root system.

[0068] Tendency and Inclination Angle: Both are calculated based on the least-squares fitted line of the root system's central axis. Tendency refers to the angle required to rotate counterclockwise from the positive x-axis to the projection line of the least-squares line on the horizontal plane; Inclination Angle is the angle between the least-squares line and its horizontal projection line.

[0069] For the root structure shown in this embodiment, the average length is calculated to be 16.06 pixels, the average radius is 6.2 pixels, the average twist is 0.78, the average tilt is 164.21°, the average tilt angle is 21.7°, and the average coordination number is 3.27.

[0070] By combining deep learning methods, this invention achieves high accuracy in root image segmentation tasks, effectively overcoming the shortcomings of traditional segmentation methods such as low efficiency and strong subjectivity. At the same time, the three-dimensional structure reconstruction and quantitative characterization methods in this invention realize the continuous and complete expression of the root system in the soil, providing more reliable technical support for root morphology analysis and related research.

[0071] Finally, it should be noted that the above content is only used to illustrate the technical solution of the present invention, so that those skilled in the art can understand or implement this application, and is not intended to limit it. It cannot be used to limit the scope of protection of the present invention. Any modifications made based on the technical concept proposed in the present invention shall fall within the scope of protection of the claims of the present invention.

Claims

1. A method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on an improved U-Net, characterized in that, Includes the following steps: Step 1: Data Acquisition: Obtain CT images of soil samples containing herbaceous root systems; Step 2: Data preprocessing: Denoise the CT images and crop them. Manually mark the location of the root system in the cropped images to establish a prior knowledge base. Step 3: Model Building: Add the CBAM convolutional attention mechanism to the decoding stage of the U-Net network model to build an improved U-Net network model; train the improved model using training set data from the prior knowledge base; The model was validated and improved using validation set data. Step 4: 3D structure reconstruction: Using the corrected model and CT scanning technology, the soil sample to be tested is CT scanned, and the root system location is marked in the obtained images to reconstruct the 3D structure of the root system. Step 5: Quantitative Characterization: The reconstructed three-dimensional root structure is refined, the central axis of the root system is extracted, and a node recognition algorithm is used to segment the central axis of the root system. The structural parameters of each segment of the root system are calculated to complete the quantitative characterization of the three-dimensional root structure.

2. The method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on the improved U-Net according to claim 1, characterized in that, The step one, obtaining CT images of soil samples containing herbaceous roots, refers to using μ-CT scanning technology to obtain a three-dimensional matrix that reflects the structural characteristics of soil containing herbaceous roots, with a scanning accuracy of 100 μm.

3. The method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on the improved U-Net according to claim 1, characterized in that, The noise reduction process described in step two is completed using a Gaussian noise reduction algorithm, and the cropping process refers to uniformly cropping all images to a size of 256×256.

4. The method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on the improved U-Net according to claim 1, characterized in that, In step two, the root system identification refers to marking the regions corresponding to the root system on the image file, dividing the image into two parts: the root system and the background, forming a label file; the prior knowledge base consists of pairs of original images and their corresponding label files; the data in the prior database is randomly divided into a training set and a validation set in an 8:2 ratio.

5. The method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on the improved U-Net according to claim 1, characterized in that, The CBAM convolutional attention mechanism described in step three is a lightweight attention module that combines channel attention and spatial attention. The channel attention module uses global averaging and max pooling to capture channel-level statistical information and generates channel weights through a shared multilayer perceptron to recalibrate key feature channels. The formula is as follows: ; Where F is the input feature map, AvgPool and MaxPool are global average / max pooling, MLP is a multilayer perceptron, W0 and W1 are the weights of the fully connected layer, σ is the sigmoid activation function, and M c (F) represents the channel attention weight; The spatial attention module generates spatial feature descriptions through pooling operations along the channel dimension, and then generates spatial weight maps through convolutional layers to highlight key spatial locations in the feature maps. The formula is as follows: ; Among them, f 7×7 The convolution is a 7×7 kernel convolution, [;] represents the concatenation of channel dimensions, M s (F) represents the spatial attention weights; Its function is to improve the feature representation ability of convolutional neural networks and enhance model performance by adding adaptive learning channels and spatial attention weights.

6. The method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on the improved U-Net according to claim 5, characterized in that, The specific parameters of the improved U-Net network model in step three are: 100 epochs, 4 batch sizes, and an initial learning rate of 1×10⁻⁶. -4 The segmentation performance metric is the Dice coefficient, which is expressed as: Where X is the set of predicted root pixels and Y is the set of true root pixels. It is the predicted value of the i-th pixel. It is the true label value of the i-th pixel. The value can be 0 or 1. The value can be 0 or 1, where 1 represents the root system and 0 represents the background.

7. The method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on the improved U-Net according to claim 1, characterized in that, Step four, reconstructing the three-dimensional structure of the root system, specifically includes: based on the root images obtained from model recognition, stacking them to obtain a three-dimensional matrix of the root system, where the value representing root voxel points in the matrix is ​​1, and other areas are 0; and using visualization methods to achieve three-dimensional structure reconstruction.

8. The method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on the improved U-Net according to claim 1, characterized in that, The refinement process described in step five refers to processing the three-dimensional root matrix using the central axis method, that is, peeling it layer by layer inward in three different directions of the root matrix until only the root central axis structure with a thickness of 1 voxel remains. The node identification algorithm refers to: sequentially calculating the number of points belonging to the central axis structure within the 26 neighborhoods of each point on the central axis in the central axis structure matrix, denoted as N; classifying all central axis points according to the value of N: points with N=1 are defined as endpoints, points with N=2 are defined as connection points, and points with N=3 are defined as nodes; based on the classification results, defining a path consisting of continuous connection points between any adjacent endpoints or nodes as a root system segment.

9. The method for reconstructing and quantifying the three-dimensional structure of root-bearing soil based on the improved U-Net according to claim 8, characterized in that, In step five, the structural parameters calculated include length, radius, torsion, dip direction, tilt angle, and coordination number; the definitions and calculation methods for each parameter are as follows: Length: is the sum of the distances between all adjacent voxel points connecting the two endpoints or nodes in a root system; Radius: First, a three-dimensional Euclidean distance transformation is used to calculate the minimum Euclidean distance from each voxel point on the root midline to the root sidewall; the average of these distances is taken as the radius of the root segment. Twist: The formula is D=1-L v / L r In the formula L v L is the straight-line distance between the start and end points of this root system. r The value of D represents the actual length of the root system. The value of D ranges from 0 to 1. The closer the value of D is to 0, the straighter the root system is. The closer the value of D is to 1, the higher the degree of twisting of the root system is. Inclination and tilt angle: Both are calculated based on the least squares fitted line of the root system's central axis; Inclination refers to the angle required to rotate counterclockwise from the positive x-axis direction on the horizontal plane to the projection line of the least squares line on the horizontal plane; Tilt angle refers to the angle between the least squares line and its horizontal projection line.