Sample scanning method and device, electronic equipment and storage medium

By dividing the CT sample into multiple preset shapes and scanning at different angles, the problem of low scanning accuracy in the prior art is solved, and higher porosity acquisition accuracy and scanning efficiency are achieved.

CN119438255APending Publication Date: 2025-02-14PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310943077.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the existing CT sample scanning technology, the scanning method based on cylindrical samples leads to low scanning accuracy and the inability to scan smaller pores, resulting in poor scanning effect.

Method used

By dividing the sample to be tested into multiple preset shapes to be scanned samples, including rectangular shapes, and scanning each sample to be scanned at different rotation angles, the corresponding scanned image is obtained, and the porosity of the sample to be tested is determined. .

Benefits of technology

It improves the accuracy and stability of sample scanning, can scan deeper pores in the sample, reduces scanning costs, and improves the accuracy of porosity acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119438255A_ABST
    Figure CN119438255A_ABST
Patent Text Reader

Abstract

The invention discloses a sample scanning method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a to-be-detected sample, and segmenting the to-be-detected sample to obtain at least two to-be-scanned samples with preset shapes, the preset shapes at least comprising cuboids; for each to-be-scanned sample, scanning the to-be-scanned samples on the mobile operation table at different rotation angles based on a fixed scanning device to obtain scanning images corresponding to the to-be-scanned samples; and determining the porosity of the to-be-detected sample based on each scanning image. The problems of low scanning precision and poor effect caused by a scanning mode based on a cylindrical sample in the prior art are solved, the sample scanning efficiency is improved, the scanning cost is reduced, the scanning precision and stability are improved, and the effect of improving the porosity obtaining precision is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer processing technology, and in particular to a sample scanning method, device, electronic equipment and storage medium. Background Art

[0002] With the development of CT (Computed Tomography) scanning technology, different samples are usually scanned using the scanning technology to analyze the pores, cracks and other structural information of the samples. The samples may be rocks and the like.

[0003] At present, cylindrical samples are usually used for CT sample scanning. The cylindrical samples are placed on the operating table, and the operating table is rotated 360 degrees to drive the sample to rotate and complete the scanning. Based on this cylindrical sample scanning method, when the sample size is fixed, the maximum resolution of CT scanning is fixed, and the smallest pore that can be seen is often limited to tens of microns, and smaller pores cannot be scanned, resulting in low scanning accuracy. Summary of the invention

[0004] The present invention provides a sample scanning method, device, electronic device and storage medium to improve sample scanning efficiency, reduce scanning costs, improve scanning accuracy and stability, and achieve the technical effect of improving porosity acquisition accuracy.

[0005] According to one aspect of the present invention, a sample scanning method is provided, the method comprising:

[0006] Determine a sample to be tested, and perform segmentation processing on the sample to be tested to obtain at least two samples to be scanned in preset shapes, wherein the preset shapes at least include a cuboid;

[0007] For each of the samples to be scanned, the samples to be scanned on the mobile operating table at different rotation angles are scanned based on a fixed scanning device to obtain a scanned image corresponding to the sample to be scanned;

[0008] Based on each of the scanned images, the porosity of the sample to be tested is determined.

[0009] According to another aspect of the present invention, there is provided a sample scanning device, the device comprising:

[0010] A sample determination module to be scanned is used to determine a sample to be tested and to segment the sample to be tested to obtain at least two samples to be scanned in preset shapes, wherein the preset shapes at least include a cuboid;

[0011] A scanning image determination module is used to scan each of the samples to be scanned on the mobile operating table at different rotation angles based on a fixed scanning device to obtain a scanning image corresponding to the sample to be scanned;

[0012] The porosity determination module is used to determine the porosity of the sample to be tested based on each of the scanned images.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the sample scanning method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the sample scanning method described in any embodiment of the present invention when executed.

[0018] The technical solution of the embodiment of the present invention determines the sample to be tested and divides it to obtain at least two samples to be scanned in preset shapes, wherein the preset shape includes at least a cuboid; for each sample to be scanned, the sample to be scanned on the mobile operating table at different rotation angles is scanned based on a fixed scanning device to obtain the scanning image corresponding to the sample to be scanned; based on each scanning image, the porosity of the sample to be tested is determined, which solves the problem of low scanning accuracy and poor effect caused by the scanning method based on cylindrical samples in the prior art, and realizes that by dividing the sample to be tested into a plurality of samples to be scanned in preset shapes, deeper pores in the sample can be scanned, and at the same time, when scanning the samples to be scanned at different rotation angles, the scanning source is ensured to be consistent with the center of the sample to be scanned at each rotation angle, thereby improving the scanning accuracy. Furthermore, the porosity of the sample to be tested is determined by the scanning image of each sample to be scanned, and automatic scanning is realized to improve the sample scanning efficiency, reduce the scanning cost, and achieve the technical effect of improving the porosity acquisition accuracy.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a flow chart of a sample scanning method provided according to Embodiment 1 of the present invention;

