Magnetocardiogram data 3D layered visualization method and system, electronic equipment and medium

Through hierarchical processing and 3D visual display of cardiac magnetic data, the problem that existing technology cannot observe the overall characteristics and static characteristics of cardiac magnetic signals is solved, and a new understanding and intuitive analysis of cardiac activity are achieved, which has significant clinical application value. .

CN118614930APending Publication Date: 2024-09-10MANDI MEDICAL INSTR (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310224621.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology cannot effectively observe the overall characteristics and static characteristics of cardiac magnetic signals, and lacks a method that can simultaneously display cardiac activity.

Method used

By obtaining the original multi-waveform cardiac magnetic data, extract the two-dimensional magnetocardiogram at multiple moments in the selected time period, perform hierarchical processing and interpolation processing, and finally stack them according to the timeline and perform 3D visual display.

Benefits of technology

It realizes intuitive analysis and observation of cardiomagnetic data, provides a new angle for observing cardiomagnetic data, and has great clinical application value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118614930A
    Figure CN118614930A
Patent Text Reader

Abstract

The invention provides a magnetocardiogram data 3D layered visualization method and system, electronic equipment and a medium. The magnetocardiogram data 3D layered visualization method comprises the steps that original multi-waveform magnetocardiogram data is obtained; magnetocardiograms at multiple moments in a selected time period are obtained based on the original multi-waveform magnetocardiogram data; layering the magnetocardiograms at the multiple moments and stacking the magnetocardiograms according to a time axis; and carrying out 3D visual display on the stacked magnetocardiogram. According to the magnetocardiogram data 3D layered visualization method, the magnetocardiogram data 3D layered visualization system, the electronic equipment and the medium, overall imaging is carried out on the magnetic signal wave group diagram at the discrete position on the space plane, the static characteristics of the magnetocardiogram signals at a certain moment can be displayed, meanwhile, the overall characteristics of the magnetocardiogram signals can be displayed, and the magnetocardiogram signals can be better observed and interpreted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of magnetocardiography, and in particular, relates to a 3D layered visualization method, system, electronic device and medium for magnetocardiography data. Background Art

[0002] The magnetic heart signal is the detection and recording of the electrical activity of the human heart beating process using magnetic detection equipment. Similar to the multi-lead signal of the electrocardiogram, a waveform signal of a certain position of the magnetic heart signal also contains information related to heart disease. However, the cardiac electrical activity recorded by the magnetic signal is a vector signal with a two-dimensional spatial structure, and the information it contains has spatial characteristics.

[0003] At present, the observation of magnetic heart signals is mainly through space wave group diagrams, time wave group diagrams, two-dimensional magnetic heart diagrams at a single moment, and their corresponding current density diagrams. Among them, space and time wave group diagrams are dynamic observation methods, and the objects of observation are the original waveform magnetic heart signals, which are not easy to observe and discover the overall characteristics of cardiac activity. The two-dimensional magnetic heart diagram and its current density diagram are static observations of cardiac electrical activity at a certain moment, and what can be observed are the static characteristics of the cardiac movement process. However, the prior art lacks a method that can simultaneously observe the static characteristics and overall characteristics of cardiac activity. Summary of the invention

[0004] The present application provides a 3D layered visualization method for magnetocardiographic data, which is used to solve the problem that the prior art cannot perform overall imaging of magnetic signal wave group maps at discrete locations.

[0005] In a first aspect, the present application provides a 3D layered visualization method for magnetocardiogram data, characterized in that it includes obtaining original multi-waveform magnetocardiogram data; obtaining two-dimensional magnetocardiograms at multiple moments in a selected time period based on the original multi-waveform magnetocardiogram data; layering the two-dimensional magnetocardiograms at the multiple moments and stacking them along the time axis; and performing 3D visualization of the stacked two-dimensional magnetocardiograms.

[0006] In an implementation of the first aspect, acquiring two-dimensional magnetocardiograms at multiple moments in a selected time period based on the original multi-waveform magnetocardiogram data includes performing a first processing on the original multi-waveform magnetocardiogram data to acquire original two-dimensional magnetocardiograms at multiple moments in the selected time period; performing a second processing on the original two-dimensional magnetocardiograms at the multiple moments to acquire two-dimensional magnetocardiograms corresponding to the multiple moments; and restoring the distribution of the cardiac magnetic field using the two-dimensional magnetocardiograms corresponding to the multiple moments.

[0007] In an implementation of the first aspect, performing a first processing on the original multi-waveform magnetocardiographic data to obtain original two-dimensional magnetocardiograms at multiple moments within a selected time period includes determining multiple sampling moments within the selected time period, extracting magnetocardiographic data at multiple discrete positions at the multiple sampling moments from the original multi-waveform magnetocardiographic data, and recombining the magnetocardiographic data at multiple discrete positions at the multiple sampling moments to obtain two-dimensional magnetocardiograms corresponding to the multiple sampling moments.

[0008] In an implementation of the first aspect, performing a second processing on the original two-dimensional magnetocardiograms at the multiple moments to obtain the magnetocardiograms corresponding to the multiple moments includes performing interpolation processing and normalization processing on the original two-dimensional magnetocardiograms at the multiple moments to obtain the two-dimensional magnetocardiograms corresponding to the multiple moments.

[0009] In an implementation of the first aspect, the layering processing of the two-dimensional magnetocardiograms at the multiple moments and stacking them according to the time axis includes respectively determining the number of layers of the two-dimensional magnetocardiograms at the multiple moments; calculating a quantization value of each layer according to the number of layers; performing a layering operation on the two-dimensional magnetocardiograms at the multiple moments according to the quantization value; and stacking the magnetocardiograms at the multiple moments after the layering operation according to the time axis.

[0010] In an implementation of the first aspect, the layering operation of the two-dimensional magnetocardiograms at the multiple moments according to the quantization value includes traversing the elements to be layered in the two-dimensional magnetocardiograms at the multiple moments; determining the layer number to which the current element belongs; and performing layered quantization on the current element based on the quantization value.

[0011] In an implementation manner of the first aspect, the interpolation processing includes bicubic interpolation processing.

[0012] In a second aspect, the present application provides a 3D hierarchical visualization system for magnetocardiographic data, comprising a first acquisition module for acquiring original multi-waveform magnetocardiographic data; a second acquisition module for acquiring two-dimensional magnetocardiographic images at multiple moments in a selected time period based on the original multi-waveform magnetocardiographic data; a processing module for performing hierarchical processing on the two-dimensional magnetocardiographic images at the multiple moments and stacking them according to the time axis; and a visualization module for performing 3D visualization of the stacked two-dimensional magnetocardiographic images.

[0013] In a third aspect, the present application provides an electronic device comprising: a memory configured to store a computer program; and a processor communicatively connected to the memory, the processor being configured to call the computer program to execute the 3D layered visualization method for magnetocardiographic data described in the first aspect of the present application.

[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for 3D layered visualization of magnetocardiographic data described in the first aspect of the present application.

[0015] The 3D layered visualization method of magnetic heart data described in this application has the following beneficial effects: This application proposes a 3D layered visualization method, system, electronic device and medium for magnetic heart data, which displays a series of two-dimensional magnetic heart images at multiple moments in a selected time period as a whole in 3D visualization, providing a new overall observation angle of magnetic heart data, so that magnetic heart data can be analyzed and observed more intuitively. In clinical applications, this 3D layered visualization of magnetic heart data can also provide clinicians with a new method of understanding the electrical activity of the heart beat cycle that is different from the traditional electrocardiogram, and has great clinical application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Shown is a flow chart of a method for 3D hierarchical visualization of magnetocardiographic data provided by an embodiment of the present application.

[0017] Figure 2 The display is a time wave group diagram of magnetocardiographic data according to an embodiment of the present application.

[0018] Figure 3 Shown is a flowchart of a method for 3D hierarchical visualization of magnetocardiographic data according to an embodiment of the present application.

[0019] Figure 4 Shown is a flowchart of a method for 3D hierarchical visualization of magnetocardiographic data according to an embodiment of the present application.

[0020] Figure 5 Shown is a time wave group diagram of electromagnetism data in a selected time period according to an embodiment of the present application.

[0021] Figure 6 Shown is a spatial wave group diagram of magnetocardiographic data according to an embodiment of the present application.

[0022] Figure 7 The display is an original two-dimensional magnetocardiogram of magnetocardiographic data according to an embodiment of the present application.

[0023] Figure 8 Shown is a flowchart of a method for 3D hierarchical visualization of magnetocardiographic data according to an embodiment of the present application.

[0024] Fig. 9 The display is a two-dimensional magnetocardiogram after interpolation processing according to an embodiment of the present application.

[0025] Fig.10The display is a standardized two-dimensional magnetocardiogram according to an embodiment of the present application.

[0026] Fig.11 Shown is a flowchart of a method for 3D hierarchical visualization of magnetocardiographic data according to an embodiment of the present application.

[0027] Fig.12 Shown is a flowchart of a method for 3D hierarchical visualization of magnetocardiographic data according to an embodiment of the present application.

[0028] Fig.13 The display is a two-dimensional magnetocardiogram after layered processing as described in an embodiment of the present application.

[0029] Fig.14 Shown is a schematic diagram of a 3D layered visualization of magnetocardiographic data according to an embodiment of the present application.

[0030] Fig.15 Shown is a schematic diagram of a 3D layered visualization of magnetocardiographic data according to an embodiment of the present application.

[0031] Fig.16 Schematic diagram of the architecture of a 3D hierarchical visualization system for magnetocardiographic data according to an embodiment of the present application

[0032] Fig.17 Shown is a schematic diagram of the architecture of a second acquisition module according to an embodiment of the present application.

[0033] Fig.18 Shown is a schematic diagram of the structure of an electronic device described in an embodiment of the present application.

[0034] Component number description

[0035] 10 First acquisition module

[0036] 20 Second acquisition module

[0037] 201 First processing submodule

[0038] 202 Second processing submodule

[0039] 30 Processing Module

[0040] 40 Visualization Module

[0041] 90 Electronic equipment

[0042] 901 Memory

[0043] 902 processor

[0044] Steps S1 to S4

[0045] Steps S21 to S22

[0046] Steps S211 to S212

[0047] Steps S221 to S222

[0048] Steps S31 to S34

[0049] Steps S331 to S333 DETAILED DESCRIPTION

[0050] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0051] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0052] The following embodiments of the present application provide a 3D layered visualization method, system, electronic device and medium for magnetocardiographic data, which can perform overall imaging of magnetic signal wave groups at discrete positions on a spatial plane, and can display both the static characteristics of the magnetocardiographic signal at a certain moment and the overall characteristics of the magnetocardiographic signal.

