Mineral contact relation identification method, device and equipment, medium and computer program

Through numbering, expansion calculation and seed filling of mineral scan images, the problem of identifying mineral contact relationships in the existing technology is solved, automatic identification and quantitative analysis of mineral contact relationships are realized, and the accuracy of mineral resource exploration is improved.

CN118674672APending Publication Date: 2024-09-20CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310268907.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing technology is difficult to automatically identify and quantitatively characterize mineral contact relationships, and cannot accurately determine mineral cementation types and their distribution in reservoirs, which affects the exploration and analysis of mineral resources.

Method used

Through numbering, expansion calculation and seed filling of mineral scan images, mineral contact relationship images are generated, the connected areas and contents of minerals are determined, and automatic identification and quantitative analysis of mineral contact relationships are realized.

Benefits of technology

It achieves precise identification and quantitative characterization of mineral contact relationships, provides more accurate mineral resource distribution information, and improves the technical means of geological exploration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674672A
    Figure CN118674672A
Patent Text Reader

Abstract

The invention relates to the geological exploration technology, and discloses a mineral contact relation identification method, device and equipment, a medium and a computer program.The method comprises the steps that a mineral scanning image of a target rock is obtained, pixel points in the mineral scanning image are numbered, and a mineral label graph is obtained; target minerals are sequentially selected according to the mineral label graph, binary images of the target minerals are obtained, expansion calculation is conducted on the binary images, and expansion images of the target minerals are obtained; generating an expansion selection grey-scale map according to the expansion image, and determining a connected region of each contact mineral of the target mineral through the expansion selection grey-scale map; performing seed filling on the connected region to obtain a contact mineral connected graph; determining the contact mineral relation of the target mineral according to the contact mineral connected graph and calculating the mineral content of the contact mineral; and generating the mineral contact relationship of the target rock according to the contact mineral relationship of the target mineral and the mineral content. The accuracy of the mineral contact relation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of geological prospecting technology, and in particular to a method, device, equipment, medium and computer program for identifying mineral contact relationships. Background Art

[0002] This section is intended to provide a background or context to the embodiments recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.

[0003] Mineral contact relationships are the main basis for determining the type of mineral cementation in formations, and mineral cementation types are records of geochemical environmental characteristics and material sources during the formation of reservoirs. Accurate identification and quantitative characterization of mineral contact relationships provide technical means for studying reservoir cementation types and analyzing cementing materials, and are of great significance for studying reservoir sedimentary environments and mineral resource distribution.

[0004] At present, the main technical means for studying the contact relationship of minerals include scanning electron microscopy, X-diffraction, and cathodoluminescence. Among them, scanning electron microscopy can identify voids and rock particles, but cannot identify minerals. Although X-diffraction can quantitatively identify the content of each mineral in the rock, it cannot identify the location of the minerals, and thus cannot determine the mineral cementation relationship. Cathodoluminescence can identify minerals, but the judgment of mineral contact relationships currently relies mainly on human observation, which can only be judged qualitatively and cannot be quantitatively analyzed. Therefore, how to automatically identify the contact minerals with the specified minerals, mark the location of the contact minerals, and automatically give the content of each contact mineral has an important indicative role in the exploration of mineral resources. Summary of the invention

[0005] In view of the above problems, embodiments of the present invention provide a method, apparatus, device, medium and computer program for identifying mineral contact relationships.

[0006] In a first aspect, an embodiment of the present invention provides a method for identifying mineral contact relationships, comprising:

[0007] Acquire a mineral scanning image of the target rock, number the pixel points in the mineral scanning image, and obtain a mineral number map of the target rock;

[0008] Selecting target minerals from the mineral label map in sequence to obtain a binary image of the target mineral, and performing expansion calculation on the binary image to obtain an expanded image of the target mineral;

[0009] Generate an expanded selection grayscale image of the target mineral according to the expansion image and the mineral labeling map, and determine the connected area of ​​each contacting mineral of the target mineral through the expanded selection grayscale image;

[0010] Performing seed filling on the connected area to obtain a contact mineral connection map of the target mineral;

[0011] Determining the contact mineral relationship of the target mineral according to the contact mineral connectivity map, and calculating the mineral content of the contact mineral according to the contact mineral connectivity map;