[0022] Figure 2 is a structural schematic diagram of a sample scanning device provided according to Embodiment 3 of the present invention;

[0023] Figure 3 It is a schematic diagram of the structure of an electronic device for implementing the sample scanning method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] Embodiment 1

[0027] Figure 1 1 is a flow chart of a sample scanning method provided according to the first embodiment of the present invention. This embodiment is applicable to the case of scanning samples. The method can be performed by a sample scanning device. The sample scanning device can be implemented in the form of hardware and / or software. The sample scanning device can be configured in a computing device. Figure 1 As shown, the method includes:

[0028] S110, determining a sample to be tested, and dividing the sample to be tested to obtain at least two samples to be scanned in preset shapes.

[0029] The sample to be tested may be a rock sample, and its shape may be a cuboid (including a cube) or other shapes. The preset shape at least includes a cuboid. The number of samples to be scanned may be 2, 4 or other numbers, and the specific number may be determined according to the sample properties of the sample to be tested or the actual working conditions. The more the number of divided samples to be tested is, the higher the accuracy of scanning and measuring them is.

[0030] In this embodiment, in order to ensure that the sample to be tested can be placed stably on the cutting table, the side of the sample to be tested placed on the cutting table can be a flat surface. After the sample to be tested is placed on the cutting table, a cutting instruction can be sent to the cutting device, so that the cutting device cuts the sample to be tested into a plurality of samples to be scanned of the same size and preset shape.

[0031] In order to improve the accuracy of segmentation, the cutting surface of the sample to be tested can be identified by a recognition algorithm, and the sample can be segmented from the cutting surface to obtain at least two samples to be scanned. In this embodiment, in the process of segmenting the sample to be tested to obtain at least two samples to be scanned in preset shapes, at least one to-be-segmented line on the sample to be tested can be determined; the sample to be tested is segmented according to the to-be-segmented line to obtain at least two samples to be scanned in preset shapes.

[0032] It should be noted that when scanning a sample, the sample will be rotated so that the scanning device can fully scan the sample. In order to ensure that the scanning accuracy of the scanning device for the sample at each rotation angle is the same and is not reduced during the rotation of the sample to be scanned, the two opposite faces in the preset shape (such as front and back, up and down, or left and right) can be squares. Furthermore, the square face can be placed on a rotating table, and the distance between the sample and the scanning device can remain unchanged during scanning, and the scanning accuracy does not change.

[0033] In practical applications, the cutting surface of the sample to be tested can be determined. For example, assuming that the side of the sample to be tested placed on the cutting table is the bottom side, the top side of the sample to be tested can be used as the cutting surface. By identifying the cutting surface, marking the line to be cut on the cutting surface, and controlling the cutting device to cut along the line to be cut, at least two samples to be scanned of preset shapes are obtained. For example, the line to be cut can be the center line of the cutting surface, and the sample to be tested is equally divided along the center line into a number of (such as 4) samples to be scanned whose top and bottom sides are squares, that is, the XY axis direction is a square, and the front, back, left and right sides are rectangular.

[0034] S120 , for each sample to be scanned, the samples to be scanned on the mobile operating table at different rotation angles are scanned respectively based on the fixed scanning device to obtain a scanned image corresponding to the sample to be scanned.

[0035] Among them, the fixed scanning equipment can be a stone scanner, a core scanner, a CT scanning equipment, etc., which is fixed at a preset position. The mobile operating table has the function of rotating and moving. When the sample to be scanned is placed on the mobile operating table, the sample to be scanned can rotate with the rotation of the mobile operating table and move with the movement of the mobile operating table. The rotation angle can be preset, such as 90 degrees, 180 degrees, 240 degrees, etc. It should be noted that each sample to be scanned has the same shape and the same scanning method, and any of the samples to be scanned can be used as an example for introduction.

