Rock-soil sample uniformity analysis method and related device
Through CT scanning technology and pixel threshold processing, a three-dimensional pore network model is generated, which solves the subjectivity and instability problems of traditional geotechnical sample uniformity evaluation methods and achieves high-precision uniformity evaluation.
Patent Information
- Application Number
- CN202410823267.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-20
AI Technical Summary
Traditional geotechnical sample uniformity evaluation methods rely on empirical judgment or simple experiments, which are highly subjective, complex operations, and unstable results, and cannot meet the actual needs of geotechnical testing and engineering.
CT scanning technology is used to obtain multiple images of geotechnical samples, which are converted into pore images through pixel thresholds. Combined with the weighted sum statistics of the calibration images, a three-dimensional pore network model is generated, and the uniformity of the sample is judged through the porosity statistical map and standard deviation.
It achieves high-precision, high-resolution imaging and intuitive evaluation of the uniformity of geotechnical samples, reducing subjectivity and improving the stability and reliability of the results.
Smart Images

Figure CN118670950A
Abstract
Description
Technical Field
[0001] The present application relates to the field of geotechnical engineering, and in particular to a method for analyzing uniformity of geotechnical samples and related devices. Background Art
[0002] Traditional methods for evaluating the uniformity of geotechnical samples mainly rely on empirical judgment or simple experimental methods, such as visual inspection, hand feel, density measurement, etc. These methods have the problems of strong subjectivity, complex operation, unstable results, etc., and cannot meet the actual needs of geotechnical tests and engineering. Therefore, due to the limitations of traditional methods for evaluating the uniformity of geotechnical samples, it is urgent to transform traditional empirical judgment or simple experimental methods into objective evaluation methods based on scientific imaging technology, which brings a new solution to the field of geotechnical engineering. Summary of the invention
[0003] In order to overcome at least one of the deficiencies in the prior art, the present application provides a method for analyzing the uniformity of rock and soil samples and a related device, specifically comprising:
[0004] In a first aspect, the present application provides a method for analyzing uniformity of rock and soil samples, the method comprising:
[0005] Obtain multiple CT scan images of geotechnical samples;
[0006] Each of the CT scan images is converted into a pore image according to a pixel threshold of each of the CT scan images, wherein the pore distribution in each of the pore images determines the uniformity of the rock and soil sample.
[0007] In combination with the optional implementation manner of the first aspect, before converting each of the CT scan images into a pore image according to a pixel threshold of each of the CT scan images, the method further includes:
[0008] Selecting a plurality of calibration images spaced apart from each other from the plurality of CT scan images;
[0009] For each of the CT scan images, determining two adjacent calibration images that are closest in position to the CT scan image from the multiple calibration images;
[0010] According to the distance between the CT scan image and each adjacent calibration image, the pixel thresholds of two adjacent calibration images are weighted to obtain the pixel threshold of the CT scan image, wherein the smaller the distance, the greater the weight.
[0011] In conjunction with the optional implementation manner of the first aspect, before determining two adjacent calibration images that are closest in position to the CT scan image from the multiple calibration images, the method further includes:
[0012] For each calibration image, providing a display interface of the calibration image;
[0013] receiving and responding to a calibration operation of a user on a calibration image in the display interface, and determining a pore area for calibration from the calibration image;
[0014] determining a first pixel threshold from pixel values in the pore region;
[0015] Counting the pixel value of each pixel in the calibration image to obtain a second pixel threshold;
[0016] The first pixel threshold and the second pixel threshold are weighted to obtain a pixel threshold of the calibration image.
[0017] In combination with the optional implementation manner of the first aspect, the method further includes:
[0018] Obtaining a three-dimensional pore network model of the rock and soil sample according to the multiple pore images of the rock and soil sample;
[0019] The pore network model is displayed in a display interface so that the user can intuitively judge the uniformity of the rock and soil sample.
[0020] In combination with an optional implementation manner of the first aspect, a porosity calculation control is provided in the display interface, and the method further includes:
[0021] Receiving and responding to a user's click operation on the porosity calculation control, respectively calculating the porosity in each of the pore images, wherein the porosity represents the proportion of the pore area in the corresponding pore image in the entire image;
[0022] According to the porosity of each of the pore images, a porosity statistical graph of the rock and soil sample is generated, wherein the horizontal axis of the porosity statistical graph is the serial number of each of the pore images, and the vertical axis of the porosity statistical graph is the porosity of each of the pore images.
[0023] In combination with the optional implementation manner of the first aspect, the method further includes:
[0024] According to the porosity of each of the pore images, a standard deviation of the porosity is calculated;
[0025] If the standard deviation is greater than a preset threshold, it is determined that the rock and soil sample has an inhomogeneous structure.
[0026] In a second aspect, the present application further provides a rock and soil sample uniformity analysis device, the device comprising:
[0027] Geotechnical scanning module, used to obtain multiple CT scan images of geotechnical samples;
[0028] The geotechnical pore module is used to convert each of the CT scan images into a pore image according to the pixel threshold of each of the CT scan images, wherein the pore distribution in each of the pore images determines the uniformity of the geotechnical sample.
[0029] In conjunction with the optional implementation manner of the second aspect, before converting each of the CT scan images into a pore image according to a pixel threshold of each of the CT scan images, the geotechnical pore module is further used to:
[0030] Selecting a plurality of calibration images spaced apart from each other from the plurality of CT scan images;
[0031] For each of the CT scan images, determining two adjacent calibration images that are closest in position to the CT scan image from the multiple calibration images;
[0032] According to the distance between the CT scan image and each adjacent calibration image, the pixel thresholds of two adjacent calibration images are weighted to obtain the pixel threshold of the CT scan image, wherein the smaller the distance, the greater the weight.
[0033] In conjunction with the optional implementation manner of the second aspect, before determining two adjacent calibration images that are closest in position to the CT scan image from the multiple calibration images, the geotechnical pore module is further used to:
[0034] For each calibration image, providing a display interface of the calibration image;
[0035] receiving and responding to a calibration operation of a user on a calibration image in the display interface, and determining a pore area for calibration from the calibration image;
[0036] determining a first pixel threshold from pixel values in the pore region;
[0037] Counting the pixel value of each pixel in the calibration image to obtain a second pixel threshold;
[0038] The first pixel threshold and the second pixel threshold are weighted to obtain a pixel threshold of the calibration image.
[0039] In conjunction with the optional implementation manner of the second aspect, the geotechnical pore module is further used for:
[0040] Obtaining a three-dimensional pore network model of the rock and soil sample according to the multiple pore images of the rock and soil sample;
[0041] The pore network model is displayed in a display interface so that the user can intuitively judge the uniformity of the rock and soil sample.
[0042] In combination with the optional implementation manner of the second aspect, a porosity calculation control is provided in the display interface, and the geotechnical porosity module is further used to:
[0043] Receiving and responding to a user's click operation on the porosity calculation control, respectively calculating the porosity in each of the pore images, wherein the porosity represents the proportion of the pore area in the corresponding pore image in the entire image;
[0044] According to the porosity of each of the pore images, a porosity statistical graph of the rock and soil sample is generated, wherein the horizontal axis of the porosity statistical graph is the serial number of each of the pore images, and the vertical axis of the porosity statistical graph is the porosity of each of the pore images.
[0045] In conjunction with the optional implementation manner of the second aspect, the geotechnical pore module is further used for:
[0046] According to the porosity of each of the pore images, a standard deviation of the porosity is calculated;
[0047] If the standard deviation is greater than a preset threshold, it is determined that the rock and soil sample has an inhomogeneous structure.
[0048] In a third aspect, the present application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the rock and soil sample uniformity analysis method is implemented.
[0049] In a fourth aspect, the present application also provides an electronic device, which includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the rock and soil sample uniformity analysis method is implemented.
[0050] In a fifth aspect, the present application also provides a program instruction, which, when executed by a processor, implements the rock and soil sample uniformity analysis method.
[0051] Compared with the prior art, this application has the following beneficial effects:
[0052] The present application provides a method for analyzing the uniformity of rock and soil samples and related devices. In the method, an electronic device obtains multiple CT scan images of the rock and soil sample; each CT scan image is converted into a pore image according to the pixel threshold of each CT scan image, wherein the pore distribution in each pore image determines the uniformity of the rock and soil sample. In this way, the internal structure of the rock and soil sample is imaged with high precision and high resolution using CT technology, and the pores in the CT scan image are distinguished based on the pixel threshold, thereby achieving an intuitive evaluation of the sample uniformity. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 One of the flow charts of the method for analyzing the uniformity of rock and soil samples provided in the embodiment of the present application;
[0055] Figure 2 Flow chart 2 of the method for analyzing the uniformity of rock and soil samples provided in the embodiment of the present application;
[0056] Figure 3 A schematic diagram of the principle of the method for selecting a calibration image provided in an embodiment of the present application;
[0057] Figure 4 A schematic diagram of the principle of the method for selecting adjacent calibration patterns provided in an embodiment of the present application;
[0058] Figure 5 A schematic diagram of a pore network model provided in an embodiment of the present application;
[0059] Figure 6 A porosity statistical diagram provided for an embodiment of the present application;
[0060] Figure 7 A schematic diagram of the structure of a rock and soil sample uniformity analysis device provided in an embodiment of the present application;
[0061] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0062] Icons: 11 - geotechnical sample; 21 - geotechnical scanning module; 22 - geotechnical pore module; 31 - memory; 32 - processor; 33 - communication unit; 34 - system bus. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0064] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0065] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0066] In the description of the present application, it should be noted that the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. In addition, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0067] Based on the above statement, as introduced in the background technology, the traditional method of evaluating the uniformity of rock and soil samples mainly relies on empirical judgment or simple experimental means, such as visual inspection, hand feel, density measurement, etc. These methods have the problems of strong subjectivity, complex operation, and unstable results.
[0068] Based on the discovery of the above technical problems, the inventors have proposed the following technical solutions to solve or improve the above problems through creative work. It should be noted that the defects in the solutions in the above prior art are the results obtained by the inventors after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed in the embodiments of the present application for the above problems below should all be the contributions made by the inventors to the present application in the process of invention and creation, and should not be understood as technical contents known to those skilled in the art.
[0069] In view of this, the present embodiment provides a method for analyzing the uniformity of rock and soil samples. In the method, an electronic device obtains multiple CT scan images of a rock and soil sample; each CT scan image is converted into a pore image according to the pixel threshold of each CT scan image, wherein the pore distribution in each pore image determines the uniformity of the rock and soil sample. In this way, the internal structure of the rock and soil sample is imaged with high precision and high resolution using CT technology, and the pores in the CT scan image are distinguished based on the pixel threshold, thereby achieving an intuitive evaluation of the uniformity of the sample.
[0070] It should be noted that the electronic device implementing the method for analyzing the uniformity of geotechnical samples of this embodiment may be, but is not limited to, a mobile terminal, a tablet computer, a laptop computer, a desktop computer, and a server. When it is a server, the server may be a single server or a server group. The server group may be centralized or distributed (for example, the server may be a distributed system). In some embodiments, the server may be local or remote relative to the user terminal. In some embodiments, the server may be implemented on a cloud platform; as an example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud (Community Cloud), a distributed cloud, an inter-cloud (Inter-Cloud), a multi-cloud (Multi-Cloud), etc., or any combination thereof. In some embodiments, the server may be implemented on an electronic device having one or more components.
[0071] To make the solution provided by this embodiment clearer, Figure 1 Each step of the method is described in detail. However, it should be understood that the operations of the flowchart may not be implemented in order, and steps without logical contextual relationships may be reversed in order or implemented simultaneously. In addition, those skilled in the art may add one or more other operations to the flowchart, or remove one or more operations from the flowchart under the guidance of the content of this application. Figure 1 As shown, the method includes:
[0072] S1, obtain multiple CT scan images of rock and soil samples.
[0073] In this embodiment, a plurality of CT scan images of the rock and soil samples are obtained by scanning the rock and soil samples through the device. In some embodiments, these CT scan images may be original scan images of the rock and soil samples. In other embodiments, these CT scan images may also be images after the original scan images are optimized.
[0074] For example, a representative sample is selected from the collected rock and soil samples, and the surface of the rock and soil sample is ensured to be flat, clean and free of obvious defects. Then, the rock and soil sample is placed on the scanning table of the CT machine, and the sample surface is ensured to be parallel to the scanning plane and in the scanning center position, so as to ensure the stability of the sample position and the safety during the scanning process.
[0075] Then, the user sets the CT scanning parameters according to the physical properties of the sample and the expected resolution requirements. In this example, a lower tube voltage (e.g., 90-120 kV) and a longer exposure time are used to enhance the contrast and details of the image. After the parameter configuration is completed, the CT device is started to scan the geotechnical samples as required, and the original scan images with different layer thicknesses and interlayer intervals are collected. It should be noted that the sample should be kept stable during the scanning process, and key parameters such as scanning time, layer thickness, etc. should be recorded during the scanning process.
[0076] Finally, image processing software is used to perform image segmentation, denoising, smoothing and enhancement on the original scanned image after scanning to improve the image quality and the clarity of edge information. The background of the sample is segmented using the Otsu threshold algorithm to obtain the final CT scan image.
[0077] Based on the CT scan images obtained in the above embodiment, see Figure 1 The method for analyzing the uniformity of rock and soil samples provided in this embodiment also includes:
[0078] S5, converting each CT scan image into a pore image according to a pixel threshold of each CT scan image.
[0079] The pore distribution in each pore image determines the uniformity of the geotechnical sample. It can be understood that for each CT scan image, the electronic device compares the pixel value of each pixel in the image with the pixel threshold and classifies the pixels less than the grayscale threshold as pores.
[0080] In practice, it is found that due to the complex composition of rock and soil samples, setting a unified pixel threshold for the entire rock and soil sample cannot achieve a good identification effect on pores. In this embodiment, multiple CT scan images are sorted according to their respective scanning positions, and then multiple calibration images are selected at intervals. For any CT scan image, the two closest adjacent calibration images are determined from the multiple calibration images, and the pixel thresholds of the adjacent calibration images are weighted according to the distance between the CT scan image and the two adjacent calibration images to obtain the pixel threshold of the CT scan image. Based on this inventive concept, if Figure 2 As shown, before step S5, the rock and soil sample uniformity analysis method provided in this embodiment further includes:
[0081] S2, selecting a plurality of calibration images with mutually spaced positions from a plurality of CT scan images.
[0082] To make the selection of multiple calibration images clearer, see Figure 3Schematic diagram shown. In this example, it is assumed that a total of 20 CT scan images are obtained by scanning the rock sample 11 with a CT device, and the CT scan images at both ends of the rock sample 11 and the two CT scan images in the middle of the rock sample 11 are used as calibration images, respectively, and a total of 4 calibration images are obtained. In order to distinguish these 4 calibration images, these 4 calibration images are represented as p1, p2, p3, and p4, respectively, and the 4 calibration images are spaced a certain distance apart from each other. It should be noted that Figure 3 The method of selecting the calibration images shown is only an example provided in this embodiment. This embodiment does not specifically limit the number of calibration images and the selection positions, as long as the selected calibration images are spaced a certain distance apart from each other.
[0083] Based on the multiple calibration images obtained in the above embodiment, continue to refer to Figure 2 The method for analyzing the uniformity of rock and soil samples provided in this embodiment also includes:
[0084] S3, for each CT scan image, determine two adjacent calibration images that are closest to the position of the CT scan image from the multiple calibration images.
[0085] To make the selection of adjacent calibration images clearer, see Figure 4 In this example, continue with Figure 3 Take the four calibration images p1, p2, p3, and p4 in as an example. Assuming that one of the CT scan images q is located between p1 and p2, p1 and p2 are taken as two adjacent calibration images of the CT scan image q.
[0086] S4, according to the distance between the CT scan image and each adjacent calibration image, weighting the pixel thresholds of two adjacent calibration images to obtain the pixel threshold of the CT scan image.
[0087] The smaller the distance, the greater the weight. Figure 4 Take p1 and p2 in as an example, and assume that the pixel threshold of p1 is λ1, the pixel threshold of p2 is λ2, and, Figure 4 The distance of the CT scan image q from p1 is l1, and the distance from p2 is l2, l1>l2. Then the pixel threshold of the CT scan image q is
[0088] As for the pixel threshold of the calibration image, the electronic device provides a display interface for the calibration image; receives and responds to the user's calibration operation on the calibration image in the display interface, and determines a pore area for calibration from the calibration image; determines a first pixel threshold from the pixel values in the pore area; counts the pixel values of each pixel in the calibration image to obtain a counted second pixel threshold; and weights the first pixel threshold and the second pixel threshold to obtain a pixel threshold of the calibration image.
[0089] In this regard, it should be understood that only by setting a reasonable pixel threshold can the pores and skeletons in the CT image be accurately distinguished (the part other than the pores in the rock and soil sample is referred to as the skeleton in this embodiment). In the related art, a suitable threshold can be determined by manually trying different thresholds and observing the segmentation effect, but this method often relies on personal experience and is relatively cumbersome, and it is impossible for an individual to be familiar with each rock and soil sample. In view of this, the present embodiment provides a display interface for displaying a calibration image, and then receives the calibration operation of the user in the display interface to determine the pore area in the calibration image. Finally, the electronic device determines the edge pixels located at the edge of the pore area, and counts the pixel values of the edge pixels, and finally selects the pixel value with the highest frequency of occurrence as the first pixel threshold. It should be noted that the present embodiment does not specifically limit the number of pore areas; of course, the more pore areas there are, the more accurate the first pixel threshold will be.
[0090] Taking into account that there are certain errors in the manually calibrated pore area, in this embodiment, the pixel value of each pixel in the calibration image is also counted to obtain the statistical second pixel threshold. For example, the electronic device counts the frequency of occurrence of each pixel value in the calibration image to obtain the frequency statistics of each pixel value; based on the frequency statistics of each pixel value, the second pixel threshold is obtained. It should be noted that when the frequency statistics of each pixel value are displayed in a histogram, the histogram will show a double peak, then the valley between the two peaks is often the appropriate second pixel threshold. Of course, the statistical method provided in this embodiment is not limited to this, and the second pixel threshold can also be determined by the Otsu algorithm. This embodiment will not be repeated.
[0091] The electronic device weights the first pixel threshold and the second pixel threshold obtained by the above two methods with a preset weight, thereby obtaining a pixel threshold of the calibration image. The calibration image is binarized and segmented using the pixel threshold, and the calibration image is converted into a pore image. Specifically, pixels in the calibration image whose pixel values are less than the pixel threshold are determined as pores, and vice versa.
[0092] In this embodiment, in order to enable the user to intuitively observe the uniformity of the rock and soil samples, the electronic device also obtains a three-dimensional pore network model of the rock and soil samples based on multiple pore images of the rock and soil samples; the pore network model is displayed in the display interface, so that the user can intuitively judge the uniformity of the rock and soil samples.
[0093] For example, the user can import the binary pore image into AVIZO three-dimensional processing software through an electronic device, judge its connectivity in the Z-axis direction, divide its pores into connected pores and isolated pores, and then use the "maximum sphere algorithm" to establish a three-dimensional pore network model. Figure 5 As shown, a pore network model of a rock and soil sample provided in this embodiment.
[0094] It was found in the practice process that when the rock and soil samples are not extremely non-uniform, the user cannot judge their uniformity through the pore network model. Therefore, a porosity calculation control is provided in the display interface. The electronic device receives and receives the user's click operation on the porosity calculation control, and calculates the porosity in each pore image respectively, wherein the porosity represents the proportion of the pore area in the corresponding pore image in the entire image; according to the porosity of each pore image, a porosity statistical graph of the rock and soil sample is generated, wherein the horizontal axis of the porosity statistical graph is the number of each pore image, and the vertical axis of the porosity statistical graph is the porosity of each pore image.
[0095] To make the calculation of porosity easier to understand, the calculation expression of the above porosity is provided below:
[0096]
[0097] In the formula, represents the porosity of the i-th CT scan image, S pi Represents the area of the pore region, which represents the area of the entire pore image.
[0098] As an optional implementation, the user can directly observe the porosity statistics chart to manually determine the uniformity of the rock and soil samples. Figure 6 The porosity statistics of a rock sample shown in the figure show that the porosity fluctuates relatively greatly at both ends, with the porosity of the 0-20 layers dropping sharply, and the middle area is relatively stable, with the maximum porosity of 0.88% and the minimum porosity of 0.27%. Therefore, the middle area of the rock sample is relatively uniform.
[0099] As another optional implementation, the electronic device may also calculate the standard deviation of the porosity based on the porosity of each pore image; if the standard deviation is greater than a preset threshold, it is determined that the rock and soil sample has an inhomogeneous structure.
[0100] Based on the same inventive concept as the method for analyzing the uniformity of soil samples provided in this embodiment, this embodiment also provides a device for analyzing the uniformity of soil samples, which includes at least one software function module that can be stored in a memory or fixed in an electronic device in the form of software. The processor 32 in the electronic device is used to execute the executable module stored in the memory 31. For example, the software function module and computer program included in the device. Please refer to Figure 7 , functionally speaking, the device may include:
[0101] A geotechnical scanning module 21 is used to obtain multiple CT scan images of geotechnical samples;
[0102] The geotechnical pore module 22 is used to convert each CT scan image into a pore image according to the pixel threshold of each CT scan image, wherein the pore distribution in each pore image determines the uniformity of the geotechnical sample.
[0103] In this embodiment, the geotechnical scanning module 21 is used to implement Figure 1 In step S1, the geotechnical pore module 22 is used to implement Figure 1 Therefore, for the detailed description of each of the above modules, please refer to the specific implementation of the corresponding step. Of course, in view of the same inventive concept as the rock and soil sample uniformity analysis provided in this embodiment, the above modules can also be used to implement other steps or sub-steps of the method, which will not be described in detail in this embodiment.
[0104] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0105] It should also be understood that if the above implementation is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0106] Therefore, this embodiment further provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the rock and soil sample uniformity analysis method provided in this embodiment is implemented. Among them, the storage medium can be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, etc., which can store program codes.
[0107] This embodiment provides an electronic device for implementing the rock and soil sample uniformity analysis method. Figure 8 As shown, the electronic device includes a processor 32 and a memory 31. In addition, the memory 31 stores a computer program, and the processor implements the rock and soil sample uniformity analysis method provided in this embodiment by reading and executing the computer program corresponding to the above implementation manner in the memory 31.
[0108] Continue to see Figure 8 The electronic device further includes a communication unit 33. The memory 31, the processor 32 and the communication unit 33 are electrically connected to each other directly or indirectly through a system bus 34 to achieve data transmission or interaction.
[0109] The memory 31 may be an information recording device based on any electronic, magnetic, optical or other physical principle, used to record execution instructions, data, etc. In some embodiments, the memory 31 may be, but is not limited to, a volatile memory, a non-volatile memory, a storage drive, etc.
[0110] In some embodiments, the volatile memory may be a random access memory (RAM); in some embodiments, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), a flash memory, etc.; in some embodiments, the storage drive may be a disk drive, a solid-state drive, any type of storage disk (such as a CD, a DVD, etc.), or a similar storage medium, or a combination thereof, etc.
[0111] The communication unit 33 is used to send and receive data through a network. In some embodiments, the network may include a wired network, a wireless network, a fiber optic network, a telecommunication network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof. In some embodiments, the network may include one or more network access points. For example, the network may include a wired or wireless network access point, such as a base station and / or a network switching node, through which one or more components of the service request processing system may be connected to the network to exchange data and / or information.
[0112] The processor 32 may be an integrated circuit chip having a signal processing capability, and the processor may include one or more processing cores (e.g., a single-core processor or a multi-core processor). By way of example only, the processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), or a microprocessor, or any combination thereof.
[0113] Understandably, Figure 7The structure shown is for illustration only. The electronic device may also have Figure 7 More or fewer components than shown, or with Figure 7 Different configurations shown. Figure 7 The components shown may be implemented in hardware, software or a combination thereof.
[0114] Finally, this embodiment also provides a program instruction, which implements the rock and soil sample uniformity analysis method when executed by a processor.
[0115] It should be understood that the apparatus and method disclosed in the above-mentioned embodiments can also be implemented in other ways. The apparatus embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the apparatus, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0116] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for analyzing the uniformity of rock and soil samples, It is characterized in that The method comprises: Obtain multiple CT scan images of geotechnical samples; Each of the CT scan images is converted into a pore image according to a pixel threshold of each of the CT scan images, wherein the pore distribution in each of the pore images determines the uniformity of the rock and soil sample.
2. The method for analyzing the uniformity of rock and soil samples according to claim 1, It is characterized in that Before converting each of the CT scan images into a pore image according to the pixel threshold of each of the CT scan images, the method further includes: Selecting a plurality of calibration images spaced apart from each other from the plurality of CT scan images; For each of the CT scan images, determining two adjacent calibration images that are closest in position to the CT scan image from the multiple calibration images; According to the distance between the CT scan image and each adjacent calibration image, the pixel thresholds of two adjacent calibration images are weighted to obtain the pixel threshold of the CT scan image, wherein the smaller the distance, the greater the weight.
3. The method for analyzing the uniformity of rock and soil samples according to claim 2, It is characterized in that Before determining two adjacent calibration images that are closest in position to the CT scan image from the multiple calibration images, the method further includes: For each calibration image, providing a display interface of the calibration image; receiving and responding to a calibration operation of a user on a calibration image in the display interface, and determining a pore area for calibration from the calibration image; determining a first pixel threshold from pixel values in the pore region; Counting the pixel value of each pixel in the calibration image to obtain a second pixel threshold; The first pixel threshold and the second pixel threshold are weighted to obtain a pixel threshold of the calibration image.
4. The method for analyzing the uniformity of rock and soil samples according to claim 1, It is characterized in that The method further comprises: Obtaining a three-dimensional pore network model of the rock and soil sample according to the multiple pore images of the rock and soil sample; The pore network model is displayed in a display interface so that the user can intuitively judge the uniformity of the rock and soil sample.
5. The method for analyzing the uniformity of rock and soil samples according to claim 4, It is characterized in that The display interface provides a porosity calculation control, and the method further includes: Receiving and responding to a user's click operation on the porosity calculation control, respectively calculating the porosity in each of the pore images, wherein the porosity represents the proportion of the pore area in the corresponding pore image in the entire image; According to the porosity of each of the pore images, a porosity statistical graph of the rock and soil sample is generated, wherein the horizontal axis of the porosity statistical graph is the serial number of each of the pore images, and the vertical axis of the porosity statistical graph is the porosity of each of the pore images.
6. The method for analyzing the uniformity of rock and soil samples according to claim 5, It is characterized in that The method further comprises: According to the porosity of each of the pore images, a standard deviation of the porosity is calculated; If the standard deviation is greater than a preset threshold, it is determined that the rock and soil sample has an inhomogeneous structure.
7. A device for analyzing the uniformity of rock and soil samples, It is characterized in that The device comprises: Geotechnical scanning module, used to obtain multiple CT scan images of geotechnical samples; The geotechnical pore module is used to convert each of the CT scan images into a pore image according to the pixel threshold of each of the CT scan images, wherein the pore distribution in each of the pore images determines the uniformity of the geotechnical sample.
8. A storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method for analyzing uniformity of rock and soil samples according to any one of claims 1 to 6 is implemented.
9. An electronic device, It is characterized in that The electronic device includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method for analyzing uniformity of rock and soil samples according to any one of claims 1 to 6 is implemented.
10. A program instruction, It is characterized in that When the program instructions are executed by a processor, the method for analyzing uniformity of rock and soil samples according to any one of claims 1 to 6 is implemented.