[0012] The mineral contact relationship of the target rock is generated according to the contact mineral relationship of the target mineral and the mineral content of the contact mineral.

[0013] According to an embodiment of the present invention, the step of numbering the pixel points in the mineral scanning image to obtain the mineral number map of the target rock includes:

[0014] Identify the pixel value of each pixel point in the mineral scanning image, and determine the color area of ​​each mineral in the mineral scanning image according to the pixel value;

[0015] The color area of ​​each mineral is numbered and assigned a value to obtain a mineral number map of the target rock.

[0016] According to an embodiment of the present invention, performing expansion calculation on the binary image to obtain the expansion image of the target mineral includes:

[0017] Obtaining a preset structural element, using the structural element to move the target mineral image region in the binary image, and calculating the number of pixel points intersecting between the pixel points of the structural element and the target mineral image region;

[0018] When the number of pixel points is greater than or equal to 1, the binary image pixel point where the pixel center point of the structural element is located is added to the binary image as the pixel point in the target mineral image area to obtain the expansion image of the target mineral.

[0019] According to an embodiment of the present invention, generating an enlarged selected grayscale image of the target mineral according to the expansion image and the mineral labeling map includes:

[0020] Find the mineral number and pixel value of each pixel in the dilated image in the mineral number map;

[0021] The pixel numbers and pixel values ​​of the expansion image are replaced according to the mineral numbers and the pixel values ​​to obtain an enlarged selected grayscale image of the target mineral.

[0022] According to an embodiment of the present invention, the step of performing seed filling on the connected area to obtain a contact mineral connectivity graph of the target mineral includes:

[0023] Acquire a polygonal region of the connected region in the mineral scanning image;

[0024] Selecting a target pixel point from the connected area, and performing a recursive neighborhood search from the target pixel point to the polygonal area to obtain a polygonal pixel point;

[0025] The pixel points in the polygon that are inconsistent with the target pixel points are filled with colors to obtain a contact mineral connectivity map of the target mineral.

[0026] According to an embodiment of the present invention, the step of calculating the mineral content of the contact mineral according to the contact mineral connectivity graph includes:

[0027] Performing an OR operation on the contact mineral connection graph to obtain a contact mineral binary graph;

[0028] The pixel value of each pixel point in the contact mineral binary image is summed to obtain the mineral content of the contact mineral.

[0029] In a second aspect, an embodiment of the present invention provides a mineral contact relationship identification device, characterized in that it includes:

[0030] A mineral scanning image numbering module is used to obtain a mineral scanning image of a target rock, number the pixel points in the mineral scanning image, and obtain a mineral number map of the target rock;

[0031] An expansion calculation module, used for selecting target minerals from the mineral label map in sequence to obtain a binary image of the target mineral, and performing expansion calculation on the binary image to obtain an expanded image of the target mineral;

[0032] A connected region determination module, used for generating an enlarged selected grayscale image of the target mineral according to the expansion image and the mineral labeling map, and determining a connected region of each contacting mineral of the target mineral through the enlarged selected grayscale image;

[0033] A seed filling module, used for performing seed filling on the connected area to obtain a contact mineral connection diagram of the target mineral;

[0034] A contact mineral relationship and mineral content calculation module, used to determine the contact mineral relationship of the target mineral according to the contact mineral connectivity diagram, and calculate the mineral content of the contact mineral according to the contact mineral connectivity diagram;

[0035] A mineral contact relationship generation module is used to generate the mineral contact relationship of the target rock according to the contact mineral relationship of the target mineral and the mineral content of the contact mineral.

[0036] In a third aspect, an embodiment of the present invention provides an electronic device, comprising:

[0037] processor;

[0038] a memory for storing instructions executable by the processor;

[0039] Wherein, the processor is configured to execute the instructions to implement a mineral contact relationship identification method as described in the first aspect above.

[0040] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for identifying mineral contact relationships as described in the first aspect.

[0041] In a fifth aspect, an embodiment of the present invention provides a computer program, characterized in that when the program is executed by a processor, a method for identifying mineral contact relationships as described in the first aspect is implemented.

[0042] Compared with the prior art, the above technical solution of the present invention has the following beneficial effects:

