[go: up one dir, main page]

CN112948747B - Method, device, terminal equipment and storage medium for finding center frequency - Google Patents

Method, device, terminal equipment and storage medium for finding center frequency Download PDF

Info

Publication number
CN112948747B
CN112948747B CN202110163204.7A CN202110163204A CN112948747B CN 112948747 B CN112948747 B CN 112948747B CN 202110163204 A CN202110163204 A CN 202110163204A CN 112948747 B CN112948747 B CN 112948747B
Authority
CN
China
Prior art keywords
signal
center frequency
analog signal
frequency
fat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN202110163204.7A
Other languages
Chinese (zh)
Other versions
CN112948747A (en
Inventor
云天梁
闫玲新
彭建中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Basda Medical Apparatus Co ltd
Original Assignee
Shenzhen Basda Medical Apparatus Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Basda Medical Apparatus Co ltd filed Critical Shenzhen Basda Medical Apparatus Co ltd
Priority to CN202110163204.7A priority Critical patent/CN112948747B/en
Publication of CN112948747A publication Critical patent/CN112948747A/en
Application granted granted Critical
Publication of CN112948747B publication Critical patent/CN112948747B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/05Detecting, measuring or recording for diagnosis by means of electric currents or magnetic fields; Measuring using microwaves or radio waves
    • A61B5/055Detecting, measuring or recording for diagnosis by means of electric currents or magnetic fields; Measuring using microwaves or radio waves involving electronic [EMR] or nuclear [NMR] magnetic resonance, e.g. magnetic resonance imaging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/30Assessment of water resources

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Theoretical Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Mathematics (AREA)
  • High Energy & Nuclear Physics (AREA)
  • Biomedical Technology (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Algebra (AREA)
  • Radiology & Medical Imaging (AREA)
  • Operations Research (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • General Engineering & Computer Science (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Magnetic Resonance Imaging Apparatus (AREA)

Abstract

The embodiment of the invention discloses a method, a device, terminal equipment and a storage medium for searching center frequency, wherein the method for searching the center frequency comprises the following steps: constructing a standard function; obtaining an analog signal of a human body scanning part under a magnetic resonance field intensity system according to the standard function; collecting a group of collected signals of a human body scanning part under a magnetic resonance field intensity system; and comparing the analog signal with the acquired signal, wherein the corresponding frequency position is the central frequency when the acquired signal and the analog signal are maximally superposed. The method for searching the center frequency is only related to a standard function in the calculation process, whether the actually acquired signal is influenced by the environment or noise is not required to be considered, the center frequency can be determined according to the maximum similarity between the acquired signal and the analog signal, manual auxiliary positioning and confirmation are not required, and the accuracy and the stability are greatly improved.

Description

查找中心频率的方法、装置、终端设备和存储介质Method, device, terminal equipment and storage medium for finding center frequency

技术领域technical field

本发明涉及磁共振系统领域,尤其涉及一种查找中心频率的方法、装置、终端设备和存储介质。The invention relates to the field of magnetic resonance systems, in particular to a method, device, terminal equipment and storage medium for finding a center frequency.

背景技术Background technique

磁共振成像系统主要采集人体中H质子的信号,在磁共振系统扫描人体时,存在多种复杂的水和脂肪信号夹杂的情况,人体信号包括脂肪信号、水信号及人体内硅胶填充物等产生的干扰信号,人体信号呈现出多个分布在不同频率范围的信号峰值,且在不同的扫描部位的表现不能完全一致。The magnetic resonance imaging system mainly collects the signals of H protons in the human body. When the magnetic resonance system scans the human body, there are many complex water and fat signals mixed in. The human body signals include fat signals, water signals, and silica gel fillings in the human body. The human body signal presents multiple signal peaks distributed in different frequency ranges, and the performance in different scanning parts cannot be completely consistent.

已有的查找中心频率的方法是利用水和脂肪的固定频率差计算采集到的信号的水信号和脂肪信号的频率差,或者增加手工判断制定水频率位置来得到水信号的中心频率值。现有中心频率查找方法比较单一,无法应对多种场强的磁共振中心频率查找,且在处理复杂频率分布或者有干扰情况时无法提高准确度,例如在不同扫描部位条件下,脂肪频率信号强度有时会大大超过水频率信号,且夹杂干扰信号,则不易对水信号的频率位置进行精确查找。靠人眼判断和传统的水脂固定频率计算方法无法准确的判断出水信号频率位置,如不能精准的查找到水信号对应的中心频率的位置,则磁共振时扫描的图像不清晰。The existing method of finding the center frequency is to use the fixed frequency difference between water and fat to calculate the frequency difference between the water signal and the fat signal of the collected signal, or add manual judgment to determine the water frequency position to obtain the center frequency value of the water signal. The existing center frequency search method is relatively single, unable to cope with the search of the center frequency of magnetic resonance with various field strengths, and cannot improve the accuracy when dealing with complex frequency distribution or interference situations, such as the signal intensity of fat frequency under different scanning site conditions Sometimes it will greatly exceed the water frequency signal, and it is mixed with interference signals, so it is difficult to accurately find the frequency position of the water signal. The frequency position of the water signal cannot be accurately judged by the human eye and the traditional water fat fixed frequency calculation method. If the position of the center frequency corresponding to the water signal cannot be accurately found, the scanned image during magnetic resonance will not be clear.

发明内容Contents of the invention

针对上述技术问题,本发明实施例提供了一种查找中心频率的方法、装置、终端设备和存储介质,不受扫描部位、磁共振系统场强高低和环境噪声等多变因素的影响,针对干扰信号如硅胶填充物产生的信号和存在多个脂肪频率,仍能分析计算出最优水信号的中心频率位置,可自动快速查找到准确的中心频率,提高磁共振时图像质量。In view of the above technical problems, the embodiment of the present invention provides a method, device, terminal equipment and storage medium for finding the center frequency, which is not affected by variable factors such as the scanning location, the field strength of the magnetic resonance system, and environmental noise, and is aimed at interference Signals such as those generated by silica gel fillers and multiple fat frequencies can still be analyzed and calculated to calculate the center frequency position of the optimal water signal, and the accurate center frequency can be automatically and quickly found to improve the image quality during magnetic resonance.

本发明实施例的第一方面提供一种查找中心频率的方法,步骤包括:The first aspect of the embodiments of the present invention provides a method for finding the center frequency, the steps include:

构造一标准函数;Construct a standard function;

根据所述标准函数得出一磁共振场强系统下人体扫描部位的模拟信号;According to the standard function, the analog signal of the human body scanning part under the magnetic resonance field strength system is obtained;

采集一组在所述磁共振场强系统下所述人体扫描部位的采集信号;Acquiring a group of acquisition signals of the scanning parts of the human body under the magnetic resonance field strength system;

将所述模拟信号与所述采集信号进行比较,当所述采集信号与所述模拟信号达到最大重合时对应的频率位置即为中心频率。The analog signal is compared with the acquisition signal, and the corresponding frequency position when the acquisition signal and the analog signal reach a maximum coincidence is the center frequency.

优选的,当标准函数为高斯函数时,得出一所述标准函数如下:Preferably, when the standard function is a Gaussian function, a described standard function is obtained as follows:

stdSignal=GenerateSimSig(N,Δfwf,w) 公式(1)stdSignal=GenerateSimSig(N,Δf wf ,w) formula (1)

其中,公式(1)中,N表示信号点数,Δfwf表示水脂频率差;w表示脂峰与水峰的比重。Among them, in formula (1), N represents the number of signal points, Δf wf represents the frequency difference between water and fat; w represents the proportion of fat peak and water peak.

优选的,所述根据所述标准函数得出一磁共振场强系统下人体扫描部位的模拟信号,具体为:Preferably, the analog signal of the human body scanning part under the magnetic resonance field strength system is obtained according to the standard function, specifically:

选定一特定场强系统及人体扫描部位,确定对应的信号点数、水脂频率差及脂峰与水峰的比重;Select a specific field strength system and human body scanning part, and determine the corresponding signal points, water-fat frequency difference and the proportion of fat peak and water peak;

将信号点数、水脂频率差及脂峰与水峰的比重代入所述标准函数中得出模拟信号。The analog signal is obtained by substituting the number of signal points, the frequency difference between water and fat, and the proportion of fat peak and water peak into the standard function.

优选的,所述将所述模拟信号与所述采集信号进行比较,当所述采集信号图与所述模拟信号图达到最大重合时对应的频率位置即为中心频率,具体包括:Preferably, the analog signal is compared with the collected signal, and when the collected signal diagram and the analog signal diagram reach the maximum coincidence, the corresponding frequency position is the center frequency, specifically including:

计算所述模拟信号与所述采集信号的互相关矩阵[coef,pos];Calculating a cross-correlation matrix [coef, pos] between the analog signal and the collected signal;

查找coef最大值时的pos值;Find the pos value when the maximum value of coef is found;

将coef最大值时的pos值换算为中心频率f。Convert the pos value at the maximum value of coef to the center frequency f.

优选的,所述互相关矩阵[coef,pos]为:Preferably, the cross-correlation matrix [coef, pos] is:

[coef,pos]=cro_cor(stdSignal0,realSignal) 公式(2)[coef,pos]=cro_cor(stdSignal 0 ,realSignal) formula (2)

其中,公式(2)中,stdSignal0表示模拟信号,realSignal表示采集信号,coef表示模拟信号与采集信号的重合程度的相关系数,pos表示模拟信号相对于采集信号移动的相对距离。Among them, in formula (2), stdSignal 0 represents the analog signal, realSignal represents the collected signal, coef represents the correlation coefficient of the coincidence degree between the analog signal and the collected signal, and pos represents the relative distance that the analog signal moves relative to the collected signal.

本发明实施例的第一方面提供一种查找中心频率的装置,包括:The first aspect of the embodiments of the present invention provides a device for finding a center frequency, including:

函数构造模块,用于构造一标准函数;A function construction module, used to construct a standard function;

信号获取模块,用于根据所述标准函数得出一磁共振场强系统下人体扫描部位的模拟信号;The signal acquisition module is used to obtain the analog signal of the human body scanning part under the magnetic resonance field strength system according to the standard function;

信号采集模块,用于采集一组在所述磁共振场强系统下所述人体扫描部位的采集信号;A signal acquisition module, configured to acquire a group of acquisition signals of the human body scanning parts under the magnetic resonance field strength system;

中心频率查找模块,用于将所述模拟信号与所述采集信号进行比较,当所述采集信号与所述模拟信号达到最大重合时对应的频率位置即为中心频率。The center frequency search module is used to compare the analog signal with the acquisition signal, and when the acquisition signal and the analog signal reach the maximum overlap, the corresponding frequency position is the center frequency.

优选的,所述信号获取模块包括:Preferably, the signal acquisition module includes:

系统信息获取单元,用于选定一特定场强系统及人体扫描部位,确定对应的信号点数、水脂频率差及脂峰与水峰的比重;The system information acquisition unit is used to select a specific field strength system and human body scanning part, and determine the corresponding signal points, water-fat frequency difference and the proportion of fat peak and water peak;

信号得出单元,用于将信号点数、水脂频率差及脂峰与水峰的比重代入所述标准函数中得出模拟信号。The signal deriving unit is used for substituting the number of signal points, the frequency difference of water and fat, and the proportion of fat peak and water peak into the standard function to obtain an analog signal.

优选的,所述中心频率查找模块包括:Preferably, the center frequency search module includes:

相关矩阵计算单元,用于计算所述模拟信号与所述采集信号的互相关矩阵[coef,pos];A correlation matrix calculation unit, configured to calculate a cross-correlation matrix [coef, pos] between the analog signal and the collected signal;

数值查找单元,用于查找coef最大值时的pos值;A value search unit, used to find the pos value when the coef is at its maximum value;

频率换算单元,用于将coef最大值时的pos值换算为中心频率f。The frequency conversion unit is used to convert the pos value at the maximum value of coef to the center frequency f.

本发明实施例的第三方面提供一种终端设备,包括:至少一个处理器和存储器;所述存储器存储计算机程序;所述至少一个处理器执行所述存储器存储的计算机程序,以实现上述的查找中心频率的方法。A third aspect of the embodiments of the present invention provides a terminal device, including: at least one processor and a memory; the memory stores a computer program; the at least one processor executes the computer program stored in the memory, so as to realize the above search center frequency method.

本发明实施例的第四方面提供一种计算机可读存储介质,其特征在于,该计算机可读存储介质中存储有计算机程序,所述计算机程序被执行时实现上述的查找中心频率的方法。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which is characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the above-mentioned method for finding a center frequency is implemented.

本发明实施例提供的技术方案中的查找中心频率的方法,相对于现有技术,该查找中心频率的方法的计算过程中只与标准函数有关,无须考虑实际采集信号是否受到环境或者噪声的影响,可以根据采集信号与模拟信号之间的最大相似度确定中心频率,且不需依赖手工辅助定位和确认,极大的提高了查找准确性和稳定性,从而提高了磁共振时图像质量。The method for finding the center frequency in the technical solution provided by the embodiment of the present invention, compared with the prior art, the calculation process of the method for finding the center frequency is only related to the standard function, and it is not necessary to consider whether the actual collected signal is affected by the environment or noise , the center frequency can be determined according to the maximum similarity between the acquisition signal and the analog signal, and does not need to rely on manual auxiliary positioning and confirmation, which greatly improves the search accuracy and stability, thereby improving the image quality during magnetic resonance.

附图说明Description of drawings

图1为本发明实施例中产品异常的收集方法的流程图。FIG. 1 is a flowchart of a method for collecting product abnormalities in an embodiment of the present invention.

图2为本发明实施例的模拟信号的显示图。Fig. 2 is a display diagram of an analog signal according to an embodiment of the present invention.

图3为本发明实施例的采集信号的显示图。FIG. 3 is a display diagram of collected signals according to an embodiment of the present invention.

图4为本发明查找前模拟信号与采集信号的位置关系图。Fig. 4 is a positional relationship diagram between the analog signal and the collected signal before searching in the present invention.

图5为本发明查找后模拟信号与采集信号的位置关系图。Fig. 5 is a positional relationship diagram between the analog signal and the collected signal after searching in the present invention.

图6为本发明实施例中查找中心频率的装置的结构示意图。FIG. 6 is a schematic structural diagram of a device for finding a center frequency in an embodiment of the present invention.

图7为本发明实施例中一种终端设备的结构示意图。FIG. 7 is a schematic structural diagram of a terminal device in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

本发明提供了一种查找中心频率的方法,该查找中心频率的方法的计算过程中只与标准函数有关,无须考虑实际采集信号是否受到环境或者噪声的影响,可以根据采集信号与模拟信号之间的最大相似度确定中心频率,且不需依赖手工辅助定位和确认,极大的提高了准确性和稳定性。The invention provides a method for finding the center frequency. The calculation process of the method for finding the center frequency is only related to the standard function, and it is not necessary to consider whether the actual collected signal is affected by the environment or noise. The center frequency is determined by the maximum similarity, and does not need to rely on manual auxiliary positioning and confirmation, which greatly improves the accuracy and stability.

图1为本发明的查找中心频率的方法的流程图,如图1所示,本发明的查找中心频率的方法,步骤包括:Fig. 1 is the flowchart of the method for searching center frequency of the present invention, as shown in Figure 1, the method for searching center frequency of the present invention, step comprises:

S1、构造一标准函数;S1. Construct a standard function;

S2、根据标准函数得出一磁共振场强系统下人体扫描部位的模拟信号;S2. According to the standard function, the analog signal of the human body scanning part under the magnetic resonance field strength system is obtained;

S3、采集一组在磁共振场强系统下人体扫描部位的采集信号;S3. Collect a group of collected signals of human body scanning parts under the magnetic resonance field strength system;

S4、将模拟信号与采集信号进行比较,当采集信号与模拟信号达到最大重合时对应的频率位置即为中心频率。S4. Comparing the analog signal with the collected signal, when the collected signal and the analog signal reach a maximum coincidence, the corresponding frequency position is the center frequency.

下面对查找中心频率的方法的步骤进行详细描述:The steps of the method for finding the center frequency are described in detail below:

首先,需要构造一标准函数与实际的采集信号进行比较,该标准函数可采用高斯函数或者三角函数,但并不以此为限,只要是与采集信号具有较高相似度的函数均在本发明的保护范围内。步骤S1具体包括:First of all, it is necessary to construct a standard function to compare with the actual collected signal. The standard function can adopt Gaussian function or trigonometric function, but it is not limited to this. within the scope of protection. Step S1 specifically includes:

本发明以标准函数为高斯函数为例进行说明,当标准函数为高斯函数时,根据脂肪频率小于水频率的先验知识,可以得出该标准函数如下:The present invention is illustrated by taking the standard function as a Gaussian function as an example. When the standard function is a Gaussian function, according to the prior knowledge that the fat frequency is less than the water frequency, the standard function can be drawn as follows:

stdSignal=GenerateSimSig(N,Δfwf,w) 公式(1)stdSignal=GenerateSimSig(N,Δf wf ,w) formula (1)

其中,公式(1)中,stdSignal为一维高斯曲线,N表示信号点数,Δfwf表示水脂频率差;w表示脂峰与水峰的比重。Among them, in formula (1), stdSignal is a one-dimensional Gaussian curve, N represents the number of signal points, Δf wf represents the frequency difference between water and fat; w represents the proportion of fat peak and water peak.

当完成标准函数构造后,需所述根据所述标准函数得出一磁共振场强系统下人体扫描部位的模拟信号,步骤S2具体为:After completing the construction of the standard function, it is necessary to obtain the analog signal of the human body scanning part under the magnetic resonance field strength system according to the standard function, and the step S2 is specifically:

S21、选定一特定场强系统及人体扫描部位,确定对应的信号点数、水脂频率差及脂峰与水峰的比重。S21. Select a specific field strength system and human body scanning part, and determine corresponding signal points, water-fat frequency difference, and proportion of fat peak and water peak.

该标准函数中的Δfwf、w可以根据磁共振的特定场强系统和人体扫描部位的不同进行灵活调整,例如,在3.0T系统下扫描腹部位,则此时,Δfwf=450HZ,w=1.5,且选定N=2048,N选取过程中保证该信号点数与采集信号保持一致。Δf wf and w in this standard function can be flexibly adjusted according to the specific field strength system of magnetic resonance and the different parts of the human body to be scanned. For example, to scan the abdomen under the 3.0T system, then at this time, Δf wf =450HZ, w= 1.5, and select N=2048, and ensure that the number of signal points is consistent with the collected signal during the selection process of N.

S22、将信号点数、水脂频率差及脂峰与水峰的比重代入所述标准函数中得出模拟信号。此时,根据标准函数得出的模拟信号:S22. Substituting the number of signal points, the frequency difference between water and fat, and the proportion of fat peak and water peak into the standard function to obtain an analog signal. At this time, the analog signal obtained according to the standard function:

stdSignal0=GenerateSimSig(2048,450,1.5)stdSignal 0 = GenerateSimSig(2048,450,1.5)

该模拟信号的显示图如图2所示,如图2所示,横坐标表示数据点,纵坐标表示频率值,为了方便将频率值进行归一化处理。左侧峰值较高的为脂肪信号,右侧峰值较低的为水信号。The display diagram of the analog signal is shown in FIG. 2 . As shown in FIG. 2 , the abscissa represents the data point, and the ordinate represents the frequency value. For convenience, the frequency value is normalized. The higher peak on the left is the fat signal, and the lower peak on the right is the water signal.

进一步的,在将模拟信号与采集信号进行比较之前,还需采集一组在上述特定场强系统下所述人体扫描部位的采集信号,步骤S3具体包括:Further, before comparing the analog signal with the collected signal, it is necessary to collect a group of collected signals of the human body scanning part under the above-mentioned specific field strength system, and step S3 specifically includes:

本发明采集的是在3.0T系统下扫描人体腹部时的采集信号,该模拟信号的显示图如图3所示,其中横坐标表示数据点,纵坐标表示频率值,为了方便将频率值归一化处理。What the present invention collects is the acquisition signal when scanning the abdomen of the human body under the 3.0T system. The display diagram of the analog signal is shown in Figure 3, wherein the abscissa represents the data point, and the ordinate represents the frequency value. For convenience, the frequency value is normalized treatment.

进一步的,将所述模拟信号与所述采集信号进行比较,当所述采集信号与所述模拟信号达到最大重合时对应的频率位置即为中心频率。为了准确区分采集信号的水信号和脂肪信号,从而精确查找出中心频率,本发明以采集信号为目标,通过移动模拟信号,当采集信号与模拟信号达到最大重合时,此时模拟信号与采集信号的相关度最高,而模拟信号相对于采集信号移动的相对距离可推导出中心频率。步骤S4具体为:Further, the analog signal is compared with the acquisition signal, and the corresponding frequency position when the acquisition signal and the analog signal reach a maximum coincidence is the center frequency. In order to accurately distinguish the water signal and the fat signal of the collected signal, so as to accurately find out the center frequency, the present invention takes the collected signal as the goal, and by moving the analog signal, when the collected signal and the analog signal reach the maximum coincidence, the analog signal and the collected signal The correlation is highest for , while the relative distance that the analog signal moves relative to the acquired signal can be used to deduce the center frequency. Step S4 is specifically:

步骤S41、计算所述模拟信号与所述采集信号的互相关矩阵[coef,pos]。Step S41 , calculating a cross-correlation matrix [coef, pos] between the analog signal and the collected signal.

其中,互相关矩阵[coef,pos]为:Among them, the cross-correlation matrix [coef, pos] is:

[coef,pos]=cro_cor(stdSignal0,realSignal) 公式(2)[coef,pos]=cro_cor(stdSignal 0 ,realSignal) formula (2)

其中,公式(2)中,stdSignal0表示模拟信号;realSignal表示采集信号;coef为一维数组,表示模拟信号与采集信号的重合程度的相关系数;pos为一维数组,表示模拟信号相对于采集信号移动的相对距离。Among them, in the formula (2), stdSignal 0 represents the analog signal; realSignal represents the acquisition signal; coef is a one-dimensional array, indicating the correlation coefficient of the coincidence degree between the analog signal and the acquisition signal; pos is a one-dimensional array, indicating that the analog signal is relative to the acquisition signal The relative distance the signal moves.

步骤S42、查找coef最大值时的pos值;Step S42, looking for the pos value when the coef maximum value;

数组coef中的最大值表示两者信号相关度最大,即模拟信号与采集信号重合度最大,相似度最大。图4为本发明查找前模拟信号与采集信号的位置关系图,图5为本发明查找后模拟信号与采集信号的位置关系图,将图4中的模拟信号向左移动一pos值的距离,当移动coef最大值时的pos值的距离后模拟信号与采集信号实现最大重合度,如图5所示。The maximum value in the array coef indicates that the correlation between the two signals is the largest, that is, the analog signal and the collected signal have the largest coincidence degree and the largest similarity. Fig. 4 is the position relationship diagram of analog signal and acquisition signal before the present invention searches, and Fig. 5 is the position relation diagram of analog signal and acquisition signal after the present invention searches, the analog signal in Fig. 4 is moved to the left the distance of a pos value, When moving the distance of the pos value at the maximum value of coef, the analog signal and the collected signal achieve the maximum degree of overlap, as shown in Figure 5.

步骤S43、将coef最大值时的pos值换算为中心频率f。Step S43, converting the pos value at the time of the maximum value of coef to the center frequency f.

按照如下公式将pos值换算成中心频率:Convert the pos value to the center frequency according to the following formula:

Figure BDA0002936361100000061
Figure BDA0002936361100000061

其中公式(3)中,f为中心频率,T为采集信号的采样时间间隔,N0为采集信号的采样点数。Among them, in the formula (3), f is the center frequency, T is the sampling time interval of the acquisition signal, and N 0 is the number of sampling points of the acquisition signal.

基于上述的查找中心频率的方法,本发明还提供了一种查找中心频率的装置,请参阅图6,本发明的查找中心频率的装置100包括:Based on the above method for finding the center frequency, the present invention also provides a device for finding the center frequency, please refer to Figure 6, the device 100 for finding the center frequency of the present invention includes:

函数构造模块110,用于构造一标准函数;A function construction module 110, configured to construct a standard function;

信号获取模块120,用于根据所述标准函数得出一磁共振场强系统下人体扫描部位的模拟信号;The signal acquisition module 120 is used to obtain the analog signal of the human body scanning part under the magnetic resonance field strength system according to the standard function;

信号采集模块130,用于采集一组在所述磁共振场强系统下所述人体扫描部位的采集信号;A signal acquisition module 130, configured to acquire a group of acquisition signals of the body scanning parts under the magnetic resonance field strength system;

中心频率查找模块140,用于将所述模拟信号与所述采集信号进行比较,当所述采集信号与所述模拟信号达到最大重合时对应的频率位置即为中心频率。The center frequency search module 140 is configured to compare the analog signal with the acquisition signal, and when the acquisition signal and the analog signal reach a maximum coincidence, the corresponding frequency position is the center frequency.

优选的,所述信号获取模块120包括:Preferably, the signal acquisition module 120 includes:

系统信息获取单元121,用于选定一特定场强系统及人体扫描部位,确定对应的信号点数、水脂频率差及脂峰与水峰的比重;The system information acquisition unit 121 is used to select a specific field strength system and human body scanning part, and determine the corresponding signal points, water-fat frequency difference and the proportion of fat peak and water peak;

信号得出单元122,用于将信号点数、水脂频率差及脂峰与水峰的比重代入所述标准函数中得出模拟信号。The signal deriving unit 122 is used for substituting the number of signal points, the frequency difference between water and fat, and the proportion of fat peak and water peak into the standard function to obtain an analog signal.

优选的,所述中心频率查找模块140包括:Preferably, the center frequency search module 140 includes:

相关矩阵计算单元141,用于计算所述模拟信号与所述采集信号的互相关矩阵[coef,pos];A correlation matrix calculation unit 141, configured to calculate a cross-correlation matrix [coef, pos] between the analog signal and the collected signal;

数值查找单元142,用于查找coef最大值时的pos值;Numerical search unit 142, used to find the pos value when the coef maximum value;

频率换算单元143,用于将coef最大值时的pos值换算为中心频率f。The frequency converting unit 143 is configured to convert the pos value when coef is at a maximum value into a center frequency f.

图7是本发明的一种终端设备的结构示意图,如图7所示,该终端设备包括:至少一个处理器701和存储器702;FIG. 7 is a schematic structural diagram of a terminal device according to the present invention. As shown in FIG. 7, the terminal device includes: at least one processor 701 and a memory 702;

所述存储器存储计算机程序;所述至少一个处理器执行所述存储器存储的计算机程序,以实现上述实施例提供的查找中心频率的方法。The memory stores a computer program; the at least one processor executes the computer program stored in the memory, so as to implement the method for finding the center frequency provided in the above embodiment.

本发明再一实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,所述计算机程序被执行时实现上述的查找中心频率的方法。Still another embodiment of the present invention also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the above-mentioned method for finding a center frequency is implemented.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、电子设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理电子设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理电子设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general-purpose computer, special purpose computer, embedded processor, or processor of other programmable data-processing electronics to produce a machine such that instructions executed by the processor of the computer or other programmable data-processing electronics Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理电子设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing electronic device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理电子设备上,使得在计算机或其他可编程电子设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程电子设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded into a computer or other programmable electronic device, causing a series of operational steps to be performed on the computer or other programmable electronic device to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。Having described preferred embodiments of embodiments of the present invention, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the embodiments of the present invention.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者电子设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者电子设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者电子设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or electronic device that includes a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or electronic device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or electronic device comprising said element.

以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be described in the foregoing embodiments Modifications are made to the recorded technical solutions, or equivalent replacements are made to some of the technical features; and these modifications 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 invention.

Claims (9)

1.一种查找中心频率的方法,其特征在于,步骤包括:1. A method for finding center frequency, characterized in that the steps comprise: 构造一标准函数;Construct a standard function; 根据所述标准函数得出一磁共振场强系统下人体扫描部位的模拟信号;According to the standard function, the analog signal of the human body scanning part under the magnetic resonance field strength system is obtained; 采集一组在所述磁共振场强系统下所述人体扫描部位的采集信号;Acquiring a group of acquisition signals of the scanning parts of the human body under the magnetic resonance field strength system; 将所述模拟信号与所述采集信号进行比较,当所述采集信号与所述模拟信号达到最大重合时对应的频率位置即为中心频率;Comparing the analog signal with the acquisition signal, when the acquisition signal and the analog signal reach the maximum overlap, the corresponding frequency position is the center frequency; 所述标准函数如下:The standard functions are as follows: stdSignal=GenerateSimSig(N,△fwf,w) 公式(1)stdSignal=GenerateSimSig(N,△f wf ,w) formula (1) 具体表现形式为:The specific form of expression is: Sstd(n,△fwf,w)=g(n)+w·g(n-△fwf/△fp)n=1,2,...NS std (n,△f wf ,w)=g(n)+w g(n-△f wf /△f p )n=1,2,...N 其中,公式(1)中,g(n)为高斯函数,N表示信号点数,△fwf表示水脂频率差;△fp表示两个信号点间的频率差,w表示脂峰与水峰的比重。Among them, in formula (1), g(n) is a Gaussian function, N represents the number of signal points, △f wf represents the frequency difference between water and fat; △f p represents the frequency difference between two signal points, and w represents the fat peak and water peak proportion. 2.根据权利要求1所述的查找中心频率的方法,其特征在于,所述根据所述标准函数得出一磁共振场强系统下人体扫描部位的模拟信号,具体为:2. the method for searching center frequency according to claim 1, is characterized in that, described according to described standard function draws the analog signal of human body scan position under a magnetic resonance field strength system, specifically: 选定一特定场强系统及人体扫描部位,确定对应的信号点数、水脂频率差及脂峰与水峰的比重;Select a specific field strength system and human body scanning part, and determine the corresponding signal points, water-fat frequency difference and the proportion of fat peak and water peak; 将信号点数、水脂频率差及脂峰与水峰的比重代入所述标准函数中得出模拟信号。The analog signal is obtained by substituting the number of signal points, the frequency difference between water and fat, and the proportion of fat peak and water peak into the standard function. 3.根据权利要求1所述的查找中心频率的方法,其特征在于,所述将所述模拟信号与所述采集信号进行比较,当所述采集信号图与所述模拟信号图达到最大重合时对应的频率位置即为中心频率,具体包括:3. The method for finding the center frequency according to claim 1, wherein the analog signal is compared with the acquisition signal, and when the acquisition signal diagram and the analog signal diagram reach the maximum coincidence The corresponding frequency position is the center frequency, including: 计算所述模拟信号与所述采集信号的互相关矩阵[coef,pos];Calculating a cross-correlation matrix [coef, pos] between the analog signal and the collected signal; 查找coef最大值时的pos值;Find the pos value when the maximum value of coef is found; 将coef最大值时的pos值换算为中心频率f。Convert the pos value at the maximum value of coef to the center frequency f. 4.根据权利要求3所述的查找中心频率的方法,其特征在于,所述互相关矩阵[coef,pos]为:4. the method for searching central frequency according to claim 3, is characterized in that, described cross-correlation matrix [coef, pos] is: [coef,pos]=cro_cor(stdSignal0,realSignal) 公式(2)[coef,pos]=cro_cor(stdSignal 0 ,realSignal) formula (2) 其中,公式(2)中,stdSignal0表示模拟信号,realSignal表示采集信号,coef表示模拟信号与采集信号的重合程度的相关系数,pos表示模拟信号相对于采集信号移动的相对距离,cro_cor即标准的求信号相关函数。Among them, in formula (2), stdSignal 0 represents the analog signal, realSignal represents the collected signal, coef represents the correlation coefficient of the coincidence degree between the analog signal and the collected signal, pos represents the relative distance that the analog signal moves relative to the collected signal, and cro_cor is the standard Find the signal correlation function. 5.一种查找中心频率的装置,其特征在于,包括:5. A device for finding the center frequency, comprising: 函数构造模块,用于构造一标准函数;A function construction module, used to construct a standard function; 信号获取模块,用于根据所述标准函数得出一磁共振场强系统下人体扫描部位的模拟信号;The signal acquisition module is used to obtain the analog signal of the human body scanning part under the magnetic resonance field strength system according to the standard function; 信号采集模块,用于采集一组在所述磁共振场强系统下所述人体扫描部位的采集信号;A signal acquisition module, configured to acquire a group of acquisition signals of the human body scanning parts under the magnetic resonance field strength system; 中心频率查找模块,用于将所述模拟信号与所述采集信号进行比较,当所述采集信号与所述模拟信号达到最大重合时对应的频率位置即为中心频率。The center frequency search module is used to compare the analog signal with the acquisition signal, and when the acquisition signal and the analog signal reach the maximum overlap, the corresponding frequency position is the center frequency. 6.根据权利要求5所述的查找中心频率的装置,所述信号获取模块包括:6. The device for searching center frequency according to claim 5, said signal acquisition module comprising: 系统信息获取单元,用于选定一特定场强系统及人体扫描部位,确定对应的信号点数、水脂频率差及脂峰与水峰的比重;The system information acquisition unit is used to select a specific field strength system and human body scanning part, and determine the corresponding signal points, water-fat frequency difference and the proportion of fat peak and water peak; 信号得出单元,用于将信号点数、水脂频率差及脂峰与水峰的比重代入所述标准函数中得出模拟信号。The signal deriving unit is used for substituting the number of signal points, the frequency difference of water and fat, and the proportion of fat peak and water peak into the standard function to obtain an analog signal. 7.根据权利要求5所述的查找中心频率的装置,其特征在于,所述中心频率查找模块包括:7. The device for searching center frequency according to claim 5, wherein said center frequency search module comprises: 相关矩阵计算单元,用于计算所述模拟信号与所述采集信号的互相关矩阵[coef,pos];A correlation matrix calculation unit, configured to calculate a cross-correlation matrix [coef, pos] between the analog signal and the collected signal; 数值查找单元,用于查找coef最大值时的pos值;A value search unit, used to find the pos value when the coef is at its maximum value; 频率换算单元,用于将coef最大值时的pos值换算为中心频率f。The frequency conversion unit is used to convert the pos value at the maximum value of coef to the center frequency f. 8.一种终端设备,其特征在于,包括:至少一个处理器和存储器;所述存储器存储计算机程序;所述至少一个处理器执行所述存储器存储的计算机程序,以实现权利要求1-4中任一项所述的查找中心频率的方法。8. A terminal device, characterized in that it comprises: at least one processor and a memory; the memory stores a computer program; and the at least one processor executes the computer program stored in the memory, so as to implement claims 1-4. The method for finding the center frequency described in any one. 9.一种计算机可读存储介质,其特征在于,该计算机可读存储介质中存储有计算机程序,所述计算机程序被执行时实现权利要求1-5中任一项所述的查找中心频率的方法。9. A computer-readable storage medium, characterized in that, a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method of searching the central frequency according to any one of claims 1-5 is realized. method.
CN202110163204.7A 2021-02-05 2021-02-05 Method, device, terminal equipment and storage medium for finding center frequency Expired - Fee Related CN112948747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110163204.7A CN112948747B (en) 2021-02-05 2021-02-05 Method, device, terminal equipment and storage medium for finding center frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110163204.7A CN112948747B (en) 2021-02-05 2021-02-05 Method, device, terminal equipment and storage medium for finding center frequency

Publications (2)

Publication Number Publication Date
CN112948747A CN112948747A (en) 2021-06-11
CN112948747B true CN112948747B (en) 2023-02-03

Family

ID=76242767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110163204.7A Expired - Fee Related CN112948747B (en) 2021-02-05 2021-02-05 Method, device, terminal equipment and storage medium for finding center frequency

Country Status (1)

Country Link
CN (1) CN112948747B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103720469A (en) * 2014-01-02 2014-04-16 山东大学 Wearable dynamic maternal and fetal ECG detection device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4839582A (en) * 1987-07-01 1989-06-13 Anritsu Corporation Signal analyzer apparatus with automatic frequency measuring function
JP5072250B2 (en) * 2006-04-04 2012-11-14 株式会社東芝 Magnetic resonance imaging system
TW200943091A (en) * 2008-04-14 2009-10-16 Univ Ishou Parameter estimation method for complex exponential signal
CN103513285B (en) * 2013-09-27 2016-01-06 中国石油天然气股份有限公司 Method and device for determining transverse surface relaxation rate
CN109620228B (en) * 2018-12-20 2023-01-03 上海联影医疗科技股份有限公司 Fat zero offset correction method in magnetic resonance imaging and magnetic resonance imaging method
US11163027B2 (en) * 2019-06-05 2021-11-02 Canon Medical Systems Corporation Magnetic resonance imaging apparatus and magnetic resonance imaging method
CN111460934B (en) * 2020-03-18 2023-09-29 深圳市贝斯达医疗股份有限公司 Center frequency calculation method and system for superconducting high-field magnetic resonance

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103720469A (en) * 2014-01-02 2014-04-16 山东大学 Wearable dynamic maternal and fetal ECG detection device

Also Published As

Publication number Publication date
CN112948747A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN110363076B (en) Personnel information association method and device and terminal equipment
CN115310474A (en) Cross-scene identification method, system, medium and equipment for welding corrosion of cable aluminum sheath
CN113171062B (en) Method, terminal, system, medium and computer equipment for identifying size, closing and ruler
CN117116290B (en) Method and related equipment for positioning defects of numerical control machine tool parts based on multidimensional characteristics
EP1377913A4 (en) METHOD AND DEVICE FOR EFFICIENTLY PRESENTING PERIODIC AND NEARLY PERIODIC SIGNALS FOR ANALYSIS
KR101645292B1 (en) System and method for automatic planning of two-dimensional views in 3d medical images
CN113693625B (en) Ultrasonic imaging method and ultrasonic imaging apparatus
CN105468951A (en) Method and device for identity recognition through electrocardiographic feature and wearable device
WO2017084546A1 (en) Wearable device-based user interest information determination method, device and wearable device
CN107066961A (en) Fingerprint method for registering and device
CN119064980B (en) Method and system for protecting beam current measurement signal of medical cyclotron
CN113706473B (en) Method for determining long and short axes of focus area in ultrasonic image and ultrasonic equipment
CN111260606B (en) Diagnostic device and diagnostic method
CN110101407B (en) Fetal heart sound denoising method, system, device and storage medium
Liu et al. A general-purpose signal processing algorithm for biological profiles using only first-order derivative information
CN110432895A (en) Training data processing, ECG waveform detection method and electronic equipment
CN112948747B (en) Method, device, terminal equipment and storage medium for finding center frequency
CN116421163A (en) Vital sign detection method and device
CN110063737B (en) Medical image processing apparatus and method, and medical image diagnostic apparatus
CN113359150A (en) Method and device for acquiring pipeline section profile, electronic equipment and storage medium
JPH0889501A (en) Medical image diagnostic device
CN117524387A (en) Intelligent ultrasonic navigation expansion method, system, storage medium and computer equipment
JP6521053B2 (en) Search program, search method and search device
Chen et al. Registration of multimodal brain images: some experimental results
CN115078829A (en) A method and system for detecting current, voltage and frequency in a power system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230203