[go: up one dir, main page]

CN114431849B - Aquatic animal heart rate detection method based on video image processing - Google Patents

Aquatic animal heart rate detection method based on video image processing Download PDF

Info

Publication number
CN114431849B
CN114431849B CN202210023274.7A CN202210023274A CN114431849B CN 114431849 B CN114431849 B CN 114431849B CN 202210023274 A CN202210023274 A CN 202210023274A CN 114431849 B CN114431849 B CN 114431849B
Authority
CN
China
Prior art keywords
interest
region
heart
signal sequence
heart rate
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.)
Active
Application number
CN202210023274.7A
Other languages
Chinese (zh)
Other versions
CN114431849A (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.)
Xiamen University
Original Assignee
Xiamen University
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 Xiamen University filed Critical Xiamen University
Priority to CN202210023274.7A priority Critical patent/CN114431849B/en
Publication of CN114431849A publication Critical patent/CN114431849A/en
Application granted granted Critical
Publication of CN114431849B publication Critical patent/CN114431849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/024Measuring pulse rate or heart rate
    • A61B5/0245Measuring pulse rate or heart rate by using sensing means generating electric signals, i.e. ECG signals
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0033Features or image-related aspects of imaging apparatus, e.g. for MRI, optical tomography or impedance tomography apparatus; Arrangements of imaging apparatus in a room
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0059Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
    • A61B5/0077Devices for viewing the surface of the body, e.g. camera, magnifying lens
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2503/00Evaluating a particular growth phase or type of persons or animals
    • A61B2503/40Animals
    • 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
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/80Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in fisheries management
    • Y02A40/81Aquaculture, e.g. of fish

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Veterinary Medicine (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Pathology (AREA)
  • Cardiology (AREA)
  • Signal Processing (AREA)
  • Physiology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses an aquatic animal heart rate detection method based on video image processing, which comprises the steps of acquiring an aquatic animal ventral video image sequence, selecting heart and background interested areas, keeping track, extracting an environmental noise component shared by the heart and the background interested areas by adopting a multi-dataset joint analysis method, and setting the environmental noise component to zero; then further eliminating static components in the model according to the bicolor reflection model, and selecting specular reflection components and diffuse reflection components; then, independent component analysis is carried out on a time signal sequence composed of specular reflection components and diffuse reflection components, and the independent component with the greatest heart rate information is obtained through correlation calculation; finally, carrying out frequency domain decomposition on the aquatic animal, screening out the subcomponent with the highest matching degree on the frequency domain according to the specific heart rate range of the aquatic animal, and outputting a cardiac waveform chart to output or calculating the heart rate value; the scheme provides a robust and accurate method for non-contact detection of the heart rate of the aquatic animals, and has wide application prospects in the aspects of aquaculture monitoring and biological stress resistance evaluation.

Description

一种基于视频图像处理的水生动物心率检测方法A heart rate detection method for aquatic animals based on video image processing

技术领域technical field

本发明涉及生物图像信息技术领域,尤其涉及一种基于视频图像处理的水生动物心率检测方法。The invention relates to the technical field of biological image information, in particular to a method for detecting the heart rate of aquatic animals based on video image processing.

背景技术Background technique

水产养殖业是我国渔业的重要组成部分,然而在气候变化和不合理的养殖方式的条件下,会出现病害爆发、高温死亡等问题。通过选择育种培育出抗逆性或耐受性更强的水生动物,是应对该问题最有效的对策之一。Aquaculture is an important part of my country's fishery. However, under the conditions of climate change and unreasonable farming methods, there will be problems such as disease outbreaks and high-temperature deaths. Breeding aquatic animals with stronger stress resistance or tolerance through selective breeding is one of the most effective countermeasures to deal with this problem.

心率作为重要的生理指标,与水生动物的代谢状态以及对环境变化的应激密切相关。因此,技术人员通常将心率作为评价指标来评估水生动物应对内部或外部环境变化的能力,并用来辅助其遗传育种的工作。而目前水生动物的心率测量都存在一定的局限性,主要表现为需限制生物体活动、需持续接触、甚至需要进行外科手术,多采用植入式电极法、多普勒超声法等对水生动物心率进行测量。常规的远程非接触式测量心率的方法往往缺乏高精度的信号去噪方法和信号分离方法。由于水生动物生理结构特殊,大多没有分布在浅层表皮下的丰富的毛细血管,导致视频图像中蕴含的生理信息十分微弱,往往需要更准确、更鲁棒的技术手段来提取心率信息。因此,在现有的育种研究中,缺乏在非接触条件下便捷观测水生动物个体心率的方法,因此提供一种准确且鲁棒的方法来检测水生动物的心率迫在眉睫。As an important physiological indicator, heart rate is closely related to the metabolic state of aquatic animals and the stress to environmental changes. Therefore, technicians usually use heart rate as an evaluation index to evaluate the ability of aquatic animals to cope with internal or external environmental changes, and to assist their genetic breeding work. At present, the heart rate measurement of aquatic animals has certain limitations, mainly manifested in the need to restrict biological activities, continuous contact, and even surgical operations. Implantable electrode methods, Doppler ultrasound methods, etc. Heart rate is measured. Conventional remote non-contact heart rate measurement methods often lack high-precision signal denoising methods and signal separation methods. Due to the special physiological structure of aquatic animals, most of them do not have rich capillaries distributed under the superficial epidermis, resulting in very weak physiological information contained in video images, often requiring more accurate and robust technical means to extract heart rate information. Therefore, in the existing breeding research, there is a lack of methods to conveniently observe the individual heart rate of aquatic animals under non-contact conditions, so it is imminent to provide an accurate and robust method to detect the heart rate of aquatic animals.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提出一种基于视频图像处理的水生动物心率检测方法,以期能为遗传育种研究人员拓宽抗逆性评估指标范围,从而增加遗传育种过程中的评价维度。In view of this, the purpose of the present invention is to propose a heart rate detection method for aquatic animals based on video image processing, in order to broaden the range of stress resistance evaluation indicators for genetic breeding researchers, thereby increasing the evaluation dimension in the genetic breeding process.

为了实现上述的技术目的,本发明所采用的技术方案为:In order to realize above-mentioned technical purpose, the technical scheme that the present invention adopts is:

一种基于视频图像处理的水生动物心率检测方法,其包括:A kind of aquatic animal heart rate detection method based on video image processing, it comprises:

1)获取t帧水生动物腹面的视频图像,然后按预设条件选取感兴趣区域并对其进行追踪和保持,获得心脏和背景区域时间信号序列,其中,所述感兴趣区域包括心脏感兴趣区域和背景感兴趣区域;1) Obtain t frames of video images of the ventral surface of aquatic animals, then select a region of interest according to preset conditions, track and maintain it, and obtain a time signal sequence of the heart and the background region, wherein the region of interest includes the heart region of interest and background regions of interest;