[0043] The embodiments of the present invention can number each mineral in the mineral scanning image by numbering the mineral scanning image of the target rock to achieve numbering between different minerals; by performing expansion calculation on the binary image, the image area described by the target mineral can be enlarged to obtain an expanded image of the target mineral; by performing seed filling on the connected area, the area where each contact mineral is located can be determined, and then the contact relationship between each contact mineral and the target mineral and the mineral content of each contact mineral can be determined; and then the target minerals are selected in turn, and the proportion of each contact mineral is quantitatively counted, so as to obtain a more accurate mineral contact relationship of the target rock. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0045] Figure 1 The flowchart of the mineral contact relationship identification method according to the first embodiment of the present invention is shown;

[0046] Figure 2 A schematic diagram of a mineral scanning image of a target rock according to a first embodiment of the present invention is shown;

[0047] Figure 3 A schematic diagram showing mineral labels of target rocks in Example 1 of the present invention is shown;

[0048] Figure 4 A schematic diagram of a binary image of a target mineral in Example 1 of the present invention is shown;

[0049] Figure 5 A schematic diagram of an expansion image showing expansion calculation of a binary image of a target mineral according to the first embodiment of the present invention is shown;

[0050] Figure 6 A schematic diagram of an enlarged selection grayscale image of a target mineral in Example 1 of the present invention is shown;

[0051] Figure 7 A schematic diagram of a connected region of one of the contact minerals in the enlarged selection grayscale image of the target mineral in Example 1 of the present invention is shown;

[0052] Figure 8 A schematic diagram showing a contact mineral connectivity diagram of a target mineral in Example 1 of the present invention is shown;

[0053] Fig. 9 A schematic diagram showing the contact mineral relationship of the target mineral in Example 1 of the present invention is shown;

[0054] Fig.10 A schematic diagram showing the mineral content of contact minerals of the target mineral of Example 1 of the present invention is shown;

[0055] Fig.11 A functional module diagram of a mineral contact relationship identification device according to a third embodiment of the present invention is shown;

[0056] Fig.12 A schematic diagram of the composition structure of an electronic device for implementing the mineral contact relationship identification method according to the fourth embodiment of the present invention is shown. DETAILED DESCRIPTION

[0057] The present disclosure is further described below in conjunction with the embodiments shown in the accompanying drawings.

[0058] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0059] The present invention proposes a mineral contact relationship identification method, which is based on mineral scanning images, calibrates different minerals in the mineral scanning images, and sequentially calculates the mineral contact relationships of different target minerals and the mineral content of contacting minerals, so as to obtain a more accurate mineral contact relationship of the target rock. Compared with the traditional method, the mineral contact relationship identification method makes full use of the mineral scanning images, and through color coding, particle expansion, connection judgment, area filling and image intersection operations, it can obtain the contact relationship between different minerals, and quantitatively count the mineral proportion of contacting minerals, which can solve the problem of being unable to quantitatively obtain the mineral contact relationship.

[0060] Embodiment 1

[0061] like Figure 1 As shown, the present invention proposes a method for identifying mineral contact relationships, comprising the following steps:

[0062] S1. Obtain a mineral scanning image of a target rock, and number the pixel points in the mineral scanning image to obtain a mineral number map of the target rock.

[0063] In the embodiment of the present invention, the mineral scanning image is a scanning image of a sample rock for which mineral contact relationship identification is required. The embodiment of the present invention can use a scanning electron microscope (SCANningelectron microscopy, QEMSCAN) to obtain a mineral scanning image of a target rock. Figure 2 As shown in the figure, it is a mineral scanning image of a preset target rock. QEMSCAN can use a high-energy electron beam accelerated along a preset raster scanning pattern to scan the surface of the sample rock and obtain a color map of the distribution characteristics of the mineral aggregate. Then, the pixel points in the mineral scanning image are encoded according to the color distribution of the mineral scanning image to obtain a mineral number map of the target rock.

[0064] In the embodiment of the present invention, the step of numbering the pixel points in the mineral scanning image to obtain the mineral number map of the target rock includes:

[0065] Identify the pixel value of each pixel point in the mineral scanning image, and determine the color area of ​​each mineral in the mineral scanning image according to the pixel value;

[0066] The color area of ​​each mineral is numbered and assigned a value to obtain a mineral number map of the target rock.

