Texture segmentation and enhancement method and system for seismic profile image

Through multi-level texture segmentation and texture enhancement methods, the problem of texture blur in seismic profile images is solved, the clarity and interpretation accuracy of the image are improved, and it is suitable for underground resource assessment and disaster prediction.

CN118711207AActive Publication Date: 2024-09-27XI'AN PETROLEUM UNIVERSITY

Patent Information

Application Number
CN202411180011.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-09-27
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

Seismic profile images are affected by external noise during the generation process, resulting in texture blur and interruption, which affects the interpretation of stratigraphic profile information such as geological faults.

Method used

A multi-level texture segmentation method is adopted, including preprocessing, multiple texture segmentation algorithms and machine learning models. Secondary segmentation is performed through a weight calculation unit and an image segmentation unit. Combined with gray value variance and clustering algorithms, a texture enhancement model is generated to improve The texture clarity of the image.

Benefits of technology

It significantly improves the clarity and recognizability of texture information in seismic profile images, enhances the clarity and reliability of geological structures, and improves the accuracy and efficiency of geological interpretation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118711207A
    Figure CN118711207A
Patent Text Reader

Abstract

The invention relates to a texture segmentation and enhancement method for a seismic profile image, and relates to the technical field of image processing, and the method comprises the steps: carrying out the preprocessing of the seismic profile image, and obtaining a preprocessed seismic profile image; performing first texture segmentation on the preprocessed seismic profile image through a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results; performing second texture segmentation on the preprocessed seismic profile image based on the plurality of first texture segmentation results through a texture segmentation model to obtain a second texture segmentation result; based on a second texture segmentation result, obtaining a plurality of segmentation sub-graphs; and for each segmented sub-image, based on the texture features of the segmented sub-image, determining a texture enhancement model corresponding to the segmented sub-image, and performing texture enhancement on the segmented sub-image through the texture enhancement model corresponding to the segmented sub-image, so that the method has the advantages of improving the definition and identifiability of texture information in the seismic profile image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a texture segmentation and enhancement method and system for seismic profile images. Background Art

[0002] Seismic profile images have distinct texture characteristics, with different textures representing distinct geological bodies. This is crucial for interpreting stratigraphic information, such as faults. However, during the generation of seismic profile images, the acquired seismic data is often affected by external noise, and Gaussian random noise generated during seismic data processing can blur the texture of the seismic profile image and even cause texture discontinuities, interfering with subsequent image interpretation.

[0003] Therefore, it is necessary to provide a texture segmentation and enhancement method and system for seismic profile images to improve the clarity and recognizability of texture information in seismic profile images. Summary of the Invention

[0004] The present invention provides a texture segmentation and enhancement method for a seismic profile image, comprising: preprocessing the seismic profile image to obtain a preprocessed seismic profile image; performing a first texture segmentation on the preprocessed seismic profile image using a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results; performing a second texture segmentation on the preprocessed seismic profile image based on the plurality of first texture segmentation results using a texture segmentation model to obtain a second texture segmentation result; obtaining a plurality of segmentation sub-images based on the second texture segmentation results; for each segmentation sub-image, determining a texture enhancement model corresponding to the segmentation sub-image based on the texture features of the segmentation sub-image, and performing texture enhancement on the segmentation sub-image using the texture enhancement model corresponding to the segmentation sub-image.

[0005] Furthermore, the preprocessed seismic profile image is subjected to a first texture segmentation through a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results, including: evenly dividing the preprocessed seismic profile image into a plurality of first sub-images; for each of the first sub-images, calculating the grayscale value variance of the first sub-image based on the grayscale value of each pixel included in the first sub-image; when the grayscale value variance of the first sub-image is greater than the grayscale value variance threshold, calculating the secondary segmentation size corresponding to the first sub-image based on the grayscale value variance of the first sub-image; dividing the first sub-image into a plurality of second sub-images based on the secondary segmentation size corresponding to the first sub-image; when the grayscale value variance of the first sub-image is less than or equal to the grayscale value variance threshold, using the first sub-image as the second sub-image; for each of the second sub-images, calculating the grayscale value variance and grayscale value mean of the second sub-image based on the grayscale value of each pixel included in the second sub-image; clustering the plurality of second sub-images based on the grayscale value variance and grayscale value mean of each second sub-image through a clustering algorithm to obtain a first texture segmentation result.

[0006] Furthermore, the preprocessed seismic profile image is subjected to a first texture segmentation through a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results, including: for each pixel included in the preprocessed seismic profile image, the adjacent pixels of the pixel are determined, and based on the grayscale values ​​of the adjacent pixels, the grayscale value variance of the adjacent pixels and the grayscale value mean of the adjacent pixels of the pixel are calculated; the pixels included in the preprocessed seismic profile image are clustered based on the grayscale value variance of the adjacent pixels and the grayscale value mean of the adjacent pixels of each pixel through a clustering algorithm to obtain a first texture segmentation result.