2)根据多数据集联合分析方法,筛选出心脏感兴趣区域和背景感兴趣区域共有的共同环境噪声并去除;2) According to the joint analysis method of multiple data sets, the common environmental noise shared by the heart region of interest and the background region of interest is screened out and removed;

3)根据双色反射模型,将经过步骤2)中去除共同环境噪声后的心脏感兴趣区域时间信号序列视作光照变化成分、镜面反射成分、漫反射成分的线性组合,对其进行消除静态成分并投影至正交平面以去除光照变化成分;3) According to the two-color reflectance model, the time signal sequence of the heart region of interest after removing the common environmental noise in step 2) is regarded as a linear combination of illumination change components, specular reflection components, and diffuse reflection components, and the static components are eliminated and Project to an orthogonal plane to remove the illumination variation component;

4)对经过步骤3)处理获得的仅包含镜面反射成分和漫反射成分的心脏感兴趣区域时间信号序列进行独立成分分析,并筛选出与原心脏感兴趣区域信号序列中绿色通道相关性最强的独立成分;4) Perform independent component analysis on the time signal sequence of the heart region of interest that only contains specular reflection components and diffuse reflection components obtained through step 3), and filter out the strongest correlation with the green channel in the original heart region of interest signal sequence independent components of

5)从频域上对步骤4)处理获得的独立成分进行分解,筛选出频域上与水生动物物种特有的心率分布范围匹配度最高的子成分;5) decompose the independent components obtained in step 4) from the frequency domain, and screen out the subcomponents with the highest matching degree with the unique heart rate distribution range of aquatic animal species in the frequency domain;

6)根据步骤5)处理获得的子成分进一步输出心动波形图或心率数值。6) Process the obtained subcomponents according to step 5) to further output cardiac waveform or heart rate value.

作为一种可能的实施方式,进一步,步骤1)中,所述视频图像为不同色彩空间下对色彩加以说明的数字图像;所述水生动物为具有心脏器官且其血液组织成分中包含血红细胞的水生动物。As a possible implementation, further, in step 1), the video image is a digital image illustrating colors in different color spaces; the aquatic animal has a heart organ and its blood tissue components contain red blood cells aquatic.

作为一种可能的实施方式,进一步,步骤1)中,通过人工选取或目标检测算法进行选取心脏感兴趣区域和背景感兴趣区域并通过目标检测算法对其进行追踪和保持;所获得的心脏和背景区域时间信号序列为通过空间平均消除量化噪声后获得的时间信号序列。As a possible implementation, further, in step 1), the heart region of interest and the background region of interest are selected by manual selection or target detection algorithm and are tracked and maintained by the target detection algorithm; the obtained heart and The time signal sequence in the background area is the time signal sequence obtained after eliminating the quantization noise by spatial averaging.

作为一种可能的实施方式,进一步,步骤2)中,所述多数据集联合分析方法为基于多个数据集的联合盲源分离方法。As a possible implementation, further, in step 2), the multi-dataset joint analysis method is a joint blind source separation method based on multiple data sets.

作为一种可能的实施方式,进一步,步骤3)中,通过对信号进行时域归一化处理以消除静态成分。As a possible implementation manner, further, in step 3), the static component is eliminated by performing time-domain normalization processing on the signal.

作为一种可能的实施方式,进一步,步骤5)中,根据集合经验模态分解方法对步骤4)处理获得的独立成分进行从频域上分解。As a possible implementation, further, in step 5), the independent components obtained in step 4) are decomposed in the frequency domain according to the ensemble empirical mode decomposition method.

作为一种可能的实施方式,进一步,步骤6)中,根据步骤5)处理获得的子成分通过频域或时域方法计算得到信号所对应的心率数值,然后输出心率数值或转换成心动波形图输出。As a possible implementation, further, in step 6), according to the subcomponents obtained in step 5), the heart rate value corresponding to the signal is calculated by the frequency domain or time domain method, and then the heart rate value is output or converted into a cardiac waveform output.

基于上述方案,本发明还提供一种计算机可读的存储介质,所述的存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述的至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行实现上述所述的基于视频图像处理的水生动物心率检测方法。Based on the above solution, the present invention also provides a computer-readable storage medium, wherein at least one instruction, at least one section of program, code set or instruction set is stored in said storage medium, and said at least one instruction, at least one section of program, The code set or instruction set is loaded by the processor and executed to realize the above-mentioned method for detecting heart rate of aquatic animals based on video image processing.

采用上述的技术方案,本发明与现有技术相比,其具有的有益效果为:Adopt above-mentioned technical scheme, the present invention compares with prior art, and the beneficial effect that it has is:

1、本发明方案对原本为冗余信息的背景内容加以利用:对于背景噪声的去除,没有采用传统的、通用式的处理方法,而是增设了背景感兴趣区域,通过联合盲源分离将心脏感兴趣区域和背景感兴趣区域共有的源信号成分向量提取出来并视为背景噪声去除,优势在于可以根据不同视频画面的背景部分进行自适应去噪。1. The scheme of the present invention utilizes the background content that was originally redundant information: for the removal of background noise, no traditional and general-purpose processing method is used, but a background region of interest is added, and the heart is separated by joint blind source separation. The source signal component vector shared by the region of interest and the background region of interest is extracted and regarded as background noise removal. The advantage is that it can perform adaptive denoising according to the background part of different video images.

2、本发明方案采用双色反射模型来分离包含有心率信息的信号:根据双色反射模型,将信号视为光照变化成分、镜面反射成分和漫反射成分三部分组成,光照变化成为亮度强度随光源以及光源、拍摄对象和相机之间的距离变化,镜面反射成分为皮肤表面直接反射而产生的镜面反射成分,漫反射成分为透射皮肤表面后被皮下组织和血液再吸收后的漫反射成分。它优势在于从生理和物理层面解释了心率信息的形成来源以及与其他成分组合方式,可以提供更准确、更鲁棒的提取包含心率信息的成分。2. The scheme of the present invention uses a two-color reflection model to separate the signal containing heart rate information: according to the two-color reflection model, the signal is regarded as composed of three parts: the illumination change component, the specular reflection component and the diffuse reflection component. The distance between the light source, the subject and the camera changes, the specular reflection component is the specular reflection component produced by the direct reflection of the skin surface, and the diffuse reflection component is the diffuse reflection component after being transmitted through the skin surface and reabsorbed by the subcutaneous tissue and blood. Its advantage is that it explains the formation source of heart rate information and the way it is combined with other components from the physiological and physical level, which can provide more accurate and robust extraction of components containing heart rate information.

