A method, device, equipment and storage medium for vectorization of seismic images

Through processing based on waveform equilibrium field analysis and artificial intelligence algorithms, the problem of digitization and vectorization of simulated seismic data is solved, efficient and accurate processing of old paper data is achieved, and a systematic research tool is provided.

CN111597677BActive Publication Date: 2024-10-15BEIJING INFORMATION SCI & TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010252094.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-01
Publication Date
2024-10-15
Estimated Expiration
2040-04-01

AI Technical Summary

Technical Problem

It is difficult to process and digitize analog seismic records systematically and accurately with existing technology, especially because the age of paper data causes seismic waveform deformation, stains, and paper aging, making it difficult to conduct direct and scientific research.

Method used

Using waveform balance field analysis algorithm and image processing technology, combined with artificial intelligence algorithms to scan, compress, and binarize the simulated seismic drawings, extract and vectorize the strong vibration waveforms, and perform data processing through the K-medoids clustering algorithm to complete The whole process from paper data to vectorized digitization.

Benefits of technology

It achieves comprehensive, systematic and scientific digital processing of simulated seismic data, provides clear and accurately scaled vectorized data, and improves the research efficiency and accuracy of earthquake records.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111597677B_ABST
    Figure CN111597677B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method, device, equipment and storage medium for vectorizing seismic images. The method includes: obtaining a seismic image including a seismic waveform in a simulated seismic drawing; preprocessing the seismic image and saving it to a database after verification; extracting a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis; splicing the strong vibration waveform according to the time axis based on the time information to obtain vectorized waveform curve data; visualizing the waveform curve data based on a visualization algorithm, outputting a waveform curve corresponding to the waveform curve data, realizing digitization and storage of paper-based simulated seismic drawing information, and vectorization, and finally obtaining a visualization result of a seismic waveform, which provides a good experience of accurate digitization and vectorization of simulated seismic images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a vectorization method, device, equipment and storage medium for seismic image. Background Art

[0002] In the field of analog seismic measurement, countless predecessors have used limited conditions to record a lot of valuable data and information, but due to technical limitations, the main form of presentation is paper images. It was not until the advent of the new century that some digital earthquake data became available for reference. Paper-based analog seismic measurement data are difficult to study directly, scientifically, and meticulously because of their age, deformation of seismic waveforms, stains, or aging and fragility of paper due to time.

[0003] As for earthquake record files, there is currently no systematic solution that can systematically and accurately process the large number of existing earthquake records. Most people rely on manpower with the help of some physical tools to compare and study the limited existing data. There is no product that can effectively grid the analog seismic records and vectorize the strong vibration parts of them. It is impossible to comprehensively, systematically and scientifically complete the entire process from existing paper data to vectorized digital data with clear and precise scale.

[0004] Therefore, it is necessary to propose an efficient and accurate seismic record vectorization method to solve the above problems. Summary of the invention

[0005] The embodiments of the present invention provide a method, device, equipment and storage medium for vectorizing seismic images, so as to solve the defects in the prior art that paper-based analog seismic data are difficult to study directly, scientifically and meticulously due to their age, deformation of seismic waveforms, stains, or aging and fragility of the paper caused by time.

[0006] In a first aspect, an embodiment of the present invention provides a method for vectorizing a seismic image, comprising:

[0007] Acquire a seismic image including a seismic waveform in a simulated seismic drawing;

[0008] Preprocessing the seismic image and saving it to a database after verification;

[0009] Extracting a simulated seismic record from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis, and saving the simulated seismic record to a database after proofreading, wherein the simulated seismic record at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform;

[0010] Based on the time information, the strong vibration waveform is spliced ​​according to the time axis to obtain vectorized waveform curve data;

[0011] Based on a visualization algorithm, the waveform curve data is visualized and a waveform curve corresponding to the waveform curve data is output.

[0012] Optionally, the step of obtaining the seismic image including the seismic waveform in the simulated seismic drawing specifically includes:

[0013] Scan the analog seismic measurement drawings to obtain digital seismic measurement images;

[0014] Obtaining drawing information of the simulated seismic measurement drawing;

[0015] Naming the seismic image obtained by scanning according to a preset rule;

[0016] The seismic image is associated with the drawing information and stored in a database.

[0017] Optionally, the preprocessing of the seismic image and saving it to a database after verification specifically includes:

[0018] Performing image compression on the seismic image obtained by scanning;

[0019] Binarizing the compressed seismic image and outputting the binarized seismic image;

[0020] The binarized seismic image is named according to a preset standard;

[0021] The file name of the seismic image is verified according to three different verification rules: a file naming verification rule, an illegal character verification rule, and an input time verification rule;

[0022] The successfully verified seismic images are stored in a database.

[0023] Optionally, the extraction algorithm based on waveform balance field analysis extracts the vectorized strong vibration waveform and the time information corresponding to the strong vibration waveform from the seismic waveform in the seismic image, specifically including:

[0024] Performing preliminary processing on the seismic image, including searching for start and end points, judging waveforms, and erasing weak vibration waveforms;

[0025] Obtain extraction algorithms for waveform balance field analysis;

[0026] Extracting a vectorized simulated seismic record from the result after erasing the weak vibration wave based on the extraction algorithm, the simulated seismic record at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform;

[0027] The simulated seismic measurement records are proofread for uniqueness and accuracy, and the successfully proofread simulated seismic measurement records are saved in a database.

[0028] Optionally, the step of splicing the strong vibration waveforms according to the time axis based on the time information to obtain vectorized waveform curve data specifically includes:

[0029] Acquire a vector point set in the form of a two-dimensional table from the vectorized simulated seismic record;

[0030] Determine the preset time mark point;