[0007] Furthermore, the preprocessed seismic profile image is subjected to a first texture segmentation through a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results, including: for each of the second sub-images, based on the grayscale value of each pixel included in the second sub-image, constructing a grayscale value matrix corresponding to the second sub-image, generating a one-dimensional row-direction grayscale value vector and a one-dimensional column-direction grayscale value vector based on the grayscale value matrix corresponding to the second sub-image, performing empirical mode decomposition on the one-dimensional row-direction grayscale value vector to generate a row-direction intrinsic mode function and a row-direction residual, performing empirical mode decomposition on the one-dimensional column-direction grayscale value vector to generate a column-direction intrinsic mode function and a column-direction residual; clustering the plurality of second sub-images based on the row-direction intrinsic mode function, row-direction residual, column-direction intrinsic mode function and column-direction residual of each second sub-image through a clustering algorithm to obtain a first texture segmentation result.

[0008] Furthermore, the texture segmentation model includes a weight calculation unit and an image segmentation unit, wherein the weight calculation unit is used to calculate the weight of each of the first texture segmentation results based on the image features of the preprocessed seismic profile image, and the image segmentation unit is used to perform a second texture segmentation on the preprocessed seismic profile image based on the multiple first texture segmentation results and the weight of each first texture segmentation result to obtain a second texture segmentation result.

[0009] Furthermore, the weight calculation unit includes an input layer, multiple feature extraction layers, a multi-head self-attention mechanism layer, a residual connection, a normalization layer, a fully connected layer and an output layer.

[0010] Furthermore, the method also includes: obtaining multiple sample sub-images; determining the texture features of each of the sample sub-images; clustering the multiple sample sub-images based on the texture features of each of the sample sub-images to determine multiple sub-image clusters; for each sub-image cluster, establishing a texture enhancement model corresponding to the sub-image cluster, and training the texture enhancement model corresponding to the sub-image cluster based on the multiple sample sub-images included in the sub-image cluster.

[0011] Furthermore, based on the texture features of the segmented sub-image, a texture enhancement model corresponding to the segmented sub-image is determined, including: determining a target sub-image cluster based on the texture features of the segmented sub-image; and using the texture enhancement model corresponding to the target sub-image cluster as the texture enhancement model corresponding to the segmented sub-image.

[0012] Furthermore, based on the texture features of the segmented sub-images, a target sub-image cluster is determined, including: for each sub-image cluster, based on a plurality of sample sub-images included in the sub-image cluster, a cluster texture feature is determined; similarity between the texture features of the segmented sub-image and each of the cluster texture features is calculated; based on the similarity between the texture features of the segmented sub-image and each of the cluster texture features, a target sub-image cluster is determined from the plurality of sub-image clusters.

[0013] The present invention provides a texture segmentation and enhancement system for seismic profile images, which is used to execute a texture segmentation and enhancement method for seismic profile images, including: a preprocessing module, used to preprocess the seismic profile image to obtain a preprocessed seismic profile image; a texture segmentation module, used to perform a first texture segmentation on the preprocessed seismic profile image using multiple texture segmentation algorithms to obtain multiple first texture segmentation results, and also used to perform a second texture segmentation on the preprocessed seismic profile image based on the multiple first texture segmentation results using a texture segmentation model to obtain a second texture segmentation result, and obtain multiple segmentation sub-images based on the second texture segmentation results; a texture enhancement module, used to determine, for each segmentation sub-image, a texture enhancement model corresponding to the segmentation sub-image based on the texture features of the segmentation sub-image, and perform texture enhancement on the segmentation sub-image using the texture enhancement model corresponding to the segmentation sub-image.

[0014] Compared with the existing technology, the texture segmentation and enhancement method of seismic profile images provided in this specification has at least the following beneficial effects: 1. Preprocessing improves the visual quality of seismic profile images, providing a clearer data foundation for subsequent analysis. Initial image segmentation using multiple texture segmentation algorithms and secondary segmentation using machine learning models more accurately identifies and separates distinct texture regions within the image. This multi-layered segmentation approach helps improve the accuracy of subsequent geological interpretation. Selecting an appropriate texture enhancement model for each segmented sub-image further enhances texture detail, making geological structures such as seismic reflectors and faults more clearly visible. This targeted enhancement approach maximizes the preservation and highlighting of useful geological information. Different texture enhancement models can be applied to multiple segmented sub-images in parallel, shortening overall processing time. After this multi-step processing, the seismic profile images exhibit clearer geological structure and texture features, helping to improve the accuracy and reliability of geological interpretation. This is crucial for subsequent work such as underground resource assessment and disaster prediction.