[0067] In the embodiment of the present invention, since different minerals in the mineral scanning image correspond to different color regions, different minerals can be marked by identifying the color regions in the scanning image and numbering them respectively, thereby identifying the mineral regions contained in the target rock. For example, Figure 3 As shown, it is a schematic diagram of the mineral numbering of the target rock. For example, in the mineral scanning image, quartz is numbered 1, albite is numbered 2, pores are numbered 0, and so on.

[0068] S2. Select target minerals from the mineral label map in sequence to obtain a binary image of the target mineral, and perform expansion calculation on the binary image to obtain an expanded image of the target mineral.

[0069] In the embodiment of the present invention, a mineral number is selected in sequence as a target mineral according to the mineral number in the mineral number map, the map of the selected target mineral is binarized to obtain a number map of the target mineral, and the number map of the target mineral is binarized again to obtain a binary image of the target mineral, such as Figure 4 Shown is a binary image of the target mineral.

[0070] In the embodiment of the present invention, the expansion is to expand the connection boundary with a pixel value of 1 in the binary image of the target mineral by one layer, so as to obtain the expanded image of the target mineral.

[0071] In the embodiment of the present invention, the step of performing expansion calculation on the binary image to obtain the expansion image of the target mineral includes:

[0072] Obtaining a preset structural element, using the structural element to move the target mineral image region in the binary image, and calculating the number of pixel points intersecting between the pixel points of the structural element and the target mineral image region;

[0073] When the number of pixel points is greater than or equal to 1, the binary image pixel point where the pixel center point of the structural element is located is added to the binary image as the pixel point in the target mineral image area to obtain the expansion image of the target mineral.

[0074] In the embodiment of the present invention, by moving a preset structural element in the binary image, when the number of intersecting pixels of the structural element and the target mineral image region is not less than 1, the binary image pixel where the pixel center of the structural element is located is added to the binary graph as the pixel of the target mineral image region, that is, the pixel value of the binary image pixel where the pixel center is located is changed to 1, thereby expanding the pixel of the target mineral image region, thereby realizing the expansion of the binary image, such as Figure 5 Shown is an expanded image of the target mineral.

[0075] In the embodiment of the present invention, the boundary of the image region where the target mineral is located in the binary image is expanded by using the structure element, thereby expanding the image region where the target mineral is located, so as to perform subsequent mineral contact relationship identification of the target mineral.

[0076] S3. Generate an enlarged selected grayscale image of the target mineral according to the expansion image and the mineral labeling map, and determine the connected area of ​​each contacting mineral of the target mineral through the enlarged selected grayscale image.

[0077] In the embodiment of the present invention, Figure 6As shown, it is a schematic diagram of the enlarged selection grayscale map of the target mineral. The enlarged selection grayscale map is to mark the target mineral area in the expanded image through the mineral label map, so that the image area where the target mineral is located in the expanded image can be mineral marked, thereby determining the mineral relationship in contact with the target mineral in the expanded image.

[0078] In the embodiment of the present invention, the step of generating the enlarged selected grayscale image of the target mineral according to the expansion image and the mineral labeling image includes:

[0079] Find the mineral number and pixel value of each pixel in the dilated image in the mineral number map;

[0080] The pixel numbers and pixel values ​​of the expansion image are replaced according to the mineral numbers and the pixel values ​​to obtain an enlarged selected grayscale image of the target mineral.

[0081] In an embodiment of the present invention, each pixel point in the expanded image is numbered accordingly through a mineral labeling map, and each pixel point in the expanded image is numbered and the pixel value is replaced to obtain a grayscale image. By exaggerating the selected grayscale image, the mineral numbers corresponding to the target mineral in the expanded image and the enlarged contact minerals can be obtained. Different contact minerals correspond to each mineral number, which is helpful in helping to identify the contact minerals of the target mineral.

[0082] In the embodiment of the present invention, the connected area of ​​each contacting mineral of the target mineral is the area connected by the pixel points of each contacting mineral of the target mineral in the expanded selected grayscale image, such as Figure 7 As shown, it is a connected area of ​​one of the contact minerals of the target mineral. The area in the expanded selected grayscale image that is connected to the minerals in contact with the target mineral by no less than one pixel point is taken as the contact mineral connected area of ​​the target mineral. Specifically, the expanded selected grayscale image may include contact mineral connected areas of multiple contact minerals, and each contact mineral may have multiple contact mineral connected areas.