[0036] In this embodiment, the sample to be scanned can be placed on the mobile operating table. When the mobile operating table is at the rotation angle, the sample to be scanned on the mobile operating table is scanned based on the fixed scanning device. After the scanning is completed at the rotation angle, it can be rotated to the next rotation angle and continue scanning until the sample to be scanned at each rotation angle is scanned. The scanned image can be used as the scanned image corresponding to the sample to be scanned. The image can be an X-ray image, a tomographic image, a CT image, etc. The type of the image is related to the fixed scanning device.

[0037] It should be noted that when scanning a sample to be scanned based on a fixed scanning device, the radiation source emitted by the scanning device may not cover the sample surface of the sample to be scanned that faces the scanning device, resulting in incomplete scanning data. The mobile operating table can be moved to drive the sample to be scanned so that the sample surface of the sample to be scanned that faces the scanning device is completely scanned by the fixed scanning device.

[0038] In this embodiment, samples to be scanned on a mobile operating table at different rotation angles are scanned based on a fixed scanning device to obtain scanning images corresponding to the samples to be scanned, including: for each rotation angle, when the mobile operating table is at the rotation angle, determining a scanning area corresponding to the sample to be scanned on the mobile operating table; determining a moving path corresponding to the mobile operating table based on the position information and scanning area of ​​the fixed scanning device; and controlling the fixed scanning device to emit a radiation source in the process of the mobile operating table moving along the moving path to obtain a scanning image corresponding to the sample to be scanned.

[0039] The scanning area includes scanning dimensions, such as length and width. The scanning method at each rotation angle is the same, and any rotation angle may be used as an example for introduction.

[0040] In actual applications, when the mobile operating table is at a rotation angle, because the fixed scanning device is fixed, all fixed scanning devices will scan the sample surface of the sample to be scanned facing the fixed scanning device at the rotation angle. At this time, the range area of ​​the sample surface can be used as the scanning area. The moving path of the mobile operating table is planned through the position information and scanning area of ​​the fixed scanning device. In the process of the mobile operating table moving along the moving path, the fixed scanning device is controlled to emit a ray source, and the fixed scanning device can scan the entire scanning area, that is, scan a sample surface. Accordingly, a scanning image corresponding to the sample to be scanned can be obtained.

[0041] In this embodiment, the sample to be scanned is a rectangular sample. After the square surface of the sample to be scanned (called the bottom) is placed on the mobile operating table, the front, back, left and right surfaces of the sample to be scanned can be scanned respectively. At this time, multiple rotation angles can be set so that under the rotation angle, the front, back, left or right surface of the sample to be scanned can face the emission surface corresponding to the emission source of the fixed scanning device.

[0042] In this embodiment, determining the rotation angle includes: determining the rotation angle according to orientation information of multiple sample surfaces of the sample to be scanned on the mobile operating table and direction information of the emission surface of the fixed scanning device.

[0043] Wherein, the number of rotation angles is at least four.

[0044] Specifically, when the orientation information of a sample surface of the sample to be scanned on the mobile operating table is relative to the direction information of the emission surface of the fixed scanning device, a rotation angle is determined. When the orientation information of different sample surfaces is relative to the direction information of the emission surface, different rotation angles are determined. When the four sample surfaces of the front, back, left, and right of the sample to be scanned on the mobile operating table are respectively relative to the emission surface, there is a rotation angle respectively, and accordingly, at least four rotation angles are obtained, such as 0 degrees, 90 degrees, 180 degrees, and 270 degrees.

[0045] For example, place the sample on the operating table to ensure that any sample surface (there are 4 surfaces in total) in the YZ axis direction faces the radiation source. Start scanning the first sample surface, control the operating table to move from left to right, fix the scanning device to scan, rotate the operating table 90° after scanning, and then proceed to the next sample surface to complete the sample scanning. Scan each sample to be scanned in turn. Since the sample to be scanned is thinner than the sample to be tested and the center is closer to the radiation source, the resolution is improved, thereby improving the quality of the scanned image.

[0046] S130 , determining the porosity of the sample to be tested based on each scanned image.

[0047] In this embodiment, the porosity of the sample to be tested can be obtained by identifying the pore features in the scanned image. Specifically, based on each scanned image, the porosity of the sample to be tested can be determined by: fusing each scanned image according to the position information of the multiple samples to be scanned before cutting to obtain a fused image; and determining the porosity of the sample to be tested based on the fused image.

[0048] In practical applications, data processing software can be used to stitch together the scanned images based on the position information of multiple samples before segmentation to obtain pore data with higher resolution, i.e., fused images. The porosity of the sample to be tested can be determined by the pore features in the stitched fused images.