[0015] 2. Using intrinsic mode functions and residuals as features for cluster analysis can significantly increase the feature dimensions used for segmentation, thereby improving the accuracy and reliability of texture segmentation. Because empirical mode decomposition is adaptive, it can automatically select the decomposition level and scale based on the actual texture features of the image, which makes the segmentation results more consistent with the actual situation of the image. By performing empirical mode decomposition and extracting features on each second sub-image, the amount of data that needs to be processed can be reduced during the clustering process, thereby improving the execution efficiency of the clustering algorithm. The intrinsic mode function and residual as feature vectors can more accurately describe the texture characteristics of each second sub-image, thereby helping the clustering algorithm to more accurately identify image regions with similar texture characteristics.

[0016] 3. The seismic profile image is evenly divided into multiple first sub-images, and secondary segmentation is performed based on grayscale value variance. This ensures that different degrees of refinement are performed on areas of different texture complexity during the processing process. This adaptive segmentation method helps to better preserve and highlight the detailed information of the image. Grayscale value variance is an important indicator for measuring the local texture complexity of an image. By calculating the grayscale value variance of each sub-image, the complexity of its texture can be judged, and then a decision can be made as to whether further segmentation is needed. This method can avoid over-segmentation of simple texture areas while ensuring sufficient analysis of complex texture areas. Using a clustering algorithm to cluster the second sub-images, image areas with similar texture characteristics can be divided into the same category based on features such as grayscale value variance and mean. This method can reduce the influence of subjective factors and improve the accuracy and objectivity of texture segmentation. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] This specification will be further described in the form of exemplary embodiments, which will be described in detail with reference to the accompanying drawings. These embodiments are not limiting, and in these embodiments, like numbers represent like structures, wherein: Figure 1 This is a flow chart of a texture segmentation and enhancement method for a seismic profile image shown in one embodiment of the present application; Figure 2 is a flowchart of obtaining a second texture segmentation result shown in one embodiment of the present application; Figure 3 is a structural diagram of a weight calculation unit shown in an embodiment of the present application; Figure 4 This is a module diagram of a texture segmentation and enhancement system for seismic profile images shown in one embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following briefly introduces the drawings required for describing the embodiments.

[0019] Figure 1 FIG. 1 is a flow chart of a texture segmentation and enhancement method for a seismic profile image shown in an embodiment of the present application. Figure 1 As shown, a texture segmentation and enhancement method for a seismic profile image may include the following steps.

[0020] Step 110: preprocess the seismic profile image to obtain a preprocessed seismic profile image.

[0021] Specifically, preprocessing may include noise reduction, removal of stray energy, adaptive filtering, data resampling, static correction, energy compensation, and suppression of noise interference.

[0022] The purpose of noise reduction is to remove the interference caused by factors such as instrument noise and environmental conditions to make the seismic data cleaner. Filtering techniques (for example, adaptive filtering, median filtering, wavelet transform, etc.) can be used to reduce the noise of seismic profile images.

[0023] The purpose of removing stray energy is to weaken or remove seismic energy that is not related to underground targets and improve data quality. Filters or signal processing techniques such as spectrum analysis and time-frequency domain filtering can be used to identify and remove these stray energies.

[0024] The purpose of adaptive filtering is to filter seismic data based on the characteristics of the subsurface medium to eliminate non-geological reflection energy caused by wave propagation and subsurface heterogeneity. Using an adaptive filtering algorithm, the filter parameters are dynamically adjusted based on the statistical characteristics of the seismic data to achieve optimal filtering results.

[0025] The purpose of data resampling is to increase the sampling rate of the data to obtain higher frequency resolution. Through interpolation or resampling techniques, the number of time sampling points of seismic data is increased to make the data have better performance in a higher frequency range.

[0026] The purpose of static correction is to address static problems caused by factors such as surface elevation variations, low-velocity zone thickness, and velocity variations, thereby improving seismic profile imaging accuracy. Static correction includes elevation statics, refraction statics, and tomographic statics. Refraction statics combines terrain correction with refraction statics, using refracted waves to obtain refraction layer velocities. Tomographic statics uses forward and inversion iterations to obtain a more accurate surface model.

[0027] Energy compensation aims to compensate for the energy loss caused by geometric diffusion and absorption attenuation during seismic wave propagation. Energy compensation includes geometric diffusion compensation and absorption attenuation compensation. Geometric diffusion compensation primarily eliminates the effect of propagation distance on seismic recording energy. Absorption attenuation compensation restores the energy attenuation of seismic waves during propagation through methods such as inverse Q filtering and time-frequency analysis.