3、本发明方案在对包含心率信息的成分做进一步筛选时,充分考虑了水生动物的生理结构,以原始信号绿色通道信号作为筛选标准。血红蛋白是水生动物血液的组成成分,血红蛋白是有色的,在可见光区有吸收光谱。水生动物血红蛋白的最大吸收值氧(Oxy)型的在540到575纳米之间,羰基(carbonyl)型的在538到568纳米之间,跟哺乳类相比没有明显差异。所以采用绿色通道信号作为标准可以是更有理论支持与更加准确的筛选方式。3. The solution of the present invention fully considers the physiological structure of aquatic animals when further screening the components containing heart rate information, and uses the green channel signal of the original signal as the screening standard. Hemoglobin is a component of the blood of aquatic animals. Hemoglobin is colored and has an absorption spectrum in the visible light region. The maximum absorption value of hemoglobin in aquatic animals is between 540 and 575 nanometers for the oxygen (Oxy) type, and between 538 and 568 nanometers for the carbonyl (carbonyl) type, and there is no significant difference compared with mammals. Therefore, using the green channel signal as a standard can be a more theoretically supported and more accurate screening method.

4、本发明方案采用集合经验模态分解方法对独立成分分析筛选后的独立成分进行了进一步的频域分离。经过集合经验模态分解,将所选择的独立成分分为多个频段上的本征模态函数,根据理论上的水生动物物种特有的心率分布范围,可以选择包含期望频率最多的本征模态函数进行心动波形图输出或心率计算。它优势在于,从频域上进一步地提高了信噪比,排除了期望频率以外的成分干扰,提高了计算结果的可靠性。4. The scheme of the present invention adopts the ensemble empirical mode decomposition method to further separate the independent components after independent component analysis and screening in the frequency domain. After ensemble empirical mode decomposition, the selected independent components are divided into eigenmode functions in multiple frequency bands. According to the theoretical heart rate distribution range unique to aquatic animal species, the eigenmodes containing the most expected frequencies can be selected. The function performs cardiac waveform output or heart rate calculation. Its advantage is that it further improves the signal-to-noise ratio in the frequency domain, eliminates component interference other than the desired frequency, and improves the reliability of the calculation results.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明基于视频图像处理的非接触式水生动物心率检测方法流程示意图;Fig. 1 is the schematic flow chart of the non-contact aquatic animal heart rate detection method based on video image processing in the present invention;

图2为本发明实施例中涉及的心脏感兴趣区域和背景感兴趣区域选取示意图;Fig. 2 is a schematic diagram of heart region of interest and background region of interest selection involved in the embodiment of the present invention;

图3为本发明实施例中涉及的心脏感兴趣区域信号序列图;FIG. 3 is a signal sequence diagram of a heart region of interest involved in an embodiment of the present invention;

图4为本发明实施例中涉及的背景感兴趣区域信号序列图;FIG. 4 is a signal sequence diagram of a background region of interest involved in an embodiment of the present invention;

图5为本发明实施例中涉及的经联合盲源分离后的源信号成分向量图;5 is a vector diagram of source signal components after joint blind source separation involved in an embodiment of the present invention;

图6为本发明实施例中涉及的去除环境噪声后重构得到的心脏感兴趣区域时间信号序列图;FIG. 6 is a time signal sequence diagram of a cardiac region of interest reconstructed after removal of environmental noise involved in an embodiment of the present invention;

图7为本发明实施例中涉及的经投影消除时变的光照变化成分后仅包含镜面反射成分和漫反射成分的心脏感兴趣区域时间信号序列图;Fig. 7 is a time signal sequence diagram of a cardiac region of interest that only includes specular reflection components and diffuse reflection components after projection eliminates time-varying illumination variation components involved in an embodiment of the present invention;

图8为本发明实施例中涉及的经独立成分分析后的独立成分图;Figure 8 is an independent component diagram after independent component analysis involved in the embodiment of the present invention;

图9为本发明实施例中涉及的经集合经验模态分解方法后的各频段本征模态函数图;FIG. 9 is a diagram of the eigenmode functions of each frequency band after the ensemble empirical mode decomposition method involved in the embodiment of the present invention;

图10为本发明实施例中涉及的心动波形图;Fig. 10 is a cardiac waveform diagram involved in the embodiment of the present invention;

图11为本发明实施例中涉及的快速傅立叶变换频谱图;FIG. 11 is a fast Fourier transform spectrum diagram involved in an embodiment of the present invention;

图12为本发明实施例中涉及的峰值检测法中的波峰和波谷图。Fig. 12 is a peak and trough diagram in the peak detection method involved in the embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例,对本发明作进一步的详细描述。特别指出的是,以下实施例仅用于说明本发明,但不对本发明的范围进行限定。同样的,以下实施例仅为本发明的部分实施例而非全部实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. In particular, the following examples are only used to illustrate the present invention, but not to limit the scope of the present invention. Likewise, the following embodiments are only some but not all embodiments of the present invention, and all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

在本实施例中,将大黄鱼麻醉后通过外科手术在心包周围连接植入式心电设备,在心电设备采集数据的同时通过相机拍摄大黄鱼腹面视频以获取视频图像序列。In this embodiment, after the large yellow croaker is anesthetized, an implantable electrocardiographic device is connected around the pericardium through a surgical operation. While the electrocardiographic device is collecting data, a video of the ventral surface of the large yellow croaker is captured by a camera to obtain a video image sequence.

结合图1所示,本方案提供一种基于视频图像处理的水生动物心率检测方法,其大致技术思路为:获取t帧水生动物的视频图像,然后分别选取心脏感兴趣区域和背景感兴趣区域,得到二者平均像素强度随时间变化的信号序列后,采用联合盲源分离提取出二者共同拥有的环境噪声分量并置零,得到去除环境噪声后的心脏感兴趣区域时间信号序列;随后根据双色反射模型将新的心脏感兴趣区域时间信号序列视为光照变化成分、镜面反射成分、漫反射成分的线性组合,对该时间信号序列进行时域归一化以消除其中的静态成分,然后将归一化后的时间信号序列投影到与光照变化成分正交的平面以筛选出镜面反射成分、漫反射成分;接下来对镜面反射成分、漫反射成分组成的时间信号序列进行独立成分分析,计算各独立成分与原始心脏感兴趣区域时间信号序列中绿色通道信号的相关性,得到包含漫反射成分最多的独立成分;最后对包含漫反射成分最多的独立成分进行集合经验模态分解,根据水生动物物种特有的心率范围筛选出频域上匹配度最高的本征模态函数,对该本征模态函数进行时域上的滑动平均,即可作为心动波形图输出或进一步计算心率数值。As shown in Figure 1, this solution provides a method for detecting the heart rate of aquatic animals based on video image processing. The general technical idea is: to obtain t frames of video images of aquatic animals, and then select the heart region of interest and the background region of interest respectively. After obtaining the signal sequence of the average pixel intensity of the two over time, the joint blind source separation is used to extract the environmental noise component shared by the two and set to zero to obtain the time signal sequence of the heart region of interest after the environmental noise is removed; then according to the two-color The reflectance model regards the new time signal sequence of the cardiac region of interest as a linear combination of illumination change components, specular reflection components, and diffuse reflection components, and performs temporal normalization on the time signal sequence to eliminate the static components, and then normalizes the time signal sequence The normalized time signal sequence is projected onto a plane orthogonal to the illumination change component to screen out the specular reflection component and the diffuse reflection component; then the independent component analysis is performed on the time signal sequence composed of the specular reflection component and the diffuse reflection component, and each The correlation between the independent components and the green channel signal in the time signal sequence of the original heart region of interest, the independent component containing the most diffuse reflection components is obtained; finally, the ensemble empirical mode decomposition is performed on the independent components containing the most diffuse reflection components, according to the aquatic animal species The unique heart rate range screens out the eigenmode function with the highest matching degree in the frequency domain, and the sliding average of the eigenmode function in the time domain can be output as a heartbeat waveform or further calculate the heart rate value.