[0049] In this embodiment, determining the porosity of the sample to be tested according to the fused image includes: determining the pore volume of the sample to be tested according to the fused image; and determining the porosity based on the sample volume and the pore volume of the sample to be tested.

[0050] Specifically, the sum of the volumes of all pore spaces in the sample to be tested can be determined as the pore volume by identifying the pore features in the fused image. The quotient of the pore volume and the sample volume of the sample to be tested can be used as the total porosity of the sample to be tested, i.e., the porosity. The porosity can be expressed as a percentage, a decimal, a fraction, etc.

[0051] On the basis of the above scheme, the sample scanning method also includes: when it is detected that the sample to be tested meets the preset detection conditions, controlling the fixed scanning device to scan at least two sample surfaces of the sample to be tested respectively to obtain a sample image corresponding to the sample to be tested; determining the porosity of the sample to be tested based on the sample image.

[0052] The preset detection conditions may include detection conditions for the size, shape, material, etc. of the sample.

[0053] In this embodiment, when any one of the size, shape, and material of the sample to be tested meets the corresponding limiting condition in the preset detection condition, the sample to be tested is considered to meet the preset detection condition. Alternatively, when any two combinations of the size, shape, and material of the sample to be tested meet the corresponding limiting condition in the preset detection condition, the sample to be tested is considered to meet the preset detection condition. When the sample to be tested meets the preset detection condition, the fixed scanning device can be controlled to scan at least two sample surfaces of the sample to be tested respectively to obtain a sample image corresponding to the sample to be tested. Further, the porosity of the sample to be tested is determined by the sample image.

[0054] For example, if the sample to be tested is a square sample in the XY axis direction, the square surface of the sample can be placed on the operating table to ensure that any sample surface in the YZ axis direction (there are 4 surfaces in total) faces the radiation source. Start scanning the first sample surface, control the operating table to move from left to right, fix the scanning device to scan, and after scanning, rotate the operating table 90°, and then proceed to the next sample surface, thus completing the sample scanning.

[0055] The technical solution of this embodiment determines the sample to be tested and divides it to obtain at least two samples to be scanned with preset shapes, wherein the preset shape includes at least a cuboid; for each sample to be scanned, the sample to be scanned on the mobile operating table at different rotation angles is scanned based on a fixed scanning device to obtain the corresponding scanned image of the sample to be scanned; based on each scanned image, the porosity of the sample to be tested is determined, which solves the problem of low scanning accuracy and poor effect caused by the scanning method based on cylindrical samples in the prior art, and realizes that by dividing the sample to be tested into multiple samples to be scanned with preset shapes, deeper pores in the sample can be scanned, and at the same time, when scanning the samples to be scanned at different rotation angles, the scanning source is ensured to be consistent with the center of the sample to be scanned at each rotation angle, thereby improving the scanning accuracy. Furthermore, the porosity of the sample to be tested is determined by the scanned images of each sample to be scanned, and automatic scanning is realized to improve the sample scanning efficiency, reduce the scanning cost, and achieve the technical effect of improving the porosity acquisition accuracy.

[0056] Embodiment 2

[0057] As an optional embodiment of the above embodiment, in order to make those skilled in the art further understand the technical solution of the embodiment of the present invention, a specific application scenario example is given. For details, please refer to the following specific content.

[0058] It should be noted that, since reducing the distance between the sample center and the radiation source can directly improve the scanning resolution, when scanning a sample, it can be divided into equal parts vertically (Z axis). At this time, the thickness of the divided sample will be smaller than that of the sample before division, the distance between the sample center and the radiation source will be reduced, and the scanning resolution will be improved. Furthermore, the divided samples can be scanned separately, and then the scanned data volumes can be superimposed according to the coordinates of the division points.

[0059] Exemplarily, the sample to be measured (i.e., the sample to be measured) is cut into a square sample in the XY axis direction (i.e., the sample to be scanned). For example, the sample to be measured is equally divided into 4 square samples in the XY axis direction along the center line. The square surface of the sample to be scanned can be placed on the operating table to ensure that any sample surface in the YZ axis direction (a total of 4 surfaces) is facing the radiation source. Start scanning the first sample surface, control the operating table to move from left to right, fix the scanning device to scan, rotate the operating table 90°, and then proceed to the next sample surface, thus completing the sample scanning. Scan each sample to be scanned separately in turn. Since the sample to be scanned is thinner than the sample to be measured and the center is closer to the radiation source, the resolution is improved, thereby improving the quality of the scanned image. The scanned images can be spliced ​​using data processing software to obtain pore data with higher resolution. If the resolution needs to be further improved, the sample to be scanned is further cut and the scan is repeated.