[0083] In the embodiment of the present invention, the connected area between the target mineral and the contact mineral can be determined through the contact mineral connected area of ​​the target mineral, so that the mineral in contact with the target mineral can be identified according to the connected area.

[0084] S4. Perform seed filling on the connected area to obtain a contact mineral connectivity map of the target mineral.

[0085] In the embodiment of the present invention, the seed filling is a process of assigning a specified color to a point in the contact mineral connected area, and then expanding the filled color to the entire color area by filling the pixel points within its preset range. Since the contact mineral connected area represents the area in contact with the target mineral and the contact mineral, by performing seed filling on the contact mineral connected area, the entire area of ​​the contact mineral in contact with the target mineral can be obtained, thereby obtaining the contact mineral connected map of the target mineral.

[0086] In the embodiment of the present invention, the seed filling of the connected area to obtain the contact mineral connection map of the target mineral includes:

[0087] Acquire a polygonal region of the connected region in the mineral scanning image;

[0088] Selecting a target pixel point from the connected area, and performing a recursive neighborhood search from the target pixel point to the polygonal area to obtain a polygonal pixel point;

[0089] The pixel points in the polygon that are inconsistent with the target pixel points are filled with colors to obtain a contact mineral connectivity map of the target mineral.

[0090] In the embodiment of the present invention, Figure 8 As shown, by obtaining the contact mineral connectivity map of the target mineral, the area where the minerals in contact with the target mineral are located can be marked, so that the contact relationship between the minerals in contact with the target mineral can be analyzed, and the content of the contact mineral can be calculated through the entire area where the contact mineral is located, so as to obtain the accurate mineral contact relationship of the target rock.

[0091] S5. Determine the contact mineral relationship of the target mineral according to the contact mineral connectivity map, and calculate the mineral content of the contact mineral according to the contact mineral connectivity map.

[0092] In the embodiment of the present invention, all contacting minerals of the target mineral and all regions where the contacting minerals are located can be obtained through the contacting mineral connected regions, so that the contacting mineral relationship of the target mineral can be determined.

[0093] In the embodiment of the present invention, the step of calculating the mineral content of the contact mineral according to the contact mineral connectivity diagram includes:

[0094] Performing an OR operation on the contact mineral connection graph to obtain a contact mineral binary graph;

[0095] The pixel value of each pixel point in the contact mineral binary image is summed to obtain the mineral content of the contact mineral.

[0096] In the embodiment of the present invention, the contact mineral relationship between each contact mineral and the target mineral is determined through the contact mineral connectivity map, and each pixel value of the two contact mineral connectivity maps is subjected to a binary "OR" operation through an OR operation to realize image operation, and then the pixel value of each pixel point in the contact mineral binary map can be summed, and the summed value is used as the mineral content of the contact mineral, so as to obtain a more accurate mineral contact relationship, such as Fig. 9 As shown, it is a schematic diagram of the contact mineral relationship of the target mineral. The target rock is represented by black, and the contact minerals are represented by gray, which shows the contact mineral relationship of the target mineral. Fig.10 As shown, the mineral content relationship of the target mineral and the contacting minerals is represented, so that the mineral contact relationship of the target rock can be intuitively and accurately judged according to the mineral contact relationship of each target mineral.

[0097] S6. Generate the mineral contact relationship of the target rock according to the contact mineral relationship of the target mineral and the mineral content of the contact mineral.

[0098] In the embodiment of the present invention, by selecting target minerals in sequence, the contact mineral relationship of each target mineral and the content of each contact mineral can be accurately obtained, so that the contact relationship between different minerals can be obtained, and the proportion of each contact mineral can be quantitatively counted to obtain a more accurate mineral contact relationship, which can provide a technical means for subsequent geological researchers to judge the rock cementation type and determine the distribution of mineral resources.

[0099] Embodiment 2

[0100] In order to more clearly understand the present invention, a second embodiment is used below to further explain the situation in which the present invention performs seed filling on the connected area to obtain the contact mineral connection map of the target mineral.

[0101] In the embodiment of the present invention, the seed filling algorithm assumes that at least one pixel inside the polygon or region is known, and then tries to find all other pixels in the region and fill them with color, and determines the image area where the connected area is located through the connected area, thereby performing seed filling and obtaining a contact mineral connectivity map of the target mineral.