[0053] The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application.

[0054] like Figure 1 As shown, this embodiment provides a 3D layered visualization method for magnetocardiographic data, which includes the following steps S1 to S4:

[0055] S1: Obtain raw multi-waveform magnetocardiographic data.

[0056] Specifically, the original multi-waveform magnetocardiographic data can be collected by magnetocardiographic devices of various models and channels on the market.

[0057] like Figure 2 As shown, in one embodiment, 36 magnetic cardio signals of the human body are collected by a 9-channel magnetic cardio equipment, and the collected original multi-waveform magnetic cardio data are visualized according to a time wave group diagram.

[0058] S2: Acquire two-dimensional magnetocardiograms at multiple moments in a selected time period based on the original multi-waveform magnetocardiogram data.

[0059] like Figure 3 As shown, step S2 is divided into steps S21 and S22:

[0060] S21: Performing a first processing on the original multi-waveform magnetocardiogram data to obtain original two-dimensional magnetocardiograms at multiple moments in a selected time period.

[0061] Specifically, Figure 4 As shown, step S21 is divided into steps S211 and S212.

[0062] S211: Determine a plurality of sampling moments within the selected time period, and extract the magnetocardiographic data at a plurality of discrete positions at the plurality of sampling moments from the original multi-waveform magnetocardiographic data.