[0060] The technical solution provided in this embodiment can realize precise positioning and precise cutting inside the sample by cutting the sample into a square sample with XY axis, and can be divided into 4 small squares along the center line (rectangle in the Z axis direction). When scanning each sample surface, the operating table is controlled to scan from left to right. After scanning, the operating table is rotated 90°, and the next sample surface is scanned to realize sample scanning. It is achieved that the distance between the sample and the radiation source remains unchanged during scanning without reducing the resolution. At the same time, the data body (i.e., the scanned image) obtained after scanning each square sample is losslessly spliced ​​to obtain pore data with higher resolution, thereby improving the quality of the sample data and the accuracy of the sample porosity determination.

[0061] Embodiment 3

[0062] Figure 2 Schematic diagram of the structure of a sample scanning device provided according to the third embodiment of the present invention. Figure 2 As shown, the device includes: a sample to be scanned determination module 210, a scanned image determination module 220 and a porosity determination module 230.

[0063] Among them, the sample determination module 210 to be scanned is used to determine the sample to be tested and cut the sample to be tested to obtain at least two samples to be scanned with preset shapes, wherein the preset shape at least includes a rectangular parallelepiped; the scanning image determination module 220 is used to scan the sample to be scanned on the mobile operating table at different rotation angles for each sample to be scanned based on a fixed scanning device to obtain a scanning image corresponding to the sample to be scanned; the porosity determination module 230 is used to determine the porosity of the sample to be scanned based on each scanning image.

[0064] The technical solution of this embodiment determines the sample to be tested and divides it to obtain at least two samples to be scanned with preset shapes, wherein the preset shape includes at least a cuboid; for each sample to be scanned, the sample to be scanned on the mobile operating table at different rotation angles is scanned based on a fixed scanning device to obtain the corresponding scanned image of the sample to be scanned; based on each scanned image, the porosity of the sample to be tested is determined, which solves the problem of low scanning accuracy and poor effect caused by the scanning method based on cylindrical samples in the prior art, and realizes that by dividing the sample to be tested into multiple samples to be scanned with preset shapes, deeper pores in the sample can be scanned, and at the same time, when scanning the samples to be scanned at different rotation angles, the scanning source is ensured to be consistent with the center of the sample to be scanned at each rotation angle, thereby improving the scanning accuracy. Furthermore, the porosity of the sample to be tested is determined by the scanned images of each sample to be scanned, and automatic scanning is realized to improve the sample scanning efficiency, reduce the scanning cost, and achieve the technical effect of improving the porosity acquisition accuracy.

[0065] On the basis of the above device, optionally, the to-be-scanned sample determination module 210 includes a to-be-segmented line determination unit and a to-be-scanned sample determination unit.

[0066] A line-to-be-segmented determining unit, used to determine at least one line-to-be-segmented on the sample to be tested;

[0067] The sample to be scanned determining unit is used to divide the sample to be tested according to the line to be divided to obtain at least two samples to be scanned with preset shapes.

[0068] On the basis of the above device, optionally, the scan image determination module 220 includes a scan area determination unit, a moving path determination unit and a scan image determination unit.

[0069] A scanning area determination unit, configured to determine, for each of the rotation angles, a scanning area corresponding to the sample to be scanned on the mobile operating table when the mobile operating table is at the rotation angle;

[0070] A moving path determining unit, configured to determine a moving path corresponding to the mobile operating platform based on the position information of the fixed scanning device and the scanning area;

[0071] The scanning image determination unit is used to control the fixed scanning device to emit a radiation source when the mobile operating platform moves along the moving path, so as to obtain a scanning image corresponding to the sample to be scanned.

[0072] On the basis of the above device, optionally, the device further comprises a rotation angle determination module, the rotation angle determination module being used to determine the rotation angle according to the orientation information of the multiple sample surfaces of the sample to be scanned on the mobile operating table and the direction information of the emission surface of the fixed scanning device;

[0073] Wherein, the number of the rotation angles is at least four.

[0074] Based on the above device, optionally, the porosity determination module 230 includes a fused image determination unit and a porosity determination unit.

[0075] A fused image determination unit, used for fusing the scanned images according to the position information of the plurality of samples to be scanned before being cut, to obtain a fused image;