[0102] In the embodiment of the present invention, the seed filling of the connected area to obtain the contact mineral connection map of the target mineral includes:

[0103] Initialize a seed pixel point and a stack according to the connected area, add the seed pixel point as a bottom pixel of the stack to the stack, and obtain a pixel point popped out of the stack;

[0104] Filling the left and right pixels of the popped pixel with a preset color using a preset scan line until the left and right pixels are boundary pixels corresponding to the connected area, thereby obtaining a filling interval of the popped pixel;

[0105] Determine whether upper and lower adjacent pixels of the filling interval are boundary pixels or pixels that are not filled with color;

[0106] If there are non-boundary pixels and pixels that are not filled with color, the rightmost pixel of the upper and lower adjacent pixels is added to the stack as a seed pixel until the upper and lower adjacent pixels in the filling interval of the pixel popped out of the stack are all boundary pixels or pixels that are filled with color.

[0107] In an embodiment of the present invention, the initialization seed pixel point is to add any pixel point in the connected area as a seed pixel point to the bottom of the stack to extrude the pop-out pixel point, and use a preset scan line to scan the left and right pixel points of the pop-out pixel point until the boundary pixel point corresponding to the connected area is reached, and the connected area is continuously filled with color through the pop-out pixel point to ensure that the pixel points within the boundary corresponding to the connected area can be filled with color, so as to obtain the contact mineral connectivity map of the target mineral. In an embodiment of the present invention, the boundary pixel point corresponding to the connected area is the boundary pixel point of the mineral area corresponding to the connected area.

[0108] Embodiment 3

[0109] like Fig.11 As shown, this embodiment also provides a functional module diagram of a mineral contact relationship identification device.

[0110] The mineral contact relationship identification device 110 described in this embodiment can be installed in an electronic device. According to the functions to be implemented, the mineral contact relationship identification device 110 may include a mineral scanning image numbering module 111, an expansion calculation module 112, a connected area determination module 113, a seed filling module 114, a contact mineral relationship and mineral content calculation module 115, and a mineral contact relationship generation module 116. The module described in the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0111] In this embodiment, the functions of each module / unit are as follows:

[0112] The mineral scanning image numbering module 111 is used to obtain a mineral scanning image of a target rock, number the pixels in the mineral scanning image, and obtain a mineral numbering map of the target rock;

[0113] The expansion calculation module 112 is used to select target minerals from the mineral label map in sequence to obtain a binary image of the target mineral, and perform expansion calculation on the binary image to obtain an expanded image of the target mineral;

[0114] The connected region determination module 113 is used to generate an expanded selection grayscale image of the target mineral according to the expansion image and the mineral labeling map, and determine the connected region of each contacting mineral of the target mineral through the expanded selection grayscale image;

[0115] The seed filling module 114 is used to perform seed filling on the connected area to obtain a contact mineral connection diagram of the target mineral;

[0116] The contact mineral relationship and mineral content calculation module 115 is used to determine the contact mineral relationship of the target mineral according to the contact mineral connectivity diagram, and calculate the mineral content of the contact mineral according to the contact mineral connectivity diagram;

[0117] The mineral contact relationship generating module 116 is used to generate the mineral contact relationship of the target rock according to the contact mineral relationship of the target mineral and the mineral content of the contact mineral.

[0118] In detail, each module described in the mineral contact relationship identification device 110 described in the embodiment of the present invention adopts the same technical means as the mineral contact relationship identification method described in Example 1 and Example 2 when used, and can produce the same technical effect, which will not be repeated here.

[0119] Embodiment 4

[0120] like Fig.12 As shown, this embodiment also provides a computer electronic device, which may include a processor 120, a memory 121, a communication bus 122, and a communication interface 123, and may also include a computer program stored in the memory 121 and executable on the processor 120, such as a mineral contact relationship identification program.

[0121] In some embodiments, the processor 120 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 120 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 121 (for example, executes a mineral contact relationship identification program, etc.), and calls data stored in the memory 121 to execute various functions of the electronic device and process data.