[0031] Extracting data vectors and timestamps from the vector point set based on the time-stamped points;

[0032] The discrete data vectors are spliced ​​according to the timestamps to obtain continuous, vectorized waveform curve data.

[0033] Optionally, performing visualization processing on the waveform curve data based on a visualization algorithm and outputting a waveform curve corresponding to the waveform curve data specifically includes:

[0034] Determine the selected range of the preset;

[0035] Acquiring waveform curve data within the selected range;

[0036] Based on the improved K-medoids clustering algorithm, a waveform curve data segment corresponding to the strong vibration waveform is extracted from the waveform curve data within the selected range.

[0037] The waveform curve data segment is quantitatively fitted to obtain a waveform curve corresponding to the strong vibration waveform.

[0038] Optionally, after performing visualization processing on the waveform curve data based on the visualization algorithm and outputting a waveform curve corresponding to the waveform curve data, the method further includes:

[0039] Asynchronously copy the data information in the database to a preset number of backup databases in real time and verify each other;

[0040] The waveform curve data provided to the visualization algorithm is stored in a txt document in the form of a vector point set and saved in a database;

[0041] The waveform curve obtained by processing the visualization algorithm is displayed.

[0042] In a second aspect, an embodiment of the present invention provides a seismic image vectorization device, the device comprising:

[0043] A seismic image acquisition module, used to acquire a seismic image including a seismic waveform in a simulated seismic drawing;

[0044] A preprocessing module, used to preprocess the seismic image and save it to a database after verification;

[0045] A simulated seismic record extraction module is used to extract simulated seismic records from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis, and save the simulated seismic records to a database after proofreading, wherein the simulated seismic records at least include vectorized strong vibration waveforms and time information corresponding to the strong vibration waveforms;

[0046] A splicing module, used for splicing the strong vibration waveform according to the time axis of the time information to obtain vectorized waveform curve data;

[0047] The visualization module is used to perform visualization processing on the waveform curve data based on a visualization algorithm, and output a waveform curve corresponding to the waveform curve data.

[0048] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for vectorizing a seismic image as described in any one of the first aspects is implemented.

[0049] In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for vectorizing a seismic image as described in any one of the first aspects.

[0050] The vectorization method, device, equipment and storage medium of seismic images provided in the embodiments of the present invention apply a series of algorithms based on waveform balance field analysis algorithm, supplemented by image processing and artificial intelligence processing, to scan, compress and binarize paper-based analog seismic drawings, and then digitize and vectorize them, and finally extract the strong vibration waveform area therein through artificial intelligence processing algorithms such as K-medoids clustering algorithm, so as to comprehensively, systematically and scientifically complete the entire processing process from existing paper data to clear and scale-accurate data of vectorized digitization, and provide a good experience in digitizing and vectorizing analog seismic drawings. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0052] Figure 1 A flowchart of a vectorization method for a simulated seismic image provided by an embodiment of the present invention;

[0053] Figure 2 A flowchart of a simulated seismic image preprocessing method provided by an embodiment of the present invention;

[0054] Figure 3 A flowchart of a method for extracting waveform records in a simulated seismic image provided by an embodiment of the present invention;

[0055] Figure 4 A flowchart of a waveform record splicing method provided by an embodiment of the present invention;

[0056] Figure 5 A flowchart of a waveform curve visualization processing method provided by an embodiment of the present invention;

[0057] Figure 6 A schematic diagram of database processing in a process of simulating seismic image vectorization according to an embodiment of the present invention;

[0058] Figure 7 A schematic diagram of various components of a database in a process of simulating seismic image vectorization provided by an embodiment of the present invention;

[0059] Figure 8 A schematic diagram of the structure of a simulated seismic image vectorization device provided by an embodiment of the present invention;

[0060] Fig. 9 This is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] In order to solve the defects of the existing paper-based analog seismic recording data, which are difficult to study directly, scientifically and meticulously due to their age, deformation of seismic waveforms, stains, or aging and fragility of paper caused by time.

[0063] Specifically, the method can be performed by obtaining a seismic image including a seismic waveform in a simulated seismic drawing; preprocessing the seismic image and saving it to a database after verification; extracting a simulated seismic record from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis, and saving it to a database after verification, wherein the simulated seismic record includes at least a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform; splicing the strong vibration waveform along the time axis based on the time information to obtain vectorized waveform curve data; and visualizing the waveform curve data based on a visualization algorithm, and outputting a waveform curve corresponding to the waveform curve data.

[0064] Figure 1 A flowchart of a method for vectorizing a seismic image provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, including:

[0065] S1, obtaining a seismic image including a seismic waveform in a simulated seismic drawing;

[0066] S2, preprocessing the seismic image and saving it to a database after verification;

[0067] S3, extracting a simulated seismic record from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis, and saving the simulated seismic record to a database after proofreading, wherein the simulated seismic record at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform;

[0068] S4, splicing the strong vibration waveforms according to the time axis based on the time information to obtain vectorized waveform curve data;

[0069] S5. Perform visualization processing on the waveform curve data based on a visualization algorithm, and output a waveform curve corresponding to the waveform curve data.

[0070] Specifically, in step S1, a certain number of paper-based seismic images recorded during the simulated seismic measurement process are first obtained to form an image set; the seismic images record seismic waveforms, which may include strong vibration waveforms and weak vibration waveforms, etc.

[0071] In this implementation, the seismic images in the image set can be preprocessed based on the big data platform, and after verification, the results are saved in a database, which can be a non-relational database;