[0028] The purpose of noise suppression is to improve the signal-to-noise ratio of seismic data and make the reflected signals of underground structures more prominent. Depending on the type and characteristics of the noise, appropriate noise suppression techniques are used to suppress noise interference in seismic profile images, such as surface roll suppression and random noise suppression.

[0029] Step 120 , performing a first texture segmentation on the pre-processed seismic profile image using a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results.

[0030] In some embodiments, a texture segmentation algorithm is: Evenly dividing the preprocessed seismic profile image into a plurality of first sub-images; For each first sub-image, based on the grayscale value of each pixel included in the first sub-image, a grayscale value variance of the first sub-image is calculated; when the grayscale value variance of the first sub-image is greater than a grayscale value variance threshold, a secondary segmentation size corresponding to the first sub-image is calculated based on the grayscale value variance of the first sub-image; based on the secondary segmentation size corresponding to the first sub-image, the first sub-image is divided into a plurality of second sub-images; when the grayscale value variance of the first sub-image is less than or equal to the grayscale value variance threshold, the first sub-image is used as a second sub-image; For each second sub-image, calculating a grayscale value variance and a grayscale value mean of the second sub-image based on the grayscale value of each pixel included in the second sub-image; The plurality of second sub-images are clustered based on the gray value variance and gray value mean of each second sub-image by using a clustering algorithm to obtain a first texture segmentation result.

[0031] Specifically, the grayscale value variance of the first sub-image can be calculated based on the following formula: ; ; in, is the gray value variance of the k-th first sub-image, is the grayscale value of the pixel in the i-th row and j-th column of the k-th first sub-image, is the total number of rows of pixels included in the k-th first sub-image, is the total number of columns of pixels included in the k-th first sub-image, is the mean grayscale value of the kth first sub-image.

[0032] The secondary segmentation size corresponding to the first sub-graph can be calculated based on the following formula: ; in, is the secondary segmentation size corresponding to the k-th first subgraph, is the grayscale value variance of the preset first sub-image, The default secondary split size.

[0033] Multiple second sub-images can be clustered based on the following process to obtain a first texture segmentation result: S11, calculating the grayscale value mean variance based on the grayscale value mean of each second sub-image, determining the number of clusters based on the grayscale value mean variance, and randomly selecting multiple second sub-images as multiple cluster centers based on the number of clusters; S12. For each second subgraph, calculate the absolute value of the first variance difference between the grayscale value variance of the second subgraph and the grayscale value variance of each cluster center, calculate the absolute value of the first mean difference between the grayscale value mean of the second subgraph and the grayscale value mean of each cluster center, perform a weighted sum of the first variance difference absolute values ​​and the first mean difference absolute values, calculate the difference distance between the second subgraph and each cluster center, and cluster the second subgraph to the cluster center with the smallest difference distance; S13, determine whether the number of iterations is equal to the number threshold, if so, complete clustering, if not, execute S14; S14. For each cluster, average the grayscale value means of each second sub-image included in the cluster to obtain the grayscale value mean of the first cluster, average the grayscale value variances of each second sub-image included in the cluster to obtain the grayscale value variance mean of the first cluster, calculate the second mean absolute value of the difference between the grayscale value mean of the second sub-image and the grayscale value mean of the first cluster, calculate the second variance absolute value of the difference between the grayscale value variance of the second sub-image and the grayscale value variance mean of the first cluster, take a weighted sum of the second variance absolute value and the second mean absolute value, calculate the centrality of the second sub-image, and take the second sub-image with the largest centrality as the new cluster center of the cluster;

[0034] S15: Determine whether the cluster center of each cluster has not changed. If so, complete clustering. If not, execute S12.

[0035] For example, the grayscale mean variance can be calculated according to the following formula: ; in, is the mean variance of grayscale values, is the mean gray value of the e-th second sub-image, is the total number of the second subgraph.

[0036] The number of clusters can be calculated based on the following formula: ; in, is the number of clusters, is the preset gray value mean variance, is the preset number of clusters.

[0037] The centrality of the second subgraph can be calculated based on the following formula: ; in, is the centrality of the e-th second subgraph, is the preset parameter, greater than 0, and are weights, and are greater than 0, and , is the mean grayscale value of the first cluster of the cluster to which the e-th second sub-image belongs, is the gray value variance of the e-th second sub-image, is the mean variance of the grayscale values ​​of the first cluster of the cluster to which the e-th second sub-image belongs.

[0038] In some embodiments, a texture segmentation algorithm is: For each pixel included in the preprocessed seismic profile image, determine the adjacent pixels of the pixel, and calculate the grayscale value variance of the adjacent pixels and the grayscale value mean of the adjacent pixels based on the grayscale values ​​of the adjacent pixels; The pixels included in the preprocessed seismic profile image are clustered based on the grayscale value variance and grayscale value mean of each pixel's adjacent pixels through a clustering algorithm to obtain a first texture segmentation result.

