Magnetocardiogram feature extraction method based on high-order tensor decomposition
Through high-order tensor decomposition and Tucker decomposition methods, the problem of non-automation and lack of multi-dimensional related information in the cardiomagnetic feature extraction method is solved, fully automated feature extraction and multi-dimensional information acquisition are achieved, and the influence of waveform positioning error is overcome. Improved medical application value.
Patent Information
- Application Number
- CN202410988588.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Existing cardiomagnetic feature extraction methods have problems such as non-automation, lack of multi-dimensional correlation information extraction, and vulnerability to waveform positioning errors.
The high-order tensor decomposition method is used to construct a high-order core magnetic tensor space and use Tucker decomposition method to decompose it into core tensors and projection matrices to achieve fully automated feature extraction and obtain multi-dimensional related information.
It has realized fully automated cardiomagnetic feature extraction, which can extract multi-dimensional related information and avoid the influence of waveform positioning errors, improving the accuracy of feature extraction and medical application value.
Smart Images

Figure CN118734042A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of biomedical signal analysis and relates to a method for extracting magnetic cardio features based on high-order tensor decomposition. Background Art
[0002] The magnetocardiography device based on SERF (Spin Exchange Relaxation Free) atomic magnetometer is a new type of cardiac function detection equipment, which is non-invasive, radiation-free, non-contact, works at room temperature, has high sensitivity, and high time resolution. Studies have shown that magnetocardiography based on SERF atomic magnetometer is superior to other detection methods such as electrocardiography in the diagnosis of myocardial ischemia, arrhythmia, fetal heart and other diseases, and has high medical research and application value.
[0003] One of the important links for the magnetic heart imaging device to achieve disease-assisted detection is to extract an effective magnetic heart feature set. The traditional magnetic heart feature extraction method extracts features from one-dimensional butterfly images, two-dimensional isomagnetic images, and two-dimensional pseudo-current density images. It is necessary to manually extract magnetic heart features in combination with cardiac electrophysiological knowledge and clinical disease conditions; that is, firstly, manually qualitatively analyze the changes in magnetic heart data, then summarize and summarize the useful information reflecting the disease, and finally use mathematical operators to characterize the useful information to achieve feature extraction. The extracted magnetic heart features are low-dimensional features, that is, one-dimensional or two-dimensional features. The extraction process is restricted by two aspects. First, in the process of designing magnetic heart features, the manual qualitative analysis of magnetic heart data changes is limited to the two dimensions of time and space, and higher-dimensional data changes are more difficult to qualitatively analyze; second, in the process of using magnetic heart features, magnetic heart features are targeted at a certain moment or band in the heartbeat, which has high requirements for the positioning of the moment or band. If the magnetic heart data is greatly distorted, it will affect the accuracy of the moment / band positioning, thereby affecting the performance of magnetic heart features.
[0004] The current methods for extracting magnetic cardio features have certain limitations, mainly because the feature extraction process is non-automated, there is a lack of extraction of multi-dimensional correlated magnetic cardio information, and magnetic cardio features are easily affected by waveform positioning errors. Summary of the invention
[0005] In order to overcome the above technical problems, the present invention provides a method for extracting magnetic cardio features based on high-order tensor decomposition, which realizes that the feature extraction process is fully automated, extracts multi-dimensional correlation information, and the features are not affected by waveform positioning errors.
[0006] In order to achieve the above-mentioned purpose and other related purposes, the technical solution adopted by the present invention is as follows: A method for extracting magnetic cardio features based on high-order tensor decomposition, comprising the following steps: Step 1, draw one-dimensional and two-dimensional magnetocardiograms: draw a one-dimensional magnetocardiogram butterfly diagram based on the collected multi-channel magnetocardiogram signals, select any moment in a single heartbeat based on the one-dimensional magnetocardiogram butterfly diagram to draw a two-dimensional isomagnetic diagram, and draw a corresponding two-dimensional pseudo-current density diagram based on the two-dimensional isomagnetic diagram; Step 2: Construct a high-order magnetocardiogram tensor space: Use the multi-dimensional information contained in the one-dimensional and two-dimensional magnetocardiograms to construct a high-order magnetocardiogram tensor space; Step 3, decomposing the high-order magnetocardiocentroscopy tensor space: setting the dimension of the core tensor, and using the Tucker decomposition method to decompose the high-order magnetocardiocentroscopy tensor space into a core tensor and multiple projection matrices; the core tensor represents the main features in the original tensor, and the multiple projection matrices are used to project each mode of the original tensor respectively, and the projection matrix is also called a factor matrix; Step 4: Obtain the cardiomagnetic feature set: convert the core tensor into a multi-dimensional matrix, and then convert the multi-dimensional matrix into a one-dimensional vector to obtain the cardiomagnetic feature set.
[0007] Furthermore, step 2 includes constructing a third-order magnetic heart tensor space based on the one-dimensional magnetic heart butterfly image: first, the one-dimensional magnetic heart signal of each channel is normalized, then converted into a grayscale image, and finally multiple one-dimensional magnetic heart signal grayscale images are stacked to form a third-order magnetic heart tensor space, and the size of the third-order magnetic heart tensor space is the number of channels × the length of the one-dimensional magnetic heart signal grayscale image × the width of the one-dimensional magnetic heart signal grayscale image.
[0008] Further, or the step 2 includes constructing a third-order cardiac magnetic tensor space based on the two-dimensional isomagnetic map: selecting a two-dimensional isomagnetic map of a single heart beat at a certain moment, combining it with the sampling dimension of the single heart beat, to form a third-order cardiac magnetic tensor space, the size of the third-order cardiac magnetic tensor space being the sampling dimension × the length of the two-dimensional isomagnetic map × the width of the two-dimensional isomagnetic map.
[0009] Further, or the step 2 includes constructing a fourth-order magnetic heart tensor space based on the two-dimensional pseudo-current density map: selecting the two-dimensional pseudo-current density map of a single heart beat at a certain moment, combining the current vector information, to construct a third-order magnetic heart tensor space; on the basis of the third-order magnetic heart tensor space, introducing the sampling dimension of a single heart beat to form a fourth-order tensor space, the size of the fourth-order tensor space is sampling dimension × two-dimensional pseudo-current density image length × two-dimensional pseudo-current density image width × current vector.
[0010] The beneficial effects of the present invention are: The present invention uses a high-order tensor decomposition method to extract magnetic cardio features, thereby achieving a fully automated feature extraction process, extracting multi-dimensional correlation information, and ensuring that the features are not affected by waveform positioning errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1This is a flow chart of a method for extracting magnetic cardio features based on high-order tensor decomposition according to the present invention. DETAILED DESCRIPTION
[0012] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0013] like Figure 1 As shown, the method for extracting magnetic cardiofeatures based on high-order tensor decomposition of the present invention comprises the following steps: The first step is to draw one-dimensional and two-dimensional magnetocardiograms.
[0014] A one-dimensional magnetocardiogram butterfly diagram is drawn according to the collected multi-channel magnetocardiogram signals, and a two-dimensional isomagnetic diagram is drawn at any moment in a single heartbeat based on the one-dimensional magnetocardiogram butterfly diagram. A corresponding two-dimensional pseudo-current density diagram is drawn according to the two-dimensional isomagnetic diagram.
[0015] The two-dimensional isomagnetic map is formed by connecting the measurement points with the same amplitude in the magnetocardiographic signals measured at each measurement point at the same time to form a contour map.
[0016] The two-dimensional pseudo current density map can calculate the corresponding current source vector based on the description of the relationship between the current vector and the magnetic field vector by the Maxwell equations, using the cardiac magnetic field distribution data measured on the plane, and plot the current source vector at each position in the form of an arrow diagram. The resulting image is the two-dimensional pseudo current density map.
[0017] The current vector calculation in the two-dimensional pseudo current density map is shown in formula (1): (1) in, represents the current vector on the measurement plane, is the normal component of the cardiac magnetic flux density collected by the SERF magnetometer, , are the unit direction vectors of x and y on the measurement plane respectively. The amplitude and phase angle are respectively given by formulas (2) and (3): (2) (3) The second step is to construct a high-order magnetic centroid tensor space.
[0018] The high-order magnetocardiogram tensor space is constructed using the multi-dimensional information contained in the one-dimensional and two-dimensional magnetocardiograms.
[0019] The step 2 includes constructing a third-order magnetic heart tensor space based on the one-dimensional magnetic heart butterfly image: first, the one-dimensional magnetic heart signal of each channel is normalized, then converted into a grayscale image, and finally a plurality of one-dimensional magnetic heart signal grayscale images are stacked to form a third-order magnetic heart tensor space, wherein the size of the third-order magnetic heart tensor space is the number of channels×the length of the one-dimensional magnetic heart signal grayscale image×the width of the one-dimensional magnetic heart signal grayscale image.
[0020] Alternatively, step 2 includes constructing a third-order cardiac magnetic tensor space based on the two-dimensional isomagnetic map: selecting a two-dimensional isomagnetic map of a single heartbeat at a certain moment, combining it with the sampling dimension of the single heartbeat, to construct a third-order cardiac magnetic tensor space, wherein the size of the third-order cardiac magnetic tensor space is sampling dimension × length of the two-dimensional isomagnetic map × width of the two-dimensional isomagnetic map.
[0021] Alternatively, step 2 includes constructing a fourth-order magnetic heart tensor space based on the two-dimensional pseudo-current density map: selecting the two-dimensional pseudo-current density map of a single heart beat at a certain moment, combining it with the current vector information, to construct a third-order magnetic heart tensor space; on the basis of the third-order magnetic heart tensor space, introducing the sampling dimension of a single heart beat to form a fourth-order tensor space, wherein the size of the fourth-order tensor space is sampling dimension×two-dimensional pseudo-current density image length×two-dimensional pseudo-current density image width×current vector.
[0022] The third step is to decompose the high-order magnetic core tensor space.
[0023] Set the dimension of the core tensor and use the Tucker decomposition method to decompose the high-order magnetic cardiotonic tensor space into a core tensor and multiple projection matrices; the core tensor represents the main features in the original tensor, and the multiple projection matrices are used to project each mode of the original tensor respectively. The projection matrix is also called a factor matrix. The Tucker decomposition is a high-order singular value decomposition, also known as a form of high-order principal component analysis. An N-order tensor , Respectively represent the dimensions of each order tensor, decomposing the N-order tensor into the product of a core tensor and each dimensional matrix: (4) in, is the core tensor, which represents the relationship between the principal components in different modes. , …, is an orthogonal factor matrix satisfying , can be regarded as the main component of each mode, in the equation (p=1,2,3,…N) represents the product between the p-th mode of the core tensor and the orthogonal factor matrix.
[0024] When the high-order tensor space is a third-order magnetocardiographic tensor space (number of channels×length of one-dimensional magnetocardiographic signal grayscale image×width of one-dimensional magnetocardiographic signal grayscale image), the elements of the core tensor after Tucker decomposition are features of interaction information between corresponding columns in the channel factor matrix, the time factor matrix, and the amplitude factor matrix.
[0025] When the high-order tensor space is a third-order tensor space (sampling × two-dimensional isomagnetic map length × two-dimensional isomagnetic map width), the elements of the core tensor after Tucker decomposition are characteristics of the interaction information between the sampling factor matrix, the magnetic field distribution factor matrix on the X-axis, and the magnetic field distribution factor matrix on the Y-axis.
[0026] When the high-order tensor space is a fourth-order tensor space (sampling × two-dimensional pseudo-current image length × two-dimensional pseudo-current image width × current vector), the elements of the core tensor after Tucker decomposition are the characteristics of the interaction information between the sampling factor matrix, the pseudo-current field distribution factor matrix on the X-axis, the pseudo-current field distribution factor matrix on the Y-axis, and the corresponding columns in the current vector factor matrix.
[0027] The fourth step is to obtain the magnetic cardiotonic feature set.
[0028] The core tensor is converted into a multi-dimensional matrix, and then the multi-dimensional matrix is converted into a one-dimensional vector to obtain a set of cardiomagnetic features.
[0029] In summary, the method for extracting magnetic cardio features based on high-order tensor decomposition described in the present invention sequentially draws one-dimensional and two-dimensional magnetic cardio maps, constructs a high-order magnetic cardio tensor space, decomposes a high-order magnetic cardio tensor space, obtains a magnetic cardio feature set, and finally extracts magnetic cardio features based on high-order tensor decomposition. The advantages are that the feature extraction process is fully automated, multi-dimensional correlation information can be extracted, and the features are not affected by waveform positioning errors. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has a high medical application value.
[0030] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for extracting magnetic cardiofeatures based on high-order tensor decomposition. It is characterized in that The method comprises the following steps: Step 1, draw one-dimensional and two-dimensional magnetocardiograms: draw a one-dimensional magnetocardiogram butterfly diagram based on the collected multi-channel magnetocardiogram signals, select any moment in a single heartbeat based on the one-dimensional magnetocardiogram butterfly diagram to draw a two-dimensional isomagnetic diagram, and draw a corresponding two-dimensional pseudo-current density diagram based on the two-dimensional isomagnetic diagram; Step 2: Construct a high-order magnetocardiogram tensor space: Use the multi-dimensional information contained in the one-dimensional and two-dimensional magnetocardiograms to construct a high-order magnetocardiogram tensor space; Step 3, decomposing the high-order magnetocardiocentroscopy tensor space: setting the dimension of the core tensor, and using the Tucker decomposition method to decompose the high-order magnetocardiocentroscopy tensor space into a core tensor and multiple projection matrices; the core tensor represents the main features in the original tensor, and the multiple projection matrices are used to project each mode of the original tensor respectively; Step 4: Obtain the cardiomagnetic feature set: convert the core tensor into a multi-dimensional matrix, and then convert the multi-dimensional matrix into a one-dimensional vector to obtain the cardiomagnetic feature set.
2. According to the method for extracting magnetic cardio features based on high-order tensor decomposition according to claim 1, It is characterized in that The step 2 includes constructing a third-order magnetocardiographic tensor space according to the one-dimensional magnetocardiographic butterfly diagram: First, the one-dimensional magnetocardiographic signal of each channel is normalized and then converted into a grayscale image. Finally, multiple one-dimensional magnetocardiographic signal grayscale images are stacked to form a third-order magnetocardiographic tensor space. The size of the third-order magnetocardiographic tensor space is the number of channels × the length of the one-dimensional magnetocardiographic signal grayscale image × the width of the one-dimensional magnetocardiographic signal grayscale image.
3. According to the method for extracting magnetic cardio features based on high-order tensor decomposition as described in claim 1, It is characterized in that The step 2 includes constructing a third-order magnetic centroid tensor space according to the two-dimensional isomagnetic map: A two-dimensional isomagnetic map of a single heartbeat at a certain moment is selected and combined with the sampling dimension of a single heartbeat to form a third-order cardiac magnetic tensor space, the size of which is sampling dimension×two-dimensional isomagnetic map length×two-dimensional isomagnetic map width.
4. According to the method for extracting magnetic cardio features based on high-order tensor decomposition according to claim 1, It is characterized in that The step 2 includes constructing a fourth-order magnetocentromeric tensor space according to the two-dimensional pseudo current density map: A two-dimensional pseudo-current density image of a single heartbeat at a certain moment is selected, and combined with the current vector information, a third-order magnetic heart tensor space is constructed; on the basis of the third-order magnetic heart tensor space, the sampling dimension of a single heartbeat is introduced to form a fourth-order tensor space, and the size of the fourth-order tensor space is sampling dimension×length of two-dimensional pseudo-current density image×width of two-dimensional pseudo-current density image×current vector.
Citation Information
Patent Citations
Three-dimensional heart magnetic source positioning method, system and server
CN106901717A
Multi-dimensional magnetocardiogram characteristic parameter extraction method and system
CN117113064A
Method for estimating direction of arrival of sub-array partition type l-shaped coprime array based on fourth-order sampling covariance tensor denoising
US20230280433A1
Cited By
Gastroscope image processing method and system based on tensor decomposition
CN119090894A
Arrhythmia disease classification method based on magnetocardiogram signal multi-dimensional feature fusion
CN122208152A