[0072] In a possible implementation, an extraction algorithm of waveform balance field analysis can be introduced to extract and analyze the seismic image after gridding to obtain a simulated seismic record, which at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform. Based on a splicing algorithm for the simulated seismic record, the extracted strong vibration waveform is spliced ​​and restored according to the time axis based on the time information corresponding to the strong vibration waveform to obtain spliced, vectorized waveform curve data; based on a visualization algorithm, the above results are visualized and a visualization operation result is output, that is, a waveform curve corresponding to the waveform curve data.

[0073] The embodiment of the present invention applies a series of algorithms based on the waveform balance field algorithm supplemented by image processing and artificial intelligence processing to scan, compress and binarize paper-based analog seismic measurement drawings, and then digitize and vectorize them. Finally, the strong vibration waveform area is extracted through artificial intelligence processing algorithms such as the K-medoids clustering algorithm, and the entire processing process from existing paper data to vectorized digitized clear and scale-precise data is completed in a comprehensive, systematic and scientific manner, providing a good experience in digitizing and vectorizing analog seismic measurement drawings.

[0074] Based on the above embodiment, step S1 may specifically include:

[0075] Scan the analog seismic measurement drawings to obtain digital seismic measurement images;

[0076] Obtaining drawing information of the simulated seismic measurement drawing;

[0077] Naming the seismic image obtained by scanning according to a preset rule;

[0078] The seismic image is associated with the drawing information and stored in a database.

[0079] Scan the paper simulated seismic measurement record drawings to obtain digital simulated seismic measurement record drawing information;

[0080] The relevant information on the paper simulated seismic measurement record drawings is extracted, and the scanned simulated seismic measurement drawing information is named according to certain rules, and the obtained relevant information is stored in a non-associative database.

[0081] The drawing information includes original image entry related information, original image drawing image information, original image drawing marking information, etc.

[0082] Specifically, the paper analog seismic drawings can be scanned to obtain digital seismic images. In principle, this system is operated by a dedicated person, and the required data is obtained by scanning once, so as to prevent the valuable data from being damaged during the operation as much as possible.

[0083] During scanning, we can use formulas to balance the parameters that affect image quality (such as resolution, bit depth, compression ratio, etc.) so that the seismic image obtained by scanning is the clearest result.

[0084] When storing, one record in the storage relationship table corresponds one to one with a set of (3 raster images, corresponding to 3 directions) seismic waveforms, that is, one original paper simulation seismic drawing corresponds to one database record and 3 seismic images in different directions.

[0085] The scanned files can be named according to the preset rules, which can be named in the form of [station code + "_" + instrument model + "_" + recording start time (format: year, month, day, hour, minute) + direction (UD, NS, EW)]. By determining the naming rules, it can help to ensure the uniqueness of the drawing information to a certain extent;.

[0086] Based on any of the above embodiments, Figure 2 A flowchart of a method for preprocessing a simulated seismic image provided by an embodiment of the present invention, referring to Figure 2 The simulated seismic image preprocessing method involved in step S2 may specifically include:

[0087] Performing image compression on the seismic image obtained by scanning;

[0088] Binarizing the compressed seismic image and outputting the binarized seismic image;

[0089] The binarized seismic image is named according to a preset standard to ensure the uniqueness of the image;

[0090] The file name of the seismic image is verified according to three different verification rules: file naming verification rule, illegal character verification rule and input time verification rule, so as to ensure that the drawings input into the database are indeed reliable and avoid artificially importing erroneous data into the database;

[0091] The successfully verified seismic images are stored in a database.

[0092] In a specific embodiment, for a scanned image set that occupies a large storage space, a related program module can be developed to process the material set of the original simulated seismic measurement drawings. This module can effectively and losslessly compress the original seismic measurement images that occupy a large space in the material set. Furthermore, the embodiment of the present invention can use the PNG format to complete the compression of the high storage space occupancy results obtained by scanning. The advantage of using the PNG format for compression is that the result of image compression is a higher compression ratio without losing data information. At the same time, because the 8-channel color identification mode it adopts is similar to the color representation mode of the scanning result, it can maximize the guarantee of the integrity of the compressed result data and can be perfectly connected with various other processing methods. The above advantages are conducive to the subsequent targeted processing of simulated seismic measurement data of different scales and the output of corresponding processing results.

[0093] Furthermore, when binarizing the seismic image, there are generally the following methods: maximum inter-class difference, maximum entropy, minimum error and minimum deviation. By comparing the processing effects in actual applications, preferably, the binarization algorithm of this embodiment can adopt the maximum inter-class difference algorithm. Specifically, in general, the processing results of the maximum inter-class difference method and the minimum error method are more ideal, and because the calculation complexity of the minimum error method is relatively high, the maximum inter-class difference algorithm is selected here to complete the binarization of the simulated seismic record.

[0094] Generally, duplex verification is used in the inspection with high requirements for data correctness, but this method is cumbersome and has the defect of causing serious damage to the simulated seismic measurement drawings involved in this embodiment, which is difficult to accept. In the embodiment of the present invention, the verification of input information adopts the triple verification rules of file name, illegal characters, and input time. Among them, the verification of file name is to check the uniqueness of file name. If there is a duplicate name, the inspector is prompted to confirm and re-enter until there is no duplicate file name; the verification of illegal characters is to check the possible errors in the input, and compare the data of the input system module according to relevant specifications. Those that do not meet the requirements cannot be entered into the database to ensure the reliability of the input standard; the input time verification is divided into two types: system initial verification and manual fine verification. The system initial verification mainly ensures that the data records are recorded linearly in chronological order, while the manual fine verification mainly compares the recording time in the simulated seismic measurement record header information to correct the input time information.

[0095] The embodiment of the present invention compresses, verifies and binarizes the seismic images in the obtained material set, thereby facilitating the subsequent extraction of strong vibration waveforms based on the waveform balance field, and more effectively establishing an image processing model, thereby more accurately locating, separating and extracting strong vibration waveforms in simulated seismic data.