[0039] Specifically, the pixels included in the preprocessed seismic profile image can be clustered based on the following process to obtain a first texture segmentation result: S21. Calculate the mean variance of the grayscale values ​​of adjacent pixels based on the grayscale value mean of each pixel, determine the number of clusters based on the grayscale value mean variance of the adjacent pixels, and randomly select multiple pixels as multiple cluster centers based on the number of clusters. The method for determining the number of clusters based on the grayscale value mean variance of the adjacent pixels is similar to the method for determining the number of clusters based on the grayscale value mean variance, and will not be repeated here. S22. For each pixel, calculate the absolute value of the third difference between the grayscale value variance of the pixel's adjacent pixels and the grayscale value variance of the adjacent pixels of each cluster center, calculate the absolute value of the third mean difference between the grayscale value mean of the pixel's adjacent pixels and the grayscale value mean of the adjacent pixels of each cluster center, perform a weighted sum of the absolute value of the third difference and the absolute value of the third mean difference, calculate the difference distance between the pixel and each cluster center, and locate the pixel to the cluster center with the smallest difference distance; S23, determine whether the number of iterations is equal to the number threshold, if so, complete clustering, if not, execute S24; S24. For each cluster, average the grayscale value means of the adjacent pixels of each pixel included in the cluster to obtain the grayscale value mean of the second cluster, average the grayscale value variances of the adjacent pixels of each pixel included in the cluster to obtain the grayscale value variance mean of the second cluster, calculate the fourth mean difference absolute value between the grayscale value mean of the adjacent pixels of the pixel and the grayscale value mean of the second cluster, calculate the fourth variance difference absolute value between the grayscale value variance of the adjacent pixels of the pixel and the grayscale value mean of the second cluster, perform weighted summation of the fourth mean difference absolute value and the fourth variance difference absolute value, calculate the pixel center, and take the pixel with the largest center as the new cluster center of the cluster; S25: Determine whether the cluster center of each cluster has not changed. If so, complete clustering. If not, execute S22.

[0040] In some embodiments, a texture segmentation algorithm is: For each second sub-image, based on the grayscale value of each pixel included in the second sub-image, construct a grayscale value matrix corresponding to the second sub-image, generate a one-dimensional row-direction grayscale value vector and a one-dimensional column-direction grayscale value vector based on the grayscale value matrix corresponding to the second sub-image, perform empirical mode decomposition on the one-dimensional row-direction grayscale value vector to generate a row-direction intrinsic mode function and a row-direction residual, and perform empirical mode decomposition on the one-dimensional column-direction grayscale value vector to generate a column-direction intrinsic mode function and a column-direction residual; A clustering algorithm is used to cluster multiple second sub-images based on the row-direction intrinsic mode function, row-direction residual, column-direction intrinsic mode function and column-direction residual of each second sub-image to obtain a first texture segmentation result.

[0041] Specifically, the row vectors of the gray value matrix may be the gray values ​​of a row of pixels in the second sub-image, and the column vectors of the gray value matrix may be the gray values ​​of a column of pixels in the second sub-image.

[0042] For any two second sub-images, the grayscale similarity of the two second sub-images can be calculated based on the row-direction intrinsic mode function, row-direction residual, column-direction intrinsic mode function and column-direction residual of the two second sub-images through a similarity determination model, wherein the similarity determination model can be a convolutional neural network (CNN) model.

[0043] Multiple second sub-images can be clustered based on the following process to obtain a first texture segmentation result: S31. Based on the grayscale similarity of any two second sub-graphs, calculate the grayscale similarity variance, determine the number of clusters based on the grayscale similarity variance, and randomly select multiple second sub-graphs as multiple cluster centers based on the number of clusters. The method of determining the number of clusters based on the grayscale similarity variance is similar to the method of determining the number of clusters based on the grayscale value mean variance, and will not be repeated here. S32. For each second sub-image, cluster the second sub-image to the cluster center with the largest grayscale similarity; S33, determine whether the number of iterations is equal to the number threshold, if so, complete clustering, if not, execute S34; S34. For each cluster, for each second subgraph included in the cluster, determine the mean grayscale similarity corresponding to the second subgraph based on the grayscale similarity between the second subgraph and other second subgraphs in the cluster, and use the second subgraph with the largest mean grayscale similarity as the new cluster center of the cluster; S35: Determine whether the cluster center of each cluster has not changed. If so, complete clustering. If not, execute S32.

[0044] Step 130 : Perform a second texture segmentation on the pre-processed seismic profile image based on the multiple first texture segmentation results using a texture segmentation model to obtain a second texture segmentation result.