具体的,本方案包括如下实施步骤:Specifically, this program includes the following implementation steps:

1)获取t帧大黄鱼腹面的视频图像,将其转换为RGB视频图像后,结合图2所示,可以在第1帧视频图像中采用手动选定的方式分别选取视频图像中的心脏感兴趣区域和背景感兴趣区域,然后在后续的t-1帧视频图像中采用目标追踪算法完成感兴趣区域的跟踪与保持,以此完成选取心脏感兴趣区域和背景感兴趣区域并由目标检测算法完成感兴趣区域的追踪和保持的工作;然后对于每块感兴趣区域,分别计算每一帧RGB视频图像三个颜色通道的平均像素强度,获得图3所示的心脏感兴趣区域信号序列和图4所示的背景感兴趣区域信号序列,所述心脏感兴趣区域信号序列的公式如下:1) Obtain t-frame video images of the ventral surface of the large yellow croaker, convert them into RGB video images, and combine them with those shown in Figure 2. In the first frame of video images, the heart in the video images can be manually selected. region and background region of interest, and then use the target tracking algorithm to complete the tracking and maintenance of the region of interest in the subsequent t-1 frame video images, so as to complete the selection of the heart region of interest and the background region of interest and complete it by the target detection algorithm The work of tracking and maintaining the region of interest; then, for each region of interest, calculate the average pixel intensity of the three color channels of each frame of RGB video image, and obtain the cardiac region of interest signal sequence shown in Figure 3 and Figure 4 The signal sequence of the background region of interest shown, the formula of the heart region of interest signal sequence is as follows:

Xhr(t)=[Rhr(t);Ghr(t);Bhr(t)]TX hr (t) = [R hr (t); G hr (t); B hr (t)] T ,

其中,Rhr(t)、Ghr(t)、Bhr(t)分别为心脏感兴趣区域视频图像的R、G、B颜色通道的平均像素强度;Wherein, R hr (t), G hr (t), B hr (t) are respectively the average pixel intensity of the R, G, and B color channels of the heart region of interest video image;

所述背景感兴趣区域信号序列的公式如下:The formula of the background region of interest signal sequence is as follows:

Xbg(t)=[Rbg(t);Gbg(t);Bbg(t)]TX bg (t) = [R bg (t); G bg (t); B bg (t)] T ;

其中,Rbg(t)、Gbg(t)、Bbg(t)分别为背景感兴趣区域视频图像的R、G、B颜色通道的平均像素强度;Wherein, R bg (t), G bg (t), B bg (t) are respectively the average pixel intensity of the R, G, and B color channels of the background region of interest video image;

2)根据联合盲源分离方法,利用数学公式SCV(t)=W*X(t),对所述的心脏感兴趣区域信号序列Xhr(t)和背景感兴趣区域信号序列Xbg(t)进行联合盲源分离处理,得到解混矩阵W,其中,其中W为解混矩阵,SCV(t)为源信号成分向量;2) According to the joint blind source separation method, using the mathematical formula SCV(t)=W*X(t), the heart region of interest signal sequence X hr (t) and the background region of interest signal sequence X bg (t ) to perform joint blind source separation processing to obtain an unmixing matrix W, where W is an unmixing matrix, and SCV (t) is a source signal component vector;

进一步计算可以得到图5所示的源信号成分向量矩阵Further calculation can get the source signal component vector matrix shown in Figure 5

SCV(t)=[SCVhr1;SCVhr2;SCVhr3;SCVbg1;SCVbg2;SCVbg3]TSCV(t)=[SCV hr1 ; SCV hr2 ; SCV hr3 ; SCV bg1 ; SCV bg2 ; SCV bg3 ] T ;

其中,所述联合盲源分离方法是指基于高斯独立向量分析实现的联合盲源分离框架;Wherein, the joint blind source separation method refers to a joint blind source separation framework realized based on Gaussian independent vector analysis;

基于此,可以根据源信号成分向量矩阵计算获得心脏感兴趣区域信号序列的各源信号成分向量SCVhr(n)(t)和背景感兴趣区域信号序列的各源信号成分向量SCVbg(n)(t);然后可以根据计算获得的心脏感兴趣区域信号序列的各源信号成分向量SCVhr(n)(t)和背景感兴趣区域信号序列的各源信号成分向量SCVbg(n)(t)之间的相关系数,将最大相关系数所对应心脏感兴趣区域信号序列的源信号成分向量SCVhr(m)(t)置零后得SCVnew(t),然后根据SCV(t)=W*X(t)可得去除共同环境噪声后的心脏感兴趣区域信号序列和背景感兴趣区域信号序列Xnew(t)=W\SCVnew(t);Based on this, each source signal component vector SCV hr(n) (t) of the heart region of interest signal sequence and each source signal component vector SCV bg(n) of the background region of interest signal sequence can be calculated according to the source signal component vector matrix (t); Then each source signal component vector SCV hr(n) (t) of the cardiac region of interest signal sequence obtained by calculation and each source signal component vector SCV bg(n) (t) of the background region of interest signal sequence ), set the source signal component vector SCV hr(m) (t) of the cardiac region of interest signal sequence corresponding to the maximum correlation coefficient to zero to obtain SCV new (t), and then according to SCV(t)=W *X(t) can obtain the cardiac region of interest signal sequence and the background region of interest signal sequence X new (t)=W\SCV new (t) after removing the common environmental noise;