[0096] Based on any of the above embodiments, Figure 3 A flowchart of a method for extracting waveform records in a simulated seismic image provided by an embodiment of the present invention, referring to Figure 3 The method for extracting waveforms recorded in the simulated seismic image involved in step S3 specifically includes:

[0097] Performing preliminary processing on the seismic image, including searching for start and end points, judging waveforms, and erasing weak vibration waveforms;

[0098] Obtain extraction algorithms for waveform balance field analysis;

[0099] Extracting a vectorized simulated seismic record from the result after erasing the weak vibration wave based on the extraction algorithm, the simulated seismic record at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform;

[0100] The simulated seismic measurement records are proofread for uniqueness and accuracy, and the successfully proofread simulated seismic measurement records are saved in a database.

[0101] In this embodiment, the image extraction and recognition can adopt the OpenCV algorithm. OpenCV is a cross-platform computer vision library released under the BSD license (open source). It has high compatibility on the more commonly used systems. It is a lightweight software development kit, consisting of a series of C functions and a small number of C++ classes. It is close to the underlying machine code and is very efficient. It can accurately complete the tracking, expression and interpretation of seismic waveform contours, and is supplemented by excellent demonstration parameter adjustment functions.

[0102] Specifically, the technical system searches for the start and end points of the seismic image, determines the type of waveform (weak vibration, strong vibration) in the entire gridded seismic image, tracks and erases the weak vibration waveform in the record through the weak vibration waveform extraction algorithm, and finally uses the waveform balance field analysis extraction algorithm to extract the strong vibration waveform from the result after erasing the weak vibration wave, and saves it in the form of a vector point set to a non-relational database.

[0103] Specifically, first follow Figure 3 , when searching including the start and end points, the entire seismic image can be traversed pixel by pixel to obtain the starting point of each row of data. Specifically, all seismic waveforms can be searched vertically downward from the coordinate position of the upper left corner of the seismic image. For example, the ordinate is extracted when a pixel value jump occurs, so as to obtain the starting coordinates and line width of each row of the seismic waveform in the seismic image, and then the starting point coordinates of each row are sorted to obtain the point set contained in each row and the run of all rows of the seismic waveform (here the run specifically refers to the height between two seismic curves on the drawing), and the average run between adjacent curves is calculated.

[0104] Furthermore, in this embodiment, when making waveform judgment, it can be judged by the ratio of each row run and the average run data obtained above. For example, when the ratio is less than 1, the waveform is determined to be a weak vibration wave, otherwise it is a strong vibration wave, thereby completing the identification of the seismic waveform. After completing the above operations, the obtained weak vibration wave can be extracted to obtain a set of weak vibration waveforms in the seismic image, and erase it to prepare for the subsequent extraction of strong vibration waveforms. The strong vibration wave extraction of this embodiment adopts an extraction algorithm based on waveform balance field analysis. The waveform balance field algorithm is an algorithm designed for curve waveform extraction, which can well adapt to the waveform characteristics of simulated seismic recording drawings, accurately find the key points therein, and perform relevant analysis to obtain more accurate results.

[0105] In this embodiment, according to Figure 3 The waveform equilibrium field analysis algorithm tracks the black pixel points of the curve wave, finds the pixel color jump boundary of the strong vibration wave, calculates the number of black pixels within a certain neighborhood range, and compares it with the number of black pixels at the equilibrium point, thereby tracking the trend of the waveform curve, and then converting the discrete point set into a whole curve, and extracting and outputting the final result to obtain a complex curve waveform.

[0106] It can be understood that after a series of preprocessing of the seismic images and elimination of weak vibration waves therein, the waveform balance field analysis algorithm is then used to extract and process the above results to obtain strong vibration waveforms, which is beneficial to further processing and output of the final results.

[0107] The output can be used to draw an earthquake beach ball and compare it directly with the earthquake description in the earthquake catalog. If the difference is within a specified range, such as earthquake energy (within 1 order of magnitude), the vectorization result can be considered to be relatively reliable. This is a means of accuracy detection.

[0108] Based on any of the above embodiments, Figure 4 A flowchart of a method for splicing seismic waveform records provided by an embodiment of the present invention, referring to Figure 4 The seismic waveform record splicing method involved in step S4 specifically includes:

[0109] Acquire a vector point set in the form of a two-dimensional table from the vectorized simulated seismic record;

[0110] Determine the preset time mark point;

[0111] Extracting data vectors and timestamps from the vector point set based on the time-stamped points;

[0112] The discrete data vectors are spliced ​​according to the timestamps to obtain continuous, vectorized waveform curve data.

[0113] It should be noted that if splicing is performed directly according to the markings in the simulated seismic measurement drawings, there are disadvantages of large errors and easy interference from curve vectorization and curve waveforms. Therefore, this embodiment adopts a splicing algorithm based on time mark points, and can manually select preset time mark points, and then splice the curves where they are located, and finally obtain the spliced ​​waveform curve data.

[0114] Based on any of the above embodiments, Figure 5 A flowchart of a waveform curve visualization processing method provided by an embodiment of the present invention, referring to Figure 5 The waveform curve visualization processing sub-method involved in step S5 specifically includes:

[0115] Determine the selected range of the preset;

[0116] Acquiring waveform curve data within the selected range;

[0117] Based on the improved K-medoids clustering algorithm, a waveform curve data segment corresponding to the strong vibration waveform is extracted from the waveform curve data within the selected range.

[0118] The waveform curve data segment is quantitatively fitted to obtain a waveform curve corresponding to the strong vibration waveform.