[0122] The memory 121 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The memory 121 may be an internal storage unit of an electronic device in some embodiments, such as a mobile hard disk of the electronic device. The memory 121 may also be an external storage device of an electronic device in other embodiments, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 121 may also include both an internal storage unit of the electronic device and an external storage device. The memory 121 may not only be used to store application software and various types of data installed in the electronic device, such as the code of a mineral contact relationship identification program, but may also be used to temporarily store data that has been output or is to be output.

[0123] The communication bus 122 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 121 and at least one processor 120, etc.

[0124] The communication interface 123 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0125] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0126] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 120 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0127] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0128] The mineral contact relationship identification program stored in the memory 121 in the electronic device is a combination of multiple instructions. When running in the processor 120, it can achieve:

[0129] Acquire a mineral scanning image of the target rock, number the pixel points in the mineral scanning image, and obtain a mineral number map of the target rock;

[0130] Selecting target minerals from the mineral label map in sequence to obtain a binary image of the target mineral, and performing expansion calculation on the binary image to obtain an expanded image of the target mineral;

[0131] Generate an expanded selection grayscale image of the target mineral according to the expansion image and the mineral labeling map, and determine the connected area of ​​each contacting mineral of the target mineral through the expanded selection grayscale image;

[0132] Performing seed filling on the connected area to obtain a contact mineral connection map of the target mineral;

[0133] Determining the contact mineral relationship of the target mineral according to the contact mineral connectivity map, and calculating the mineral content of the contact mineral according to the contact mineral connectivity map;

[0134] The mineral contact relationship of the target rock is generated according to the contact mineral relationship of the target mineral and the mineral content of the contact mineral.

[0135] Specifically, the specific implementation method of the processor 120 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

[0136] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0137] Embodiment 5

[0138] This embodiment provides a storage medium storing a computer program. When the computer program is executed by a processor, the steps of the mineral contact relationship identification method described above are implemented.

[0139] These program codes can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 The steps of a specified function in a process or multiple processes.

[0140] Storage media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, modules of programs or other data. Examples of storage media can include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0141] Embodiment 6

[0142] A computer program, characterized in that when the computer program is executed by a processor of an electronic device, it can achieve:

[0143] Acquire a mineral scanning image of the target rock, number the pixel points in the mineral scanning image, and obtain a mineral number map of the target rock;

[0144] Selecting target minerals from the mineral label map in sequence to obtain a binary image of the target mineral, and performing expansion calculation on the binary image to obtain an expanded image of the target mineral;

[0145] Generate an expanded selection grayscale image of the target mineral according to the expansion image and the mineral labeling map, and determine the connected area of ​​each contacting mineral of the target mineral through the expanded selection grayscale image;

[0146] Performing seed filling on the connected area to obtain a contact mineral connection map of the target mineral;

[0147] Determining the contact mineral relationship of the target mineral according to the contact mineral connectivity map, and calculating the mineral content of the contact mineral according to the contact mineral connectivity map;

[0148] The mineral contact relationship of the target rock is generated according to the contact mineral relationship of the target mineral and the mineral content of the contact mineral.

[0149] A computer program is a set of instructions that a computer can recognize and execute, and runs on an electronic computer. It is written in a programming language and runs on a target architecture. In order for a computer program to run, the computer needs to load code and data. From the bottom layer of the computer, this is a high-level language (such as Java, C / C++, C#, etc.) code translated into machine language and understood by the CPU for loading. If on a computer that meets most standards, an operating system such as Windows, Linux, etc., loads and executes many programs, in this case, each program is a separate mapping, not all executable programs on the computer. A computer program refers to a coded instruction sequence that can be executed by a computer or other device with information processing capabilities in order to obtain a certain result, or a symbolic instruction sequence or symbolic statement sequence that can be automatically converted into a coded instruction sequence.

[0150] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. When the terms "include" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or their combinations.

[0151] It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or described herein.

[0152] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0153] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0154] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0155] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0156] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0157] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0158] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for identifying mineral contact relationships, characterized in that: The method comprises: Acquire a mineral scanning image of the target rock, number the pixel points in the mineral scanning image, and obtain a mineral number map of the target rock; Selecting target minerals from the mineral label map in sequence to obtain a binary image of the target mineral, and performing expansion calculation on the binary image to obtain an expanded image of the target mineral; Generate an expanded selection grayscale image of the target mineral according to the expansion image and the mineral labeling map, and determine the connected area of ​​each contacting mineral of the target mineral through the expanded selection grayscale image; Performing seed filling on the connected area to obtain a contact mineral connection map of the target mineral; Determining the contact mineral relationship of the target mineral according to the contact mineral connectivity map, and calculating the mineral content of the contact mineral according to the contact mineral connectivity map; The mineral contact relationship of the target rock is generated according to the contact mineral relationship of the target mineral and the mineral content of the contact mineral.