3)根据双色反射模型,将步骤2)中获得的如图6所示的去除环境噪声后的心脏感兴趣区域时间信号序列Xnew(t)[1:3]看作是光照变化成分、镜面反射成分、漫反射成分的线性组合,将时域归一化之后的Xnew(t)投影到与光照变化成分正交的平面P=[p1;p2]T,以此得到图7所示仅包含镜面反射成分和漫反射成分的心脏感兴趣区域时间信号序列Xrflct(t)=P*Xnew(t);3) According to the two-color reflection model, the time signal sequence X new (t)[1:3] of the heart region of interest obtained in step 2) after removing the environmental noise as shown in Figure 6 is regarded as the illumination change component, the mirror surface The linear combination of reflection component and diffuse reflection component, project X new (t) normalized in the time domain to the plane P=[p 1 ; p 2 ] T orthogonal to the illumination change component, so as to obtain the Showing the cardiac region of interest time signal sequence X rflct (t)=P*X new (t) that only contains the specular reflection component and the diffuse reflection component;

4)对步骤3)中获得的仅包含镜面反射成分和漫反射成分的心脏感兴趣区域时间信号序列Xrflct(t)进行独立成分分析处理,即Xrflct(t)=A*S(t),其中,A为混合矩阵,S(t)为源信号的独立成分(如图8所示),可得S(t)=4) Perform independent component analysis on the cardiac region of interest time signal sequence X rflct (t) obtained in step 3) that only contains specular reflection components and diffuse reflection components, that is, X rflct (t)=A*S(t) , where A is the mixing matrix, S(t) is the independent component of the source signal (as shown in Figure 8), and S(t)=

[s1(t);s2(t)]T,计算[s1(t);s2(t)]T与原心脏感兴趣区域信号序列Xhr(t)中Ghr(t)的相关系数,筛选出与原始信号绿色通道信号相关性最强的独立成分s(t);[s 1 (t); s 2 (t)] T , calculate the relationship between [s 1 (t); s 2 (t)] T and G hr (t) in the signal sequence X hr (t) of the original heart region of interest Correlation coefficient, select the independent component s(t) with the strongest correlation with the green channel signal of the original signal;

5)采用集合经验模态分解方法对步骤4)中获得的s(t)进行处理,可得s(t)=∑imf(t)+r(t),如图9所示,其中,imf(t)为各频段的本征模态函数,r(t)为残差项,再对imf(t)进行筛选,选择频域上与大黄鱼心率分布范围匹配度最高的imf(t)进行滑动平均,计算前后连续n项的平均值来替代imf(t)中当前值,将结果记为HR(t);5) Use the ensemble empirical mode decomposition method to process the s(t) obtained in step 4), and get s(t)=∑imf(t)+r(t), as shown in Figure 9, where imf (t) is the eigenmode function of each frequency band, r(t) is the residual item, and then the imf(t) is screened, and the imf(t) with the highest matching degree with the heart rate distribution range of the large yellow croaker in the frequency domain is selected for Sliding average, calculate the average value of n consecutive items before and after to replace the current value in imf(t), and record the result as HR(t);

6)根据步骤5)中获得的HR(t)直接作为心动波形图输出;或进一步地,从频域上采用傅里叶变换将所述的HR(t)转换到频域,从频谱上得到幅值最大的频率值fmax,则心率HR=fmax*60;时域上采用峰值检测法,得到HR(t)上共存有波峰a个和波谷b个,则心率其中,t为视频时长,其单位为秒。6) According to the HR (t) obtained in step 5), output directly as the cardiac waveform diagram; or further, adopt Fourier transform from the frequency domain to convert the HR (t) to the frequency domain, and obtain from the frequency spectrum The frequency value f max with the largest amplitude, then the heart rate HR = f max *60; using the peak detection method in the time domain, it is obtained that there are a peaks and b valleys coexisting on HR(t), and the heart rate Among them, t is the video duration, and its unit is second.

如图10、11和12所示,其分别为本方案心动波形图、快速傅立叶变换频谱以及峰值检测法中的波峰和波谷,通过频域方法计算得心率为65BPM,通过时域方法计算得心率值为68BPM,通过电极法同步测得大黄鱼心率为67BPM。As shown in Figures 10, 11 and 12, they are respectively the cardiac waveform diagram, the fast Fourier transform spectrum and the peak and trough in the peak detection method of this scheme. The heart rate calculated by the frequency domain method is 65BPM, and the heart rate is calculated by the time domain method. The value is 68BPM, and the heart rate of the large yellow croaker is 67BPM measured synchronously by the electrode method.

以上结果显示,两种心率计算方法产生的结果均符合同时采用已验证方法(电极法)的结果,一定程度上验证了该方法对于大黄鱼心率检测的有效性与可靠性。The above results show that the results of the two heart rate calculation methods are consistent with the results of the verified method (electrode method) at the same time, which verifies the effectiveness and reliability of this method for heart rate detection of large yellow croaker to a certain extent.

本实施例通过低成本的普通相机采集目标大黄鱼视频后,仅需数字信号处理手段即可获得大黄鱼的心率,从而无需在大黄鱼身上放置传感器或电极,仅用相机或摄像头就可以完成无接触的心率测量,实现了无接触、非侵入式的大黄鱼心率检测。In this embodiment, after the video of the target large yellow croaker is collected by a low-cost ordinary camera, the heart rate of the large yellow croaker can be obtained only by means of digital signal processing, so that there is no need to place sensors or electrodes on the large yellow croaker. Contact heart rate measurement realizes non-contact and non-invasive heart rate detection of large yellow croaker.

本发明方案能够广泛应用于大黄鱼遗传育种工作中,其价格成本低廉,实现方式简便,而且实时迅速;能够有效观察对大黄鱼的耐受状态,并且不会使大黄鱼因长期接触测量而产生应激反应。The scheme of the present invention can be widely used in the genetic breeding of large yellow croaker, the price is low, the realization method is simple, and the real-time is fast; the tolerance state to large yellow croaker can be effectively observed, and the large yellow croaker will not be caused by long-term contact measurement. stress response.