[0063] Among them, the magnetic cardiotonic data within the selected time period is obtained through positioning and cropping.

[0064] Specifically, Figure 5 As shown, in one embodiment, the acquired original multi-waveform magnetic cardio data is positioned and cropped, the area from the starting position of the Q wave to the ending position of the T wave is located, and the original multi-waveform magnetic cardio data of this part of the area is cropped out and visualized in a time wave group diagram.

[0065] After selecting a time period, multiple sampling moments within the time period are determined. For example, multiple sampling moments such as 150ms and 160ms are determined in the region from the start position of the Q wave to the end position of the T wave, and the magnetocardiographic data at multiple discrete positions at multiple sampling moments such as 150ms and 160ms are extracted from the original multi-waveform magnetocardiographic data.

[0066] S212: Recombining the magnetocardiogram data of the plurality of discrete positions at the plurality of sampling moments to obtain the original two-dimensional magnetocardiograms corresponding to the plurality of sampling moments.

[0067] Specifically, the magnetocardiographic data of multiple discrete positions at multiple sampling moments are reorganized according to the plane positions.

[0068] In one embodiment, the 150 ms is used as a sampling time, and 36 cardiac magnetocardiographic signals of the human body at the 150 ms collected by the 9-channel cardiac magnetocardiographic device are obtained. The position coordinates of the 36 cardiac magnetocardiographic signals on the chest surface are further obtained, and the 36 cardiac magnetocardiographic data at the 150 ms are respectively made to correspond to the position coordinates of the chest surface, thereby obtaining 36 sets of two-dimensional cardiac magnetocardiographic data, and displaying them in a spatial wave group diagram (such as Figure 6 Then query the color table of the two-dimensional magnetocardiogram data to obtain the original two-dimensional magnetocardiogram corresponding to the 150ms (as shown in Figure 7 shown).

[0069] Specifically, the method for obtaining the position coordinates corresponding to the 36 cardiac magnetic signals on the chest surface includes: mapping the 36 cardiac magnetic signals to the position coordinates of the two-dimensional plane, and the mapping relationship is as follows:

[0070] The 36 points of the collected magnetic heart signals are serially numbered, from 1 to 36. The resolution of the two-dimensional plane is 6x6, that is, there are 6 rows in total, and each row has 6 columns. The 6 magnetic heart signal points with consecutive numbers are used as the corresponding rows of the 6x6 size according to the row priority strategy. For example, the 6 magnetic heart signals numbered 1 to 6 are used as the 6 signal points of the first row of the 6x6 two-dimensional plane; the 6 magnetic heart signals numbered 7 to 12 are used as the 6 signal points of the second row on the 6x6 two-dimensional plane. And so on, the 36 signal points can be restored to the two-dimensional plane in the end.

[0071] It should be noted that different magnetocardiographic devices have different rules for restoring magnetocardiographic signals to different planes. Here, only one embodiment is used to specifically illustrate the specific rules for restoring 36 magnetocardiographic signals collected by a 9-channel magnetocardiographic device to a two-dimensional plane.

[0072] Specifically, querying the color table according to the two-dimensional magnetocardiogram data means: according to the two-dimensional magnetocardiogram data value, the corresponding color is found in the color table and displayed at the corresponding position in the original two-dimensional magnetocardiogram. In order to improve the image resolution of the original two-dimensional magnetocardiogram, the color table uses a for loop to generate a 256-color linear uniform color table, and the difference of each color can be set by itself to achieve better uniformity and continuity.

[0073] It should be noted that Figure 7 The horizontal and vertical coordinates represent the position coordinate information of the chest surface. Figure 6 The coordinates of the chest surface position shown in are consistent with those in FIG.

[0074] In the above embodiment, a time period is first selected by positioning and cropping, and then a plurality of sampling moments are determined within the time period. The magnetocardiogram data at a plurality of discrete positions at a plurality of sampling moments are extracted from the original multi-waveform magnetocardiogram data, and the data are reorganized to finally obtain the original two-dimensional magnetocardiogram corresponding to the plurality of sampling moments within the selected time period.

[0075] It should be noted that, in another preferred embodiment, multiple sampling moments can be determined first, and the magnetocardiogram data at multiple discrete positions at multiple sampling moments can be extracted from the original multi-waveform magnetocardiogram data, and reorganized to obtain the original two-dimensional magnetocardiogram corresponding to the multiple sampling moments. After that, an arbitrary time period can be selected by positioning and cutting, and finally the original two-dimensional magnetocardiogram corresponding to the multiple sampling moments in the selected time period can be obtained.

[0076] S22: performing a second processing on the original two-dimensional magnetocardiograms at the multiple moments to obtain the two-dimensional magnetocardiograms corresponding to the multiple moments; and restoring the distribution of the cardiac magnetic field using the two-dimensional magnetocardiograms corresponding to the multiple moments.

[0077] Specifically, Figure 8 As shown, step S22 includes step S221 and step S222:

[0078] Step S221: performing interpolation processing on the original two-dimensional magnetocardiograms at the multiple moments.

[0079] In a preferred embodiment, bicubic interpolation processing is performed on the original two-dimensional magnetocardiograms at the multiple moments.

[0080] Specifically, the bicubic interpolation process is as follows:

[0081] Construct a BiCubic function:

[0082]

[0083] Among them, a=-0.5.

[0084] Determine the point P (x, y) in the original two-dimensional magnetocardiogram, select the 4×4 neighborhood points around point P, and define it as (x i ,y i ), where i,j=0,1,2,3. i ,y i ) is interpolated according to the following formula:

[0085]

[0086] Among them, i and j represent the positions of rows and columns.

[0087] In one embodiment, taking the original two-dimensional magnetocardiogram at 150 ms as an example, bicubic interpolation is performed according to the above process, and the magnetocardiogram after interpolation is obtained as follows: Fig. 9 shown.

[0088] It should be noted that Fig. 9 The horizontal and vertical coordinates represent the position coordinate information of the chest surface.

[0089] Step S222: performing standardization processing on the magnetocardiogram after the interpolation processing.

[0090] Specifically, the magnetocardiogram after interpolation is standardized according to the following formula:

[0091]

[0092] where μ is the mean of X and σ is the standard deviation of X.

[0093] In one embodiment, the magnetocardiogram after interpolation processing at the 150th ms is taken as an example, and the standardization processing is performed, and the obtained two-dimensional magnetocardiogram corresponding to the 150th ms is as follows: Fig.10 shown.

[0094] Fig.10 The two-dimensional magnetocardiogram corresponding to the 150 ms displayed is obtained after bicubic interpolation and normalization processing of the original two-dimensional magnetocardiogram. The two-dimensional magnetocardiogram restores the distribution of the cardiac magnetic field at the 150 ms, so that the static characteristics of the cardiac motion process at the 150 ms can be observed.