[0119] Specifically, a visualization algorithm is established to obtain a visualization algorithm based on waveform quantification. Based on the previously spliced ​​entire waveform curve data, the above-extracted strong vibration waveform is visualized to output clearer, more coherent, and scientifically meaningful earthquake waveform recording data, which is then synchronously stored in a non-associative database for preservation.

[0120] Among them, the visual area selection can be performed by manually inputting a certain range as the preset selection range, and then using the bubble algorithm to find the corresponding vector point from the time series of the database, calculate its accurate horizontal coordinate value, and extract it to prepare for the next step of curve fitting;

[0121] In this embodiment, three curve fitting algorithms for waveform curve vectors are preset, which can be automatically selected by a trained algorithm module according to different curve waveform data to complete the curve fitting operation.

[0122] Specifically, the three preset curve fitting algorithms are: piecewise straight line fitting based on least squares method, curve fitting based on Bezier curve, and curve fitting based on cubic spline interpolation.

[0123] Among them, the fitting based on the least squares method is mainly used for the shorter broken lines and longer straight lines in the seismic waveform. Through training and calculation, the empirical value points of the fitting subset are obtained, so as to obtain better fitting results in the above parts; the fitting based on the Bezier curve is suitable for the seismic part. Since the key points extracted in this part are sparse, the method of multiple fittings is adopted in actual application to fit a long waveform curve; the fitting based on cubic spline interpolation is mainly used for the optimization of the above two fittings. Through a series of related calculations, it can effectively reduce the parameters involved in the fitting, thereby improving the efficiency of the program.

[0124] Furthermore, in the embodiment of the present invention, an innovative strong vibration waveform intelligent recognition algorithm based on cluster analysis is used to intelligently identify the strong vibration waveform in the spliced ​​waveform curve data, thereby solving the technical problem of accurately extracting strong vibration waveform data from the image.

[0125] Clustering is a process of dividing a collection of physical or abstract individuals into multiple classes. Cluster analysis is a statistical method for studying classification problems. However, unlike classification, the division of clusters is unknown. In this embodiment, the program will cluster related information by comparing pattern similarities. The similarities mentioned here can be roughly divided into the following three types: distance measure, similarity measure, and matching measure. Each measure has 4-6 different measurement methods. In the program, the algorithm will call the relevant calculation formula to complete the cluster analysis of the above-mentioned simulated seismic records.

[0126] There are multiple algorithms to complete cluster analysis operation at present, and what is adopted in the present embodiment is the improved algorithm of K-medoids algorithm based on classical partition algorithm.K-medoids algorithm will accept k parameters, and select k as cluster core from the data imported, and the remaining data is divided into k classes according to the similarity of the same cluster core, and extracts the point with the smallest distance from all points in the same cluster as the cluster center point, and constantly repeats the above process, so that the measure function converges, thereby obtains the result that the same cluster similarity is high and the different cluster similarities are low.In the present embodiment, K-medoids algorithm is improved, according to the characteristics of data, k is set to three (weak vibration, strong vibration, weak vibration), corresponding to three characteristic sections of vibration waveform image, and only retains the cluster with two adjacent classes (only one adjacent class is included in its adjacent class), thereby strengthens the processing ability of algorithm for curve data, optimizes the time complexity of algorithm, and is assisted by strong vibration shape segmentation module, strong vibration shape is divided into multiple small time series, parallel processing, improves the speed of waveform intelligent identification and the efficiency of whole program.

[0127] Based on any of the above embodiments, the step of performing visualization processing on the waveform curve data based on a visualization algorithm and outputting a waveform curve corresponding to the waveform curve data further includes:

[0128] The data information in the database is asynchronously copied to a preset number (e.g. 10) of backup databases in real time and verified against each other;

[0129] The waveform curve data provided to the visualization algorithm is stored in a txt document in the form of a vector point set and saved in a database;

[0130] The waveform curve obtained by processing the visualization algorithm is displayed.

[0131] The waveform curve data provided to the visualization algorithm may be waveform curve data obtained by splicing a preset selected range input into a retrieval module and finding a matching vector point set of a strong vibration waveform through the retrieval module.

[0132] Furthermore, the retrieval module returns the seismic images corresponding to the selected range and the simulated seismic records within the selected range, and visualizes them through the visualization module and displays them on the interface, so that experts can quickly locate the earthquake time and its vibration waveform, which is convenient for further research.

[0133] Specifically, Figure 6 FIG. 1 is a schematic diagram of a database processing in a process of simulating seismic image vectorization according to an embodiment of the present invention. Figure 6 As shown in, firstly, the time points in the vectorized waveform curve data are extracted as labels, and at the same time, the drawing information of the simulated seismic drawings corresponding to the time points are extracted from the database. The embodiment of the present invention adopts the MongoDB database, which will synchronize the data to the strong vibration shape retrieval engine in real time. The strong vibration shape retrieval engine returns a series of retrieval results including the search time point, the simulated seismic drawings where the time point is located, the seismic waveform corresponding to the time point, etc. to the user, and displays the retrieval results.

[0134] Figure 7 The schematic diagram of each component in the database in the process of simulating seismic image vectorization provided in the embodiment of the present invention shows the information of each component in the database used in the seismic image vectorization method.

[0135] Here, MongoDB is a distributed, open source, non-relational database for document data storage. It has the most features among all non-relational databases and is very similar to relational databases. MongoDB is written in C++ programming environment, and its purpose is to provide high reliability and process stability when processing huge amounts of data.