[0076] The porosity determination unit is used to determine the porosity of the sample to be tested according to the fused image.

[0077] Based on the above device, optionally, the porosity determination unit includes a pore volume determination subunit and a porosity determination subunit.

[0078] A pore volume determination subunit, used to determine the pore volume of the sample to be tested according to the fused image;

[0079] The porosity determination subunit is used to determine the porosity based on the sample volume of the sample to be tested and the pore volume.

[0080] On the basis of the above device, optionally, the device further includes: a scanning module, the scanning module includes a sample image determination unit and a second porosity determination unit.

[0081] A sample image determination unit, configured to control the fixed scanning device to scan at least two sample surfaces of the sample to be tested respectively to obtain a sample image corresponding to the sample to be tested when it is detected that the sample to be tested meets a preset detection condition;

[0082] The second porosity determination unit is used to determine the porosity of the sample to be tested based on the sample image.

[0083] The sample scanning device provided in the embodiment of the present invention can execute the sample scanning method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0084] Embodiment 4

[0085] Figure 3Schematic diagram of the structure of an electronic device for implementing the sample scanning method of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0086] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0087] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0088] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a sample scanning method.

[0089] In some embodiments, the sample scanning method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the sample scanning method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the sample scanning method in any other appropriate manner (e.g., by means of firmware).

[0090] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0091] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0092] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0093] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0094] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0095] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0096] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0097] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A sample scanning method, characterized in that: include: Determine a sample to be tested, and perform segmentation processing on the sample to be tested to obtain at least two samples to be scanned in preset shapes, wherein the preset shapes at least include a cuboid; For each of the samples to be scanned, the samples to be scanned on the mobile operating table at different rotation angles are scanned based on a fixed scanning device to obtain a scanned image corresponding to the sample to be scanned; Based on each of the scanned images, the porosity of the sample to be tested is determined.

2. The method according to claim 1, characterized in that The method of cutting the sample to be tested to obtain at least two samples to be scanned in preset shapes includes: Determining at least one to-be-segmented line on the sample to be tested; The sample to be tested is segmented according to the line to be segmented to obtain at least two samples to be scanned in preset shapes.

3. The method according to claim 1, characterized in that The method of scanning the samples to be scanned on the mobile operating table at different rotation angles based on the fixed scanning device to obtain scanning images corresponding to the samples to be scanned includes: For each of the rotation angles, when the mobile operating platform is at the rotation angle, determining a scanning area corresponding to the sample to be scanned on the mobile operating platform; Determining a moving path corresponding to the mobile operating platform based on the position information of the fixed scanning device and the scanning area; When the mobile operating platform moves along the moving path, the fixed scanning device is controlled to emit a radiation source to obtain a scanning image corresponding to the sample to be scanned.

4. The method according to claim 1, characterized in that: Determining the rotation angle includes: Determining the rotation angle according to the orientation information of the multiple sample surfaces of the sample to be scanned on the mobile operating table and the direction information of the emission surface of the fixed scanning device; Wherein, the number of the rotation angles is at least four.

5. The method according to claim 1, characterized in that Determining the porosity of the sample to be tested based on each of the scanned images includes: fusing the scanned images according to the position information of the plurality of samples to be scanned before being cut, to obtain a fused image; The porosity of the sample to be tested is determined according to the fused image.

6. The method according to claim 5, characterized in that Determining the porosity of the sample to be tested according to the fused image includes: Determining the pore volume of the sample to be tested according to the fused image; The porosity is determined based on the sample volume of the sample to be tested and the pore volume.

7. The method according to claim 1, characterized in that Also includes: When it is detected that the sample to be tested meets the preset detection conditions, the fixed scanning device is controlled to scan at least two sample surfaces of the sample to be tested respectively to obtain a sample image corresponding to the sample to be tested; The porosity of the sample to be tested is determined based on the sample image.

8. A sample scanning device, characterized in that: include: A sample determination module to be scanned is used to determine a sample to be tested and to segment the sample to be tested to obtain at least two samples to be scanned in preset shapes, wherein the preset shapes at least include a cuboid; A scanning image determination module is used to scan each of the samples to be scanned on the mobile operating table at different rotation angles based on a fixed scanning device to obtain a scanning image corresponding to the sample to be scanned; The porosity determination module is used to determine the porosity of the sample to be tested based on each of the scanned images.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so as to enable the at least one processor to perform the sample scanning method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the sample scanning method according to any one of claims 1 to 7 when executed.