本实施例方案基于两块感兴趣区域(心脏感兴趣区域和背景感兴趣区域)进行原始数据获取,相较于仅采用单个感兴趣区域(仅获取心脏感兴趣区域)进行获取原始数据的方式而言(即初始信号为多通道和单通道的区别),本方案所获得检测结果更为精准,过程计算中的干扰因素更少,使其结果更具有参考价值;另外,本方案基于物理模型——双色反射模型对信号进行了投影分解,双色反射模型充分考虑了入射光和生物皮肤表面的相互作用,可以更加精确地分离出包含有心率成分的反射光信号;本方案利用了独立成分分析方法对信号进行了分解,独立成分分析可以进一步地根据血液组织的反射光特性分离出包含心率成分更强的子成分;本方案还利用集合经验模态分解完成频域分解,集合经验模态分解为自适应方法,不需要设定截止频率范围,而传统频率滤波则需要事先设定截止频率,为预测性方法,还不应忽略的是,本方案适用对象为具有心脏器官的、血液组织组成成分包含血红细胞的在水中生活的动物,其包含皮肤不透明、心跳肉眼不可见的水生动物(比如大黄鱼),相较于目前所知的对虾心率检测而言,对虾通体透明,心跳肉眼可见,二者所需要的方法精确性要求完全不同导致目标对象适用性不同。The scheme of this embodiment is based on two regions of interest (heart region of interest and background region of interest) for raw data acquisition, compared to the way of acquiring raw data with only a single region of interest (only heart region of interest). In other words (that is, the initial signal is the difference between multi-channel and single-channel), the detection results obtained by this scheme are more accurate, and there are fewer interference factors in the process calculation, making the results more valuable for reference; in addition, this scheme is based on the physical model— —The two-color reflection model decomposes the signal by projection. The two-color reflection model fully considers the interaction between the incident light and the biological skin surface, and can more accurately separate the reflected light signal containing the heart rate component; this scheme uses the independent component analysis method The signal is decomposed, and the independent component analysis can further separate the sub-components containing the stronger heart rate component according to the reflected light characteristics of the blood tissue; this scheme also uses the ensemble empirical mode decomposition to complete the frequency domain decomposition, and the ensemble empirical mode decomposition is The adaptive method does not need to set the cut-off frequency range, while the traditional frequency filter needs to set the cut-off frequency in advance. Animals living in water that contain red blood cells include aquatic animals with opaque skin and invisible heartbeat (such as large yellow croakers). The accuracy requirements of the methods required by the authors are completely different, resulting in different applicability to the target objects.

以上所述仅为本发明的部分实施例,并非因此限制本发明的保护范围,凡是利用本发明说明书及附图内容所作的等效装置或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above descriptions are only part of the embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any equivalent device or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related All technical fields are equally included in the scope of patent protection of the present invention.

Claims (5)