[0045] Figure 2 This is a flow chart showing the second texture segmentation result obtained in one embodiment of the present application. Figure 2 As shown, in some embodiments, the texture segmentation model includes a weight calculation unit and an image segmentation unit, wherein the weight calculation unit is used to calculate the weight of each first texture segmentation result based on the image features of the preprocessed seismic profile image, and the image segmentation unit is used to perform a second texture segmentation on the preprocessed seismic profile image based on multiple first texture segmentation results and the weight of each first texture segmentation result to obtain a second texture segmentation result.

[0046] Figure 3 This is a structural diagram of a weight calculation unit shown in an embodiment of the present application. Figure 3 As shown, in some embodiments, the weight calculation unit includes an input layer, multiple feature extraction layers, a multi-head self-attention mechanism layer, a residual connection, a normalization layer, a fully connected layer and an output layer.

[0047] Specifically, the input layer is the starting point for the weight calculation unit and is responsible for receiving preprocessed seismic profile image data. The feature extraction layer consists of multiple convolutional and pooling layers. Their function is to extract useful feature representations from the input image. These features may include edges, textures, shapes, and so on. As the number of layers increases, the extracted features gradually shift from low-level features (such as edges) to high-level features (such as complex textures or object parts).

[0048] The multi-head self-attention mechanism layer calculates attention weights between different locations within the image, allowing the model to focus on important parts of the image. In the weight calculation unit, this layer helps the model better understand and utilize the feature maps output by the feature extraction layer, thereby calculating more accurate weights.

[0049] Residual connections allow the original input information to skip certain layers and be added to the output of subsequent layers. This design helps alleviate the gradient vanishing or gradient exploding problems that may occur during the training of deep neural networks, making it easier for the network to learn useful feature representations.

[0050] The normalization layer is used to normalize the output of the previous layer to make the data distribution more stable, which helps to accelerate the network training process and improve the generalization ability of the model.

[0051] The fully connected layer, located at the end of the network, is responsible for mapping the features extracted by the previous layers into the sample's labeled space. In the weight calculation unit, the fully connected layer receives the feature vectors from the previous layers and outputs weights for each initial texture segmentation result. These weights are used in subsequent image segmentation processes to guide the fusion of different segmentation results.

[0052] The output layer is the final layer of the weight calculation unit and is responsible for outputting the weights for each initial texture segmentation result. These weights are typically represented as a vector, with each element corresponding to a weight value for a segmentation result. These weights are then used in the subsequent image segmentation process to generate the final segmentation result.

[0053] Step 140: obtaining a plurality of segmentation sub-images based on the second texture segmentation result.

[0054] Specifically, there are certain differences in the texture features of any two segmented sub-images.

[0055] Step 150 : For each segmented sub-image, a texture enhancement model corresponding to the segmented sub-image is determined based on the texture features of the segmented sub-image, and texture enhancement is performed on the segmented sub-image using the texture enhancement model corresponding to the segmented sub-image.

[0056] In some embodiments the method further comprises: Get multiple sample subgraphs; Determine the texture characteristics of each sample sub-image; Based on the texture features of each sample sub-image, multiple sample sub-images are clustered to determine multiple sub-image clusters; For each sub-image cluster, a texture enhancement model corresponding to the sub-image cluster is established, and the texture enhancement model corresponding to the sub-image cluster is trained based on a plurality of sample sub-images included in the sub-image cluster.

[0057] Specifically, multiple sample subgraphs can be clustered based on the following process to determine multiple subgraph clusters: S41. Based on the texture features of any two sample sub-images, calculate the texture feature similarity of the any two sample sub-images; based on the texture feature similarity of the any two sample sub-images, calculate the texture feature similarity variance; determine the number of clusters according to the texture feature similarity variance; and based on the number of clusters, randomly select multiple sample sub-images as multiple cluster centers. The method of determining the number of clusters according to the texture feature similarity variance is similar to the method of determining the number of clusters according to the gray value mean variance, and will not be repeated here. S42, for each sample sub-image, clustering the sample sub-image to the cluster center with the largest texture feature similarity; S43, determine whether the number of iterations is equal to the number threshold, if so, complete clustering, if not, execute S44; S44. For each cluster, for each sample subgraph included in the cluster, based on the texture feature similarity between the sample subgraph and other sample subgraphs in the cluster, determine the mean texture feature similarity corresponding to the sample subgraph, and use the sample subgraph with the largest mean texture feature similarity as the new cluster center of the cluster; S45: Determine whether the cluster center of each cluster has not changed. If so, complete clustering. If not, execute S42.