[0136] The embodiment of the present invention uses the paper historical simulation seismic measurement drawings provided by the user, undergoes a series of processing, and performs a waveform balance field analysis algorithm based on waveform energy to extract strong vibration waveforms, and finally outputs and displays them by the visualization module. Practice has proved that by constructing this system, the analysis and research speed of paper simulation seismic measurement record drawings can be greatly reduced, and more accurate, objective and effective geological science research data and related records can be provided, thereby effectively utilizing historical accumulated earthquake data with modern means, greatly enriching the data records of research in related fields, and providing convenience for geological research.

[0137] Based on any of the above embodiments, the software and hardware processing environment adopted by the embodiment of the present invention is:

[0138] CPU: Intel(R)Core(TM)i7-9700K 3.60GHz; Memory: 64GB (DDR4); Graphics card: NVIDIATesla P4024GB; Hard disk: 320GB. The software environment operating system is Windows 10, and the development language is C# language, which can process the required data efficiently and quickly. The development platform adopts vs2015, which uses an object-oriented software development method with a high degree of modularization and good reusability of program modules. At the same time, vs2015 contains a large number of C# related algorithm packages, supports 2D, 3D rendering and OpenGL algorithms and XML format data import, which can avoid the complex process of separate references and can effectively complete the import and processing of the data required by this system. Based on the above environment, this embodiment introduces OpenCV3.0 as an extended development option, while perfectly adapting to the various reasonable demands and related secondary development and expansion needs of users for this system, it is as compatible as possible with users' existing devices.

[0139] Figure 8 A schematic diagram of the structure of a simulated seismic image vectorization device provided by an embodiment of the present invention is shown in FIG. Figure 8 As shown, it includes: a seismic image acquisition module 81, a preprocessing module 82, a simulated seismic record extraction module 83, a splicing module 84, and a visualization module 85.

[0140] A seismic image acquisition module 81 is used to acquire a seismic image including a seismic waveform in a simulated seismic drawing;

[0141] A preprocessing module 82 is used to preprocess the seismic image and save it to a database after verification;

[0142] A simulated seismic record extraction module 83 is used to extract a simulated seismic record from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis, and save it to a database after proofreading, wherein the simulated seismic record at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform;

[0143] A splicing module 84 is used to splice the strong vibration waveform according to the time axis of the time information to obtain vectorized waveform curve data;

[0144] The visualization module 85 is used to perform visualization processing on the waveform curve data based on a visualization algorithm, and output a waveform curve corresponding to the waveform curve data.

[0145] The embodiments of the present invention provide a method and system for constructing vectorization of simulated seismic images based on a waveform balance field algorithm. By applying a series of algorithms based on the waveform balance field algorithm, supplemented by image processing and artificial intelligence processing, paper-based simulated seismic drawings are scanned, compressed, and binarized, and then digitized and vectorized. Finally, the strong vibration waveform areas are extracted through artificial intelligence processing algorithms such as the K-Medoids clustering algorithm. The entire processing process from existing paper data to clear, scale-accurate data digitized by vectorization is completed in a comprehensive, systematic and scientific manner, providing a good experience in digitizing and vectorizing simulated seismic drawings.

[0146] Based on any of the above embodiments, the device may further include a file loading module, an eraser module, etc.

[0147] Among them, the file loading module is used to obtain the original image material. It can either extract the imported binary image from the database (MongoDB) or load the image directly from the folder; the eraser module is used to erase stains, artificial annotations, etc. in naturally preserved geological images, and output clean seismic measurement data information that is easy to process later.

[0148] Based on any of the above embodiments, the seismic image acquisition module 81 may be specifically used for:

[0149] Scan the analog seismic measurement drawings to obtain digital seismic measurement images;

[0150] Obtaining drawing information of the simulated seismic measurement drawing;

[0151] Naming the seismic image obtained by scanning according to a preset rule;

[0152] The seismic image is associated with the drawing information and stored in a database.

[0153] Based on any of the above embodiments, the preprocessing module 82 may be specifically used for:

[0154] Performing image compression on the seismic image obtained by scanning;

[0155] Binarizing the compressed seismic image and outputting the binarized seismic image;

[0156] The binarized seismic image is named according to a preset standard;

[0157] The file name of the seismic image is verified according to three different verification rules: a file naming verification rule, an illegal character verification rule, and an input time verification rule;

[0158] The successfully verified seismic images are stored in a database.

[0159] Based on any of the above embodiments, the simulated seismic record extraction module 83 can be specifically used for:

[0160] Performing preliminary processing on the seismic image, including searching for start and end points, judging waveforms, and erasing weak vibration waveforms;

[0161] Obtain extraction algorithms for waveform balance field analysis;

[0162] Extracting a vectorized simulated seismic record from the result after erasing the weak vibration wave based on the extraction algorithm, the simulated seismic record at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform;

[0163] The simulated seismic measurement records are proofread for uniqueness and accuracy, and the successfully proofread simulated seismic measurement records are saved in a database.

[0164] Based on any of the above embodiments, the splicing module 84 can be specifically used for:

[0165] Acquire a vector point set in the form of a two-dimensional table from the vectorized simulated seismic record;

[0166] Determine the preset time mark point;

[0167] Extracting data vectors and timestamps from the vector point set based on the time-stamped points;

[0168] The discrete data vectors are spliced ​​according to the timestamps to obtain continuous, vectorized waveform curve data.

[0169] Based on any of the above embodiments, the visualization module 85 may be specifically used for:

[0170] Determine the selected range of the preset;

[0171] Acquiring waveform curve data within the selected range;

[0172] Based on the improved K-medoids clustering algorithm, a waveform curve data segment corresponding to the strong vibration waveform is extracted from the waveform curve data within the selected range.

[0173] The waveform curve data segment is quantitatively fitted to obtain a waveform curve corresponding to the strong vibration waveform.