[0095] It should be noted that Fig.10 The horizontal and vertical coordinates represent the position coordinate information of the chest surface.

[0096] It should be noted that in other preferred embodiments, step S221 and step S222 can be reversed, that is, the original two-dimensional magnetocardiogram is first subjected to the standardization process of step S222, and then the interpolation process of step S221 is performed to obtain the two-dimensional magnetocardiograms corresponding to multiple moments and restore the distribution of the cardiac magnetic field.

[0097] S3: performing layer processing on the two-dimensional magnetocardiograms at the multiple moments respectively and stacking them according to the time axis.

[0098] like Fig.11 As shown, step S3 includes steps S31 to S34:

[0099] S31: Determine the number of layers of the two-dimensional magnetocardiograms at the multiple moments respectively.

[0100] Specifically, the number of layers of the two-dimensional magnetocardiogram is determined according to the required visualization granularity. For example, if it is necessary to observe the cardiac activity more clearly, a larger number of layers can be determined. That is, the number of layers is set to N, and the larger N is, the larger the visualization granularity is.

[0101] S32: Calculate the quantization value of each layer according to the number of layers.

[0102] Specifically, the quantization value of each layer is calculated according to the following formula:

[0103]

[0104] Among them, i represents the number of current quantization layers.

[0105] S33: performing a layering operation on the two-dimensional magnetocardiograms at the multiple moments according to the quantized values.

[0106] like Fig.12As shown, step S33 is divided into steps S331 to S333:

[0107] S331: Traverse the elements to be layered in the two-dimensional magnetocardiograms at the multiple moments.

[0108] Specifically, the elements in the magnetocardiogram at multiple moments are traversed element by element.

[0109] S332: Determine the layer number to which the current element belongs.

[0110] Specifically, determine the layer number i to which the current element to be layered belongs.

[0111] S333: Perform hierarchical quantization on the current element based on the quantization value.

[0112] Specifically, the current element to be layered is quantified using V i Replace the current element. Then the same V i The elements represented will be on the same layer.

[0113] In one embodiment, the number of layers N is determined to be 45, and the quantization value of each layer is

[0114]

[0115] Here, i represents the number of layers of current quantization. Taking the 2D magnetocardiogram of the 150 ms as an example, after layering, the magnetocardiogram obtained after layering is as follows: Fig.13 shown.

[0116] It should be noted that Fig.13 The horizontal and vertical coordinates represent the position coordinate information of the chest surface.

[0117] S34: stacking the magnetocardiograms at multiple moments after the layering operation according to the time axis.

[0118] Specifically, the magnetocardiograms obtained after layering at multiple moments in the selected time period are stacked according to the time axis.

[0119] In one embodiment, the Z axis can be selected as the time axis, and the X axis and the Y axis both represent the position coordinates on the chest surface. Fig.14 shown.

[0120] S4: 3D visualization of the stacked 2D magnetocardiogram.

[0121] Specifically, the 3D visualization display mode includes a transparent mode and an opaque mode. The transparent mode can be used to directly observe the activities inside the heart. In clinical practice, the display mode can be selected according to needs.

[0122] like Fig.14As shown, an opaque method is used to display the stacked two-dimensional magnetocardiogram in 3D.

[0123] like Fig.15 As shown, a transparent method is used to display the stacked two-dimensional magnetocardiogram in 3D.

[0124] Among them, the X-axis and the Y-axis both represent the position coordinates on the chest surface, and the Z-axis is the time axis.