[0058] In some embodiments, determining a texture enhancement model corresponding to a segmented sub-image based on texture features of the segmented sub-image includes: Determine the target sub-image cluster based on the texture features of the segmented sub-image; The texture enhancement model corresponding to the target sub-image cluster is used as the texture enhancement model corresponding to the segmented sub-image, wherein the texture enhancement model can be a Generative Adversarial Network (GAN) model.

[0059] In some embodiments, determining a target sub-image cluster based on texture features of the segmented sub-images includes: For each sub-image cluster, determining a cluster texture feature based on a plurality of sample sub-images included in the sub-image cluster; Calculate the similarity between the texture features of the segmented sub-image and the texture features of each cluster; Based on the similarity between the texture features of the segmented sub-images and the texture features of each cluster, a target sub-image cluster is determined from multiple sub-image clusters. Specifically, the sub-image cluster with the greatest similarity is used as the target sub-image cluster.

[0060] Figure 4 This is a module diagram of a texture segmentation and enhancement system for seismic profile images shown in an embodiment of the present application. Figure 4 As shown, a texture segmentation and enhancement system for seismic profile images may include a preprocessing module, a texture segmentation module and a texture enhancement module.

[0061] The preprocessing module can be used to preprocess the seismic profile image to obtain a preprocessed seismic profile image; The texture segmentation module can be used to perform a first texture segmentation on the preprocessed seismic profile image using a variety of texture segmentation algorithms to obtain a plurality of first texture segmentation results, and is also used to perform a second texture segmentation on the preprocessed seismic profile image based on the plurality of first texture segmentation results using a texture segmentation model to obtain a second texture segmentation result, and obtain a plurality of segmentation sub-images based on the second texture segmentation results; The texture enhancement module can be used to determine the texture enhancement model corresponding to each segmented sub-image based on the texture features of the segmented sub-image, and perform texture enhancement on the segmented sub-image using the texture enhancement model corresponding to the segmented sub-image.

[0062] A texture segmentation and enhancement system for seismic profile images can be used to execute a texture segmentation and enhancement method for seismic profile images. For more descriptions of a texture segmentation and enhancement system for seismic profile images, please refer to the relevant descriptions of a texture segmentation and enhancement method for seismic profile images, which will not be repeated here.

[0063] Finally, it should be understood that the embodiments described in this specification are intended only to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, by way of example and not limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly described and illustrated in this specification.

Claims

1. A texture segmentation and enhancement method for seismic profile images, characterized in that: include: Preprocessing the seismic profile image to obtain a preprocessed seismic profile image; Performing a first texture segmentation on the preprocessed seismic profile image by using a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results; Based on the multiple first texture segmentation results, the texture segmentation model is used to perform a second texture segmentation on the preprocessed seismic profile image to obtain a second texture segmentation result; Based on the second texture segmentation result, a plurality of segmentation sub-images are obtained; For each of the segmented sub-images, a texture enhancement model corresponding to the segmented sub-image is determined based on the texture features of the segmented sub-image, and texture enhancement is performed on the segmented sub-image using the texture enhancement model corresponding to the segmented sub-image.

2. The texture segmentation and enhancement method of a seismic profile image according to claim 1, characterized in that: The preprocessed seismic profile image is subjected to a first texture segmentation by using a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results, including: Evenly dividing the preprocessed seismic profile image into a plurality of first sub-images; For each of the first sub-images, based on the gray value of each pixel included in the first sub-image, a gray value variance of the first sub-image is calculated; when the gray value variance of the first sub-image is greater than a gray value variance threshold, a secondary segmentation size corresponding to the first sub-image is calculated based on the gray value variance of the first sub-image; based on the secondary segmentation size corresponding to the first sub-image, the first sub-image is segmented into a plurality of second sub-images; when the gray value variance of the first sub-image is less than or equal to the gray value variance threshold, the first sub-image is used as a second sub-image; For each of the second sub-images, based on the gray value of each pixel included in the second sub-image, calculating the gray value variance and the gray value mean of the second sub-image; The plurality of second sub-images are clustered based on the grayscale value variance and grayscale value mean of each second sub-image by using a clustering algorithm to obtain the first texture segmentation result.

3. The texture segmentation and enhancement method of a seismic profile image according to claim 1, characterized in that: The preprocessed seismic profile image is subjected to a first texture segmentation by using a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results, including: For each pixel included in the preprocessed seismic profile image, determine the adjacent pixels of the pixel, and calculate the adjacent pixel grayscale value variance and the adjacent pixel grayscale value mean of the pixel based on the grayscale values ​​of the adjacent pixels; The pixels included in the preprocessed seismic profile image are clustered based on the grayscale value variance of adjacent pixels and the grayscale value mean of adjacent pixels of each pixel by using a clustering algorithm to obtain the first texture segmentation result.

