Method and device for determining shale pore type in scanning electron microscope image
By determining the preset pixel range of shale pores in scanning electron microscope images and analyzing the components, the problem of inaccurate manual identification in shale oil and gas reservoir evaluation is solved, and the recognition accuracy and efficiency are improved.
Patent Information
- Application Number
- CN202411972655.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the evaluation of shale oil and gas reservoirs, artificial identification of shale pore types in the prior art is inaccurate and inefficient.
The preset pixel range for each pore is determined in the scanning electron microscope image according to the shale component to which each pixel belongs, and the pore type is analyzed based on the pixel components within that range.
It improves the accuracy and efficiency of pore type recognition, and solves the problem of inaccurate and inefficient manual recognition.
Smart Images

Figure CN119851028A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of shale oil and gas reservoir evaluation, and in particular to a method and device for determining shale pore types in a scanning electron microscope image. Background Art
[0002] In the evaluation of shale oil and gas reservoirs, researchers often use scanning electron microscope (SEM) to observe argon ion polished shale samples, and describe and study the size, shape and type of shale pores under the microscope. Researchers usually conduct qualitative descriptions and studies, such as qualitative analysis of the contact relationship between pores and surrounding organic matter or minerals, the size and shape of pores, and the size of the pores occupied by the field of view. Manual identification methods are prone to inaccurate identification of pore types and low identification efficiency. Summary of the invention
[0003] In view of this, the purpose of the present application is to at least provide a method and device for determining the shale pore type in a scanning electron microscope image, by determining the preset pixel range of each pore in the shale image collected by the scanning electron microscope according to the shale component to which each pixel belongs, and then analyzing the pore type of each pore based on the shale component of each pixel within the preset pixel range of each pore, thereby solving the technical problems of inaccurate and low efficiency of manual identification in the prior art, and achieving the technical effect of improving identification accuracy and efficiency.
[0004] This application mainly includes the following aspects:
[0005] In a first aspect, an embodiment of the present application provides a method for determining shale pore types in a scanning electron microscope image, the method comprising: obtaining a shale image acquired by a scanning electron microscope, wherein each pixel of the shale image corresponds to a shale component to which the pixel belongs, and the shale component includes a pore component, an organic matter component, and an inorganic mineral component; based on the shale component of each pixel in the shale image, determining a preset pixel range corresponding to each pore in the shale image; and based on the shale component of each pixel within the preset pixel range corresponding to each pore, determining the pore type of each pore.
[0006] Optionally, the preset pixel range corresponding to each pore in the shale image is determined in the following manner: based on the shale component corresponding to each pixel of the shale image, the connected area corresponding to each pore is determined; based on the connected area corresponding to each pore and a preset expansion multiple, the preset pixel range corresponding to each pore is determined.
[0007] Optionally, the connected area corresponding to each pore is determined in the following manner: a pore pixel set in which shale component is a pore component is determined in the shale image; for each pore pixel in the pore pixel set, the pore pixel is added to the pore subset, and it is determined whether the shale component of the adjacent pixels of the added pore pixel is the pore component, and the adjacent pixels in which the shale component is the pore component are added to the pore subset, and it is re-determined whether the shale component of the adjacent pixels of each pore pixel in the pore subset is the pore component, until the shale component of the adjacent pixels of the added pore pixel is not the pore component, all the pore pixels in the pore subset are regarded as a connected area of pore, so as to determine the connected areas corresponding to all pores of the pore pixel set.
[0008] Optionally, the preset pixel range corresponding to each pore is determined in the following manner: based on each pore pixel in the connected area of the pore and the preset expansion multiple, the expansion radius of each pore pixel corresponding to the pore is determined; the pore is expanded outward according to the expansion radius corresponding to the pore to obtain the preset pixel range corresponding to the pore.
[0009] Optionally, the pore type of each pore is determined in the following manner: based on the shale component of each pixel within a preset pixel range corresponding to each pore, a target proportion of a target component in each pore is determined, wherein the target component is one of the organic matter component and the inorganic mineral component; based on preset proportion intervals corresponding to multiple pore types, the pore type of each pore is determined according to the target proportion of each pore.
[0010] Optionally, the target proportion of the target component in each pore is determined in the following manner: based on the shale component of each pixel within a preset pixel range corresponding to each pore, the target number of pixels belonging to the target component within the preset pixel range is determined; and the ratio of the target number of pixels corresponding to each pore to the total number of all pixels within the preset pixel range of each pore is used as the target proportion of the target component in each pore.
[0011] Optionally, multiple pore types include a target pore type corresponding to the target component, a composite pore type and a preset pore type corresponding to a preset component, the preset component being the other of the organic matter component and the inorganic mineral component, wherein the pore type of each pore is determined in the following manner: if the target proportion of the pore belongs to the preset proportion interval corresponding to the target pore type, the pore type of the pore is the target pore type; if the target proportion of the pore belongs to the preset proportion interval corresponding to the composite pore type, the pore type of the pore is the composite pore type; if the target proportion of the pore belongs to the preset proportion interval corresponding to the preset pore type, the pore type of the pore is the preset pore type.
[0012] In a second aspect, an embodiment of the present application further provides a device for determining shale pore types in a scanning electron microscope image, the device comprising: an acquisition module for acquiring a shale image collected by a scanning electron microscope, wherein each pixel of the shale image corresponds to a shale component to which the pixel belongs, and the shale component includes a pore component, an organic matter component, and an inorganic mineral component; a first determination module for determining a preset pixel range corresponding to each pore in the shale image based on the shale component of each pixel in the shale image; and a second determination module for determining the pore type of each pore based on the shale component of each pixel within the preset pixel range corresponding to each pore.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the method for determining the shale pore type in a scanning electron microscope image described in the first aspect or any possible implementation manner of the first aspect.
[0014] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for determining the shale pore type in a scanning electron microscope image described in the first aspect or any possible implementation manner of the first aspect are executed.
[0015] The embodiment of the present application provides a method and device for determining the pore type of shale in a scanning electron microscope image, the method comprising: obtaining a shale image collected by a scanning electron microscope, wherein each pixel of the shale image corresponds to a shale component to which the pixel belongs, and the shale component includes a pore component, an organic matter component, and an inorganic mineral component; determining a preset pixel range corresponding to each pore in the shale image according to the shale component of each pixel in the shale image; determining the pore type of each pore according to the shale component of each pixel within the preset pixel range corresponding to each pore. By determining the preset pixel range of each pore in the shale image collected by the scanning electron microscope according to the shale component to which each pixel belongs, and then analyzing the pore type of each pore according to the shale component of each pixel within the preset pixel range of each pore, the technical problem of inaccurate and low efficiency of manual identification in the prior art is solved, and the technical effect of improving identification accuracy and efficiency is achieved.
[0016] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] 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.
[0018] Figure 1 A flow chart of a method for determining shale pore types in a scanning electron microscope image provided in an embodiment of the present application is shown.
[0019] Figure 2 A schematic diagram of a shale image provided in an embodiment of the present application is shown.
[0020] Figure 3 A schematic diagram showing a preset pixel range corresponding to the pores provided in an embodiment of the present application.
[0021] Figure 4 A schematic diagram of a shale image for distinguishing different pore types provided in an embodiment of the present application is shown.
[0022] Figure 5 A functional module diagram of a device for determining shale pore types in a scanning electron microscope image provided in an embodiment of the present application is shown.
[0023] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme 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. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
[0025] In addition, the described embodiments are only a 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 configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0026] In the prior art, in the evaluation of shale oil and gas reservoirs, researchers often use scanning electron microscopes (SEM) to observe argon ion polished shale samples, and describe and study the size, shape and type of shale pores under the microscope. Researchers usually conduct qualitative descriptions and studies, such as qualitative analysis of the contact relationship between the pores and the surrounding organic matter or minerals, the size and shape of the pores, and the size of the pores occupying the field of view, so as to manually determine the pore type of each pore in the shale. Manual identification is prone to errors, and when there are a large number of pores on the shale sample, each pore is manually identified, resulting in low identification efficiency.
[0027] Based on this, the embodiment of the present application provides a method and device for determining the shale pore type in a scanning electron microscope image, by determining the preset pixel range of each pore in the shale image according to the shale component to which each pixel belongs on the shale image collected by the scanning electron microscope, and then analyzing the pore type of each pore according to the shale component of each pixel within the preset pixel range of each pore, thereby solving the technical problems of inaccurate and low efficiency of manual identification in the prior art, and achieving the technical effect of improving identification accuracy and efficiency, which is specifically as follows:
[0028] See also Figure 1 , Figure 1 A flow chart of a method for determining shale pore types in a scanning electron microscope image provided in an embodiment of the present application. Figure 1 As shown, the method for determining the shale pore type in the scanning electron microscope image provided in the embodiment of the present application includes the following steps:
[0029] S101: Acquire a shale image collected by a scanning electron microscope.
[0030] Each pixel of the shale image is marked with a corresponding shale component to which the pixel belongs, and the shale component includes a pore component, an organic matter component and an inorganic mineral component.
[0031] That is, the shale sample is observed through a scanning electron microscope (SEM) to obtain an initial image and each pixel on the initial image is marked with the shale component to which the pixel belongs to obtain the shale image. Exemplarily, each shale component corresponds to a preset gray value interval, and by determining the gray value interval to which the gray value of each pixel on the initial image belongs, the shale component to which each pixel on the initial image belongs is determined.
[0032] For example, the shale sample is a small piece with a side length of 1 cm, which is pasted on a nail table, first ground and polished with a mesh of not less than 2000, and then argon ion polished to increase the smoothness of the sample, making it easier to observe with a scanning electron microscope (SEM), and then the polished shale sample is sprayed with carbon or gold to facilitate the flow of electrons in the scanning electron microscope on the shale sample. Theoretically, shale samples are not conductive, so carbon or gold spraying is required on the sample to achieve electron flow.
[0033] Exemplarily, the scanning electron microscope parameters are set to the secondary electron (SE2) mode and the shale sample is observed at a low voltage (about 1.5 kilovolts) and a high magnification (5,000 to 100,000 times) and an initial image of the shale sample is taken.
[0034] For example, see Figure 2 , Figure 2 This is a schematic diagram of a shale image provided in the embodiment of the present application. Figure 2 As shown, in this application, carbon or gold is sprayed to increase conductivity, and the electrons released by the scanning electron microscope move on the surface of the shale sample after argon ion polishing, so that the scanning electron microscope takes the initial image by observing the flow of electrons on the surface. Since the pore is a concave space, it is difficult to observe the electron trend on its concave surface when observing it through a scanning electron microscope. Therefore, the color of the pixel where the pore is located is the darkest, and accordingly, the grayscale value is smaller; the pixel where the organic matter is located is darker than the pixel where the inorganic mineral is located, and accordingly, the grayscale value of the organic matter is smaller than the grayscale value of the inorganic mineral. Therefore, the shale component to which each pixel belongs is determined by the grayscale value interval to which the grayscale value of each pixel on the initial image belongs, so as to determine the shale image covering the shale component of each pixel.
[0035] S102: Determine a preset pixel range corresponding to each pore in the shale image according to the shale component of each pixel in the shale image.
[0036] Specifically, the preset pixel range corresponding to each pore in the shale image is determined in the following manner: based on the shale component corresponding to each pixel of the shale image, the connected area corresponding to each pore is determined; based on the connected area corresponding to each pore and the preset expansion multiple, the preset pixel range corresponding to each pore is determined.
[0037] That is to say, according to the shale component corresponding to each pixel in the shale image, the connected area where each pore on the shale sample corresponding to the shale image is located is determined, one pore corresponds to one connected area, and the connected area corresponding to one pore includes at least one pixel of the shale component as the pore component. Furthermore, the connected area of all pores on the shale sample can be determined through the shale image, and then the connected area of each pore is expanded by a preset expansion multiple to obtain the preset pixel range corresponding to each pore, so that the preset pixel range is larger than the connected area of the pore, that is, the preset pixel range corresponding to each pore covers the connected area of the pore.
[0038] Specifically, the connected area corresponding to each pore is determined in the following manner: a pore pixel set in which the shale component is a pore component is determined in the shale image; for each pore pixel in the pore pixel set, the pore pixel is added to the pore subset, and it is determined whether the shale component of the adjacent pixels of the added pore pixel is the pore component, and the adjacent pixels in which the shale component is the pore component are added to the pore subset, and it is re-determined whether the shale component of the adjacent pixels of each pore pixel in the pore subset is the pore component, until the shale component of the adjacent pixels of the added pore pixel is not the pore component, all the pore pixels in the pore subset are regarded as a connected area of pores, so as to determine the connected areas corresponding to all the pores of the pore pixel set.
[0039] Exemplarily, for each pore pixel, the neighboring pixels of the pore pixel refer to four neighboring pixels above, below, left and right of the pore pixel.
[0040] That is to say, the connected area where each pore is located is determined in the shale image by depth-first search or breadth-first search. Traverse each pixel in the shale image and find out the pore pixels where the shale component is a pore component, and form a pore pixel set for all pore pixel groups; traverse each pore pixel in the pore pixel set, add the pore pixels adjacent to the pore pixel to the pore subset, and continue to determine whether there are adjacent pore pixels to the adjacent pore pixels, until the adjacent pore pixels cannot be determined, so that all pore pixels in the pore subset corresponding to the pore pixel are regarded as a connected area of pores, and all pore pixels in the pore subset corresponding to the pore pixel are deleted from the pore pixel set, and then traverse each pore pixel in the pore pixel set again, until all pore pixels in the entire shale image have determined the connected area of their corresponding pores.
[0041] The preset pixel range corresponding to each pore is determined in the following manner: based on each pore pixel in the connected area of the pore and the preset expansion multiple, the expansion radius of each pore pixel corresponding to the pore is determined; the pore is expanded outward according to the expansion radius corresponding to the pore to obtain the preset pixel range corresponding to the pore.
[0042] Exemplarily, for each pore, the equivalent radius of the pore is determined based on the number of pore pixels in the connected area of the pore, the expansion radius of the pore is determined by the equivalent radius corresponding to the pore and a preset expansion multiple, each pore pixel of the pore is expanded according to the expansion radius to obtain the expansion range of each pore pixel, and the expansion range of each pore pixel is combined as the preset pixel range corresponding to the pore.
[0043] That is, the expansion range of each pore pixel refers to the pixel where the pore pixel is located plus the expanded pixel found according to the eight-way connectivity of the pore pixel. Further, the expansion range of each pore pixel covers the pore pixel.
[0044] Among them, since the pore pixels located at the edge of the connected area of the pore are the outermost pore pixels of the pore, for each pore, the outermost pore pixels after expansion can be found in the eight-way connectivity of the outermost pore pixels of the pore, and the area within the outermost pore pixels after expansion is used as the preset pixel range corresponding to the pore.
[0045] The equivalent radius of each pore is calculated by the following formula:
[0046]
[0047] In formula (1), R i refers to the equivalent radius of the i-th pore; S i Refers to the number of all pore pixels in the connected area of the i-th pore. It is equivalent to equating the pore to a circle and deriving the equivalent radius of the pore through the circle area formula.
[0048] Among them, the expansion radius of each pore is calculated by the following formula:
[0049] R′ i =E×R i (2)
[0050] In formula (2), R′ i refers to the expansion radius of the i-th pore; R i Refers to the equivalent radius of the i-th pore; E refers to the preset expansion multiple.
[0051] Among them, since the equivalent radius of the pore is calculated by the number of all pore pixels in the pore, the values of the equivalent radius and the expansion radius both refer to the number of pixels. In order to facilitate the determination of the preset pixel range, after the expansion radius is calculated, if the expansion radius is not an integer, the expansion radius is rounded off so that the preset pixel range can be determined by the rounded expansion radius.
[0052] For example, see Figure 3 , Figure 3 This is a schematic diagram of the preset pixel range corresponding to the pores provided in the embodiment of the present application. Figure 3 As shown in the figure, if the pixels of the shale image are 5×5, the position of each pixel is (x, y), x is used to indicate the x row in the horizontal direction, and y is used to indicate the y column in the vertical direction. If the positions of all pore pixels in the connected area of the pores are (3, 3), (3, 4) and (4, 3), if the expansion radius is determined to be 1, it means that each pore pixel and its expansion pixels determined under the eight-way connectivity of up, down, left, right, upper left, upper right, lower left and lower right are combined into the nine-square grid pixels corresponding to each pore pixel, so as to determine the expansion range corresponding to each pore pixel. The pixel positions within the expansion range of the pore pixel at position (3, 3) are (2, 2), (2, 3), (2, 4), (3, 2), (3, 3), (3, 4), (4, 2), (4, 3), (4, 4); the pixel positions within the expansion range of the pore pixel at position (3, 4) are (2, 3), (2, 4), (2, 5), (3, 3), (3, 4), (3, 5), (4, 3), (4, 4), (4, 5); the pixel position within the expansion range of the pore pixel at position (4, 3) is (3, 2) , (3, 3), (3, 4), (4, 2), (4, 3), (4, 4), (5, 2), (5, 3), (5, 4), and thus the expansion range of each pore pixel is combined to obtain the preset pixel range corresponding to the pore. The pixel positions within the preset pixel range corresponding to the pore are (2, 2), (2, 3), (2, 4), (2, 5), (3, 2), (3, 3), (3, 4), (3, 5), (4, 2), (4, 3), (4, 4), (4, 5), (5, 2), (5, 3), (5, 4).
[0053] S103: Determine the pore type of each pore according to the shale components of each pixel within a preset pixel range corresponding to each pore.
[0054] Specifically, the pore type of each pore is determined in the following manner: based on the shale components of each pixel within a preset pixel range corresponding to each pore, the target proportion of the target component in each pore is determined, and the target component is one of the organic matter component and the inorganic mineral component; based on the preset proportion intervals corresponding to multiple pore types, the pore type of each pore is determined according to the target proportion of each pore.
[0055] Specifically, the target proportion of the target component in each pore is determined in the following manner: based on the shale component of each pixel within the preset pixel range corresponding to each pore, the target number of pixels belonging to the target component within the preset pixel range is determined; the ratio of the target number of pixels corresponding to each pore to the total number of all pixels within the preset pixel range of each pore is used as the target proportion of the target component in each pore.
[0056] That is to say, all pixels within the preset pixel range corresponding to each pore and the target number of pixels belonging to the target component are counted. For each pore, if the target component is an organic component, the target number of pixels belonging to the organic component within the preset pixel range of the pore is counted, and the target number of pixels is compared with the total number of all pixels within the preset pixel range, and the ratio is used as the organic matter proportion of the pore; for each pore, if the target component is an inorganic mineral component, the target number of pixels belonging to the inorganic mineral component within the preset pixel range of the pore is counted, and the target number of pixels is compared with the total number of all pixels within the preset pixel range, and the ratio is used as the inorganic mineral proportion of the pore.
[0057] Specifically, the multiple pore types include a target pore type corresponding to the target component, a composite pore type and a preset pore type corresponding to a preset component, the preset component being the other of the organic matter component and the inorganic mineral component, wherein the pore type of each pore is determined in the following manner: if the target proportion of the pore belongs to the preset proportion interval corresponding to the target pore type, the pore type of the pore is the target pore type; if the target proportion of the pore belongs to the preset proportion interval corresponding to the composite pore type, the pore type of the pore is the composite pore type; if the target proportion of the pore belongs to the preset proportion interval corresponding to the preset pore type, the pore type of the pore is the preset pore type.
[0058] That is, the target pore type is one of organic pores and inorganic mineral pores, the preset pore type is the other of organic pores and inorganic mineral pores, and the composite pore type is organic-inorganic composite pores. If the target component is an organic component and the target pore type is an organic pore, the more pixels belonging to the organic component, the more it represents that the pore is an organic pore, and the fewer pixels belonging to the organic component, the more it represents that the pore is an inorganic mineral pore.
[0059] Furthermore, since what is calculated is the target proportion belonging to the target component, the lower limit value of the preset proportion interval corresponding to the target pore type is greater than the upper limit value of the preset proportion interval corresponding to the composite pore type, and the lower limit value of the preset proportion interval corresponding to the composite pore type is greater than the upper limit value of the preset proportion interval corresponding to the preset pore type.
[0060] Exemplarily, if the target component is an organic component, then for each pore, the ratio of the number of pixels belonging to the organic component within the preset pixel range of the pore to the total number of pixels within the preset pixel range is calculated, and the ratio is used as the organic component ratio of the pore. If the organic component ratio of the pore is greater than or equal to the first preset ratio, the pore type of the pore is determined to be an organic pore. If the organic component ratio of the pore is greater than the second preset ratio and less than the first preset ratio, the pore type of the pore is determined to be an organic-inorganic composite pore. If the organic component ratio of the pore is less than or equal to the second preset ratio, the pore type of the pore is determined to be an inorganic mineral pore. Among them, the first preset ratio is used to distinguish whether it is an organic pore, usually 0.5 to 0.75, and the second preset ratio is used to distinguish whether it is an inorganic mineral pore, usually 0.25 to 0.5. Both the first preset ratio and the second preset ratio can be adjusted in practice.
[0061] For example, after distinguishing the pore type of each pore in the shale image, different display parameters are used to distinguish different pore types. Figure 4 , Figure 4 This is a schematic diagram of a shale image for distinguishing different pore types provided in an embodiment of the present application. Figure 4 As shown, in this application, color parameters are used to distinguish different pore types, and the color of each pixel in the connected area corresponding to the organic pores in the shale image is changed to red, the color of each pixel in the connected area corresponding to the organic-inorganic composite pores in the shale image is changed to yellow, and the color of each pixel in the connected area corresponding to the inorganic mineral pores in the shale image is changed to blue. In addition, the pore type of each pore in the shale sample can be intuitively viewed, and the number of each pore type can be counted for further observation and analysis.
[0062] Based on the same application concept, the embodiments of the present application also provide a device for determining the pore type corresponding to the method for determining the shale pore type in the scanning electron microscope image provided in the above embodiments. Since the principle of solving the problem by the device in the embodiments of the present application is similar to the method for determining the shale pore type in the scanning electron microscope image in the above embodiments of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0063] like Figure 5 As shown, Figure 5 A functional module diagram of a device for determining shale pore types in a scanning electron microscope image provided in an embodiment of the present application. The device 10 for determining shale pore types in a scanning electron microscope image includes: an acquisition module 101, for acquiring a shale image acquired by a scanning electron microscope, wherein each pixel of the shale image corresponds to a shale component to which the pixel belongs, and the shale component includes a pore component, an organic matter component, and an inorganic mineral component; a first determination module 102, for determining a preset pixel range corresponding to each pore in the shale image based on the shale component of each pixel in the shale image; and a second determination module 103, for determining the pore type of each pore based on the shale component of each pixel within the preset pixel range corresponding to each pore.
[0064] Based on the same application concept, see Figure 6 As shown, it is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device 20 includes: a processor 201, a memory 202 and a bus 203, the memory 202 stores machine-readable instructions executable by the processor 201, when the electronic device 20 is running, the processor 201 and the memory 202 communicate through the bus 203, and the machine-readable instructions are executed by the processor 201 when running to perform the steps of the method for determining the shale pore type in the scanning electron microscope image as described in any of the above embodiments.
[0065] Specifically, when the machine-readable instructions are executed by the processor 201, the following processing can be performed: a shale image acquired by a scanning electron microscope is acquired, and each pixel of the shale image corresponds to a shale component to which the pixel belongs, and the shale component includes a pore component, an organic matter component, and an inorganic mineral component; based on the shale component of each pixel in the shale image, a preset pixel range corresponding to each pore in the shale image is determined; based on the shale component of each pixel within the preset pixel range corresponding to each pore, the pore type of each pore is determined.
[0066] Based on the same application concept, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for determining the shale pore type in the scanning electron microscope image provided in the above embodiment are executed.
[0067] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, it can execute the above-mentioned method for determining the shale pore type in the scanning electron microscope image, by determining the preset pixel range of each pore in the shale image according to the shale component to which each pixel belongs on the shale image collected by the scanning electron microscope, and then analyzing the pore type of each pore according to the shale component of each pixel within the preset pixel range of each pore, thereby solving the technical problems of inaccurate and low efficiency of manual identification in the prior art, and achieving the technical effect of improving identification accuracy and efficiency.
[0068] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0069] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0070] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0071] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. 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, and the computer software product is stored in a storage medium, including a number of instructions to enable 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. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0072] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the 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 determining shale pore types in a scanning electron microscope image, characterized in that: The method comprises: Acquire a shale image collected by a scanning electron microscope, wherein each pixel of the shale image corresponds to a shale component to which the pixel belongs, and the shale component includes a pore component, an organic matter component, and an inorganic mineral component; Determining a preset pixel range corresponding to each pore in the shale image according to the shale component of each pixel in the shale image; The pore type of each pore is determined according to the shale components of each pixel within a preset pixel range corresponding to each pore.
2. The method according to claim 1, characterized in that The preset pixel range corresponding to each pore in the shale image is determined by: Determining a connected area corresponding to each pore according to a shale component corresponding to each pixel of the shale image; The preset pixel range corresponding to each pore is determined according to the connected area corresponding to each pore and the preset expansion multiple.
3. The method according to claim 2, characterized in that The connected area corresponding to each pore is determined by: Determining in the shale image a pore pixel set in which the shale component is a pore component; For each pore pixel in the pore pixel set, the pore pixel is added to the pore subset, and it is determined whether the shale component of the adjacent pixels of the added pore pixel is the pore component. The adjacent pixels whose shale component is the pore component are added to the pore subset, and it is re-determined whether the shale component of the adjacent pixels of each pore pixel in the pore subset is the pore component, until the shale component of the adjacent pixels of the added pore pixel is not the pore component, all the pore pixels in the pore subset are regarded as a connected area of pores to determine the connected areas corresponding to all the pores of the pore pixel set.
4. The method according to claim 2, characterized in that: The preset pixel range corresponding to each pore is determined by: Determine the expansion radius corresponding to the pore according to each pore pixel in the connected area of the pore and the preset expansion multiple; The pore is expanded outwardly according to the expansion radius corresponding to the pore to obtain a preset pixel range corresponding to the pore.
5. The method according to claim 1, characterized in that The pore type of each pore is determined by: Determine a target proportion of a target component in each pore according to the shale component of each pixel within a preset pixel range corresponding to each pore, wherein the target component is one of the organic component and the inorganic mineral component; According to the preset proportion intervals corresponding to the plurality of pore types, the pore type of each pore is determined according to the target proportion of each pore.
6. The method according to claim 5, characterized in that The target proportion of the target component in each pore is determined by: According to the shale components of each pixel within the preset pixel range corresponding to each pore, the number of target pixels belonging to the target component within the preset pixel range is determined; The ratio of the target pixel number corresponding to each pore to the total number of all pixels within the preset pixel range of each pore is used as the target proportion of the target component in each pore.
7. The method according to claim 5, characterized in that The plurality of pore types include a target pore type corresponding to the target component, a composite pore type, and a preset pore type corresponding to a preset component, wherein the preset component is the other of the organic component and the inorganic mineral component. The pore type of each pore is determined in the following way: If the target proportion of the pore belongs to the preset proportion interval corresponding to the target pore type, the pore type of the pore is the target pore type; If the target proportion of the pore belongs to the preset proportion interval corresponding to the composite pore type, the pore type of the pore is the composite pore type; If the target proportion of the pore belongs to the preset proportion interval corresponding to the preset pore type, the pore type of the pore is the preset pore type.
8. A device for determining pore type, characterized in that: The device comprises: An acquisition module, used to acquire a shale image collected by a scanning electron microscope, wherein each pixel of the shale image corresponds to a shale component to which the pixel belongs, and the shale component includes a pore component, an organic matter component and an inorganic mineral component; A first determination module, configured to determine a preset pixel range corresponding to each pore in the shale image according to the shale component of each pixel in the shale image; The second determination module is used to determine the pore type of each pore according to the shale components of each pixel within a preset pixel range corresponding to each pore.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are run by the processor, the steps of the method for determining the shale pore type in a scanning electron microscope image as described in any one of claims 1 to 7 are executed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for determining the shale pore type in a scanning electron microscope image according to any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Automatic identifying and quantitative analyzing method for organic and inorganic holes in shale electron microscope images
CN106651839A
Shale hole and organic matter identification method and device, computer equipment and storage medium
CN114429482A
Shale digital core construction method, device, equipment and medium
CN115393370A