[0174] Based on any of the above embodiments, the device may further include:

[0175] The backup module is used to asynchronously copy the data information in the database to a preset number of backup databases in real time and verify each other;

[0176] A waveform curve data storage module is used to store the waveform curve data provided to the visualization algorithm in the form of a vector point set into a txt document and save it to a database;

[0177] The display module is used to display the waveform curve obtained by processing the visualization algorithm.

[0178] The system provided in the embodiment of the invention is used to execute the corresponding method mentioned above. Its specific implementation method is consistent with the implementation method of the method. The algorithm flow involved is similar to the algorithm flow of the corresponding method and will not be repeated here.

[0179] Fig. 9 An example of a physical structure diagram of an electronic device is shown in FIG. Fig. 9 As shown, the electronic device may include: a memory 910, a communication interface 920, a processor 930 and a communication bus 940, wherein the communication interface 920, the processor 930 and the memory 910 communicate with each other through the communication bus 940. The processor 930 may call the logic instructions in the memory 910 to execute the following method: obtaining a seismic image including a seismic waveform in a simulated seismic drawing; preprocessing the seismic image and saving it to a database after verification; extracting a simulated seismic record from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis, and saving it to a database after verification, wherein the simulated seismic record at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform; splicing the strong vibration waveform according to the time axis based on the time information to obtain vectorized waveform curve data; visualizing the waveform curve data based on a visualization algorithm, and outputting a waveform curve corresponding to the waveform curve data.

[0180] In addition, the logic instructions in the above-mentioned memory 910 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0181] On the other hand, an embodiment of the present invention further provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the transmission method provided in the above embodiments is implemented, for example, including: a memory 910, a communication interface 920, a processor 930 and a communication bus 940, wherein the communication interface 920, the processor 930 and the memory 910 communicate with each other through the communication bus 940. The processor 930 can call the logic instructions in the memory 910 to execute the following method:

[0182] Acquire a seismic image including a seismic waveform in a simulated seismic drawing;

[0183] Preprocessing the seismic image and saving it to a database after verification;

[0184] Extracting a simulated seismic record from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis, and saving the simulated seismic record to a database after proofreading, wherein the simulated seismic record at least includes a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform;

[0185] Based on the time information, the strong vibration waveform is spliced ​​according to the time axis to obtain vectorized waveform curve data;

[0186] Based on a visualization algorithm, the waveform curve data is visualized and a waveform curve corresponding to the waveform curve data is output.

[0187] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0188] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0189] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A vectorization method for seismic images, It is characterized in that include: Acquire a seismic image including a seismic waveform in a simulated seismic drawing; Preprocessing the seismic image and saving it to a database after verification; Based on the extraction algorithm of waveform balance field analysis, a simulated seismic record is extracted from the seismic waveform in the seismic image, and saved to the database after proofreading. The simulated seismic record includes at least a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform, specifically including: Performing preliminary processing on the seismic image including searching for start and end points, judging waveforms, and erasing weak vibration waveforms; Obtain extraction algorithms for waveform balance field analysis; Extracting a vectorized simulated seismic record from the result after erasing the weak vibration wave based on the extraction algorithm, the simulated seismic record at least including the vectorized strong vibration waveform and the time information corresponding to the strong vibration waveform; Proofreading the uniqueness and accuracy of the simulated seismic measurement records, and saving the successfully proofread simulated seismic measurement records to a database; Search the start and end points of the seismic image, determine the type of waveform in the entire gridded seismic image, track and erase the weak vibration waveform in the record through the weak vibration waveform extraction algorithm, and finally use the waveform balance field analysis extraction algorithm to extract the strong vibration waveform from the result after erasing the weak vibration wave, and save it in the form of a vector point set to a non-relational database; When searching including the start and end points, the entire seismic image is traversed pixel by pixel to obtain the starting point of each row of data; all seismic waveforms are searched vertically downward from the coordinate position of the upper left corner of the seismic image; the ordinate is extracted when a pixel value jump occurs, thereby obtaining the starting coordinates and line width of each row of the seismic waveform in the seismic image, and then the point set contained in each row and the run of all rows of the seismic waveform are obtained according to the coordinates of the starting points of each row, and the average run between adjacent curves is calculated, wherein the run specifically refers to the height between two seismic curves on the drawing; At the same time, when making waveform judgment, the ratio of each row run to the average run data obtained above is judged. When the ratio is less than 1, the waveform is determined to be a weak vibration wave, otherwise it is a strong vibration wave, thereby completing the recognition of the seismic waveform; after completing the above operation, the obtained weak vibration wave is extracted to obtain a set of weak vibration waveforms in the seismic image, and it is erased to prepare for the subsequent extraction of strong vibration waveforms, wherein the strong vibration wave extraction adopts an extraction algorithm based on waveform balance field analysis; At the same time, the waveform balance field analysis algorithm tracks the black pixel points of the curve wave, finds the pixel color jump boundary of the strong vibration wave, calculates the number of black pixel points within a certain neighborhood range, and compares it with the number of black pixels at the balance point, thereby tracking the trend of the waveform curve, and then converting the discrete point set into the entire curve, and extracting and outputting the final result to obtain a complex curve waveform; splicing the strong vibration waveforms according to the time axis based on the time information to obtain vectorized waveform curve data; Based on a visualization algorithm, the waveform curve data is visualized and a waveform curve corresponding to the waveform curve data is output; The step of performing visualization processing on the waveform curve data based on a visualization algorithm and outputting a waveform curve corresponding to the waveform curve data specifically includes: Determine the selected range of the preset; Acquiring waveform curve data within the selected range; Based on the improved K-medoids clustering algorithm, the waveform curve data segment corresponding to the strong vibration waveform is extracted from the waveform curve data within the selected range; The waveform curve data segment is quantitatively fitted to obtain a waveform curve corresponding to the strong vibration waveform.