4. The texture segmentation and enhancement method of a seismic profile image according to claim 2, characterized in that: The preprocessed seismic profile image is subjected to a first texture segmentation by using a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results, including: For each of the second sub-images, based on the grayscale value of each pixel included in the second sub-image, a grayscale value matrix corresponding to the second sub-image is constructed, based on the grayscale value matrix corresponding to the second sub-image, a one-dimensional row-direction grayscale value vector and a one-dimensional column-direction grayscale value vector are generated, empirical mode decomposition is performed on the one-dimensional row-direction grayscale value vector to generate a row-direction intrinsic mode function and a row-direction residual, and empirical mode decomposition is performed on the one-dimensional column-direction grayscale value vector to generate a column-direction intrinsic mode function and a column-direction residual; A clustering algorithm is used to cluster multiple second sub-images based on the row-direction intrinsic mode function, row-direction residual, column-direction intrinsic mode function and column-direction residual of each second sub-image to obtain the first texture segmentation result.

5. A texture segmentation and enhancement method for seismic profile images according to any one of claims 1 to 4, characterized in that: The texture segmentation model includes a weight calculation unit and an image segmentation unit, wherein the weight calculation unit is used to calculate the weight of each of the first texture segmentation results based on the image features of the preprocessed seismic profile image, and the image segmentation unit is used to perform a second texture segmentation on the preprocessed seismic profile image based on the multiple first texture segmentation results and the weight of each first texture segmentation result to obtain a second texture segmentation result.

6. The texture segmentation and enhancement method of a seismic profile image according to claim 5, characterized in that: The weight calculation unit includes an input layer, multiple feature extraction layers, a multi-head self-attention mechanism layer, a residual connection, a normalization layer, a fully connected layer and an output layer.

7. A texture segmentation and enhancement method for a seismic profile image according to any one of claims 1 to 4, characterized in that: Also includes: Get multiple sample subgraphs; Determining the texture features of each of the sample sub-images; Clustering the plurality of sample sub-images based on the texture feature of each of the sample sub-images to determine a plurality of sub-image clusters; For each sub-image cluster, a texture enhancement model corresponding to the sub-image cluster is established, and based on a plurality of sample sub-images included in the sub-image cluster, the texture enhancement model corresponding to the sub-image cluster is trained.

8. The texture segmentation and enhancement method of a seismic profile image according to claim 7, characterized in that: Determining a texture enhancement model corresponding to the segmented sub-image based on the texture feature of the segmented sub-image includes: Determining a target sub-image cluster based on the texture features of the segmented sub-images; The texture enhancement model corresponding to the target sub-image cluster is used as the texture enhancement model corresponding to the segmented sub-image.

9. The texture segmentation and enhancement method of a seismic profile image according to claim 8, characterized in that: Determining a target sub-image cluster based on the texture features of the segmented sub-images includes: For each sub-image cluster, determining a cluster texture feature based on a plurality of sample sub-images included in the sub-image cluster; Calculating the similarity between the texture feature of the segmented sub-image and the texture feature of each cluster; Based on the similarity between the texture feature of the segmented sub-image and the texture feature of each cluster, a target sub-image cluster is determined from the multiple sub-image clusters.

10. A texture segmentation and enhancement system for seismic profile images, used to execute a texture segmentation and enhancement method for seismic profile images as claimed in any one of claims 1 to 9, characterized in that: include: A preprocessing module, used for preprocessing the seismic profile image to obtain a preprocessed seismic profile image; A texture segmentation module, used to perform a first texture segmentation on the preprocessed seismic profile image through a plurality of texture segmentation algorithms to obtain a plurality of first texture segmentation results, and also used to perform a second texture segmentation on the preprocessed seismic profile image based on the plurality of first texture segmentation results through a texture segmentation model to obtain a second texture segmentation result, and obtain a plurality of segmentation sub-images based on the second texture segmentation results; The texture enhancement module is used to determine, for each of the segmented sub-images, a texture enhancement model corresponding to the segmented sub-image based on the texture features of the segmented sub-image, and perform texture enhancement on the segmented sub-image using the texture enhancement model corresponding to the segmented sub-image.

Citation Information

Patent Citations

  • Level gauge distance measurement method based on image enhancement

    CN114742849A

  • Fingerprint image segmentation method and device, electronic equipment and storage medium

    CN115131831A

  • Material extraction method, device and equipment and storage medium

    CN116958168A

  • Digestive endoscopy image processing method and storage medium

    CN117649373A

  • Method for identifying boundary of sedimentary facies, computer device and computer readable storage medium

    US20210041588A1

Cited By

  • Smart rural monitoring system for multidimensional data analysis

    CN119007051A