1.一种基于视频图像处理的水生动物心率检测方法,其特征在于,其包括:1. a kind of aquatic animal heart rate detection method based on video image processing, it is characterized in that, it comprises: 1)获取t帧水生动物腹面的视频图像,然后按预设条件选取感兴趣区域并对其进行追踪和保持,获得心脏和背景区域时间信号序列,其中,所述感兴趣区域包括心脏感兴趣区域和背景感兴趣区域;1) Obtain t frames of video images of the ventral surface of aquatic animals, then select a region of interest according to preset conditions, track and maintain it, and obtain a time signal sequence of the heart and the background region, wherein the region of interest includes the heart region of interest and background regions of interest; 2)根据多数据集联合分析方法,筛选出心脏感兴趣区域和背景感兴趣区域共有的共同环境噪声并去除;2) According to the joint analysis method of multiple data sets, the common environmental noise shared by the heart region of interest and the background region of interest is screened out and removed; 3)根据双色反射模型,将经过步骤2)中去除共同环境噪声后的心脏感兴趣区域时间信号序列视作光照变化成分、镜面反射成分、漫反射成分的线性组合,对其进行消除静态成分并投影至正交平面以去除光照变化成分;3) According to the two-color reflectance model, the time signal sequence of the heart region of interest after removing the common environmental noise in step 2) is regarded as a linear combination of illumination change components, specular reflection components, and diffuse reflection components, and the static components are eliminated and Project to an orthogonal plane to remove the illumination variation component; 4)对经过步骤3)处理获得的仅包含镜面反射成分和漫反射成分的心脏感兴趣区域时间信号序列进行独立成分分析,并筛选出与原心脏感兴趣区域信号序列中绿色通道相关性最强的独立成分;4) Perform independent component analysis on the time signal sequence of the heart region of interest that only contains specular reflection components and diffuse reflection components obtained through step 3), and filter out the strongest correlation with the green channel in the original heart region of interest signal sequence independent components of 5)从频域上对步骤4)处理获得的独立成分进行分解,筛选出频域上与水生动物物种特有的心率分布范围匹配度最高的子成分;5) decompose the independent components obtained in step 4) from the frequency domain, and screen out the subcomponents with the highest matching degree with the unique heart rate distribution range of aquatic animal species in the frequency domain; 6)根据步骤5)处理获得的子成分进一步输出心动波形图或心率数值;6) according to step 5) process and obtain the sub-component to further output cardiac waveform or heart rate value; 其中,其包括:Among them, it includes: 1)获取t帧水生动物腹面的视频图像,将其转换为RGB视频图像后,选取心脏感兴趣区域和背景感兴趣区域并由目标检测算法完成感兴趣区域的追踪和保持;然后对于每块感兴趣区域,分别计算每一帧RGB视频图像三个颜色通道的平均像素强度,获得心脏感兴趣区域信号序列和背景感兴趣区域信号序列,所述心脏感兴趣区域信号序列的公式如下:1) Obtain t frames of video images of the ventral surface of aquatic animals, convert them into RGB video images, select heart ROIs and background ROIs, and use the target detection algorithm to track and maintain the ROIs; For the region of interest, calculate the average pixel intensity of the three color channels of each frame of RGB video image respectively, and obtain the cardiac region of interest signal sequence and the background region of interest signal sequence. The formula of the cardiac region of interest signal sequence is as follows: Xnr()=[hr(t);hr(t);hr()]TX nr () = [ hr (t); hr (t); hr ()] T , 其中,Rhr(t)、Ghr(t)、Bhr()分别为心脏感兴趣区域视频图像的R、G、B颜色通道的平均像素强度;Wherein, R hr (t), G hr (t), B hr () are respectively the average pixel intensity of the R, G, and B color channels of the heart region of interest video image; 所述背景感兴趣区域信号序列的公式如下:The formula of the background region of interest signal sequence is as follows: Xbg()=[bg(t);bg(t);bg()]TX bg () = [ bg (t); bg (t); bg ()] T ; 其中,Rbg(t)、Gbg(t)、Bbg()分别为背景感兴趣区域视频图像的R、G、B颜色通道的平均像素强度;Wherein, R bg (t), G bg (t), B bg () are respectively the average pixel intensity of the R, G, and B color channels of the background region of interest video image; 2)根据联合盲源分离方法,利用数学公式SCV(t)=*X(t),对所述的心脏感兴趣区域信号序列Xhr()和背景感兴趣区域信号序列Xbg()进行联合盲源分离处理,得到解混矩阵W,其中,其中W为解混矩阵,SCV(t)为源信号成分向量;2) According to the joint blind source separation method, using the mathematical formula SCV(t)=*X(t), the signal sequence X hr () of the heart region of interest () and the signal sequence X bg () of the background region of interest are combined Blind source separation is processed to obtain an unmixing matrix W, wherein W is an unmixing matrix, and SCV (t) is a source signal component vector; 进一步计算得到源信号成分向量矩阵Further calculation to obtain the source signal component vector matrix SCV(t)=[SCVhr1;CVhr2;CVhr3;CVbg1;CVbg2;CVbg3]TSCV(t)=[SCV hr1 ; CV hr2 ; CV hr3 ; CV bg1 ; CV bg2 ; CV bg3 ] T ; 根据源信号成分向量矩阵计算获得心脏感兴趣区域信号序列的各源信号成分向量SCVhr()()和背景感兴趣区域信号序列的各源信号成分向量SCVbg()();Calculate and obtain each source signal component vector SCV hr() () of each source signal component vector SCV hr() () of the cardiac region of interest signal sequence and each source signal component vector SCV bg() () of the background region of interest signal sequence according to the source signal component vector matrix; 根据计算获得的心脏感兴趣区域信号序列的各源信号成分向量SCVhr()()和背景感兴趣区域信号序列的各源信号成分向量SCVbg()()之间的相关系数,将最大相关系数所对应心脏感兴趣区域信号序列的源信号成分向量SCVhr()()置零后得SCVnew(),然后根据SCV(t)=*X(t)可得去除共同环境噪声后的心脏感兴趣区域信号序列和背景感兴趣区域信号序列Xnew(t)=\SCVnew();According to the calculated correlation coefficient between each source signal component vector SCV hr() () of the heart region of interest signal sequence and each source signal component vector SCV bg() () of the background region of interest signal sequence, the maximum correlation The source signal component vector SCV hr() () of the heart region of interest signal sequence corresponding to the coefficient is zeroed to obtain SCV new (), and then according to SCV(t)=*X(t), the heart after removing the common environmental noise can be obtained ROI signal sequence and background ROI signal sequence X new (t) = \SCV new (); 3)根据双色反射模型,将步骤2)中获得的去除环境噪声后的心脏感兴趣区域时间信号序列Xnew(t)看作是光照变化成分、镜面反射成分、漫反射成分的线性组合,将时域归一化之后的Xnew()投影到与光照变化成分正交的平面P=[p12]T,以此得到仅包含镜面反射成分和漫反射成分的心脏感兴趣区域时间信号序列Xrflct(t)=*Xnew();3) According to the two-color reflectance model, the time signal sequence X new (t) of the cardiac region of interest obtained in step 2) after removing the environmental noise is regarded as a linear combination of the illumination change component, the specular reflection component, and the diffuse reflection component, and the X new () after time-domain normalization is projected onto the plane P=[p 1 ; 2 ] T orthogonal to the illumination change component, so as to obtain the time signal of the cardiac region of interest that only includes the specular reflection component and the diffuse reflection component sequence X rflct (t) = *X new (); 4)对步骤3)中获得的仅包含镜面反射成分和漫反射成分的心脏感兴趣区域时间信号序列Xrflct(t)进行独立成分分析处理,即4) Perform independent component analysis on the cardiac region of interest time signal sequence X rflct (t) obtained in step 3) that only contains specular reflection components and diffuse reflection components, namely Xrflct()=A*S(t),其中,A为混合矩阵,S(t)为源信号的独立成分,可得S(t)=[s1(t);2()]T,计算[1(T);2()]T与原心脏感兴趣区域信号序列Xhr()中Ghr()的相关系数,筛选出与原始信号绿色通道信号相关性最强的独立成分s(t);X rflct ()=A*S(t), wherein, A is the mixing matrix, S(t) is the independent component of the source signal, S(t)=[s 1 (t); 2 ()] T , Calculate the correlation coefficient between [ 1 (T); 2 ()] T and G hr () in the signal sequence X hr () of the original heart region of interest, and select the independent component s ( t); 5)采用集合经验模态分解方法对步骤4)中获得的s(t)进行处理,可得s(t)=∑imf(t)+(t),其中,imf(t)为各频段的本征模态函数,r(t)为残差项,再对imf(t)进行筛选,选择频域上与水生动物心率分布范围匹配度最高的imf(t)进行滑动平均,计算前后连续n项的平均值来替代imf(t)中当前值,将结果记为HR();5) Use the ensemble empirical mode decomposition method to process the s(t) obtained in step 4), and get s(t)=∑imf(t)+(t), where imf(t) is the Intrinsic mode function, r(t) is the residual item, and then filter the imf(t), select the imf(t) with the highest matching degree with the heart rate distribution range of aquatic animals in the frequency domain for sliding average, and calculate the continuous n The average value of the item is used to replace the current value in imf(t), and the result is recorded as HR(); 6)根据步骤5)中获得的HR()直接作为心动波形图输出;或进一步地,从频域上采用傅里叶变换将所述的HR()转换到频域,从频谱上得到幅值最大的频率值fmax,则心率HR=fmax*60;时域上采用峰值检测法,得到HR()上共存有波峰a个和波谷b个,则心率其中,t为视频时长,其单位为秒。6) According to the HR () obtained in step 5), output directly as the cardiac waveform diagram; or further, adopt Fourier transform from the frequency domain to convert the HR () to the frequency domain, and obtain the amplitude from the frequency spectrum The maximum frequency value f max , then the heart rate HR = f max *60; using the peak detection method in the time domain, it is obtained that there are a peaks and b valleys coexisting on HR(), and the heart rate Among them, t is the video duration, and its unit is second. 2.如权利要求1所述的基于视频图像处理的水生动物心率检测方法,其特征在于,步骤1)中,所述视频图像为不同色彩空间下对色彩加以说明的数字图像;所述水生动物为具有心脏器官且其血液组织成分中包含血红细胞的水生动物。2. the aquatic animal heart rate detection method based on video image processing as claimed in claim 1, is characterized in that, in step 1), described video image is the digital image that color is explained under different color spaces; An aquatic animal that has a heart organ and whose blood tissue components contain red blood cells. 3.如权利要求1所述的基于视频图像处理的水生动物心率检测方法,其特征在于,步骤1)中,通过人工选取或目标检测算法进行选取心脏感兴趣区域和背景感兴趣区域并通过目标检测算法对其进行追踪和保持;3. the aquatic animal heart rate detection method based on video image processing as claimed in claim 1, it is characterized in that, in step 1), carry out choosing heart interest area and background interest area by manual selection or target detection algorithm and pass target The detection algorithm tracks and maintains it; 所获得的心脏和背景区域时间信号序列为通过空间平均消除量化噪声后获得的时间信号序列。The obtained temporal signal sequence of the heart and the background area is the temporal signal sequence obtained after the quantization noise is eliminated by spatial averaging. 4.如权利要求1所述的基于视频图像处理的水生动物心率检测方法,其特征在于,步骤1)中,在第1帧视频图像中采用手动选定的方式分别选取视频图像中的心脏感兴趣区域和背景感兴趣区域,然后在后续的t-1帧视频图像中采用目标追踪算法完成感兴趣区域的跟踪与保持;4. the aquatic animal heart rate detection method based on video image processing as claimed in claim 1, is characterized in that, in step 1), in the 1st frame video image, adopts the manually selected mode to select respectively the heart feeling in the video image The region of interest and the background region of interest, and then use the target tracking algorithm to complete the tracking and maintenance of the region of interest in the subsequent t-1 frame video images; 步骤2)中,所述联合盲源分离方法是指基于高斯独立向量分析实现的联合盲源分离框架。In step 2), the joint blind source separation method refers to a joint blind source separation framework implemented based on Gaussian independent vector analysis. 5.一种计算机可读的存储介质,其特征在于:所述的存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述的至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行实现如权利要求1至4之一所述的基于视频图像处理的水生动物心率检测方法。5. A computer-readable storage medium, characterized in that: at least one instruction, at least one section of program, code set or instruction set is stored in said storage medium, said at least one instruction, at least one section of program, code set Or the instruction set is loaded by the processor and executed to realize the method for detecting the heart rate of aquatic animals based on video image processing according to one of claims 1 to 4.
CN202210023274.7A 2022-01-10 2022-01-10 Aquatic animal heart rate detection method based on video image processing Active CN114431849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210023274.7A CN114431849B (en) 2022-01-10 2022-01-10 Aquatic animal heart rate detection method based on video image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210023274.7A CN114431849B (en) 2022-01-10 2022-01-10 Aquatic animal heart rate detection method based on video image processing