2. The method for identifying mineral contact relationships according to claim 1, characterized in that: The step of numbering the pixel points in the mineral scanning image to obtain the mineral number map of the target rock includes: Identify the pixel value of each pixel point in the mineral scanning image, and determine the color area of ​​each mineral in the mineral scanning image according to the pixel value; The color area of ​​each mineral is numbered and assigned a value to obtain a mineral number map of the target rock.

3. The method for identifying mineral contact relationships according to claim 1, characterized in that: The step of performing expansion calculation on the binary image to obtain the expansion image of the target mineral includes: Obtaining a preset structural element, using the structural element to move the target mineral image region in the binary image, and calculating the number of pixel points intersecting between the pixel points of the structural element and the target mineral image region; When the number of pixel points is greater than or equal to 1, the binary image pixel point where the pixel center point of the structural element is located is added to the binary image as the pixel point in the target mineral image area to obtain the expansion image of the target mineral.

4. The method for identifying mineral contact relationships according to claim 1, characterized in that: The step of generating an enlarged selected grayscale image of the target mineral according to the expansion image and the mineral labeling image comprises: Find the mineral number and pixel value of each pixel in the dilated image in the mineral number map; The pixel numbers and pixel values ​​of the expansion image are replaced according to the mineral numbers and the pixel values ​​to obtain an enlarged selected grayscale image of the target mineral.

5. The method for identifying mineral contact relationships according to claim 1, characterized in that: The seed filling of the connected area to obtain a contact mineral connection diagram of the target mineral includes: Acquire a polygonal region of the connected region in the mineral scanning image; Selecting a target pixel point from the connected area, and performing a recursive neighborhood search from the target pixel point to the polygonal area to obtain a polygonal pixel point; The pixel points in the polygon that are inconsistent with the target pixel points are filled with colors to obtain a contact mineral connectivity map of the target mineral.

6. The method for identifying mineral contact relationships according to claim 1, characterized in that: The step of calculating the mineral content of the contact mineral according to the contact mineral connectivity diagram comprises: Performing an OR operation on the contact mineral connection graph to obtain a contact mineral binary graph; The pixel value of each pixel point in the contact mineral binary image is summed to obtain the mineral content of the contact mineral.

7. A mineral contact relationship identification device, characterized in that: The device comprises: A mineral scanning image numbering module is used to obtain a mineral scanning image of a target rock, number the pixel points in the mineral scanning image, and obtain a mineral number map of the target rock; An expansion calculation module, used for selecting target minerals from the mineral label map in sequence to obtain a binary image of the target mineral, and performing expansion calculation on the binary image to obtain an expanded image of the target mineral; A connected region determination module, used for generating an enlarged selected grayscale image of the target mineral according to the expansion image and the mineral labeling map, and determining a connected region of each contacting mineral of the target mineral through the enlarged selected grayscale image; A seed filling module, used for performing seed filling on the connected area to obtain a contact mineral connection diagram of the target mineral; A contact mineral relationship and mineral content calculation module, used to determine the contact mineral relationship of the target mineral according to the contact mineral connectivity diagram, and calculate the mineral content of the contact mineral according to the contact mineral connectivity diagram; A mineral contact relationship generation module is used to generate the mineral contact relationship of the target rock according to the contact mineral relationship of the target mineral and the mineral content of the contact mineral.

8. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the mineral contact relationship identification method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, the method for identifying mineral contact relationships as described in any one of claims 1 to 6 is implemented.

10. A computer program, characterized in that When the program is executed by a processor, the mineral contact relationship identification method as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method for segmenting ore image

    CN101710424A

  • Method and device for obtaining elasticity modulus of shale

    CN107024494A

  • Image processing method, device, electronic device and computer-readable medium

    CN109410215A

  • Method and system for automatically identifying different mineral pores of shale

    CN110146533A

  • Automatoc identifiaction method and system for different mineral pores of mud shale

    GB201908212D0