An intelligent segmentation method for oil and gas geological profile images
Patent Information
- Application Number
- CN202410692256.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-31
Smart Images

Figure CN118279592B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an intelligent segmentation method for oil and gas geological profile images. Background Art
[0002] The oil and gas geological profile image is a vertical cross-section diagram cut in a certain direction of the oil and gas field. It vividly and intuitively expresses the structural structure and sedimentary laws of the stratum. It is the most intuitive and effective way to express the stratum in the vertical direction. It can clearly reflect the underground structural morphology, stratum occurrence, and contact relationship of the oil and gas field. It can also reflect the changes in lithology, physical properties, and thickness of the stratum along the profile direction. It can also indicate the spatial position of the oil and gas reservoir, that is, the distribution of oil, gas, and water. It provides an important basis for systematically analyzing regional or local reservoir geological conditions, correctly guiding the development and utilization of reservoir resources, and optimizing management.
[0003] The distribution and reserves of oil and gas resources are closely related to the geological structure. By segmenting the oil and gas geological profile images, information about different geological structures can be extracted, helping geologists understand the geological structure, lithology distribution, porosity and other characteristics of the study area, and further analyze their impact on oil and gas exploration and development.
[0004] However, since oil and gas geological profile images often contain complex and changeable geological structures, such as faults, lithology changes, and uneven porosity, these structures are intertwined and have different shapes, resulting in low accuracy in oil and gas geological profile image segmentation. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides an intelligent segmentation method for oil and gas geological profile images.
[0006] An embodiment of the present invention provides a method for intelligent segmentation of oil and gas geological profile images, the method comprising the following steps:
[0007] Collect oil and gas geological profile images;
[0008] According to the reflection intensity of the pixel points in the oil and gas geological profile image, the geological difference coefficient between any two pixel points is obtained; according to the geological difference coefficient and the Euclidean distance between the pixel points, the geological adjacency similarity index between any two pixel points is obtained; according to the reflection intensity of the pixel points, the reflection co-occurrence matrix of each geological feature analysis window in the direction of each geological feature is obtained, and according to the reflection co-occurrence matrix, the energy and contrast of each geological feature analysis window in the direction of each geological feature is obtained; according to the energy and contrast of the geological feature analysis window, the neighborhood texture difference coefficient between any two pixel points is obtained; according to the neighborhood texture difference coefficient and the LBP feature descriptor of the pixel points, the geological texture similarity index between any two pixel points is obtained; according to the geological adjacency similarity index and the geological texture similarity index, the geological structure similarity index between any two pixel points is obtained; according to the geological structure similarity index, the regional heterogeneous points and heterogeneous areas in the oil and gas geological profile image are obtained; according to the geological difference coefficient and the Euclidean distance between the regional heterogeneous points, the gradient enhancement urgency index of each heterogeneous area is obtained;
[0009] According to the gradient enhancement urgency index, the adaptive gradient operator of each pixel in each heterogeneous area is obtained, and the adaptive gradient operator is used as the gradient operator of the pixel in the heterogeneous area. Combined with the Canny edge detection algorithm, the intelligent segmentation of the oil and gas geological profile image is completed.
[0010] Further, the obtaining of the geological difference coefficient between any two pixel points includes:
[0011] Taking each pixel point in the oil and gas geological profile image as the center, a square window with a side length of a first preset length is constructed as a geological feature analysis window for each pixel point;
[0012] Calculate the absolute value of the difference between the sum of the reflection intensities of all pixels in the geological feature analysis window of the x-th pixel and the y-th pixel, and take the ratio of the absolute value of the difference to the number of pixels in the geological feature analysis window as the geological difference coefficient between the x-th pixel and the y-th pixel.
[0013] Further, the obtaining of the geological adjacency similarity index between any two pixel points includes:
[0014] Calculate the Euclidean distance between the x-th pixel and the y-th pixel, calculate the product of the Euclidean distance and the geological difference coefficient between the x-th pixel and the y-th pixel, and use the calculation result of an exponential function with a natural constant as the base and the negative value of the product as the exponent as the geological adjacency similarity index between the x-th pixel and the y-th pixel.
[0015] Further, the step of obtaining a reflection co-occurrence matrix of each geological feature analysis window in the direction of each geological feature, and obtaining energy and contrast of each geological feature analysis window in the direction of each geological feature according to the reflection co-occurrence matrix, includes:
[0016] Normalize the reflection intensity of all pixels in the oil and gas geological profile image, and arrange the normalized reflection intensity from small to large and evenly divide it into N reflection orders, where N is a preset order;
[0017] For each geological analysis window, the reflection order of the normalized reflection intensity of each pixel point in the geological analysis window is obtained, and the number of adjacent occurrences of the p-th reflection order and the q-th reflection order in the geological analysis window in the preset geological feature direction is taken as the element of the p-th row and q-th column in the reflection co-occurrence matrix in the preset geological feature direction;
[0018] For the reflection symbiosis matrix in each preset geological feature direction, the sum of the squares of all element values in the reflection symbiosis matrix is used as the energy of the geological feature analysis window of the reflection symbiosis matrix in each preset geological feature direction;
[0019] For each element in the reflection co-occurrence matrix in each preset geological feature direction, the square of the difference between the row number and the column number of the element is calculated and recorded as the first square, the product of the element value and the first square is calculated, and the sum of the products of all elements in the reflection co-occurrence matrix is used as the contrast of the geological feature analysis window of the reflection co-occurrence matrix in each preset geological feature direction.
[0020] Further, the obtaining of the neighborhood texture difference coefficient between any two pixel points includes:
[0021] The absolute value of the difference between the contrast of the geological feature analysis window of the x-th pixel point and the y-th pixel point in the preset geological feature direction is calculated as the first absolute value of the difference, the absolute value of the difference between the energy of the geological feature analysis window of the x-th pixel point and the y-th pixel point in the preset geological feature direction is calculated as the second absolute value of the difference, the sum of the first absolute value of the difference and the second absolute value of the difference is calculated, and the sum of the sum values in all preset geological feature directions between the x-th pixel point and the y-th pixel point is used as the neighborhood texture difference coefficient between the x-th pixel point and the y-th pixel point.
[0022] Further, the obtaining of the geological texture similarity index between any two pixel points includes:
[0023] Calculate the result of an exponential function with a natural constant as the base and a negative value of a neighborhood texture difference coefficient between any two pixel points as the exponent;
[0024] The Hamming distance between the LBP feature descriptors of any two pixels is calculated, and the ratio of the calculation result to the Hamming distance is used as the geological texture similarity index between any two pixels.
[0025] Further, the obtaining of the geological structure similarity index between any two pixel points includes:
[0026] The normalized value of the product of the geological adjacency similarity index and the geological texture similarity index between any two pixels is taken as the geological structure similarity index between any two pixels.
[0027] Further, the obtaining of regional heterogeneous points and heterogeneous regions in the oil and gas geological profile image includes:
[0028] Taking each pixel point as the center, constructing a square window with a side length of a second preset length as a heterogeneous screening analysis window for each pixel point;
[0029] The average value of the geological structure similarity index between each pixel point and all the pixels in its heterogeneous screening analysis window is recorded as the regional symbolic index of each pixel point, and the pixel point whose regional symbolic index is less than the preset symbolic threshold is regarded as a regional heterogeneous point;
[0030] The ratio of the number of regional heterogeneous points in the oil and gas geological profile image to the number 10 is rounded down as the cluster number of the Euclidean distance clustering algorithm. The Euclidean distance clustering algorithm is used to cluster the regional heterogeneous points to obtain various heterogeneous clusters, and the minimum circumscribed rectangle of the area where each heterogeneous cluster in the oil and gas geological profile image is located is recorded as the heterogeneous area.
[0031] Further, the step of obtaining the gradient enhancement urgency index of each heterogeneous region includes:
[0032] The average value of the geological difference coefficient between each regional heterogeneous point and all the pixel points in the geological feature analysis window is recorded as the geological differentiation index of each regional heterogeneous point, and the Euclidean distance between each regional heterogeneous point and the center point of the heterogeneous region is recorded as the heterogeneous centrifugal distance of each regional heterogeneous point;
[0033] For each heterogeneous region, the sum of the geological differentiation indexes of all regional heterogeneous points in the heterogeneous region is calculated as the first sum, the ratio of the standard deviation of the heterogeneous centrifugal distances of all regional heterogeneous points in the heterogeneous region to the first sum is calculated as the first ratio, the calculation result of an exponential function with a natural constant as the base and the negative value of the first ratio as the exponent is calculated, the difference between number 1 and the calculation result is calculated as the third difference, and the product of number 2 and the third difference is used as the gradient enhancement urgency index of each heterogeneous region.
[0034] Further, the step of obtaining an adaptive gradient operator for each pixel point in each heterogeneous region includes:
[0035] The product of the rounded-down value of the gradient enhancement urgency index of each heterogeneous region and the preset original gradient operator is used as the adaptive gradient operator of each pixel point in each heterogeneous region.
[0036] The present invention has at least the following beneficial effects:
[0037] First, the similarity of reflection intensity between pixels in oil and gas geological profile images is analyzed, and the geological difference coefficient and geological adjacency similarity index are calculated. Then, the similarity of texture features between pixels in oil and gas geological profile images is analyzed, and the geological texture similarity index is calculated. The similarity of reflection intensity and texture features around the pixel points is comprehensively considered, and the geological adjacency similarity index is combined to determine the geological structure similarity index, which is used to measure the similarity of geological features between two pixel points, thereby improving the reliability of the assessment of geological feature similarity. Since the geological features of pixels at the boundary of the stratigraphic structure are different from those of the surrounding areas, in order to divide the stratigraphic structure, it is necessary to first screen out pixels with large differences in geological features from the surrounding areas. According to the geological structure similarity index between pixels in the oil and gas geological profile images, regional heterogeneous points and heterogeneous areas are determined, and only heterogeneous points are subsequently screened. The gradient operator of pixel points in the heterogeneous area is adaptively adjusted to improve the efficiency of stratigraphic structure segmentation in oil and gas geological profile images; pixel points on the edge of the stratigraphic structure often present a linear distribution, while pixel points in the impurity area inside the stratigraphic structure are often distributed in patches. The distribution characteristics of heterogeneous points in all regions of the heterogeneous area are analyzed, and the gradient enhancement urgency index of each heterogeneous area is calculated. The gradient enhancement urgency index is used to enhance or reduce the sensitivity of the gradient operator to the change of reflection intensity on the basis of the original gradient operator, thereby avoiding interference with the segmentation of the stratigraphic structure caused by the impurity area. At the same time, the boundary line of the stratigraphic structure with blurred edges is segmented, which improves the accuracy of stratigraphic structure segmentation in oil and gas geological profile images and solves the problem of low accuracy of oil and gas geological profile image segmentation due to the complex and changeable geological structure in oil and gas geological profile images. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are 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.
[0039] Figure 1 A flow chart of an intelligent segmentation method for oil and gas geological profile images provided by the present invention;
[0040] Figure 2 It is the segmented oil and gas geological profile image;
[0041] Figure 3 Get the schematic for the adaptive gradient operator. DETAILED DESCRIPTION
[0042] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the intelligent segmentation method of oil and gas geological profile images proposed by the present invention, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0043] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0044] The specific scheme of the intelligent segmentation method of oil and gas geological profile images provided by the present invention is described in detail below with reference to the accompanying drawings.
[0045] An embodiment of the present invention provides an intelligent segmentation method for oil and gas geological profile images. Specifically, the following intelligent segmentation method for oil and gas geological profile images is provided. Figure 1 , the method comprises the following steps:
[0046] Step S001, collecting oil and gas geological profile images.
[0047] The usage method and principle of ground penetrating radar is to transmit high-frequency electromagnetic waves into the underground through the transmitting antenna, and receive the electromagnetic waves reflected back to the ground through the receiving antenna. When the electromagnetic waves propagate in the underground medium and encounter an interface with electrical differences, they are reflected. The spatial position, structure, morphology and burial depth of the underground medium are inferred based on the waveform, amplitude intensity and time change characteristics of the received electromagnetic waves.
[0048] The ground penetrating radar is moved along the preset ground penetrating radar side line in the area to be measured to obtain radar records on the entire profile and obtain the oil and gas geological profile image. The pixel value of each pixel point in the oil and gas geological profile image is the reflection intensity of the ground penetrating radar at the corresponding position.
[0049] Step S002, based on the oil and gas geological profile image, calculate the geological difference coefficient, geological adjacency similarity index, geological texture similarity index, obtain the geological structure similarity index, determine the regional heterogeneous points and heterogeneous areas, and calculate the gradient enhancement urgency index of each heterogeneous area.
[0050] Oil and gas reservoirs are the basic units of oil and gas accumulation and the objects of oil and gas exploration. Oil and natural gas are in a dispersed state in the early stages of their formation and exist in oil and gas-generating strata. Only after migration and accumulation can they form industrial oil and gas reservoirs that can be exploited. Different stratigraphic structures will be formed during the formation of oil and gas reservoirs.
[0051] In order to improve the accuracy of oil and gas geological profile image segmentation, for each pixel point in the oil and gas geological profile image, a segment with a side length of The geological feature analysis window is used to analyze the geological features around each pixel. The value is 13.
[0052] During the geological history, various geological products formed by various geological actions, such as various rock masses, various types of rocks, various types of geological structures, and various residual organic bodies contained in the strata, are called geological bodies. The genetic characteristics of different geological bodies can be reflected in their material composition, morphological characteristics and spatial distribution. Since the geological bodies of the same stratigraphic structure are the same and have similar reflection levels, in order to preliminarily divide different stratigraphic structures, the geological adjacency similarity index between two pixels is expressed as follows based on the reflection intensity of the pixel points and the Euclidean distance between the pixel points:
[0053] ;
[0054] ;
[0055] in, Pixel and pixels The geological adjacency similarity index between is an exponential function with a natural constant as base, Pixel and pixels The Euclidean distance between Pixel and pixels The geological difference coefficient between Pixel The geological characteristics analysis window The reflection intensity of each pixel, Pixel The geological characteristics analysis window The reflection intensity of each pixel, The total number of pixels within the analysis window for each geological feature.
[0056] When the difference in reflection intensity of the pixel points in the geological feature analysis window of two pixel points is greater, it means that the difference in geological characteristics around the two pixel points is greater, and it is more likely that they belong to different stratigraphic structures. The larger the value of the geological difference coefficient, the smaller the value of the geological adjacency similarity index; when the Euclidean distance between two pixel points is smaller, it means that the distance between the two pixel points is closer, and it is more likely that they belong to the same stratigraphic structure, and the value of the geological adjacency similarity index is larger.
[0057] Adjacent strata may be separated by obvious layers or sedimentary discontinuities, or by some less obvious boundaries. In order to avoid classifying different stratigraphic structures with similar reflection intensities and fuzzy boundaries as the same stratigraphic structure, the similarity of texture features around pixel points is analyzed.
[0058] In order to reduce the amount of calculation, the reflection intensity of all pixels in the oil and gas geological profile image is normalized, and the normalized reflection intensity is arranged from small to large and evenly divided into Reflection order, in this embodiment, the value of N is 10, and the geological feature analysis window is constructed in the geological feature direction set The reflection co-occurrence matrix in each direction, the matrix elements in the reflection co-occurrence matrix Indicates the internal direction of the geological feature analysis window Previous The reflection order and The number of times that the reflection order appears adjacently, in this embodiment, the geological feature direction set The geological feature directions in the include 0 degrees, 45 degrees, 90 degrees, and 135 degrees. According to the geological feature analysis window, the geological feature direction is set The reflection co-occurrence matrix in each direction is used to calculate the geological feature analysis window in the direction Energy on And contrast .
[0059] Comprehensively analyze the local texture features and regional texture features of the pixel points, and gather the LBP feature descriptors of the pixel points and the geological feature analysis window in the geological feature direction. The contrast and energy in each direction are combined with the geological adjacency similarity index between two pixels to express the geological structure similarity index between two pixels as follows:
[0060] ;
[0061] ;
[0062] ;
[0063] in, Pixel and pixels The geological structure similarity index between is the normalization function, Pixel and pixels The geological adjacency similarity index between Pixel and pixels The geological texture similarity index between Pixel and pixels The neighborhood texture difference coefficient between is an exponential function with a natural constant as base, Represents pixel and pixels The Hamming distance between the LBP feature descriptors, , Pixels The geological characteristics analysis window is in the direction The contrast and energy on is the set of geological feature directions, , Pixels The geological characteristics analysis window is in the direction Contrast and energy on.
[0064] When the contrast and energy of the geological feature analysis windows of two pixels in all directions are closer, it means that the texture features in the area where the two pixels are located are more similar, the neighborhood texture difference coefficient value is smaller, and the geological texture similarity index value is larger; when the Hamming distance between the LBP feature descriptors of two pixels is smaller, it means that the texture features around the two pixels are more similar, and the geological texture similarity index value is larger.
[0065] When the geological texture similarity index of two pixels is larger and the geological adjacency similarity index is larger, it means that the geological characteristics of the two pixels are more similar, and they are more likely to be in the same stratigraphic structure, and the geological structure similarity index value is larger.
[0066] Since the pixels at the boundary of the stratigraphic structure have different geological characteristics from those in the surrounding area, in order to divide the stratigraphic structure, it is necessary to first filter out the pixels that have large differences in geological characteristics from the surrounding area. The heterogeneous screening analysis window is used to analyze the geological characteristics around each pixel. The value is 30.
[0067] The average value of the geological structure similarity index between each pixel and all pixels in its heterogeneous screening analysis window is recorded as the regional symbolic index of each pixel. The pixel points are taken as regional heterogeneous points, and the number of clusters of the Euclidean distance clustering algorithm is set to , the Euclidean distance clustering algorithm is used to cluster the regional heterogeneous points and obtain heterogeneous clusters, where is the floor function, The number of heterogeneous points in the region is represented by the Euclidean distance clustering algorithm, which is a well-known technique and will not be described in detail in this embodiment. The smallest circumscribed rectangle of the region where each heterogeneous cluster is located in the oil and gas geological profile image is recorded as the heterogeneous region. In this embodiment, the symbolic threshold The value is 0.5.
[0068] Since oil and gas reservoirs are formed under the long-term influence of history, they may be affected by various factors during the long-term formation process of oil and gas reservoirs, resulting in impurities in the stratigraphic structures of the oil and gas reservoirs. Therefore, pixels with large differences in geological characteristics from the surrounding areas may be pixels on the edge of the stratigraphic structure or impurities mixed into the stratigraphic structure.
[0069] The pixel points on the edge of the stratigraphic structure often present a linear distribution, while the pixel points in the impurity area inside the stratigraphic structure are often distributed in patches. In order to avoid the adverse effects of impurities in the oil and gas reservoir on the segmentation of the stratigraphic structure and improve the accuracy of stratigraphic structure segmentation, the distribution characteristics of heterogeneous points in all regions of the heterogeneous region are analyzed to obtain the gradient enhancement urgency index, which is used to determine the sensitivity of the enhanced gradient operator to changes in reflection intensity.
[0070] The average value of the geological difference coefficient between each regional heterogeneous point and all the pixel points in its geological feature analysis window is recorded as the geological differentiation index of each regional heterogeneous point. The Euclidean distance between each regional heterogeneous point and the center point of the heterogeneous region to which it belongs is recorded as the heterogeneous centrifugal distance of each regional heterogeneous point. According to the heterogeneous centrifugal distances of all regional heterogeneous points in each heterogeneous region, the gradient enhancement urgency index of each heterogeneous region is expressed as follows:
[0071] ;
[0072] in, Indicates The gradient enhancement urgency index of heterogeneous regions, Indicates The standard deviation of the heterogeneous centrifugal distances of all the heterogeneous points in the heterogeneous region, Indicates The number of regional heterogeneous points in a heterogeneous region, Indicates In the heterogeneous region The geological differentiation index of regional heterogeneous points.
[0073] When the standard deviation of the heterogeneous centrifugal distances of all regional heterogeneous points in the heterogeneous cluster is smaller, and the geological differentiation index of the regional heterogeneous points is larger, it means that the difference in the Euclidean distances between the regional heterogeneous points in the heterogeneous region and the center point of the heterogeneous region to which they belong is smaller, and the difference in reflection intensity with the surrounding area is larger, and the more likely it is that the impurities are distributed in patches inside the stratigraphic structure. In order to avoid the interference of the impurity area on the segmentation of the stratigraphic structure, the sensitivity of the gradient operator to the change of reflection intensity should be reduced, and the gradient enhancement urgency index value is smaller; when the standard deviation of the heterogeneous centrifugal distances of all regional heterogeneous points in the heterogeneous cluster is larger, and the geological differentiation index of the regional heterogeneous points is smaller, it means that the difference in the Euclidean distances between the regional heterogeneous points in the heterogeneous region and the center point of the heterogeneous region to which they belong is larger, and the difference in reflection intensity with the surrounding area is smaller, and the more likely it is that the stratigraphic structure boundary line with similar reflection intensity and blurred edges is more likely. In order to segment the boundary line of the stratigraphic structure with blurred edges, the sensitivity of the gradient operator to the change of reflection intensity should be increased, and the gradient enhancement urgency index value is larger.
[0074] Step S003, according to the gradient enhancement urgency index of each heterogeneous region, the gradient operator of all pixel points in the oil and gas geological profile image is obtained, and the stratigraphic structure in the oil and gas geological profile image is intelligently segmented using the canny edge detection operator.
[0075] According to the gradient enhancement urgency index of each heterogeneous region, the adaptive gradient operator of the pixel point in each heterogeneous region is expressed as follows:
[0076] ;
[0077] in, For the The adaptive gradient operator of each pixel in the heterogeneous region, is the floor function, Indicates The gradient enhancement urgency index of heterogeneous regions, is the original gradient operator, and the sobel gradient operator is used in this embodiment. The schematic diagram of obtaining the adaptive gradient operator is shown in FIG. Figure 3 shown.
[0078] The value range of gradient enhancement urgency index is 0 to 2. The adaptive gradient operator of the pixel points in each heterogeneous area is used as the gradient operator for edge detection, and the original gradient operator is used as the gradient operator for the pixel points in other areas except the heterogeneous area. The canny edge detection algorithm is used to perform edge detection on the oil and gas geological profile image to realize the intelligent segmentation of the stratigraphic structures in the oil and gas geological profile image.
[0079] When the gradient enhancement urgency index is less than 1, the sensitivity of the gradient operator to the change of reflection intensity is reduced on the basis of the original gradient operator, thereby avoiding the interference of the impurity area on the segmentation of the stratum structure; when the gradient enhancement urgency index is greater than 1, the sensitivity of the gradient operator to the change of reflection intensity is enhanced on the basis of the original gradient operator, thereby segmenting the boundary line of the stratum structure with blurred edges, further improving the accuracy of the stratum structure segmentation in the oil and gas geological profile image. The segmented oil and gas geological profile image is shown in the figure below. Figure 2 shown.
[0080] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0081] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0082] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Modifications to the technical solutions recorded in the aforementioned embodiments, or equivalent replacement of some of the technical features therein, do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for intelligent segmentation of oil and gas geological profile images, characterized in that: The method comprises the following steps: Collect oil and gas geological profile images; According to the reflection intensity of the pixel points in the oil and gas geological profile image, the geological difference coefficient between any two pixel points is obtained; according to the geological difference coefficient and the Euclidean distance between the pixel points, the geological adjacency similarity index between any two pixel points is obtained; according to the reflection intensity of the pixel points, the reflection co-occurrence matrix of each geological feature analysis window in the direction of each geological feature is obtained, and according to the reflection co-occurrence matrix, the energy and contrast of each geological feature analysis window in the direction of each geological feature is obtained; according to the energy and contrast of the geological feature analysis window, the neighborhood texture difference coefficient between any two pixel points is obtained; according to the neighborhood texture difference coefficient and the LBP feature descriptor of the pixel points, the geological texture similarity index between any two pixel points is obtained; according to the geological adjacency similarity index and the geological texture similarity index, the geological structure similarity index between any two pixel points is obtained; according to the geological structure similarity index, the regional heterogeneous points and heterogeneous areas in the oil and gas geological profile image are obtained; according to the geological difference coefficient and the Euclidean distance between the regional heterogeneous points, the gradient enhancement urgency index of each heterogeneous area is obtained; According to the gradient enhancement urgency index, the adaptive gradient operator of each pixel point in each heterogeneous area is obtained, and the adaptive gradient operator is used as the gradient operator of the pixel points in the heterogeneous area, combined with the canny edge detection algorithm to complete the intelligent segmentation of the oil and gas geological profile image; The step of obtaining the geological difference coefficient between any two pixel points includes: Taking each pixel point in the oil and gas geological profile image as the center, a square window with a side length of a first preset length is constructed as a geological feature analysis window for each pixel point; Calculate the absolute value of the difference between the sum of the reflection intensities of all pixels in the geological feature analysis window of the x-th pixel point and the y-th pixel point, and use the ratio of the absolute value of the difference to the number of pixels in the geological feature analysis window as the geological difference coefficient between the x-th pixel point and the y-th pixel point; The step of obtaining the reflection co-occurrence matrix of each geological feature analysis window in the direction of each geological feature includes: Normalize the reflection intensity of all pixels in the oil and gas geological profile image, and arrange the normalized reflection intensity from small to large and evenly divide it into N reflection orders, where N is a preset order; For each geological analysis window, the reflection order of the normalized reflection intensity of each pixel point in the geological analysis window is obtained, and the number of adjacent occurrences of the p-th reflection order and the q-th reflection order in the geological analysis window in the preset geological feature direction is taken as the element of the p-th row and q-th column in the reflection co-occurrence matrix in the preset geological feature direction; The step of obtaining the gradient enhancement urgency index of each heterogeneous region includes: The average value of the geological difference coefficient between each regional heterogeneous point and all the pixel points in the geological feature analysis window is recorded as the geological differentiation index of each regional heterogeneous point, and the Euclidean distance between each regional heterogeneous point and the center point of the heterogeneous region is recorded as the heterogeneous centrifugal distance of each regional heterogeneous point; For each heterogeneous region, the sum of the geological differentiation indexes of all regional heterogeneous points in the heterogeneous region is calculated as the first sum, the ratio of the standard deviation of the heterogeneous centrifugal distances of all regional heterogeneous points in the heterogeneous region to the first sum is calculated as the first ratio, the calculation result of an exponential function with a natural constant as the base and the negative value of the first ratio as the exponent is calculated, the difference between number 1 and the calculation result is calculated as the third difference, and the product of number 2 and the third difference is used as the gradient enhancement urgency index of each heterogeneous region.
2. The intelligent segmentation method for oil and gas geological profile images according to claim 1, characterized in that: The obtaining of the geological adjacency similarity index between any two pixel points includes: Calculate the Euclidean distance between the x-th pixel and the y-th pixel, calculate the product of the Euclidean distance and the geological difference coefficient between the x-th pixel and the y-th pixel, and use the calculation result of an exponential function with a natural constant as the base and the negative value of the product as the exponent as the geological adjacency similarity index between the x-th pixel and the y-th pixel.
3. The intelligent segmentation method for oil and gas geological profile images according to claim 1, characterized in that: The step of obtaining the energy and contrast of each geological feature analysis window in the direction of each geological feature according to the reflection co-occurrence matrix includes: For the reflection symbiosis matrix in each preset geological feature direction, the sum of the squares of all element values in the reflection symbiosis matrix is used as the energy of the geological feature analysis window of the reflection symbiosis matrix in each preset geological feature direction; For each element in the reflection co-occurrence matrix in each preset geological feature direction, the square of the difference between the row number and the column number of the element is calculated and recorded as the first square, the product of the element value and the first square is calculated, and the sum of the products of all elements in the reflection co-occurrence matrix is used as the contrast of the geological feature analysis window of the reflection co-occurrence matrix in each preset geological feature direction.
4. The intelligent segmentation method for oil and gas geological profile images according to claim 1, characterized in that: The obtaining of the neighborhood texture difference coefficient between any two pixel points includes: The absolute value of the difference between the contrast of the geological feature analysis window of the x-th pixel point and the y-th pixel point in the preset geological feature direction is calculated as the first absolute value of the difference, the absolute value of the difference between the energy of the geological feature analysis window of the x-th pixel point and the y-th pixel point in the preset geological feature direction is calculated as the second absolute value of the difference, the sum of the first absolute value of the difference and the second absolute value of the difference is calculated, and the sum of the sum values in all preset geological feature directions between the x-th pixel point and the y-th pixel point is used as the neighborhood texture difference coefficient between the x-th pixel point and the y-th pixel point.
5. The intelligent segmentation method for oil and gas geological profile images according to claim 1, characterized in that: The obtaining of the geological texture similarity index between any two pixel points includes: Calculate the result of an exponential function with a natural constant as the base and a negative value of a neighborhood texture difference coefficient between any two pixel points as the exponent; The Hamming distance between the LBP feature descriptors of any two pixels is calculated, and the ratio of the calculation result to the Hamming distance is used as the geological texture similarity index between any two pixels.
6. The intelligent segmentation method for oil and gas geological profile images according to claim 1, characterized in that: The obtaining of the geological structure similarity index between any two pixel points includes: The normalized value of the product of the geological adjacency similarity index and the geological texture similarity index between any two pixels is taken as the geological structure similarity index between any two pixels.
7. The intelligent segmentation method for oil and gas geological profile images according to claim 1, characterized in that: The method of obtaining regional heterogeneous points and heterogeneous regions in the oil and gas geological profile image includes: Taking each pixel point as the center, constructing a square window with a side length of a second preset length as a heterogeneous screening analysis window for each pixel point; The average value of the geological structure similarity index between each pixel point and all the pixels in its heterogeneous screening analysis window is recorded as the regional symbolic index of each pixel point, and the pixel point whose regional symbolic index is less than the preset symbolic threshold is regarded as a regional heterogeneous point; The ratio of the number of regional heterogeneous points in the oil and gas geological profile image to the number 10 is rounded down as the cluster number of the Euclidean distance clustering algorithm. The Euclidean distance clustering algorithm is used to cluster the regional heterogeneous points to obtain various heterogeneous clusters, and the minimum circumscribed rectangle of the area where each heterogeneous cluster in the oil and gas geological profile image is located is recorded as the heterogeneous area.
8. The intelligent segmentation method for oil and gas geological profile images according to claim 1, characterized in that: The step of obtaining an adaptive gradient operator for each pixel point in each heterogeneous region includes: The product of the rounded-down value of the gradient enhancement urgency index of each heterogeneous region and the preset original gradient operator is used as the adaptive gradient operator of each pixel point in each heterogeneous region.