Publications (2)

Publication Number Publication Date
CN114431849A CN114431849A (en) 2022-05-06
CN114431849B true CN114431849B (en) 2023-08-11

Family

ID=81367553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210023274.7A Active CN114431849B (en) 2022-01-10 2022-01-10 Aquatic animal heart rate detection method based on video image processing

Country Status (1)

Country Link
CN (1) CN114431849B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114869260A (en) * 2022-05-27 2022-08-09 浙江工业大学 Heart rate detection method for compressed video

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678780A (en) * 2016-01-14 2016-06-15 合肥工业大学智能制造技术研究院 Video heart rate detection method removing interference of ambient light variation
EP3459446A1 (en) * 2017-09-22 2019-03-27 Leibniz-Institut für Nutztierbiologie Method for identifying a farm animal having an impairment of regulative capacity in response to metabolic stress
CN110276271A (en) * 2019-05-30 2019-09-24 福建工程学院 Non-contact Heart Rate Estimation Method Fusion IPPG and Depth Information Anti-Noise Interference
CN110269600A (en) * 2019-08-06 2019-09-24 合肥工业大学 Based on polynary empirical mode decomposition and the contactless video heart rate detection method for combining blind source separating
CN110384491A (en) * 2019-08-21 2019-10-29 河南科技大学 A kind of heart rate detection method based on common camera
CN110680317A (en) * 2019-10-15 2020-01-14 中国科学技术大学 Denoising method of high-density surface EMG signal based on independent vector analysis
CN111280098A (en) * 2020-03-17 2020-06-16 中国海洋大学 Rapid determination method for temperature resistance character index ABT of chlamys farreri
CN112043257A (en) * 2020-09-18 2020-12-08 合肥工业大学 Non-contact video heart rate detection method for motion robustness
CN112043254A (en) * 2020-08-12 2020-12-08 厦门大学 A method and system for detecting heart rate of prawns based on video images

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2748762B1 (en) * 2011-08-26 2019-05-15 Koninklijke Philips N.V. Distortion reduced signal detection

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678780A (en) * 2016-01-14 2016-06-15 合肥工业大学智能制造技术研究院 Video heart rate detection method removing interference of ambient light variation
EP3459446A1 (en) * 2017-09-22 2019-03-27 Leibniz-Institut für Nutztierbiologie Method for identifying a farm animal having an impairment of regulative capacity in response to metabolic stress
CN110276271A (en) * 2019-05-30 2019-09-24 福建工程学院 Non-contact Heart Rate Estimation Method Fusion IPPG and Depth Information Anti-Noise Interference
CN110269600A (en) * 2019-08-06 2019-09-24 合肥工业大学 Based on polynary empirical mode decomposition and the contactless video heart rate detection method for combining blind source separating
CN110384491A (en) * 2019-08-21 2019-10-29 河南科技大学 A kind of heart rate detection method based on common camera
CN110680317A (en) * 2019-10-15 2020-01-14 中国科学技术大学 Denoising method of high-density surface EMG signal based on independent vector analysis
CN111280098A (en) * 2020-03-17 2020-06-16 中国海洋大学 Rapid determination method for temperature resistance character index ABT of chlamys farreri
CN112043254A (en) * 2020-08-12 2020-12-08 厦门大学 A method and system for detecting heart rate of prawns based on video images
CN112043257A (en) * 2020-09-18 2020-12-08 合肥工业大学 Non-contact video heart rate detection method for motion robustness

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
秦睿星,陈兆学.人脸运动状态下的非接触式心率稳定测量算法.《光学技术》.2021,第47卷(第1期),全文. *

Also Published As

Publication number Publication date
CN114431849A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN110269600B (en) Non-contact video heart rate detection method based on multivariate empirical mode decomposition and combined blind source separation
Li et al. The obf database: A large face video database for remote physiological signal measurement and atrial fibrillation detection
Wang et al. A comparative survey of methods for remote heart rate detection from frontal face videos
CN105678780B (en) A kind of video heart rate detection method for removing ambient light change interference
US10004410B2 (en) System and methods for measuring physiological parameters
Fan et al. Non-contact remote estimation of cardiovascular parameters
CN114387479B (en) A non-contact heart rate measurement method and system based on face video
CN112233813A (en) A non-contact non-invasive heart rate and respiration measurement method and system based on PPG
CN112890792A (en) Cloud computing cardiovascular health monitoring system and method based on network camera
JP2013118978A (en) Measuring device, measuring method, program and recording medium
CN112043257B (en) A motion-robust non-contact video heart rate detection method
Yin et al. Heart rate estimation based on face video under unstable illumination
Wedekind et al. Automated identification of cardiac signals after blind source separation for camera-based photoplethysmography
CN112294282A (en) Self-calibration method of emotion detection device based on RPPG
CN114271800B (en) Non-invasive continuous blood pressure monitoring method and application in office environment
CN116439680A (en) Non-contact blood pressure measurement method based on face video
CN114431849B (en) Aquatic animal heart rate detection method based on video image processing
CN117158926A (en) A long-distance non-contact physiological parameter detection method, system and device
CN113397519A (en) Cardiovascular health state detection device
CN115153473B (en) Non-contact heart rate detection method based on multivariate singular spectrum analysis
Deng et al. Non-invasive methods for heart rate measurement in fish based on photoplethysmography
CN113591769B (en) Non-contact heart rate detection method based on photoplethysmography
Zou et al. Non-contact real-time heart rate measurement algorithm based on PPG-standard deviation
Hu et al. Study on Real-Time Heart Rate Detection Based on Multi-People.
CN114209299B (en) IPPG technology-based human physiological parameter detection channel selection method

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