Magnetocardiogram analysis method and device based on spatio-temporal information, equipment and medium
Through the magnetocardial analysis method based on space-time information, the temporal and spatial characteristics of the magnetocardial map are extracted, and the problem of limited analysis capabilities in the prior art is solved, which improves the accuracy and comprehensiveness of magnetocardial map analysis.
Patent Information
- Application Number
- CN202411088674.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-09
AI Technical Summary
The existing magnetic cardiac map analysis method is based on one-dimensional butterfly diagram, and cannot fully tap the spatial and temporal information of magnetic cardiac map in the time and space dimensions, resulting in limited analysis capabilities and affecting the accuracy of the analysis results.
Using the magnetic cardiac map analysis method based on space-time information, the magnetic cardiac map is obtained, the time wave group diagram and spatial wave group diagram are drawn, the time and spatial waveform data of the band are divided, the time and spatial characteristics are extracted, and the degree of waveform deviation is calculated. to obtain analysis results.
The accurate extraction of the time and space information of the cardiac magnetic signal is achieved, the accuracy and comprehensiveness of the cardiac magnetic map analysis is improved, and the electrophysiological changes of the heart can be better portrayed.
Smart Images

Figure CN118986358A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of biomedical signal analysis, and in particular to a magnetocardiogram analysis method and apparatus, equipment, and medium based on spatiotemporal information. Background Art
[0002] Magnetocardiography is a non-invasive cardiac function detection technology that reflects the electrophysiological activity of the heart by measuring the magnetic field generated by cardiac activity. The magnetocardiograph has dozens of channels, equivalent to dozens of precordial leads, and can record more changes in cardiac depolarization and repolarization intensity, rate, waveform, etc., and more reflect the characteristics of depolarization and repolarization changes in various parts of the heart's myocardium.
[0003] In response to these changes in intensity, rate, waveform, etc., most of the existing magnetocardiogram analysis methods are based on the one-dimensional butterfly plot of the magnetocardiogram data for analysis. The horizontal axis of the one-dimensional butterfly plot is time, and the vertical axis is magnetic field intensity. Usually, changes in time and amplitude are extracted from the one-dimensional butterfly plot of the magnetocardiogram data set, such as QT interval, QRS interval, R wave T wave magnetic field intensity ratio, etc. Although this method can identify some information contained in the magnetocardiogram, it has certain limitations and cannot fully explore the spatiotemporal information of the magnetocardiogram in time and space dimensions. Therefore, the analysis ability is limited, affecting the accuracy of the analysis results. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a magnetocardiogram analysis method and apparatus, equipment, and medium based on time-space information, extract time features and space features according to the time wave group diagram and the space wave group diagram respectively, comprehensively analyze the time information and the space information, and obtain more accurate magnetocardiogram analysis results.
[0005] This application mainly includes the following aspects:
[0006] In a first aspect, an embodiment of the present application provides a magnetocardiogram analysis method based on spatiotemporal information, the method comprising:
[0007] Acquire an original magnetocardiogram data set, and draw a time wave group diagram and a space wave group diagram according to the original magnetocardiogram data set;
[0008] Segmenting at least one band of time waveform data in the time wave group graph, and segmenting at least one band of space waveform data in the space wave group graph;
[0009] Determine a plurality of time waveform features according to the time waveform data, and determine a plurality of space waveform features according to the space waveform data;
[0010] The waveform deviation degree between the original magnetocardiogram and the reference is calculated according to the multiple time waveform features and / or the multiple space waveform features, and the analysis result of the original magnetocardiogram is obtained according to the waveform deviation degree.
[0011] In a second aspect, an embodiment of the present application further provides a magnetocardiogram analysis device based on spatiotemporal information, the magnetocardiogram analysis device based on spatiotemporal information comprising:
[0012] A wave group diagram drawing module, used for acquiring an original magnetocardiogram data set, and drawing a time wave group diagram and a space wave group diagram according to the original magnetocardiogram data set;
[0013] A band segmentation module, used for segmenting at least one band of time waveform data in the time wave group diagram, and segmenting at least one band of space waveform data in the space wave group diagram;
[0014] A feature extraction module, used to determine a plurality of time waveform features according to the time waveform data, and to determine a plurality of space waveform features according to the space waveform data;
[0015] The magnetocardiogram analysis module is used to calculate the waveform deviation degree between the original magnetocardiogram and the reference according to the multiple time waveform features and / or the multiple space waveform features, and obtain the analysis result of the original magnetocardiogram according to the waveform deviation degree.
[0016] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the magnetocardiogram analysis method based on spatiotemporal information as described above are performed.
[0017] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the magnetocardiogram analysis method based on spatiotemporal information as described above are executed.
[0018] The magnetocardiogram analysis method, device, equipment, and medium based on time-space information provided in the embodiments of the present application use the collected original magnetocardiogram data to draw the time wave curve and space wave curve of each channel to obtain the time wave group diagram and the space wave group diagram; then, in the time wave group diagram and the space wave group diagram of the entire heartbeat cycle, a number of representative bands are segmented, and the time waveform features and the space waveform features are respectively extracted from the time data and the space data of these bands; the extracted time waveform features and the space waveform features reflect the time-space information contained in the time wave curve and the space wave curve, and these features are comprehensively analyzed to obtain the final magnetocardiogram analysis result.
[0019] Compared with the magnetocardiogram analysis method in the prior art, the present application extracts corresponding waveform characteristic parameters based on the time wave group diagram and the space wave group diagram, which can effectively characterize the cardiac electrophysiological changes behind different bands and spatial positions, and realize the accurate extraction of the time and space information of the magnetocardiogram signal. It can more comprehensively characterize the information contained in the magnetocardiogram, thereby improving the magnetocardiogram analysis capability and the accuracy of the analysis results.
[0020] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A flowchart of a magnetocardiogram analysis method based on spatiotemporal information provided in an embodiment of the present application is shown;
[0023] Figure 2 A schematic diagram of calculating an amplitude ratio provided in an embodiment of the present application is shown;
[0024] Figure 3 A schematic diagram of calculating a peak length ratio provided in an embodiment of the present application is shown;
[0025] Figure 4 A schematic diagram of forward wave shape score calculation provided by an embodiment of the present application is shown;
[0026] Figure 5 A schematic diagram of calculating a negative wave shape score provided in an embodiment of the present application is shown;
[0027] Figure 6 A schematic diagram of calculating the number of channels with different wave peak numbers provided in an embodiment of the present application is shown;
[0028] Figure 7 A schematic diagram of calculating the diagonality of a peak zero line provided in an embodiment of the present application is shown;
[0029] Figure 8 A schematic diagram of calculating the peak zero line rotation angle provided in an embodiment of the present application is shown;
[0030] Fig. 9A flowchart showing another magnetocardiogram analysis method based on spatiotemporal information provided in an embodiment of the present application is shown;
[0031] Fig.10 A schematic diagram of the structure of a magnetocardiogram analysis device based on spatiotemporal information provided in an embodiment of the present application is shown;
[0032] Fig.11 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0033] In the figure:
[0034] 1000 Magnetocardiogram analysis device based on spatiotemporal information, 1010 wave group map drawing module, 1020 band segmentation module, 1030 feature extraction module, 1040 Magnetocardiogram analysis module, 1100 electronic device, 1110 processor, 1120 memory, 1130 bus. DETAILED DESCRIPTION
[0035] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0036] First, the application scenarios to which this application is applicable are introduced. This application belongs to the field of image analysis, and can evaluate the electrical activity of the heart by analyzing magnetocardiogram images, and can be applied to the fields of medicine and bioengineering, etc.
[0037] Research has found that most of the existing magnetocardiogram analysis methods are based on the one-dimensional butterfly diagram of the magnetocardiogram data. The horizontal axis of the one-dimensional butterfly diagram is time, and the vertical axis is the magnetic field intensity. The changes in time and amplitude are usually extracted from the one-dimensional butterfly diagram of the magnetocardiogram data set. The corresponding analysis results are obtained through the changes in time and amplitude, that is, the changes in magnetic field strength. This method cannot fully explore the spatiotemporal information of the magnetocardiogram in the time and space dimensions. Therefore, the analysis ability is limited, affecting the accuracy of the analysis results.
[0038] Based on this, the embodiment of the present application provides a magnetocardiogram analysis method based on spatiotemporal information to fully explore the spatiotemporal information of the magnetocardiogram in the time and space dimensions and improve the accuracy of the magnetocardiogram analysis results.
[0039] See also Figure 1 , Figure 1 This is a flow chart of a magnetocardiogram analysis method based on spatiotemporal information provided in an embodiment of the present application. Figure 1 As shown in , the magnetocardiogram analysis method based on spatiotemporal information provided in the embodiment of the present application includes:
[0040] S101, obtaining an original magnetocardiogram data set, and drawing a time wave group diagram and a space wave group diagram according to the original magnetocardiogram data set.
[0041] In this step, the original magnetocardiogram data set collected by the multi-channel magnetocardiograph is read, and based on the data collected by each channel, the time wave curve of each channel in the entire cardiac cycle is drawn, and the time wave curves of each channel are combined to obtain a time wave group diagram; similarly, the space wave curve of each channel in the entire cardiac cycle can be drawn, and the space wave curves of each channel are combined to obtain a space wave group diagram.
[0042] S102, segmenting at least one band of time waveform data in the time wave group diagram, and segmenting at least one band of space waveform data in the space wave group diagram.
[0043] In this step, since the time wave group diagram obtained in the previous step is the waveform of the entire cardiac cycle, several representative bands can be segmented from it based on the characteristics of each band in the cardiac cycle, and then the time waveform data and spatial waveform data thereof can be analyzed. For example, the QRS band and the T band can be segmented in the time wave group diagram to obtain the time waveform data of the QRS band and the T band; similarly, the QRS band and the T band can be segmented in the spatial wave group diagram to obtain the spatial waveform data of the QRS band and the T band.
[0044] S103. Determine a plurality of time waveform features according to the time waveform data, and determine a plurality of space waveform features according to the space waveform data.
[0045] In this step, multiple representative time waveform features and space waveform features are extracted from the time waveform data and the space waveform data, respectively. The time waveform features can reflect the characteristics of the time waveform in terms of amplitude, curve shape, etc., and the space waveform features can reflect the characteristics of the space waveform in terms of peak direction and peak position, etc.
[0046] S104. Calculate the waveform deviation between the original magnetocardiogram and the reference according to the multiple time waveform features and / or the multiple space waveform features, and obtain the analysis result of the original magnetocardiogram according to the waveform deviation.
[0047] In this step, the waveform deviation between the original magnetocardiogram and the preset reference is calculated. If the deviation is low, it can be considered that the original magnetocardiogram and the reference are relatively similar. Therefore, the original magnetocardiogram can be analyzed with the help of the analysis result of the reference to obtain the analysis result of the original magnetocardiogram. The reference is a pre-set magnetocardiogram with analysis results. For example, the magnetocardiogram of a patient with coronary heart disease is used as a reference. If the waveform deviation between the original magnetocardiogram and the reference is low, it can be considered that the cardiac electrical activity reflected by the original magnetocardiogram may be abnormal, and there is a possibility of coronary heart disease.
[0048] The magnetocardiogram analysis method based on spatiotemporal information provided in the embodiment of the present application uses the collected original magnetocardiogram data to draw the time wave curve and the space wave curve of each channel to obtain the time wave group diagram and the space wave group diagram; then, in the time wave group diagram and the space wave group diagram of the entire heartbeat cycle, a number of representative bands are segmented, and the time waveform features and the space waveform features are respectively extracted from the time data and the space data of these bands; the extracted time waveform features and the space waveform features reflect the spatiotemporal information contained in the time wave curve and the space wave curve, and these features are comprehensively analyzed to obtain the final magnetocardiogram analysis result.
[0049] Compared with the magnetocardiogram analysis method in the prior art, the present application extracts corresponding waveform characteristic parameters based on the time wave group diagram and the space wave group diagram, which can effectively characterize the cardiac electrophysiological changes behind different bands and spatial positions, and realize the accurate extraction of the time and space information of the magnetocardiogram signal. It can more comprehensively characterize the information contained in the magnetocardiogram, thereby improving the magnetocardiogram analysis capability and the accuracy of the analysis results.
[0050] Further, the band includes at least one of the following: a QRS band, an ST band and a T band, wherein the QRS band includes an R band.
[0051] Specifically, a complete cardiac cycle includes multiple bands, each band represents different cardiac activities, such as the P wave represents the beginning of atrial electrical activity, the TP band represents the interval of cardiac electrical activity, and different bands have different time-space numerical distribution characteristics. Since the time-space information of the QRS band and the T band is relatively complete and significant, this embodiment separates the time data and space data of the QRS band, ST band and T band in the time wave group diagram and space wave group diagram of the entire cardiac cycle. Among them, the QRS band also includes the Q band, R band and S band, and this embodiment also extracts the more representative time data and space data of the R band from the QRS band separately.
[0052] In addition, it is understandable that other bands also have time and space information, so the embodiment of the present application can also separate the time data and space data of other bands for subsequent calculations. For example, the Q band, R band and S band can also be separated, and the corresponding time waveform features and space waveform features can be extracted from them, and in the subsequent operation process, the structure and parameters of the formula are adjusted accordingly according to the different bands.
[0053] Furthermore, the time waveform features are extracted from the time wave, and are specifically determined based on the amplitude of the time wave of each band, the shape of the curve, and the degree of alignment of each channel. The time waveform features may specifically include the following features:
[0054] The amplitude ratio is determined based on the maximum value of the average signal of all channels in each band. Specifically, since the magnetocardiogram collects data from multiple channels, each band has waveform diagrams of multiple channels, which is specifically manifested in that the time wave group diagram of each band contains multiple curves, each corresponding to a channel. In this embodiment, the curve of the average signal of all channels can be determined based on the waveform curve of each channel for the R band and the T band respectively, and the maximum value of the average signal is found in the curve, that is, the peak of the curve, and then the ratio between the two peaks is used as the amplitude ratio qrsttrt of the QRS band and the T band.
[0055] See also Figure 2 , Figure 2 A schematic diagram of amplitude ratio calculation provided in the embodiment of the present application. Figure 2 As shown, the bottom is the 36-channel time wave group diagram, and the top is the upper and lower limits of the time wave group diagram and the average signal wave. The average signal is the root mean square of the 36-channel values. Figure 2 In the figure, the maximum value of the average signal of the R band is at time 214, and the maximum value of the average signal of the T band is at time 411. Therefore, the amplitude ratio is the ratio of the average signal value of the R wave at time 241 to the average signal value of the T wave at time 411.
[0056] In addition, for the amplitude ratio, this embodiment uses the maximum value of the average signal for calculation, and can also use the maximum channel or minimum channel of each band for calculation. For example, for the R band and the T band, the curves with the largest peak values in all their channels are determined respectively, and the ratio of the two peak values is used as the amplitude ratio qrsttrt of the QRS band and the T band.
[0057] Similarly, in the calculation process of other features, if the maximum value of the average signal is used, it can also be replaced by the maximum channel or minimum channel of each band for calculation, which is similar to the replacement method of the amplitude ratio and will not be repeated here.
[0058] The peak length ratio is determined according to the peak maximum value channel in the band and the duration of the band. In this embodiment, the channel with the largest peak value can be determined in the waveform of each channel of the T band, and the ratio between its amplitude and the duration of the T band is used as the peak length ratio ttflt of the T band.
[0059] See also Figure 3 , Figure 3 A schematic diagram of calculating the peak length ratio is provided in the embodiment of the present application. Figure 3 As shown, below is the time wave group diagram of 36 channels. It can be seen in the figure that the period from time 365 to 446 is the time period corresponding to the T band, and its duration is 81; in the figure, we can find the channel with the largest T band peak, and then calculate the ratio of its amplitude to 81 to get the peak length ratio.
[0060] In addition, for the peak length ratio, this embodiment uses the amplitude of the maximum channel to calculate the ratio, and the average signal or the minimum channel can also be used for calculation. For example, in the T band, the curve of the average signal is determined according to the waveform of each channel, and the maximum value of the average signal, that is, the amplitude of the average signal, is found in the curve, and the ratio between the average signal and the duration of the T band is used as the peak length ratio ttflt of the T band.
[0061] Similarly, in the calculation process of other features, if the maximum channel is used, it can also be replaced by the average signal or the minimum channel for calculation, which is similar to the replacement method of the peak length ratio and will not be repeated here.
[0062] The positive wave shape score is determined according to the channel curve of the maximum peak value in the band. In this embodiment, the channel with the largest peak value can be determined in the waveform of each channel of the T band, and the positive wave shape score ttstpp of the T band is calculated according to the area under the waveform curve of the channel and the area of the triangle formed by the peak value of the channel.
[0063] See also Figure 4 , Figure 4 A schematic diagram of a forward wave shape score calculation provided in an embodiment of the present application. Figure 4 As shown, below is the time wave group diagram of 36 channels. It can be seen in the figure that the time 365 to 446 part corresponds to the T band. In the figure, we can find the channel with the largest peak in the T band. The area enclosed by the waveform curve of this channel and the horizontal axis (i.e., baseline) and the two vertical lines of the 365 and 446 parts is S1. For details, see Figure 4 The purple vertical stripe part; the peak value is one vertex, and the points at positions 365 and 446 on the horizontal axis are the other two vertices. The area of the triangular area formed is S2. Figure 4 The red oblique stripe part in the middle; the ratio of S1 and S2 is the positive wave shape score of the T band.
[0064] The negative wave shape score is determined based on the channel curve of the minimum peak value in the band. In this embodiment, similar to the positive wave shape score described above, the channel with the smallest peak value can be determined in the waveform of each channel in the T band, and the negative wave shape score ttstpn of the T band is calculated based on the area under the waveform curve of the channel and the area of the triangle formed by the peak value of the channel.
[0065] See also Figure 5 , Figure 5 A schematic diagram of calculating the negative wave shape score provided in the embodiment of the present application. Figure 5 As shown, below is the time wave group diagram of 36 channels. It can be seen in the figure that the time 365 to 446 part corresponds to the T band. In the figure, we can find the channel with the smallest T band peak. The area enclosed by the waveform curve of this channel and the horizontal axis (i.e., baseline) and the two vertical lines of 365 and 446 is S1. For details, see Figure 5 The purple vertical stripe part; the peak value is one vertex, and the points at positions 365 and 446 on the horizontal axis are the other two vertices. The area of the triangular area formed is S2. Figure 5 The red oblique stripe part in the middle; the ratio of S1 and S2 is the negative wave shape score of the T band.
[0066] The elevation score is determined according to the amplitude of each channel in the band. In this embodiment, the absolute value of the amplitude average of each channel can be determined in the ST band, and the maximum value of these absolute values is used as the elevation score strs of the ST band.
[0067] In addition, for the elevation score, this embodiment uses the amplitude of each channel to calculate the amplitude average, and can also use the average signal calculation. For example, in the ST band, the absolute value of the average signal of each channel is determined, and the maximum value is used as the elevation score strs of the ST band.
[0068] like Figure 2 As shown in the figure, it can be seen that the time portion from 251 to 350 corresponds to the ST band, and the amplitude averages of the 36 channels in this band are respectively recorded as fi (i=1,…,36), then strs=max(|fi|).
[0069] Wave smoothness is determined based on the second-order difference value and the range value of each channel in the band. Specifically, wave smoothness reflects the volatility of the band. In this embodiment, the second-order difference value of each channel in the ST band can be determined respectively, and the largest second-order difference value can be determined; the maximum amplitude and the minimum amplitude of each channel in the ST band can be determined respectively, and the amplitude range of each channel can be obtained by subtracting the two, and the largest range value can be determined; the ratio between the largest second-order difference value and the largest range value is used as the ST wave smoothness tsm.
[0070] Specifically, in the ST band of the time wave group diagram, the mean of the absolute value of the second-order difference of each channel is recorded as dfi (i = 1, ..., 36), where the maximum value of the 36 dfi is recorded as maxdfi; the maximum value of the amplitude range of each channel (maximum amplitude minus minimum amplitude) is recorded as dif; then the ST wave smoothness tsm is the ratio of maxdfi and dif.
[0071] The peak alignment is determined based on the maximum amplitude position of each channel in the band. Specifically, the peak alignment reflects the alignment of the peaks in the 36 channels. In this embodiment, the positive amplitude and negative amplitude with the largest absolute value in all channels in the T band can be first determined, and then based on these two amplitudes, several channels are selected from the 36 channels to calculate the peak alignment. In the specific calculation process, the peak position of each selected channel is determined separately, and then the range is calculated for these peak positions as the peak alignment tmdf of the T band.
[0072] Specifically, in the T band, i.e. Figure 2 In the time section from 365 to 446, among the maximum amplitudes of the 36 channels, the positive amplitude maxf with the largest absolute value and the negative amplitude minf with the largest absolute value are determined respectively, and one third of maxf and one third of minf are used as thresholds to select channels; the maximum amplitude of each of the 36 channels is recorded as fi (i=1,…,36), and channels are selected based on the thresholds, and positive amplitudes that reach one third of maxf and negative amplitudes that reach one third of minf are screened out from all maximum amplitudes fi; the time ti corresponding to each screened maximum amplitude fi is determined respectively, and finally the maximum ti value is subtracted from the minimum ti value to obtain the range, that is, the peak alignment tmdf of the T band.
[0073] In this embodiment, one third of maxf and one third of minf are selected as the threshold value for selecting the channel. Other values may also be used, such as one fourth of maxf and one fourth of minf, or a specific value may be used.
[0074] Furthermore, the spatial waveform features are extracted from the spatial wave, and are specifically determined based on the peak direction, peak position, and curve shape of each band. The spatial waveform features may specifically include the following features:
[0075] The number of channels with different wave peak signs is determined according to the directions and positions of the wave peaks in different wave bands. Specifically, the number of channels with different wave peak signs reflects the number of channels with different wave peak positions in different wave bands, that is, the number of channels with opposite directions. Figure 6As shown, the R wave peak direction and T wave peak direction of each channel are counted respectively. The direction can be upward or downward, and the position can be positive or negative. The number of channels with opposite directions and positions of the R wave peak and the T wave peak is counted as the number of channels with opposite R and T wave peak signs rtsgnum.
[0076] The diagonality of the peak zero line is determined according to the peak zero line of the band, wherein the peak zero line is determined according to the amplitude of each channel in a preset number of frames before and after the peak of the band. Specifically, the maximum amplitude of each channel in several frames (e.g., 5 frames) before and after the peak is counted to form a new matrix. Then, in the matrix, according to the positive and negative of the peak, a broken line separating positive and negative values is drawn as the peak zero line of the band. Finally, the distance between each endpoint of the peak zero line and the endpoint of the diagonal line is calculated respectively, and the sum of their squares is calculated as the diagonality of the peak zero line.
[0077] Furthermore, the peak zero line diagonality includes the R peak zero line diagonality zeroR and the T peak zero line diagonality zeroT, and the calculation method thereof is the same, and only the peaks of the corresponding bands need to be taken for calculation.
[0078] See also Figure 7 , Figure 7 A schematic diagram of calculating the diagonality of a peak zero line provided in an embodiment of the present application. Figure 7 As shown in the figure, taking the R band as an example, the figure contains a matrix of 6 rows and 6 columns, which contains the maximum amplitudes of 36 channels in the R band. According to the positive and negative of the peak, the peak zero line is drawn in the form of a broken line, and the matrix is divided into two parts by the peak zero line. Draw a diagonal line from the upper left corner to the lower right corner in the matrix. For the endpoint (1,6) of the peak zero line at the upper left corner, calculate its distance from the endpoint (0,6) of the upper left corner of the diagonal line; for the endpoint (4,0) of the peak zero line at the lower right corner, calculate its distance from the endpoint (6,0) of the lower right corner of the diagonal line, and then calculate the sum of the squares of the two distances to obtain the R peak zero line diagonal zeroR=1×1+2×2=5.
[0079] The diagonal property of the area zero line is determined based on the area under the curve of each channel in the band. Specifically, similar to the diagonal line of the peak zero line, the area enclosed by the curve of each channel and the baseline in the band is counted to form a new matrix. In this matrix, the area below the baseline is negative, and the area above the baseline is positive. According to the positive and negative areas, a broken line separating positive and negative values can be drawn as the area zero line of the band. Finally, the distance between each endpoint of the area zero line and the endpoint of the diagonal line is calculated, and the sum of their squares is calculated as the diagonal property of the area zero line.
[0080] For example, for the QRS band, the area under the curve of each channel of the QRS band can be counted to form a new matrix, and a broken line is drawn to separate positive and negative values. A diagonal line is drawn from the upper left corner to the lower right corner in the matrix, and then the distance between the two endpoints of the broken line and the endpoint of the diagonal line is calculated, and the sum of the squares of the distances is used as the QRS area zero line diagonal zeroqrs.
[0081] The peak zero line rotation angle is determined according to the angle difference between the peak zero lines of the two bands. Specifically, for the aforementioned R peak zero line and T peak zero line, the two end points of the R peak zero line are connected, and the two end points of the T peak zero line are connected, and the angle difference between the two lines is the R peak T peak zero line rotation angle zeroRTrot.
[0082] See also Figure 8 , Figure 8 A schematic diagram of calculating the peak zero line rotation angle provided in the embodiment of the present application. Figure 8 As shown in the figure, taking the R band as an example, the broken line in the figure is the zero line of the R wave peak. Connect the two end points of the broken line to get the inclined line segment in the figure. In the same way, the two end points of the zero line of the T wave peak can be connected to get a line segment. Calculate the angle difference between the two line segments to get zeroRTrot.
[0083] Further, the waveform deviation degree includes the time waveform deviation degree. In step S104, the waveform deviation degree between the original magnetocardiogram and the preset reference is calculated according to the multiple time waveform features and / or the multiple space waveform features, including the following steps:
[0084] Step a1, calculating the superposition waveform score of the original magnetocardiogram and the reference according to a plurality of time waveform features, and determining the superposition waveform score as the degree of time waveform deviation;
[0085] The calculation formula for the superimposed waveform score is:
[0086] ovws=a11×qrsttrt+max(a21×strs,a22×tsm)+max([a31×ttflt,a32×ttstpp,a33×ttstpn,a34×tmdf]);
[0087] Among them, ovws is the superimposed waveform score; a11, a21, a22, a31, a32, a33, and a34 are preset coefficients; qrsttrt is the QRS / T average signal amplitude ratio; strs is the ST elevation score; tsm is the ST wave smoothness; ttflt is the peak length ratio of the T band; ttstpp is the positive wave shape score of the T band; ttstpn is the negative wave shape score of the T band; and tmdf is the T wave peak alignment.
[0088] In this step, based on the time waveform features obtained in the previous step, the superposition waveform score of the original magnetocardiogram and the preset reference is calculated, thereby obtaining the degree of time waveform deviation between the original magnetocardiogram and the preset reference.
[0089] Among them, the first item of the calculation formula of the superimposed waveform score reflects the degree of deviation of the time waveform of the R band and the T wave; the second item reflects the degree of deviation of the time waveform of the ST wave; the third item reflects the degree of deviation of the time waveform of the T wave; the preset coefficients a11, a21, a22, a31, a32, a33, and a34 are weight coefficients, which can be set according to experience.
[0090] Further, the waveform deviation degree includes the spatial waveform deviation degree. In step S104, the waveform deviation degree between the original magnetocardiogram and the preset reference is calculated according to the multiple time waveform features and / or the multiple spatial waveform features, including the following steps:
[0091] Step c1, calculating a channel waveform score between the original magnetocardiogram and the reference according to the plurality of spatial waveform features, and determining the channel waveform score as the degree of deviation of the spatial waveform;
[0092] The calculation formula of the channel waveform score is:
[0093]
[0094] Among them, cnws is the channel waveform score; b11, b12, b21, b22, b31, R0, R1, and T0 are preset coefficients; zeroR is the zero-line diagonality of the R peak; zeroqrs is the zero-line diagonality of the QRS area; rtsgnum is the number of channels with opposite signs between the R peak and the T peak; zeroRTrot is the zero-line rotation angle of the R peak and the T peak; and zeroT is the zero-line diagonality of the T peak.
[0095] In this step, the channel waveform scores of the original magnetocardiogram and the preset reference are calculated according to the spatial waveform features obtained in the previous step, and then the degree of spatial waveform deviation between the original magnetocardiogram and the preset reference is obtained.
[0096] Among them, the first item of the calculation formula of the channel waveform score reflects the degree of spatial waveform deviation of the R wave; the second item reflects the degree of spatial waveform deviation of the R wave and the T wave; the third item reflects the degree of spatial waveform deviation of the T wave; the preset coefficients b11, b12, b21, b22, and b31 are weight parameters, which can be set according to experience; the preset coefficients R0, R1, and T0 are basic coefficients, which are determined according to the parameter numerical distribution of the data set.
[0097] Further, the waveform deviation degree includes the spatial waveform deviation degree. In step S104, the waveform deviation degree between the original magnetocardiogram and the preset reference is calculated according to the multiple time waveform features and / or the multiple spatial waveform features, including the following steps:
[0098] Step d1, calculating the superposition waveform score of the original magnetocardiogram and the reference according to a plurality of time waveform features.
[0099] The description of step d1 can refer to the description of step a1, and can achieve the same technical effect, which will not be described in detail.
[0100] Step d2, calculating the channel waveform score of the original magnetocardiogram and the reference according to the multiple spatial waveform features.
[0101] The description of step d2 may refer to the description of step c1, and can achieve the same technical effect, which will not be described in detail.
[0102] Step d3, calculating the comprehensive waveform score of the original magnetocardiogram and the reference according to the superimposed waveform score and the channel waveform score, and determining the comprehensive waveform score as the comprehensive waveform deviation degree;
[0103] The formula for calculating the composite waveform score is:
[0104] cpws=b1×ovws+b2×cnws;
[0105] Among them, cpws is the comprehensive waveform score; b1 and b2 are preset coefficients; ovws is the superimposed waveform score; cnws is the channel waveform score.
[0106] In this step, the time waveform deviation degree obtained by calculating the superimposed waveform score and the spatial waveform deviation degree obtained by calculating the channel waveform score in the previous step are comprehensively analyzed, and the comprehensive waveform score is calculated to obtain the final comprehensive waveform deviation degree. The higher the deviation degree, the higher the similarity between the original magnetocardiogram and the reference image. Conversely, it is considered that the similarity between the original magnetocardiogram and the reference image is low. With such a design, the heart features projected by the reference image can be used to analyze the original magnetocardiogram. Specifically, the weighted summation method can be used for calculation. In the calculation formula of the comprehensive waveform score, the preset coefficients b1 and b2 are weight coefficients, which can be determined by the linear regression method based on the reference image set constructed in advance.
[0107] In addition, if only part of the time waveform features and space waveform features are extracted in the above steps, the calculation formulas of the time waveform deviation degree, space waveform deviation degree and final waveform deviation degree can be adjusted accordingly. For example, only the time waveform features can be extracted without extracting the space waveform features, then b1 can be adjusted to 1 and b2 can be adjusted to 0.
[0108] See also Fig. 9 , Fig. 9 FIG. 2 is a flow chart showing a magnetocardiogram analysis method based on time information according to another embodiment of the present application. Fig. 9 As shown, the method comprises the following steps:
[0109] S901, based on the magnetocardiogram data set collected by the multi-channel magnetocardiograph, draw a time wave group diagram and a space wave group diagram of the entire cycle;
[0110] S902, based on the time wave group diagram and the space wave group diagram, obtaining waveform data of the QRS band and the T band;
[0111] S903, extracting a series of time characteristic parameters based on the waveform data of the QRS band and the T band;
[0112] S904, extracting a series of spatial characteristic parameters based on the waveform data of the QRS band and the T band;
[0113] S905 , judging the comprehensive waveform score deviation between the magnetocardiogram image and the reference image set according to a series of time characteristic parameters and space characteristic parameters.
[0114] In this embodiment, firstly, a magnetocardiogram data set collected by a multi-channel magnetocardiograph is used to draw a time wave group diagram and a space wave group diagram of the entire cardiac cycle, wherein the time wave group diagram includes a time waveform curve of each channel, and the space wave group diagram includes a space waveform curve of each channel; then, in the time wave group diagram and the space wave group diagram of the entire cardiac cycle, the waveform data of the QRS band and the T band are respectively divided, and according to the waveform data of these two segments, a number of representative time waveform features (i.e., time feature parameters) and space waveform features (i.e., space feature parameters) are respectively extracted; finally, the extracted time waveform features and space waveform features are used to analyze the waveform deviation degree between the magnetocardiogram and the reference reference from both time and space directions, and a final waveform deviation degree judgment result, i.e., the comprehensive waveform score deviation degree, is obtained.
[0115] In addition, before step 1, a data set of 1000 samples is first constructed, and labels are added to it according to the analysis results of the reference image. The magnetocardiogram data set of each sample is obtained respectively, and the time wave group diagram and the space wave group diagram are drawn to obtain its waveform data in the QRS band and T band; then the analysis method in the aforementioned embodiment is used to extract the time waveform features and the space waveform features, and the weight parameter values for calculating each deviation degree are defined according to the distribution of the time waveform features and the space waveform features of all samples. Thereafter, the degree of waveform deviation from the reference image can be calculated based on the time waveform features and the space waveform features of the magnetocardiogram to be analyzed.
[0116] The feature parameter extraction method and system based on the magnetocardiographic spatiotemporal information of this embodiment can accurately describe the overall change characteristics of the magnetocardiographic signal, improve the magnetocardiographic analysis capability, and thus improve the sensitivity and specificity of magnetocardiographic detection, making an important contribution to the feature parameter extraction in cardiac function judgment.
[0117] See also Fig.10 , Fig.10 This is a schematic diagram of the structure of a magnetocardiogram analysis device based on spatiotemporal information provided in an embodiment of the present application. Fig.10 As shown in , the magnetocardiogram analysis device 1000 based on spatiotemporal information includes:
[0118] The wave group diagram drawing module 1010 is used to obtain the original magnetocardiogram data set, and draw the time wave group diagram and the space wave group diagram according to the original magnetocardiogram data set;
[0119] The band segmentation module 1020 is used to segment at least one band of time waveform data in the time wave group diagram and segment at least one band of space waveform data in the space wave group diagram;
[0120] A feature extraction module 1030, configured to determine a plurality of time waveform features according to the time waveform data, and a plurality of space waveform features according to the space waveform data;
[0121] The magnetocardiogram analysis module 1040 is used to calculate the waveform deviation between the original magnetocardiogram and the reference according to multiple time waveform features and / or multiple space waveform features, and obtain the analysis result of the original magnetocardiogram according to the waveform deviation.
[0122] Further, the multiple time waveform features are determined according to the amplitude of the time wave of each band, the curve shape, and the degree of alignment of each channel; the multiple time waveform features include at least one or more of amplitude ratio, peak length ratio, positive wave shape score, negative wave shape score, elevation score, wave smoothness, and peak alignment;
[0123] Among them, the amplitude ratio is determined according to the maximum value of the average signal of all channels in each band; the peak length ratio is determined according to the duration of the peak maximum value channel and the band in the band; the positive waveform score is determined according to the peak maximum value channel curve in the band; the negative waveform score is determined according to the peak minimum value channel curve in the band; the elevation score is determined according to the amplitude of each channel in the band; the waveform smoothness is determined according to the second-order difference value and the range value of each channel in the band; the peak alignment is determined according to the maximum amplitude position of each channel in the band.
[0124] Furthermore, the plurality of spatial waveform features are determined according to the crest direction, crest position and curve shape of the spatial waves of each band; the plurality of spatial waveform features include at least one or more of the number of crest different-sign channels, crest zero line diagonality, area zero line diagonality, and crest zero line rotation angle;
[0125] Among them, the number of channels with different peak signs is determined according to the directions and positions of the peaks in different bands; the peak zero line diagonal and the peak zero line rotation angle are determined according to the peak zero line of the band, including the R peak zero line diagonal and the T peak zero line diagonal; the peak zero line is determined according to the amplitude of each channel of a preset number of frames before and after the peak of the band; the area zero line diagonal is determined according to the area under the curve of each channel in the band; the peak zero line rotation angle is determined according to the angle difference between the peak zero line of the T band and the peak zero line of the R band.
[0126] Further, the waveform deviation degree includes the time waveform deviation degree. When the magnetocardiogram analysis module 1040 is used to calculate the waveform deviation degree between the original magnetocardiogram and the reference according to multiple time waveform features and / or multiple space waveform features, the magnetocardiogram analysis module 1040 is specifically used to:
[0127] calculating a superimposed waveform score between the original magnetocardiogram and the reference according to the plurality of time waveform features, and determining the superimposed waveform score as a degree of time waveform deviation;
[0128] The calculation formula for the superimposed waveform score is:
[0129] ovws=a11×qrsttrt+max(a21×strs,a22×tsm)+max([a31×ttflt,a32×ttstpp,a33×ttstpn,a34×tmdf]);
[0130] Among them, ovws is the superimposed waveform score; a11, a21, a22, a31, a32, a33, and a34 are preset coefficients; qrsttrt is the QRS / T average signal amplitude ratio; strs is the ST elevation score; tsm is the ST wave smoothness; ttflt is the peak length ratio of the T band; ttstpp is the positive wave shape score of the T band; ttstpn is the negative wave shape score of the T band; and tmdf is the T wave peak alignment.
[0131] Further, the waveform deviation degree includes the spatial waveform deviation degree. When the magnetocardiogram analysis module 1040 is used to calculate the waveform deviation degree between the original magnetocardiogram and the reference according to multiple time waveform features and / or multiple spatial waveform features, the magnetocardiogram analysis module 1040 is specifically used to:
[0132] calculating a channel waveform score between the original magnetocardiogram and the reference according to the plurality of spatial waveform features, and determining the channel waveform score as a degree of spatial waveform deviation;
[0133] The channel waveform score is calculated as:
[0134]
[0135] Among them, cnws is the channel waveform score; b11, b12, b21, b22, b31, R0, R1, and T0 are preset coefficients; zeroR is the zero-line diagonality of the R peak; zeroqrs is the zero-line diagonality of the QRS area; risgnum is the number of channels with opposite signs between the R peak and the T peak; zeroRTrot is the zero-line rotation angle of the R peak and the T peak; and zeroT is the zero-line diagonality of the T peak.
[0136] Further, the waveform deviation degree includes the comprehensive waveform deviation degree. When the magnetocardiogram analysis module 1040 is used to calculate the waveform deviation degree between the original magnetocardiogram and the reference according to multiple time waveform features and / or multiple space waveform features, the magnetocardiogram analysis module 1040 is specifically used to:
[0137] Calculating the superimposed waveform score of the original magnetocardiogram and the reference according to the multiple time waveform features;
[0138] Calculating channel waveform scores of the original magnetocardiogram and the reference according to a plurality of spatial waveform features;
[0139] calculating a comprehensive waveform score between the original magnetocardiogram and the reference according to the superimposed waveform score and the channel waveform score, and determining the comprehensive waveform score as a degree of deviation of the comprehensive waveform;
[0140] The formula for calculating the composite waveform score is:
[0141] cpws=b1×ovws+b2×cnws;
[0142] Among them, cpws is the comprehensive waveform score; b1 and b2 are preset coefficients; ovws is the superimposed waveform score; cnws is the channel waveform score.
[0143] Further, the band includes at least one of the following: a QRS band, an ST band and a T band, wherein the QRS band includes an R band.
[0144] It should be noted that, for other corresponding descriptions of the functional modules involved in the magnetocardiogram analysis device 1000 based on spatiotemporal information provided in the embodiment of the present application, reference can be made to the corresponding descriptions in the above method, which will not be repeated here.
[0145] See also Fig.11 , Fig.11This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.11 As shown in , the electronic device 1100 includes a processor 1110 , a memory 1120 and a bus 1130 .
[0146] The memory 1120 stores machine-readable instructions executable by the processor 1110. When the electronic device 1100 is running, the processor 1110 communicates with the memory 1120 via the bus 1130. When the machine-readable instructions are executed by the processor 1110, the steps of the magnetocardiogram analysis method based on spatiotemporal information provided in the above embodiment can be executed. The specific implementation method can be found in the method embodiment, which will not be repeated here.
[0147] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the magnetocardiogram analysis method based on spatiotemporal information provided in the above embodiment can be executed. The specific implementation method can be found in the method embodiment, which will not be repeated here.
[0148] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0149] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0150] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0151] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0152] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. 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 application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0153] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A magnetocardiogram analysis method based on spatiotemporal information, It is characterized in that The method comprises: Acquire an original magnetocardiogram data set, and draw a time wave group diagram and a space wave group diagram according to the original magnetocardiogram data set; Segmenting at least one band of time waveform data in the time wave group graph, and segmenting at least one band of space waveform data in the space wave group graph; Determine a plurality of time waveform features according to the time waveform data, and determine a plurality of space waveform features according to the space waveform data; The waveform deviation degree between the original magnetocardiogram and the reference is calculated according to the multiple time waveform features and / or the multiple space waveform features, and the analysis result of the original magnetocardiogram is obtained according to the waveform deviation degree.
2. The magnetocardiogram analysis method based on spatiotemporal information according to claim 1, It is characterized in that The multiple time waveform features are determined according to the amplitude of the time wave of each band, the curve shape, and the degree of alignment of each channel; the multiple time waveform features include at least one or more of amplitude ratio, peak length ratio, positive wave shape score, negative wave shape score, elevation score, wave smoothness, and peak alignment; Among them, the amplitude ratio is determined according to the maximum value of the average signals of all channels in each band; the peak length ratio is determined according to the peak maximum value channel in the band and the duration of the band; the positive waveform score is determined according to the peak maximum value channel curve in the band; the negative waveform score is determined according to the peak minimum value channel curve in the band; the elevation score is determined according to the amplitude of each channel in the band; the waveform smoothness is determined according to the second-order difference value and the range value of each channel in the band; and the peak alignment is determined according to the maximum amplitude position of each channel in the band.
3. The magnetocardiogram analysis method based on spatiotemporal information according to claim 1, It is characterized in that The multiple spatial waveform features are determined according to the crest direction, crest position and curve shape of the spatial waves of each band; the multiple spatial waveform features include at least one or more of the number of crest channels with different sign, crest zero line diagonality, area zero line diagonality, and crest zero line rotation angle; Among them, the number of channels with different peak signs is determined according to the directions and positions of each peak in different bands; the diagonality of the peak zero line is determined according to the peak zero line of the band, including the diagonality of the R peak zero line and the diagonality of the T peak zero line; the peak zero line is determined according to the amplitude of each channel of a preset number of frames before and after the peak of the band; the diagonality of the area zero line is determined according to the area under the curve of each channel in the band; the peak zero line rotation angle is determined according to the angle difference between the peak zero line of the T band and the peak zero line of the R band.
4. The magnetocardiogram analysis method based on spatiotemporal information according to claim 2, It is characterized in that The waveform deviation degree includes the time waveform deviation degree, and the step of calculating the waveform deviation degree between the original magnetocardiogram and the reference according to the multiple time waveform features and / or the multiple space waveform features includes: Calculating a superimposed waveform score between the original magnetocardiogram and the reference according to the plurality of time waveform features, and determining the superimposed waveform score as the time waveform deviation degree; The calculation formula of the superimposed waveform score is: ovws=a11×qrsttrt+max(a21×strs,a22×tsm)+max([a31×ttflt,a32×ttstpp,a33×ttstpn,a34×tmdf]); Among them, ovws is the superimposed waveform score; a11, a21, a22, a31, a32, a33, and a34 are preset coefficients; qrsttrt is the QRS / T average signal amplitude ratio; strs is the ST elevation score; tsm is the ST wave smoothness; ttflt is the peak length ratio of the T band; ttstpp is the positive wave shape score of the T band; ttstpn is the negative wave shape score of the T band; and tmdf is the T wave peak alignment.
5. The magnetocardiogram analysis method based on spatiotemporal information according to claim 3, It is characterized in that The waveform deviation degree includes a spatial waveform deviation degree, and the step of calculating the waveform deviation degree between the original magnetocardiogram and the reference according to the multiple time waveform features and / or the multiple spatial waveform features includes: Calculating a channel waveform score between an original magnetocardiogram and a reference according to the plurality of spatial waveform features, and determining the channel waveform score as the degree of deviation of the spatial waveform; The calculation formula of the channel waveform score is: Among them, cnws is the channel waveform score; b11, b12, b21, b22, b31, R0, R1, and T0 are preset coefficients; zeroR is the zero-line diagonality of the R peak; zeroqrs is the zero-line diagonality of the QRS area; risgnum is the number of channels with opposite signs between the R peak and the T peak; zeroRTrot is the zero-line rotation angle of the R peak and the T peak; and zeroT is the zero-line diagonality of the T peak.
6. The magnetocardiogram analysis method based on spatiotemporal information according to claim 1, It is characterized in that The waveform deviation degree includes a comprehensive waveform deviation degree, and the waveform deviation degree between the original magnetocardiogram and the reference is calculated based on the multiple time waveform features and / or the multiple space waveform features, including: Calculating a superimposed waveform score of the original magnetocardiogram and the reference according to the plurality of time waveform features; Calculating channel waveform scores of the original magnetocardiogram and the reference according to the plurality of spatial waveform features; Calculating a comprehensive waveform score between the original magnetocardiogram and the reference according to the superimposed waveform score and the channel waveform score, and determining the comprehensive waveform score as the comprehensive waveform deviation degree; The calculation formula of the comprehensive waveform score is: cpws=b1×ovws+b2×cnws; Among them, cpws is the comprehensive waveform score; b1 and b2 are preset coefficients; ovws is the superimposed waveform score; cnws is the channel waveform score.
7. The magnetocardiogram analysis method based on spatiotemporal information according to claim 1, It is characterized in that The band includes at least one of the following: a QRS band, an ST band and a T band, wherein the QRS band includes an R band.
8. A magnetocardiogram analysis device based on spatiotemporal information, It is characterized in that The magnetocardiogram analysis device based on spatiotemporal information comprises: A wave group diagram drawing module, used for acquiring an original magnetocardiogram data set, and drawing a time wave group diagram and a space wave group diagram according to the original magnetocardiogram data set; A band segmentation module, used for segmenting at least one band of time waveform data in the time wave group diagram, and segmenting at least one band of space waveform data in the space wave group diagram; A feature extraction module, used to determine a plurality of time waveform features according to the time waveform data, and to determine a plurality of space waveform features according to the space waveform data; The magnetocardiogram analysis module is used to calculate the waveform deviation degree between the original magnetocardiogram and the reference according to the multiple time waveform features and / or the multiple space waveform features, and obtain the analysis result of the original magnetocardiogram according to the waveform deviation degree.
9. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are run by the processor, the steps of the magnetocardiogram analysis method based on spatiotemporal information are executed as described in any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the magnetocardiogram analysis method based on spatiotemporal information are performed as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Electrocardiogram detection displaying method
CN102599904A
Method for analyzing record of body-surface cardioelectric peak and equipment for scaling graph
CN1043621A
Magnetocardiography diagnosing system and magnetocardiography applying same
CN107361760A
Multi-channel fixed-frequency noise filtering method based on LevKov, computer equipment and program product
CN115581459A
Multi-dimensional magnetocardiogram characteristic parameter extraction method and system
CN117113064A
Cited By
Analysis method and system of magnetocardiogram, storage medium and electronic equipment
CN120616541A
Method, system, storage medium and electronic device for analyzing magnetocardiogram
CN120616541B