[0125] The embodiment of the present invention provides a 3D hierarchical visualization method for cardiomagnetic data, which displays a series of two-dimensional cardiomagnetic images at multiple moments in a selected time period as a whole in 3D visualization, showing both the static characteristics of the cardiomagnetic signal at a certain moment and the overall characteristics of the cardiomagnetic signal, realizing intuitive analysis and observation of the cardiomagnetic data, and providing a new angle for observing the cardiomagnetic data. In clinical applications, it provides clinicians with a new way to understand the electrical activity of the heart beat cycle that is different from the traditional electrocardiogram, and has great clinical application value.

[0126] The protection scope of the method for 3D layered visualization of magnetocardiographic data described in the embodiment of the present application is not limited to the execution order of the steps listed in the present embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.

[0127] The embodiment of the present application also provides a 3D layered visualization system for magnetocardiogram data, which can implement the 3D layered visualization method for magnetocardiogram data described in the present application. However, the implementation device of the 3D layered visualization method for magnetocardiogram data described in the present application includes but is not limited to the structure of the 3D layered visualization system for magnetocardiogram data listed in the present embodiment. All structural deformations and replacements of the prior art made according to the principles of the present application are included in the protection scope of the present application.

[0128] like Fig.16 As shown, this embodiment provides a 3D hierarchical visualization system for magnetocardiographic data, including a first acquisition module 10 , a second acquisition module 20 , a processing module 30 , and a visualization module 40 .

[0129] The first acquisition module 10 acquires original multi-waveform magnetocardiographic data.

[0130] The second acquisition module 20 acquires two-dimensional magnetocardiograms at multiple moments in a selected time period based on the original multi-waveform magnetocardiogram data.

[0131] The processing module 30 performs layered processing on the two-dimensional magnetocardiograms at the multiple moments and stacks them according to the time axis.

[0132] The visualization module 40 performs 3D visualization on the stacked two-dimensional magnetocardiograms.

[0133] The first acquisition module 10 includes magnetocardiographic devices of various models and channels.

[0134] Among them, Fig.17 As shown, the second acquisition module 20 includes a first processing submodule 201 and a second processing submodule 202 .

[0135] Specifically, the first processing submodule 201 performs a first processing on the original multi-waveform magnetocardiogram data to obtain original two-dimensional magnetocardiograms at multiple moments in a selected time period.

[0136] The first processing submodule 201 determines a plurality of sampling moments within the selected time period, extracts the magnetocardiogram data at a plurality of discrete positions at the plurality of sampling moments from the original multi-waveform magnetocardiogram data, and reorganizes the magnetocardiogram data at a plurality of discrete positions at the plurality of sampling moments to obtain a two-dimensional magnetocardiogram corresponding to the plurality of sampling moments.

[0137] In one embodiment, the region from the start position of the Q wave to the end position of the T wave is selected by locating and cropping, multiple sampling moments within the time period are determined, the magnetocardiogram data at multiple discrete positions at the multiple sampling moments are extracted, and the data are reorganized to obtain a two-dimensional magnetocardiogram corresponding to the multiple sampling moments.

[0138] In the embodiment with 150 ms as the sampling time, the corresponding two-dimensional magnetocardiogram obtained by the first processing submodule 201 is as follows: Figure 7 shown.

[0139] It should be noted that the first processing submodule 201 can first locate and crop the original multi-waveform magnetocardiogram data to select a time period, then determine multiple sampling moments within the time period, and reorganize the magnetocardiogram data of multiple discrete positions at the multiple sampling moments to obtain a two-dimensional magnetocardiogram corresponding to the multiple sampling moments.

[0140] In some other preferred embodiments, the second processing submodule 201 may also first determine multiple sampling moments, reorganize the magnetocardiogram data of multiple discrete positions at the multiple sampling moments to obtain two-dimensional magnetocardiograms corresponding to the multiple sampling moments, and then select a time period by positioning and cropping to finally obtain a two-dimensional magnetocardiogram corresponding to multiple moments within the selected time.

[0141] Specifically, the second processing submodule 202 performs second processing on the original two-dimensional magnetocardiograms at the multiple moments to obtain the two-dimensional magnetocardiograms corresponding to the multiple moments.

[0142] The second processing submodule 202 performs interpolation processing and normalization processing on the original two-dimensional magnetocardiograms at multiple moments.

[0143] In the embodiment where the 150 ms is used as the sampling time, the result of the interpolation processing performed by the second processing submodule 202 on the original two-dimensional magnetocardiogram at the 150 ms is as follows: Fig. 9 As shown in Figure 2, the result of normalizing the magnetocardiogram after interpolation is as follows: Fig.10 shown.