2. The method for vectorizing seismic images according to claim 1, It is characterized in that The step of obtaining the seismic image including the seismic waveform in the simulated seismic drawing specifically includes: Scan the analog seismic measurement drawings to obtain digital seismic measurement images; Obtaining drawing information of the simulated seismic measurement drawing; Naming the seismic image obtained by scanning according to a preset rule; The seismic image is associated with the drawing information and stored in a database.

3. The method for vectorizing seismic images according to claim 1, It is characterized in that The preprocessing of the seismic image and saving it to the database after verification specifically includes: Performing image compression on the seismic image obtained by scanning; Binarizing the compressed seismic image and outputting the binarized seismic image; The binarized seismic image is named according to a preset standard; The file name of the seismic image is verified according to three different verification rules: a file naming verification rule, an illegal character verification rule, and an input time verification rule; The successfully verified seismic images are stored in a database.

4. The method for vectorizing seismic images according to claim 1, It is characterized in that The step of splicing the strong vibration waveforms according to the time axis based on the time information to obtain vectorized waveform curve data specifically includes: Acquire a vector point set in the form of a two-dimensional table from the vectorized simulated seismic record; Determine the preset time mark point; Extracting data vectors and timestamps from the vector point set based on the time-stamped points; The discrete data vectors are spliced ​​according to the timestamps to obtain continuous, vectorized waveform curve data.

5. The method for vectorizing seismic images according to any one of claims 1 to 4, It is characterized in that After performing visualization processing on the waveform curve data based on the visualization algorithm and outputting the waveform curve corresponding to the waveform curve data, the method further includes: Asynchronously copy the data information in the database to a preset number of backup databases in real time and verify each other; The waveform curve data provided to the visualization algorithm is stored in a txt document in the form of a vector point set and saved in a database; The waveform curve obtained by processing the visualization algorithm is displayed.

6. A vectorization device for seismic images, It is characterized in that include: A seismic image acquisition module, used to acquire a seismic image including a seismic waveform in a simulated seismic drawing; A preprocessing module, used to preprocess the seismic image and save it to a database after verification; A simulated seismic record extraction module is used to extract simulated seismic records from the seismic waveform in the seismic image based on an extraction algorithm of waveform balance field analysis, and save the simulated seismic records to a database after proofreading, wherein the simulated seismic records at least include a vectorized strong vibration waveform and time information corresponding to the strong vibration waveform; specifically, it includes: Performing preliminary processing on the seismic image including searching for start and end points, judging waveforms, and erasing weak vibration waveforms; Obtain extraction algorithms for waveform balance field analysis; Extracting a vectorized simulated seismic record from the result after erasing the weak vibration wave based on the extraction algorithm, the simulated seismic record at least including the vectorized strong vibration waveform and the time information corresponding to the strong vibration waveform; Proofreading the uniqueness and accuracy of the simulated seismic measurement records, and saving the successfully proofread simulated seismic measurement records to a database; Search the start and end points of the seismic image, determine the type of waveform in the entire gridded seismic image, track and erase the weak vibration waveform in the record through the weak vibration waveform extraction algorithm, and finally use the waveform balance field analysis extraction algorithm to extract the strong vibration waveform from the result after erasing the weak vibration wave, and save it in the form of a vector point set to a non-relational database; When searching including the start and end points, the entire seismic image is traversed pixel by pixel to obtain the starting point of each row of data; all seismic waveforms are searched vertically downward from the coordinate position of the upper left corner of the seismic image; the ordinate is extracted when a pixel value jump occurs, thereby obtaining the starting coordinates and line width of each row of the seismic waveform in the seismic image, and then the point set contained in each row and the run of all rows of the seismic waveform are obtained according to the coordinates of the starting points of each row, and the average run between adjacent curves is calculated, wherein the run specifically refers to the height between two seismic curves on the drawing; At the same time, when making waveform judgment, the ratio of each row run to the average run data obtained above is judged. When the ratio is less than 1, the waveform is determined to be a weak vibration wave, otherwise it is a strong vibration wave, thereby completing the recognition of the seismic waveform; after completing the above operation, the obtained weak vibration wave is extracted to obtain a set of weak vibration waveforms in the seismic image, and it is erased to prepare for the subsequent extraction of strong vibration waveforms, wherein the strong vibration wave extraction adopts an extraction algorithm based on waveform balance field analysis; At the same time, the waveform balance field analysis algorithm tracks the black pixel points of the curve wave, finds the pixel color jump boundary of the strong vibration wave, calculates the number of black pixel points within a certain neighborhood range, and compares it with the number of black pixels at the balance point, thereby tracking the trend of the waveform curve, and then converting the discrete point set into the entire curve, and extracting and outputting the final result to obtain a complex curve waveform; A splicing module, used for splicing the strong vibration waveform according to the time axis of the time information to obtain vectorized waveform curve data; A visualization module is used to perform visualization processing on the waveform curve data based on a visualization algorithm and output a waveform curve corresponding to the waveform curve data, specifically including: Determine the selected range of the preset; Acquiring waveform curve data within the selected range; Based on the improved K-medoids clustering algorithm, the waveform curve data segment corresponding to the strong vibration waveform is extracted from the waveform curve data within the selected range; The waveform curve data segment is quantitatively fitted to obtain a waveform curve corresponding to the strong vibration waveform.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the vectorization method of the seismic image as described in any one of claims 1 to 5 is implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for vectorizing a seismic image as claimed in any one of claims 1 to 5 is implemented.