Image processing method based on spatiotemporal series prediction
Through the spatio-temporal sequence prediction method, combined with maximum likelihood estimation and long short-term memory network, the earthquake b-value data set is calculated, which solves the problem of the spatial variation characteristics of earthquake b-value being ignored in the existing technology and achieves multi-dimensional visibility of earthquake risks. and accurate predictions.
Patent Information
- Application Number
- CN202410694567.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Existing seismic b-value time series prediction methods fail to effectively consider its changing characteristics in the spatial domain, resulting in a lack of multi-dimensional visibility and accuracy in risk assessment results.
An image processing method based on spatio-temporal sequence prediction is used to calculate the earthquake b-value data set through a combination of maximum likelihood estimation and long short-term memory network, and the spatio-temporal sequence prediction model is used to form a risk assessment result image to display the spatial distribution of earthquake risks. .
It realizes the simultaneous calculation of seismic b-values in the time and space domains, simplifies the prediction process, and intuitively displays microseismic activity trends in the form of "satellite cloud images", providing a new perspective and method for microseismic early warning.
Smart Images

Figure CN118259350B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image processing, and in particular relates to an image processing method based on spatiotemporal sequence prediction. Background Art
[0002] Early detection and early prediction of geological disaster risks can effectively reduce the impact of disasters on people's lives and property safety. Microseismic monitoring technology uses rock fracture information before and after geological disasters to predict disaster risks, and has received widespread attention in recent years. Among them, the risk assessment method based on microseisms has always been a core issue, and activity parameters are often used as indicators for risk assessment. Since the famous earthquake magnitude-frequency relationship was proposed in 1994, the magnitude-frequency relationship has become an important reference for quantifying seismic activity. Among them, the earthquake b value is a very important analysis indicator. It not only intuitively reflects the ratio between small earthquakes and large earthquakes, but is also considered to measure the size and distribution of stress in the region. According to relevant studies, strong earthquakes often occur on active fault zones with high stress accumulation, and the earthquake b value has also been shown to be related to the shear stress of the underground medium, and the earthquake b value decreases with the increase of stress. Therefore, domestic and foreign scholars use this characteristic of the earthquake b value to explore high-stress areas, so as to analyze high-risk areas where strong earthquakes may occur.
[0003] After years of development, the prediction of earthquake b-values has been significantly improved in terms of computational efficiency and accuracy, and can well learn the evolution trend of earthquake b-values. However, the existing prediction methods only consider the evolution law of earthquake b-values in the time domain, while ignoring its changing characteristics in the spatial domain. Summary of the invention
[0004] The purpose of the present invention is to propose an image processing method based on spatiotemporal series prediction to solve the problem that the existing earthquake b-value time series prediction method proposed in the above background technology does not take into account the evolution law of its spatial scale. The method starts with the production of microseismic spatial earthquake b-value data set, and through the spatiotemporal series prediction network, the risk prediction results of the work area are displayed in the spatial scale, thereby realizing the multi-dimensional visibility of the risk assessment results.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] An image processing method based on spatiotemporal sequence prediction, the method comprising the following steps:
[0007] S1. Calculate the earthquake b-value sequence in the past time period using the maximum likelihood estimation method to obtain an earthquake b-value data set;
[0008] S2, adopting a training method combining planned sampling and reverse planned sampling, and using long short-term memory network to train spatiotemporal sequence prediction model;
[0009] S3. Predict the earthquake b-value sequence through the space-time sequence prediction model and form an image to obtain the risk assessment results of different regions in the future time period.
[0010] Furthermore, the calculation method of the earthquake b-value dataset is as follows:
[0011] SS1. Data collection and preprocessing: Collect a complete earthquake catalog in a fixed area, which includes the time, longitude and latitude of each earthquake, and the magnitude of the earthquake; clean the collected data to remove erroneous or incomplete earthquake catalog sequences;
[0012] SS2. Define time scan window: determine a time scan window, cut the preprocessed data based on the time scan window, and obtain the data within a fixed time period in the entire area;
[0013] SS3. Define a spatial scanning window: determine a spatial scanning window, which will be moved in the study area later. The size and shape of the spatial scanning window are related to the geological characteristics of the study area and the distribution of data;
[0014] SS4. Calculate the dynamic change image of the earthquake b value in each window: For the earthquake set in each window, the maximum likelihood estimation method is used to calculate the earthquake b value;
[0015] SS5, spatial scanning: with a fixed scanning step length, move the scanning window determined in step SS3, repeat the calculation method of step SS4 in the area defined by each window, and obtain the seismic b value at each window position;
[0016] SS6. Time scanning: loop through steps SS3 to SS5 using the time window data obtained in step SS2 to obtain a seismic b-value image in each time period.
[0017] Furthermore, the method for calculating the earthquake b-value using the maximum likelihood estimation method is as follows:
[0018] The estimation formula of earthquake b value and its standard confidence interval is derived by using the maximum likelihood estimation method:
[0019] ;
[0020] Where N is the total number of events, M u is the magnitude of the u-th event, M0 is the minimum magnitude of the event sample data, called the starting magnitude, e=2.718;
[0021] The formula for calculating standard deviation is:
[0022] ;
[0023] Furthermore, when the magnitude distribution is uneven,
[0024] ;
[0025] In the formula, is the magnitude interval, m is the magnitude level, n k is the number of events when the bin is at the k-th level, .
[0026] or ;
[0027] In the formula, is the minimum complete magnitude, that is, the minimum magnitude that deviates from the FMD fitting relationship, is greater than The average magnitude of all events.
[0028] Furthermore, the spatiotemporal sequence prediction model in step S2 adopts a new type of long short-term memory network unit as the minimum stacking unit, and the calculation formula of the long short-term memory network unit is:
[0029] ;
[0030] ;
[0031] ;
[0032] ;
[0033] ;
[0034] ;
[0035] ;
[0036] ;
[0037] ;
[0038] ;
[0039] In the formula, is the input of the current time step; , and Input modulation gate, input gate and forget gate in the time unit, is the weight matrix of the input modulation gate, For the previous moment Input the weight matrix of the modulation gate, is the bias term of the input modulation gate; is the weight matrix of the input gate, For the previous moment The weight matrix of the input gate, is the bias term of the input gate; is the weight matrix of the forget gate, For the previous moment The weight matrix of the forget gate, is the bias term of the forget gate; , and Input modulation gate, input gate and forget gate in the spatiotemporal unit, The weight matrix of the modulation gate for the spatiotemporal unit input, Up one layer for the space-time unit Input the weight matrix of the modulation gate, A bias term for the modulation gate input for the space-time unit; is the weight matrix of the spatiotemporal unit input gate, Up one layer for the space-time unit The weight matrix of the input gate, Bias term for the input gate of the space-time unit; is the weight matrix of the forget gate of the spatiotemporal unit, Up one layer for the space-time unit The weight matrix of the forget gate, is the bias term of the forget gate of the spatiotemporal unit; is the output gate, is the weight matrix of the output gate, For the previous moment The weight matrix of the output gate, for The weight matrix of the temporal memory unit output gate, For the current layer The weight matrix of the output gate, is the bias term of the output gate; is the time from the previous node t- 1 is passed to each LSTM network unit at the current time step of the standard time memory unit, It is space-time memory. l = 1 layer vertically passed to the current node at the same time step, where l =1, , For the l Layer in time t The hidden state of is the weight matrix between temporal memory and spatiotemporal memory; is the Hadamard product, is the activation function.
[0040] Finally, the final hidden state of the node relies on the fused spatiotemporal memory, concatenating memories from different directions, and then applying a 1×1 convolutional layer for dimensionality reduction, making the hidden state The dimension of is the same as the dimension of the memory cell.
[0041] The present invention has the following beneficial effects:
[0042] This method calculates the temporal evolution law and spatial dimension of microseismic activity simultaneously in the calculation of earthquake b-values, and then uses the space-time series prediction model to predict earthquake b-value images. It not only simplifies the calculation process of earthquake b-values, but also intuitively displays the activity trend of microseisms in the form of "satellite cloud images", providing a new perspective and method for microseismic early warning. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0044] Figure 1 It is a flow chart of the technical solution of the present invention;
[0045] Figure 2 This is the network structure diagram of the spatiotemporal series prediction model;
[0046] Figure 3 This is a diagram of the unit structure of the long short-term memory network;
[0047] Figure 4 A display of the spatial distribution of earthquakes provided to the American Seismological Association;
[0048] Figure 5 is the magnitude-frequency distribution diagram;
[0049] Figure 6 This is a sample diagram for testing this method;
[0050] Figure 7 This is an example of a typical prediction result. DETAILED DESCRIPTION
[0051] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0052] See also Figure 1 As shown, an image processing method based on spatiotemporal sequence prediction includes the following steps:
[0053] S1. Calculate the earthquake b-values in the past time period, including the calculation of the earthquake b-value data set;
[0054] The calculation method of the earthquake b-value dataset is as follows:
[0055] SS1. Data collection and preprocessing: Collect a complete earthquake catalog in a fixed area, which includes the time, longitude and latitude of each earthquake, and the magnitude of the earthquake; clean the collected data to remove erroneous or incomplete earthquake catalog sequences;
[0056] SS2. Define time scan window: determine a time scan window, cut the preprocessed data based on the time scan window, and obtain the data within a fixed time period in the entire area;
[0057] SS3. Define a spatial scanning window: determine a spatial scanning window, which will be moved in the study area later. The size and shape of the spatial scanning window are related to the geological characteristics of the study area and the distribution of data;
[0058] SS4. Calculate the dynamic change image of the earthquake b value in each window: For the earthquake set in each window, the maximum likelihood estimation method is used to calculate the earthquake b value;
[0059] SS5, spatial scanning: with a fixed scanning step length, move the scanning window determined in step SS3, repeat the calculation method of step SS4 in the area defined by each window, and obtain the seismic b value at each window position;
[0060] SS6. Time scanning: loop through steps SS3 to SS5 using the time window data obtained in step SS2 to obtain a seismic b-value image in each time period.
[0061] In the calculation of the above earthquake b-value, the temporal evolution law and spatial dimension of earthquake activity were calculated simultaneously.
[0062] Among them, the maximum likelihood estimation method is used to calculate the earthquake b value as follows:
[0063] Assuming that the magnitude presents an exponential distribution, the estimation formula of the earthquake b value and its standard confidence interval is derived using the maximum likelihood estimation method:
[0064] (1)
[0065] In the formula, N is the total number of events, Mu is the magnitude of the u-th event; M0 is the minimum magnitude of the event sample data sampling, called the starting magnitude; e = 2.718. If the magnitude distribution is uneven during the calculation process, the calculation method of adding up the magnitudes in formula (1) will no longer be applicable. In order to avoid the impact of this situation, the earthquake b value can be calculated using formula (2):
[0066] (2)
[0067] In the formula, is the magnitude interval, m is the magnitude level, n k is the number of events when the bin is at the k-th level, .
[0068] The formula for calculating standard deviation is:
[0069] (3)
[0070] The above formula (2) can also be written as:
[0071] (4)
[0072] In the formula, is the minimum complete magnitude, that is, the minimum magnitude that deviates from the magnitude-frequency distribution fitting relationship, is greater than The average magnitude of all events;
[0073] S2, training spatiotemporal sequence prediction model;
[0074] The structure of the spatiotemporal series prediction model is as follows Figure 2 As shown, the box represents the smallest stacking unit in the network, and the solid arrow line and the dotted arrow line represent the information flow path of the time memory unit and the space-time unit respectively. In this model structure diagram, , and For the current t and t +1, t +2 extracted spatial information. This model explores the internal memory units, memory gates and memory fusion mechanisms of the long short-term memory network unit and the convolutional long short-term memory network, and proposes a new type of long short-term memory network unit as the minimum stacking unit. The structure of the long short-term memory network unit is as follows: Figure 3 As shown. The long short-term memory network unit can capture the long-term dependency in time series data, and at the same time can consider the correlation of data in the spatial dimension. The calculation formula of the long short-term memory network unit is as follows:
[0075] ;
[0076] ;
[0077] ;
[0078] ;
[0079] ;
[0080] ;
[0081] ;
[0082] ;
[0083] ;
[0084] ; (5)
[0085] In the formula, is the input of the current time step; , and Input modulation gate, input gate and forget gate in the time unit, is the weight matrix of the input modulation gate, For the previous moment Input the weight matrix of the modulation gate, is the bias term of the input modulation gate; is the weight matrix of the input gate, For the previous moment The weight matrix of the input gate, is the bias term of the input gate; is the weight matrix of the forget gate, For the previous moment The weight matrix of the forget gate, is the bias term of the forget gate; , and Input modulation gate, input gate and forget gate in the spatiotemporal unit, The weight matrix of the modulation gate for the spatiotemporal unit input, Up one layer for the space-time unit Input the weight matrix of the modulation gate, A bias term for the modulation gate input for the space-time unit; is the weight matrix of the spatiotemporal unit input gate, Up one layer for the space-time unit The weight matrix of the input gate, Bias term for the input gate of the space-time unit; is the weight matrix of the forget gate of the spatiotemporal unit, Up one layer for the space-time unit The weight matrix of the forget gate, is the bias term of the forget gate of the spatiotemporal unit; is the output gate, is the weight matrix of the output gate, For the previous moment The weight matrix of the output gate, for The weight matrix of the temporal memory unit output gate, For the current layer The weight matrix of the output gate, is the bias term of the output gate; is the time from the previous node t- 1 is passed to each LSTM network unit at the current time step of the standard time memory unit, It is space-time memory. l = 1 layer vertically passed to the current node at the same time step, where l =1, , For the l Layer in time t The hidden state of is the weight matrix between temporal memory and spatiotemporal memory; is the Hadamard product, is the activation function.
[0086] Finally, the final hidden state of the node relies on the fused spatiotemporal memory, concatenating memories from different directions, and then applying a 1×1 convolutional layer for dimensionality reduction, making the hidden state The dimension of is the same as that of the memory unit. And unlike simple memory connections, LSTM network units use a shared output gate for both memory types to achieve seamless memory fusion, which can effectively simulate shape deformation and motion trajectories in spatiotemporal sequences.
[0087] The input data format of the spatiotemporal sequence prediction model is a four-dimensional array, usually expressed as THWC, where T represents the length of the spatiotemporal sequence, that is, the number of frames or time steps in the sequence; H and W represent the height and width of each picture, respectively; C is the number of channels of each picture. The output format is usually expressed as KHWC, where the parameters have the same meanings as the input parameters, but K represents the length of the future sequence, that is, the predicted number of frames or time steps, and the loss function adopts a hybrid loss function combining L1+L2. In order to improve the robustness and generalization ability of the model, a training method combining planned sampling and reverse planned sampling is used to train the model. The specific training steps are as follows:
[0088] (a) Setting parameters: defining the initialization probability and the end probability, which will determine the probability of using the real frame or the predicted frame during the training process, and setting the probability change strategy, such as linear, exponential or sigmoid function, to control the rate of change of the probability during the training process;
[0089] (b) Apply reverse planned sampling: When processing the input sequence, i.e., the encoding phase of the model, according to the parameters and variation strategy set in step a, randomly decide whether to use the real frame or the previous frame generated by the model itself at each time step, and gradually increase the probability of using the previous frame generated by the model itself as input;
[0090] (c) Applying planned sampling: When predicting future sequences, i.e., the decoding phase of the model, a planned sampling strategy is used to gradually shift from relying entirely on real frames to relying entirely on previous frames generated by the model itself;
[0091] (d) regularly checking the performance of the model during the training process, and adjusting the values of the initialization probability and the end probability, as well as the strategy for probability change, according to the performance of the model, so that the model can smoothly transition from relying on real data to relying on its own predictions throughout the training process;
[0092] (e) Monitor and evaluate training results: Continuously monitor the performance of the model during training, especially the performance changes after applying the RSS and SS strategies, and evaluate the learning effect;
[0093] (f) Fine-tuning and optimization: Based on the performance feedback of the model, fine-tune the parameter settings of the sampling plan and the reverse sampling plan. If necessary, adjust the model structure or training parameters to further improve the model's prediction accuracy for spatiotemporal data.
[0094] S3. Predict earthquake b-value images through the spatiotemporal sequence prediction model, obtain risk assessment results for different areas in the work area in the future time period, and realize the prediction task of the spatiotemporal sequence of earthquake b-values.
[0095] The present invention uses a public earthquake catalog provided by the American Seismological Union, whose data source is a public earthquake catalog, to verify the effectiveness of the method of the present invention. Taking the Southern California region of the United States as an example, since the region is located on the boundary of the Pacific Plate and the North American Plate, the relative movement of the two plates has caused a large number of active faults. This geological structure has led to a high degree of seismic activity in the region. In order to ensure the integrity and effectiveness of the earthquake catalog, a catalog of earthquakes with a magnitude ≥ 1 in the Southern California region (115°-121°W, 32°-38°N) from January 1, 2000 to December 31, 2023, a total of 24 years, was selected. The catalog includes the time, location, depth and magnitude of the earthquake. A total of 130,000 earthquake catalogs were obtained. After excluding catalogs with incomplete data (such as lack of depth or magnitude), 126,984 earthquake catalogs were obtained, and the distribution is shown as follows Figure 4 As shown, the yellow five-pointed star indicates that the earthquake magnitude at that location is ≥4.9. The earthquake catalog of this part of events is shown in Table 1.
[0096] Table 1 List of earthquakes with magnitude ≥ 4.9
[0097]
[0098] The magnitude and frequency distribution of the selected earthquake catalog is as follows: Figure 5 As shown in the figure, it can be seen that the number of events with a magnitude between 0 and 3 accounts for 95.3% of the total number of events, that is, microseismic events account for the vast majority, and the typical earthquakes listed in Table 1 are all earthquake events with a magnitude of about 5. Therefore, the data can be used to verify the effectiveness of the method of capturing the possibility of medium-sized earthquake events by studying the temporal evolution of microseismic activity. The earthquake catalog for the 24 years introduced above is divided into data with an interval of 10 days and a calculation period of 1 year, and 840 groups of earthquake catalogs recorded in years are obtained. The spatial earthquake b-value calculation method is adopted, with an area of 0.1°×0.1° as the calculation window and a moving step of 0.1° to calculate the spatial earthquake b-value of each group of earthquake catalogs, and 840 spatial earthquake b-value RGB images with a time interval of 10 days are obtained. By Figure 4 It can be seen that earthquakes of magnitude 4.9 and above mostly occurred in the 117°-119°W 35°-37°N area. However, in order to ensure the spatial continuity of the earthquake b value, the results between 116°-120°W 33°-37°N in the spatial earthquake b value image were intercepted as the data set. In order to ensure the consistency of the dimension of the input data, the original image was resized and the image size was converted to 128×128; after processing the image size, the earthquake b value in the image was normalized by min-max to improve the generalization ability of the model.
[0099] After obtaining 840 processed images, the 840 images were divided into training sets and test sets, with the training set accounting for 80% and the test set accounting for 20%. The data in the training set and the test set were divided into sequences with the goal of predicting the evolution of earthquake b-values in the next 20 days, and data instances were segmented from these images using a sliding window with a width of 12 frames. The resulting spatiotemporal earthquake b-value dataset contains 669 training sequences and 149 test sequences, all of which are 12 frames long (10 input frames and 2 prediction frames). In order to ensure that the network can learn the evolution of spatiotemporal earthquake b-values, the segmented training and test instances are all sequentially divided, and there is no random extraction of sequences. Although this division method may have some dependencies, this segmentation strategy is still reasonable because in real observations, it is studied by accessing previous data, including data from the same period.
[0100] Set the model parameter strategy, use the ADAM optimizer, use 4 sequences as a batch to train the model, and set the learning rate to 10 -4 , and the training process was stopped after 1000 iterations. Four LSTM network unit layers were used in the predictive recurrent neural network to strike a balance between prediction quality and training efficiency, the number of channels per hidden state was set to 128, and the convolution sum size within the LSTM network unit was set to 5×5.
[0101] In order to prove the effectiveness of the prediction results of the spatiotemporal series of earthquake b-values, the three indicators of peak signal-to-noise ratio, structural similarity and learning perception image block similarity, which are commonly used evaluation indicators for spatiotemporal series prediction, are used to evaluate the prediction results. The physical meanings and calculation formulas of these three indicators are as follows:
[0102] A. Peak signal-to-noise ratio
[0103] Peak signal-to-noise ratio is a method for evaluating the quality of image reconstruction. It is usually used to compare the original image and the compressed or reconstructed image. The calculation formula is shown in formula (6):
[0104] (6)
[0105] Among them MAX I is the maximum possible pixel value of the image (e.g. the maximum pixel value of an 8-bit image is 255), MSE is the mean square error, and its calculation formula is shown in formula (7):
[0106] (7)
[0107] I is the original image, K is the compressed or reconstructed image, m and n are the number of rows and columns of the image respectively.
[0108] B. Structural similarity
[0109] Structural similarity is used to quantify the visual similarity between two images. It mainly considers three aspects: brightness, contrast, and structure. The calculation formula of structural similarity is shown in formula (8):
[0110] (8)
[0111] Among them, x and y are the two images to be compared, are the average values of x and y, respectively. are the variances of x and y, respectively, is the covariance of x and y, is a constant used to maintain stability.
[0112] C. Learning to perceive image patch similarity
[0113] Learning-perceptual patch similarity is a perceptual image similarity measure trained using deep learning and used to evaluate image quality. There is no fixed calculation formula for learning-perceptual patch similarity because it depends on specific training models and parameters. The basic idea is to compare the features of an image through a deep network, and then evaluate the similarity between images based on these features. The calculation usually involves the following steps: passing two images through a pre-trained deep neural network to obtain feature maps at different levels; calculating the Euclidean distance or other distance measure between feature maps at a specific layer; and weighted summing these distances to obtain the final similarity measure. The lower the value of learning-perceptual patch similarity, the more perceptually similar the two images are.
[0114] The effectiveness of the prediction method was tested on the predictive recurrent neural network model. Ten groups were randomly selected from the test set to calculate the above evaluation indicators. The maximum structural similarity value of the prediction indicator was used as the benchmark, and the evaluation indicators of the sample were obtained as shown in Table 2. From the data in the table, it can be seen that the predictive recurrent neural network model is effective for the spatiotemporal sequence prediction of earthquake b values, but its prediction accuracy still has room for improvement. The main reason is that for the spatiotemporal sequence prediction network, a large amount of sample data is required for training, but the frequency of earthquakes is not enough to support the calculation of a large number of earthquake b values. The scarcity of samples leads to the problem of overfitting during network training.
[0115] Table 2 Quantitative results of earthquake b-value spatiotemporal series prediction
[0116]
[0117] Figure 6 The test samples in the earthquake b-value dataset are shown. Figure 6-1 For the input frame and the future real frame, Figure 6-2This is the prediction result of the spatiotemporal series prediction model. The colors in the figure range from light to dark, indicating that the values of the b value in the grid range from high to low. Figure 6-2 It can be seen that although the predicted picture is not as clear as the real picture, it can be seen from the prediction results that the spatiotemporal prediction method can still learn the distribution characteristics of earthquake b-values, and transform the evaluation method of the possibility of earthquake occurrence from observing the evolution law of earthquake b-values in time to observing the evolution law of earthquake b-values in space and time, which narrows the possible range of earthquake occurrence and more intuitively expresses it in the form of pictures.
[0118] In order to further illustrate the effectiveness of this method in evaluating the possibility of moderate earthquakes, Figure 7 The b-value map of earthquakes calculated in the twelve time steps before the earthquakes occurred is shown. The colors in the map range from light to dark, indicating that the b-value values in the grid range from high to low. Figure 7-1 This is the original image after resizing. The red frame area in the image is the designated area. Figure 7-2 This is a detailed display of the area in the red frame. The detailed map clearly shows the evolution law of the earthquake b-value in this area. It can be seen that as time gradually approaches the time when the moderate earthquake occurs, the magnitude of the earthquake b-value in this area also shows a gradual decrease, proving that this evolution law can provide a reference for the possibility of moderate earthquakes. Figure 7-3 The two pictures are the spatiotemporal sequence prediction results. Figure 7-1 Compared with the two real pictures in the middle and the latter, the temporal evolution law and spatial distribution shown in the real pictures can be effectively predicted; Figure 7-4 The two pictures are Figure 7-3 The detailed display of the red frame area in the two pictures shows more clearly that the prediction results have better predicted the downward trend of the numerical value of the b-value of earthquakes in this area.
[0119] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well.
Claims
1. An image processing method based on spatiotemporal sequence prediction, It is characterized in that The method comprises the following steps: S1. Calculate the earthquake b-value sequence in the past time period using the maximum likelihood estimation method to obtain an earthquake b-value sequence data set; S2, adopting a training method combining planned sampling and reverse planned sampling, and using long short-term memory network to train spatiotemporal sequence prediction model; S3, predicting earthquake b-value images through the spatiotemporal sequence prediction model, and obtaining risk assessment image results for different regions in the future time period; The calculation method of the earthquake b-value sequence data set is as follows: SS1. Data collection and preprocessing: Collect a complete earthquake catalog in a fixed area, which includes the time, longitude and latitude of each earthquake, and the magnitude of the earthquake; clean the collected data to remove erroneous or incomplete earthquake catalog sequences; SS2. Define time scan window: determine a time scan window, cut the preprocessed data based on the time scan window, and obtain the data within a fixed time period in the entire area; SS3. Define a spatial scanning window: determine a spatial scanning window, which will be moved in the study area later. The size and shape of the spatial scanning window are related to the geological characteristics of the study area and the distribution of data; SS4. Calculate the dynamic change image of the earthquake b value in each window: For the earthquake set in each window, the maximum likelihood estimation method is used to calculate the earthquake b value; SS5, spatial scanning: with a fixed scanning step length, move the scanning window determined in step SS3, repeat the calculation method of step SS4 in the area defined by each window, and obtain the seismic b value at each window position; SS6, time scanning: looping through steps SS3-SS5 with the time window data obtained in step SS2 to obtain a seismic b-value image in each time period; The spatiotemporal sequence prediction model in step S2 uses an improved long short-term memory network unit as the minimum stacking unit, and the calculation formula of the long short-term memory network unit is: ; ; ; ; ; ; ; ; ; ; In the formula, is the input of the current time step; , and Input modulation gate, input gate and forget gate in the time unit, is the weight matrix of the input modulation gate, For the previous moment Input the weight matrix of the modulation gate, is the bias term of the input modulation gate; is the weight matrix of the input gate, For the previous moment The weight matrix of the input gate, is the bias term of the input gate; is the weight matrix of the forget gate, For the previous moment The weight matrix of the forget gate, is the bias term of the forget gate; , and Input modulation gate, input gate and forget gate in the spatiotemporal unit, The weight matrix of the modulation gate for the spatiotemporal unit input, Up one layer for the space-time unit Input the weight matrix of the modulation gate, A bias term for the modulation gate input for the space-time unit; is the weight matrix of the spatiotemporal unit input gate, Up one layer for the space-time unit The weight matrix of the input gate, Bias term for the input gate of the space-time unit; is the weight matrix of the forget gate of the spatiotemporal unit, Up one layer for the space-time unit The weight matrix of the forget gate, is the bias term of the forget gate of the spatiotemporal unit; is the output gate, is the weight matrix of the output gate, For the previous moment The weight matrix of the output gate, for The weight matrix of the temporal memory unit output gate, For the current layer The weight matrix of the output gate, is the bias term of the output gate; is the time from the previous node t- 1 is passed to each LSTM network unit at the current time step of the standard time memory unit, It is space-time memory. l = 1 layer vertically passed to the current node at the same time step, where l =1, , For the l Layer in time t The hidden state of is the weight matrix between temporal memory and spatiotemporal memory; is the Hadamard product, is the activation function.
2. The image processing method based on spatiotemporal sequence prediction according to claim 1, It is characterized in that The method for calculating the earthquake b value using the maximum likelihood estimation method is as follows: The estimation formula of earthquake b value and its standard confidence interval is derived by using the maximum likelihood estimation method: ; Where N is the total number of events, M u is the magnitude of the u-th event, M 0 It is the minimum magnitude of the event sample data sampling, called the starting magnitude, e=2.718; The formula for calculating standard deviation is: ; Among them, m is the magnitude level, is greater than is the average magnitude of all events in the bin, and n is the number of events in the bin.
3. The image processing method based on spatiotemporal sequence prediction according to claim 1, It is characterized in that When the magnitude distribution is uneven, ; In the formula, is the magnitude interval, m is the magnitude level, n k is the number of events when the bin is at the kth level, N is the total number of events, .