[0144] It should be noted that there is no fixed order for the second processing submodule 202 to perform interpolation processing and standardization processing on the original two-dimensional magnetocardiogram.

[0145] The processing module 30 performs layered processing on the two-dimensional magnetocardiograms at multiple moments and stacks them according to the time axis.

[0146] Specifically, the processing module 30 determines the number of layers of the two-dimensional magnetocardiograms at multiple moments, calculates a quantized value of each layer according to the number of layers, performs a layering operation on the two-dimensional magnetocardiograms at the multiple moments based on the quantized value, and finally stacks the magnetocardiograms at the multiple moments after the layering operation according to the time axis.

[0147] In the embodiment with 150 ms as the sampling time, the processing module 30 determines the number of layers N=45, and calculates the quantization value of each layer as:

[0148]

[0149] Based on the quantized value, the elements in the 150ms magnetocardiogram are traversed element by element, the layer number i to which the current layered element belongs is determined, and the current layered element is layered and quantized, using V i Replace the current element. Then the same V i The elements represented by will be in the same layer. The obtained magnetocardiogram at 150ms after layer processing is as follows Fig.13 shown.

[0150] It should be noted that Fig.13 The horizontal and vertical coordinates represent the position coordinate information of the chest surface.

[0151] It should be noted that the larger the number of layers N is, the larger the visualization granularity is.

[0152] The processing module 30 stacks the magnetocardiograms after the layering operation at multiple moments in the selected time period according to the time axis.

[0153] In one embodiment, the Z axis can be selected as the time axis, and the X axis and the Y axis both represent the position coordinates on the chest surface. Fig.14 shown.

[0154] The visualization module 40 performs 3D visualization on the stacked two-dimensional magnetocardiogram.

[0155] Specifically, the visualization module 40 performs 3D visualization display in a transparent manner and an opaque manner. The transparent manner can be helpful for intuitively observing the activities inside the heart. In clinical practice, the display manner can be selected according to needs.

[0156] like Fig.14 As shown, the visualization module 40 uses an opaque method to perform 3D visualization on the stacked two-dimensional magnetocardiogram.

[0157] like Fig.15 As shown, the visualization module 40 uses a transparent method to perform 3D visualization on the stacked two-dimensional magnetocardiogram.

[0158] Specifically, the X-axis and the Y-axis both represent position coordinates on the chest surface, and the Z-axis is the time axis.

[0159] The 3D hierarchical visualization system of the magnetic heart data provided by the embodiment of the present invention acquires the original multi-waveform magnetic heart data through the first acquisition module 10, acquires the two-dimensional magnetic heart images at multiple moments in the selected time period based on the original multi-waveform magnetic heart data through the second acquisition module 20, performs hierarchical processing on the two-dimensional magnetic heart images at the multiple moments and stacks them according to the time axis through the processing module 30, and performs 3D visualization display on the stacked two-dimensional magnetic heart images through the visualization module 40. The system displays a series of two-dimensional magnetic heart images at multiple moments in the selected time period as a whole in 3D visualization, which not only displays the static characteristics of the magnetic heart signal at a certain moment but also displays the overall characteristics of the magnetic heart signal, realizes intuitive analysis and observation of the magnetic heart data, and provides a new perspective for observing magnetic heart data. In clinical applications, it provides clinicians with a new way to understand the electrical activity of the heart beat cycle that is different from the traditional electrocardiogram, and has great clinical application value.

[0160] The present application also provides an electronic device. Fig.18 As shown, this embodiment provides an electronic device 90, which includes: a memory 901, configured to store a computer program; and a processor 902, which is communicatively connected to the memory 901 and configured to call the computer program to execute the 3D layered visualization method of magnetocardiographic data.

[0161] The memory 901 includes: ROM (Read Only Memory image), RAM (Random Access Memory), a disk, a USB flash drive, a memory card or an optical disk, and other media that can store program codes.

[0162] The processor 902 is connected to the memory 901 and is used to execute the computer program stored in the memory 901 so that the electronic device executes the above-mentioned 3D layered visualization method of magnetocardiographic data.

[0163] Preferably, the processor 902 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0164] In the several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules / units is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or units 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 an indirect coupling or communication connection through some interfaces, devices or modules or units, which can be electrical, mechanical or other forms.

[0165] The modules / units described as separate components may or may not be physically separated, and the components displayed as modules / units may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules / units may be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in the various embodiments of the present application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.

[0166] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0167] The present application embodiment also provides a computer-readable storage medium. A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above embodiment can be completed by a program to instruct the processor, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state hard disk (SSD)), etc.

[0168] The present application embodiment may also provide a computer program product, the computer program product including one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer or data center.

[0169] When the computer program product is executed by a computer, the computer executes the method described in the above method embodiment. The computer program product may be a software installation package, and when the above method is required, the computer program product may be downloaded and executed on a computer.

[0170] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0171] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A 3D layered visualization method for magnetocardiographic data, characterized in that: include: Obtain original multi-waveform magnetic cardiology data; Acquire two-dimensional magnetocardiograms at multiple moments in a selected time period based on the original multi-waveform magnetocardiogram data; The two-dimensional magnetocardiograms at the multiple moments are respectively subjected to layer processing and stacked according to the time axis; The stacked two-dimensional magnetocardiogram is visualized in 3D.

2. The method for 3D layered visualization of magnetocardiographic data according to claim 1, characterized in that: The step of acquiring two-dimensional magnetocardiograms at multiple moments in a selected time period based on the original multi-waveform magnetocardiogram data comprises: Performing a first processing on the original multi-waveform magnetocardiogram data to obtain original two-dimensional magnetocardiograms at multiple moments in a selected time period; The original two-dimensional magnetocardiograms at the multiple moments are subjected to a second processing to obtain the two-dimensional magnetocardiograms corresponding to the multiple moments; and the two-dimensional magnetocardiograms corresponding to the multiple moments restore the distribution of the cardiac magnetic field.

3. The method for 3D layered visualization of magnetocardiographic data according to claim 2, characterized in that: Performing a first processing on the original multi-waveform magnetocardiogram data to obtain original two-dimensional magnetocardiograms at multiple moments in a selected time period includes: Determine a plurality of sampling moments within the selected time period, and extract the magnetocardiographic data at a plurality of discrete positions at the plurality of sampling moments from the original multi-waveform magnetocardiographic data; The magnetocardiogram data of multiple discrete positions at multiple sampling moments are reorganized to obtain original two-dimensional magnetocardiograms corresponding to the multiple sampling moments.

4. The method for 3D layered visualization of magnetocardiographic data according to claim 2, characterized in that: Performing a second processing on the original two-dimensional magnetocardiograms at the multiple moments to obtain the magnetocardiograms corresponding to the multiple moments includes: The original two-dimensional magnetocardiograms at the multiple moments are interpolated and standardized to obtain the two-dimensional magnetocardiograms corresponding to the multiple moments.

5. The method for 3D layered visualization of magnetocardiographic data according to claim 1, characterized in that: The performing layered processing on the two-dimensional magnetocardiograms at the multiple moments and stacking them according to the time axis comprises: respectively determining the number of layers of the two-dimensional magnetocardiogram at the plurality of moments; Calculate the quantitative value of each layer according to the number of layers; performing a layered operation on the two-dimensional magnetocardiograms at the multiple moments according to the quantized values; The magnetocardiograms at multiple moments after the layering operation are stacked along the time axis.

6. The method for 3D layered visualization of magnetocardiographic data according to claim 5, characterized in that: The layering operation of the two-dimensional magnetocardiograms at the multiple moments according to the quantized values ​​comprises: Traversing the elements to be layered in the two-dimensional magnetocardiogram at the multiple moments; Determine the layer number of the current element; The current element is hierarchically quantized based on the quantization value.

7. The method for 3D layered visualization of magnetocardiographic data according to claim 4, characterized in that: The interpolation process includes a bicubic interpolation process.

8. A 3D hierarchical visualization system for magnetocardiographic data, characterized in that: include: A first acquisition module is used to acquire original multi-waveform magnetocardiographic data; A second acquisition module, configured to acquire two-dimensional magnetocardiograms at multiple moments in a selected time period based on the original multi-waveform magnetocardiogram data; The processing module is used to perform layered processing on the two-dimensional magnetocardiograms at the multiple moments and stack them according to the time axis; the visualization module is used to perform 3D visualization display on the stacked two-dimensional magnetocardiograms.

9. An electronic device, characterized in that: include: Processor and memory; The memory is used to store a computer program. The processor is communicatively connected to the memory. The processor is used to execute the computer program stored in the memory to perform the 3D layered visualization method for magnetocardiographic data according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the 3D layered visualization method of magnetocardiographic data according to any one of claims 1 to 7 is implemented.