WO2023061042A1 - Heart rate measurement method and apparatus, and electronic device and storage medium - Google Patents

Heart rate measurement method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2023061042A1
WO2023061042A1 PCT/CN2022/113619 CN2022113619W WO2023061042A1 WO 2023061042 A1 WO2023061042 A1 WO 2023061042A1 CN 2022113619 W CN2022113619 W CN 2022113619W WO 2023061042 A1 WO2023061042 A1 WO 2023061042A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
thermal imaging
heart rate
region
human body
Prior art date
Application number
PCT/CN2022/113619
Other languages
French (fr)
Chinese (zh)
Inventor
李若岱
葛学人
李泉录
陈朝军
马堃
Original Assignee
上海商汤智能科技有限公司
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 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Publication of WO2023061042A1 publication Critical patent/WO2023061042A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/01Measuring temperature of body parts ; Diagnostic temperature sensing, e.g. for malignant or inflamed tissue
    • A61B5/015By temperature mapping of body part
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • A61B5/02055Simultaneously evaluating both cardiovascular condition and temperature
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • G06T7/41Analysis of texture based on statistical description of texture
    • G06T7/44Analysis of texture based on statistical description of texture using image operators, e.g. filters, edge density metrics or local histograms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20004Adaptive image processing
    • G06T2207/20008Globally adaptive
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30101Blood vessel; Artery; Vein; Vascular

Definitions

  • the present disclosure relates to the technical field of computers, and in particular to a heart rate detection method and device, electronic equipment and a storage medium.
  • Heart rate is of great significance to measure the health of a person's heart. It refers to the number of heart beats between units, and is a physiological parameter for routine clinical diagnosis.
  • Existing heart rate detection methods are usually determined by detecting changes in attenuation of reflected light or attenuation of transmitted light in blood. Such detection devices are usually expensive, poor in popularity and portability.
  • the disclosure proposes a heart rate detection method and device, electronic equipment and a storage medium, realizes non-contact measurement information, reduces manufacturing cost and improves universality and portability.
  • a heart rate detection method including:
  • the sequence of thermal imaging images includes a plurality of thermal imaging images sequentially collected within a preset time interval, and the thermal imaging images are used to characterize the temperature distribution of the target area of the human body;
  • the eigenvalue being used to characterize the blood vessel temperature in the target area of the human body
  • a temperature change signal Determining a temperature change signal according to a time-series position of the thermal imaging image corresponding to at least one of the characteristic values, the temperature change signal being used to characterize the temperature change of blood vessels in the target area of the human body within a preset time interval;
  • a target heart rate is determined according to the temperature change signal, and the target heart rate represents the heart rate of the human body corresponding to the sequence of thermal imaging images.
  • the determining at least one feature value corresponding to the thermal imaging image includes:
  • the region-of-interest image is used to characterize the temperature distribution of blood vessels in the target region of the human body
  • a feature value of a corresponding thermal imaging image is determined according to pixel values of at least one image of the region of interest.
  • the determining at least one ROI image corresponding to the thermal imaging image includes:
  • the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image
  • Image processing is performed on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest.
  • performing image processing on the image of the blood vessel region according to a preset image processing strategy to obtain the image of the region of interest includes:
  • Performing image processing on the image of the blood vessel region at least including two operations of top-hat operation and adaptive binarization to obtain an image of the region of interest.
  • performing image processing on the image of the blood vessel region according to a preset image processing strategy to obtain the image of the region of interest includes:
  • the determining the temperature change signal according to the time-series position of at least one of the characteristic values corresponding to the thermal imaging image includes;
  • the candidate change curve is filtered according to the heart rate frequency band, which is predetermined according to the heart rate range of the human body, to obtain the temperature change signal.
  • the determining the target heart rate according to the temperature change signal includes:
  • a heart rate detection device comprising:
  • a sequence determination module configured to determine a sequence of thermal imaging images, the sequence of thermal imaging images includes multiple thermal imaging images sequentially collected within a preset time interval, and the thermal imaging images are used to characterize the temperature distribution of the target area of the human body;
  • a temperature extraction module configured to determine at least one feature value corresponding to the thermal imaging image, where the feature value is used to characterize the blood vessel temperature in the target area of the human body;
  • a signal determination module configured to determine a temperature change signal according to the time series position of at least one of the characteristic values corresponding to the thermal imaging image, and the temperature change signal is used to characterize the blood vessel in the target area of the human body within a preset time interval Preset time interval for temperature change;
  • the heart rate determination module is configured to determine a target heart rate according to the temperature change signal, and the target heart rate represents the heart rate of the human body corresponding to the thermal imaging image sequence.
  • the temperature extraction module includes:
  • An image determining submodule configured to determine at least one region-of-interest image corresponding to the thermal imaging image, where the region-of-interest image is used to characterize the temperature distribution of blood vessels in the target region of the human body;
  • the feature value determining submodule is configured to determine the feature value of the corresponding thermal imaging image according to the pixel value of at least one image of the region of interest.
  • the image determination submodule includes:
  • An image determining unit configured to determine at least one blood vessel region image in the thermal imaging image, where the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image;
  • the image processing unit is configured to perform image processing on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest.
  • the image processing unit includes:
  • the first image processing subunit is used to perform image processing on the blood vessel region image at least including two operations of top-hat operation and adaptive binarization to obtain the region-of-interest image.
  • the image processing unit includes:
  • the second image processing subunit is configured to sequentially perform at least one anisotropic filter, top-hat operation, adaptive binarization and skeleton extraction on the image of the blood vessel region to obtain the image of the region of interest.
  • the signal determination module includes;
  • the curve drawing submodule is used to draw a candidate change curve according to the position of at least one of the characteristic values corresponding to the thermal imaging image in time series;
  • the filtering sub-module is configured to filter the candidate change curves according to the heart rate frequency band, which is predetermined according to the heart rate range of the human body, to obtain the temperature change signal.
  • the heart rate determination module includes:
  • the time-frequency conversion sub-module is used to perform Fourier transformation on the temperature change signal, and determine the frequency with the highest corresponding amplitude in the transformation result as the target heart rate.
  • an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the above method.
  • a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
  • a computer program product including computer readable codes, or a non-volatile computer readable storage medium bearing computer readable codes, when the computer readable codes are stored in an electronic device
  • the processor in the electronic device is used to implement the above method.
  • the embodiment of the present disclosure can collect human body thermal imaging images, and based on the characteristic that the temperature of human blood vessels varies with the diastole and contraction of the heart, determine the heart rate according to the temperature changes of blood vessels in multiple human body thermal imaging images, so as to realize non-contact heart rate measurement.
  • the thermal imaging image of the human body can be collected only through the thermal imaging image acquisition device, and then transmitted to any other electronic equipment capable of image and signal processing for heart rate measurement, which is low in cost, good in universality and high in portability.
  • FIG. 1 shows a schematic diagram of an application scenario of a heart rate detection method according to an embodiment of the present disclosure
  • FIG. 2 shows a flow chart of a heart rate detection method according to an embodiment of the present disclosure
  • Fig. 3 shows a schematic diagram of image positions of blood vessel regions according to an embodiment of the present disclosure
  • Fig. 4 shows a schematic diagram of a temperature change signal according to an embodiment of the present disclosure
  • Fig. 5 shows a schematic diagram of a process of determining a target heart rate according to an embodiment of the present disclosure
  • Fig. 6 shows a schematic diagram of a heart rate detection device according to an embodiment of the present disclosure
  • Fig. 7 shows a block diagram of an electronic device according to an embodiment of the present disclosure
  • Fig. 8 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
  • Fig. 1 shows a schematic diagram of an application scenario of a heart rate detection method according to an embodiment of the present disclosure.
  • a system applying the heart rate detection method of the embodiment of the present disclosure may include a first electronic device 10 and a second electronic device 11 connected through a network.
  • the second electronic device 11 is used to collect thermal imaging images of the target area of the human body multiple times within a preset time interval to obtain a sequence of thermal imaging images and send them to the first electronic device 10 through the network.
  • the first electronic device 10 is configured to, after receiving the thermal imaging image sequence, execute the heart rate detection method of the embodiment of the present disclosure to obtain the target heart rate of the human body in the thermal imaging image sequence.
  • the system applying the heart rate detection method of the embodiment of the present disclosure may also only include the second electronic device 11, that is, the second electronic device 11 collects thermal imaging images of the target area of the human body multiple times within a preset time interval, and obtains Sequence of thermal imaging images.
  • the heart rate detection method of the embodiment of the present disclosure is directly executed based on the thermal imaging image sequence to obtain the target heart rate of the human body in the thermal imaging image sequence.
  • the first electronic device 10 may be an electronic device such as a terminal device or a server.
  • the terminal device may be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld device, computing device, vehicle-mounted device, Wearable devices and other devices capable of image and signal processing.
  • the server can be a single server or a server cluster composed of multiple servers.
  • the second electronic device 11 may be an image acquisition device capable of acquiring thermal imaging images, or a terminal device having a thermal imaging image acquisition function.
  • the heart rate detection method in the embodiment of the present disclosure can be implemented by the processor in the first electronic device 10 calling the computer-readable instructions stored in the memory.
  • the second electronic device 11 may be a terminal device having a thermal imaging image acquisition function and capable of image processing and signal processing.
  • it may be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld device, computing device, vehicle-mounted device, Wearable equipment and other equipment.
  • UE User Equipment
  • PDA Personal Digital Assistant
  • Embodiments of the present disclosure may be applied to any application scenario where heart rate is detected by collecting thermal imaging images of a human body.
  • the target heart rate obtained by executing the heart rate detection method may be displayed for the user to view after the image of the user's body part is collected by a thermal imager with image processing and signal processing functions.
  • they can be sent to other electronic devices in a wired or wireless manner to perform heart rate detection and return to the target heart rate, and the thermal imager will display the received target heart rate for the user to view .
  • Fig. 2 shows a flow chart of a heart rate detection method according to an embodiment of the present disclosure.
  • the heart rate detection method includes:
  • Step S10 determining a sequence of thermal imaging images.
  • the sequence of thermal imaging images includes multiple thermal imaging images sequentially collected within a preset time interval, and at least one thermal imaging image is used to characterize the temperature distribution of the target area of the human body.
  • thermal imaging images may be acquired through preset acquisition frequency.
  • a thermal imaging image may have a time window characterizing the corresponding acquisition time.
  • the target area of the human body may be a pre-determined area of relatively dense blood vessels in the human body, such as the face area, the back of the hand area, or the wrist area.
  • thermal imaging images of a specific area on a user's body can be collected multiple times according to a preset image acquisition frequency within a preset time interval by an image acquisition device with a thermal imaging image acquisition function, and the images arranged in the order of acquisition time are obtained. sequence of thermal imaging images.
  • Step S20 determining at least one feature value corresponding to the thermal imaging image.
  • the feature value is used to represent the blood vessel temperature in the target area of the human body, which can be the temperature value of the blood vessel in the target area of the human body, or the pixel value corresponding to the temperature of the blood vessel in the target area of the human body based on the pixel value-temperature mapping relationship in the thermal imaging image .
  • the characteristic value may be the temperature in blood vessels on the back of the user's hand.
  • the manner of determining the corresponding feature value of the thermal imaging image may be: determining an ROI image corresponding to at least one thermal imaging image, and the ROI image is used to characterize the temperature distribution of blood vessels in the target area of the human body.
  • a feature value corresponding to the thermal imaging image is determined according to the pixel values of the at least one region-of-interest image. That is to say, by performing image processing on at least one thermal imaging image, extracting the region representing the blood vessel temperature distribution as the region of interest image, and calculating the feature value according to at least one pixel value in the region of interest image.
  • At least one pixel value in the image of the region of interest may be converted into a corresponding temperature value according to the preset mapping relationship between the pixel value and the temperature in the thermal imaging image, and then the feature value may be obtained by calculating the at least one temperature value.
  • the feature value can be any value that characterizes the temperature characteristics of blood vessels in the target area of the human body, for example, it can be at least one pixel value or the average, variance, median, etc. of the temperature value corresponding to at least one pixel value.
  • the manner of determining the ROI image corresponding to at least one thermal imaging image may further include: determining a blood vessel region image in at least one thermal imaging image, where the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image.
  • Image processing is performed on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest. That is to say, first obtain the image of the blood vessel area in the thermal imaging image as the blood vessel area image, and then remove the interference caused by other positions in the blood vessel area image except the blood vessel position through further image processing, and obtain only the blood vessel position temperature
  • the distributed image is used as the ROI image.
  • the image of the blood vessel area may be an image obtained by cropping the thermal imaging image, and the position of the image of the blood vessel area in the thermal imaging is the cropping area.
  • the clipping area of the image of the blood vessel region may be preset according to the location of dense blood vessels in the human body.
  • the image of the blood vessel area may be the area where the back of the hand is located, that is, the clipping area is the back area of the hand.
  • the image of the blood vessel area may be the area where the forehead is located, that is, the clipped area is the forehead area.
  • the thermal imaging image may not be cropped, and the thermal imaging image may be directly determined as the image of the blood vessel area.
  • Fig. 3 shows a schematic diagram of image positions of blood vessel regions according to an embodiment of the present disclosure.
  • the thermal imaging image is an image obtained by collecting the face area of the human body
  • the position of the blood vessel area image can be set as the forehead position in the face area 31. That is to say, for at least one thermal imaging image, a partial image of the forehead position 31 is obtained by cropping as a corresponding blood vessel region image.
  • the image processing process in this embodiment of the present disclosure may be to perform image processing on the blood vessel region image at least including two operations of top-hat operation and adaptive binarization to obtain the region-of-interest image. That is, the top-hat operation is first performed on the image to enlarge the texture area, and then the image with the highlighted texture area is obtained by subtracting the image after the opening operation from the original image. The enlarged image of the blood vessel position is subtracted to obtain an image including only image data near the blood vessel position.
  • the image of the region of interest can be obtained by further enlarging the blood vessel position in the extracted image by means of adaptive binarization.
  • the embodiments of the present disclosure may also add other processing manners in the image processing process. For example, at least one of anisotropic filtering, top-hat operation, adaptive binarization and skeleton extraction may be performed sequentially on the image of the blood vessel region to obtain the image of the region of interest.
  • At least one anisotropic filter is equivalent to retaining the texture information of the image while suppressing the image noise, that is, suppressing the image noise of the blood vessel region while retaining the texture of the blood vessel position.
  • the top-hat operation first performs an opening operation on the image to enlarge the texture area, and then subtracts the image after the opening operation from the original image to obtain an image that highlights the texture area, that is, first enlarges the position of the blood vessel in the image of the blood vessel area, and then subtracts and enlarges it through the image of the blood vessel area After the image of the blood vessel location, an image including only image data near the blood vessel location is obtained.
  • the positions of blood vessels in the extracted image are enlarged by means of adaptive binarization.
  • the position of the blood vessel is refined, and the image of the region of interest including the refined blood vessel position is obtained.
  • the feature value may be determined by calculating an average value of at least one pixel value in the region-of-interest image, or by calculating an average value of temperature values corresponding to at least one pixel value in the region-of-interest image.
  • the fine extraction of the blood vessel part is realized through image processing, which effectively reduces the noise, improves the accuracy of the feature value, and further improves the accuracy of the final determination of the target heart rate.
  • Step S30 determining a temperature change signal according to a time-series position of at least one of the characteristic values corresponding to the thermal imaging image.
  • the time-series position of the at least one feature value is sequentially determined according to the position sequence of the at least one thermal imaging image in time sequence, that is, the acquisition time sequence. Further, a corresponding temperature change signal is generated according to the at least one eigenvalue and the time series position of the at least one eigenvalue.
  • the temperature change signal is used to characterize the temperature change of blood vessels in the target area of the human body within a preset time interval, and can be a continuous curve signal drawn according to at least one thermal imaging image corresponding to the eigenvalue, or a plurality of eigenvalues formed in time series discrete signal.
  • Fig. 4 shows a schematic diagram of a temperature change signal according to an embodiment of the disclosure.
  • the embodiment of the present disclosure may generate a temperature change curve 40 as a temperature change signal according to at least one eigenvalue and the time-series position of the at least one eigenvalue.
  • the abscissa of the temperature change curve 40 represents the time
  • the ordinate represents the characteristic value
  • any point on the temperature change curve 40 represents the temperature characteristics of blood vessels in the target area of the human body at the corresponding time.
  • the method of determining the temperature change signal can be based on at least one characteristic
  • the value corresponds to the position of the thermal imaging image in the time series to draw a candidate change curve, and then filter the candidate change curve according to the heart rate frequency band to obtain a temperature change signal.
  • the heart rate frequency band is predetermined according to the heart rate range of the human body.
  • the temperature change curve of the temperature change situation is used as a temperature change signal.
  • a person's heart rate is usually 50-160 beats per minute, it can be determined according to the heart rate range that the corresponding heart rate frequency band is 5/6-8/3HZ.
  • Step S40 determining the target heart rate according to the temperature change signal.
  • the temperature of the blood is higher when the heart is diastolic, and the temperature of the blood is lower when the heart is systolic. Therefore, the temperature in the blood vessels of the human body will change with the diastole and contraction of the heart, that is, every heartbeat will cause the temperature in the blood vessels to fluctuate, and the target heart rate can be determined based on the temperature change signal that characterizes the temperature change in the blood vessels. That is to say, the temperature change signal is a continuous signal or a discrete signal that characterizes the beating frequency of the heart based on the relationship between the blood vessel temperature change and the beating heart.
  • the target heart rate represents the heart rate of the human body corresponding to the thermal imaging image sequence, that is, the heart rate of the user whose thermal imaging image sequence is obtained from the captured target area of the human body.
  • the manner of determining the target heart rate according to the temperature change signal may be to perform Fourier transform on the temperature change signal, and determine the frequency corresponding to the highest amplitude in the transformation result as the target heart rate. That is, the temperature change signal is converted from the time domain to the frequency domain, and the component with the highest amplitude is determined as the target heart rate, and the other components are noise components.
  • Fig. 5 shows a schematic diagram of a process of determining a target heart rate according to an embodiment of the present disclosure.
  • the embodiment of the present disclosure collects thermal imaging images of target areas on the user's body within a preset time period, and obtains a thermal imaging image sequence 50 composed of N thermal imaging images arranged in chronological order.
  • the region representing the temperature distribution of the region where the user's blood vessel is located is respectively intercepted to obtain the blood vessel region image 52 .
  • an ROI image 53 including only the temperature distribution of the blood vessel is extracted, and a feature value 54 is calculated according to at least one pixel value in at least one ROI image 53 .
  • a candidate variation curve 55 is drawn according to the arrangement order of the at least one thermal imaging image 51 in the thermal imaging image sequence 50 and its corresponding feature value 54 .
  • the heart rate frequency band is determined according to the possible heart rate range of the human body, and the candidate change curve 55 is filtered to remove other noises to obtain a temperature change signal 56 with high accuracy.
  • the temperature change signal 56 can be converted from the time domain to the frequency domain by way of Fourier transform to obtain the transformation result 57 .
  • the change result 57 includes multiple components constituting the temperature change signal 56 , and the frequency corresponding to the component with the highest amplitude is determined as the target heart rate 58 , that is, the user's heart rate for capturing the thermal imaging image 51 .
  • the embodiment of the present disclosure can collect human body thermal imaging images, and based on the characteristic that the temperature of human blood vessels varies with the diastole and contraction of the heart, determine the heart rate according to the temperature changes of blood vessels in multiple human body thermal imaging images, so as to realize non-contact heart rate measurement.
  • the thermal imaging image of the human body can be collected only through the thermal imaging image acquisition device, and then transmitted to any other electronic equipment capable of image and signal processing for heart rate measurement, which is low in cost, good in universality and high in portability.
  • the fine extraction of the blood vessel part is realized through image processing, which effectively reduces the noise, improves the accuracy of the feature value, and further improves the final determination of the target heart rate. accuracy.
  • the present disclosure also provides a heart rate detection device, electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any heart rate detection method provided in the present disclosure.
  • a heart rate detection device electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any heart rate detection method provided in the present disclosure.
  • Fig. 6 shows a schematic diagram of a heart rate detection device according to an embodiment of the present disclosure. As shown in Fig. 6, the device includes:
  • a sequence determination module 60 configured to determine a sequence of thermal imaging images, the sequence of thermal imaging images includes multiple thermal imaging images sequentially collected within a preset time interval, and the thermal imaging images are used to characterize the temperature distribution of the target area of the human body ;
  • a temperature extraction module 61 configured to determine at least one feature value corresponding to the thermal imaging image, where the feature value is used to characterize the blood vessel temperature in the target area of the human body;
  • a signal determining module 62 configured to determine a temperature change signal according to the time series position of at least one of the characteristic values corresponding to the thermal imaging image, and the temperature change signal is used to characterize the blood vessels in the target area of the human body within a preset time interval The preset time interval for temperature changes;
  • the heart rate determination module 63 is configured to determine a target heart rate according to the temperature change signal, and the target heart rate represents the heart rate of the human body corresponding to the thermal imaging image sequence.
  • the temperature extraction module includes:
  • An image determining submodule configured to determine at least one region-of-interest image corresponding to the thermal imaging image, where the region-of-interest image is used to characterize the temperature distribution of blood vessels in the target region of the human body;
  • the feature value determining submodule is configured to determine the feature value of the corresponding thermal imaging image according to the pixel value of at least one image of the region of interest.
  • the image determination submodule includes:
  • An image determining unit configured to determine at least one blood vessel region image in the thermal imaging image, where the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image;
  • the image processing unit is configured to perform image processing on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest.
  • the image processing unit includes:
  • the first image processing subunit is configured to perform image processing on the image of the blood vessel region at least including two operations of top-hat operation and adaptive binarization to obtain an image of the region of interest.
  • the image processing unit includes:
  • the second image processing subunit is configured to sequentially perform at least one anisotropic filter, top-hat operation, adaptive binarization and skeleton extraction on the image of the blood vessel region to obtain the image of the region of interest.
  • the signal determination module includes;
  • the curve drawing submodule is used to draw a candidate change curve according to the position of at least one of the characteristic values corresponding to the thermal imaging image in time series;
  • the filtering sub-module is configured to filter the candidate change curves according to the heart rate frequency band, which is predetermined according to the heart rate range of the human body, to obtain the temperature change signal.
  • the heart rate determination module includes:
  • the time-frequency conversion sub-module is used to perform Fourier transformation on the temperature change signal, and determine the frequency with the highest corresponding amplitude in the transformation result as the target heart rate.
  • the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the method embodiments above, and its specific implementation can refer to the description of the method embodiments above. For brevity, here No longer.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor.
  • Computer readable storage media may be volatile or nonvolatile computer readable storage media.
  • An embodiment of the present disclosure also proposes an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
  • An embodiment of the present disclosure also provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
  • Electronic devices may be provided as terminals, servers, or other forms of devices.
  • FIG. 7 shows a block diagram of an electronic device 700 according to an embodiment of the present disclosure.
  • the electronic device 700 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.
  • electronic device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input/output (I/O) interface 712, sensor component 714 , and the communication component 716.
  • the processing component 702 generally controls the overall operations of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • the processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702 .
  • the memory 704 is configured to store various types of data to support operations at the electronic device 700 . Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and the like.
  • the memory 704 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Magnetic or Optical Disk Magnetic Disk
  • the power supply component 706 provides power to various components of the electronic device 700 .
  • Power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 700 .
  • the multimedia component 708 includes a screen providing an output interface between the electronic device 700 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.
  • the multimedia component 708 includes a front camera and/or a rear camera. When the electronic device 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
  • the audio component 710 is configured to output and/or input audio signals.
  • the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 700 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 704 or sent via communication component 716 .
  • the audio component 710 also includes a speaker for outputting audio signals.
  • the I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
  • Sensor assembly 714 includes one or more sensors for providing status assessments of various aspects of electronic device 700 .
  • the sensor component 714 can detect the open/closed state of the electronic device 700, the relative positioning of components, such as the display and the keypad of the electronic device 700, the sensor component 714 can also detect the electronic device 700 or one of the electronic device 700 The position of components changes, the presence or absence of user contact with the electronic device 700 , the orientation or acceleration/deceleration of the electronic device 700 and the temperature change of the electronic device 700 .
  • Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
  • Sensor assembly 714 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications.
  • CMOS complementary metal-oxide-semiconductor
  • CCD charge-coupled device
  • the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
  • the communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices.
  • the electronic device 700 can access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof.
  • the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wide Band
  • Bluetooth Bluetooth
  • electronic device 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A programmable gate array
  • controller microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
  • a non-volatile computer-readable storage medium such as the memory 704 including computer program instructions, which can be executed by the processor 720 of the electronic device 700 to implement the above method.
  • FIG. 8 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure.
  • the electronic device 800 may be provided as a server.
  • electronic device 800 includes processing component 822 , which further includes one or more processors, and a memory resource represented by memory 832 for storing instructions executable by processing component 822 , such as application programs.
  • the application program stored in memory 832 may include one or more modules each corresponding to a set of instructions.
  • the processing component 822 is configured to execute instructions to perform the above method.
  • Electronic device 800 may also include a power supply component 826 configured to perform power management of electronic device 800, a wired or wireless network interface 850 configured to connect electronic device 800 to a network, and an input-output (I/O) interface 858 .
  • the electronic device 800 can operate based on the operating system stored in the memory 832, such as the Microsoft server operating system (Windows ServerTM), the graphical user interface-based operating system (Mac OS XTM ) introduced by Apple Inc., the multi-user and multi-process computer operating system ( Unix TM ), a free and open-source Unix-like operating system (Linux TM ), an open-source Unix-like operating system (FreeBSD TM ), or the like.
  • Microsoft server operating system Windows ServerTM
  • Mac OS XTM graphical user interface-based operating system
  • Unix TM multi-user and multi-process computer operating system
  • Linux TM free and open-source Unix-like operating system
  • FreeBSD TM open-source Unix-like operating system
  • a non-volatile computer-readable storage medium such as a memory 832 including computer program instructions, which can be executed by the processing component 822 of the electronic device 800 to implement the above method.
  • the present disclosure can be a system, method and/or computer program product.
  • a computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
  • a computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device.
  • a computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • flash memory static random access memory
  • SRAM static random access memory
  • CD-ROM compact disc read only memory
  • DVD digital versatile disc
  • memory stick floppy disk
  • mechanically encoded device such as a printer with instructions stored thereon
  • a hole card or a raised structure in a groove and any suitable combination of the above.
  • computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
  • Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages.
  • Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect).
  • LAN local area network
  • WAN wide area network
  • an electronic circuit such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA)
  • FPGA field programmable gate array
  • PDA programmable logic array
  • These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
  • each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the computer program product can be specifically realized by means of hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. wait.
  • a software development kit Software Development Kit, SDK

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Cardiology (AREA)
  • Theoretical Computer Science (AREA)
  • Animal Behavior & Ethology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physiology (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Pulmonology (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The present disclosure relates to a heart rate measurement method and apparatus, and an electronic device and a storage medium. The method comprises: determining a thermal-imaged image sequence that comprises a plurality of thermal-imaged images, which are sequentially collected, wherein the thermal-imaged images are images for representing a temperature distribution in a target region of a human body; determining a feature value of a region, in which a vessel is located, in at least one thermal-imaged image, so as to determine a temperature change signal according to a positional order and a corresponding feature value, and obtain a temperature change of a vessel in the target region of the human body; and on the basis of a characteristic of the temperature of a vessel changing along with the diastole and systole of a heart, further determining, according to the temperature change signal, the heart rate of a human body that is subjected to thermal-imaged image collection. By means of the embodiments of the present disclosure, a thermal-imaged image of a human body can be collected, and the heart rate can be determined according to a temperature change of a vessel therein, so as to realize non-contact measurement of the heart rate. Moreover, the thermal-imaged image of the human body can be collected, only by means of a thermal-imaged image collection apparatus, for heart rate measurement, such that the manufacturing cost is low, and the universality and the portability are good.

Description

心率检测方法及装置、电子设备和存储介质Heart rate detection method and device, electronic equipment and storage medium
本申请要求2021年10月15日提交、申请号为202111204042.3,发明名称为“心率检测方法及装置、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on October 15, 2021, with the application number 202111204042.3, and the title of the invention is "heart rate detection method and device, electronic equipment and storage medium", the entire content of which is incorporated in this application by reference .
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种心率检测方法及装置、电子设备和存储介质。The present disclosure relates to the technical field of computers, and in particular to a heart rate detection method and device, electronic equipment and a storage medium.
背景技术Background technique
心率对衡量人的心脏健康程度有相当重要的意义,它是指单位之间内心脏搏动的次数,时临床常规诊断的生理参数。现有的心率检测方法通常通过检测血液中反射光衰减变化或透射光衰减变化确定,这种检测装置通常造价高、普及性和便携性都很差。Heart rate is of great significance to measure the health of a person's heart. It refers to the number of heart beats between units, and is a physiological parameter for routine clinical diagnosis. Existing heart rate detection methods are usually determined by detecting changes in attenuation of reflected light or attenuation of transmitted light in blood. Such detection devices are usually expensive, poor in popularity and portability.
发明内容Contents of the invention
本公开提出了一种心率检测方法及装置、电子设备和存储介质,实现了非接触测量信息,降低造价的同时提高普适性和便携性。The disclosure proposes a heart rate detection method and device, electronic equipment and a storage medium, realizes non-contact measurement information, reduces manufacturing cost and improves universality and portability.
根据本公开的第一方面,提供了一种心率检测方法,包括:According to a first aspect of the present disclosure, a heart rate detection method is provided, including:
确定热成像图像序列,所述热成像图像序列中包括在预设时间区间内依次采集的多张热成像图像,所述热成像图像用于表征人体目标区域的温度分布;Determining a sequence of thermal imaging images, the sequence of thermal imaging images includes a plurality of thermal imaging images sequentially collected within a preset time interval, and the thermal imaging images are used to characterize the temperature distribution of the target area of the human body;
确定至少一个所述热成像图像对应的特征值,所述特征值用于表征所述人体目标区域中的血管温度;determining at least one eigenvalue corresponding to the thermal imaging image, the eigenvalue being used to characterize the blood vessel temperature in the target area of the human body;
根据至少一个所述特征值对应热成像图像在时序上的位置确定温度变化信号,所述温度变化信号用于表征所述人体目标区域中的血管在预设时间区间内的温度变化情况;Determining a temperature change signal according to a time-series position of the thermal imaging image corresponding to at least one of the characteristic values, the temperature change signal being used to characterize the temperature change of blood vessels in the target area of the human body within a preset time interval;
根据所述温度变化信号确定目标心率,所述目标心率表征所述热成像图像序列对应人体的心率。A target heart rate is determined according to the temperature change signal, and the target heart rate represents the heart rate of the human body corresponding to the sequence of thermal imaging images.
在一种可能的实现方式中,所述确定至少一个所述热成像图像对应的特征值包括:In a possible implementation manner, the determining at least one feature value corresponding to the thermal imaging image includes:
确定至少一个所述热成像图像对应的兴趣区域图像,所述兴趣区域图像用于表征所述人体目标区域中血管的温度分布;determining at least one region-of-interest image corresponding to the thermal imaging image, where the region-of-interest image is used to characterize the temperature distribution of blood vessels in the target region of the human body;
根据至少一个所述兴趣区域图像的像素值确定对应热成像图像的特征值。A feature value of a corresponding thermal imaging image is determined according to pixel values of at least one image of the region of interest.
在一种可能的实现方式中,所述确定至少一个所述热成像图像对应的兴趣区域图像包括:In a possible implementation manner, the determining at least one ROI image corresponding to the thermal imaging image includes:
确定至少一个所述热成像图像中的血管区域图像,所述血管区域图像为所述热成像图像中血管所在区域的图像;Determining at least one blood vessel region image in the thermal imaging image, where the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image;
根据预设的图像处理策略对所述血管区域图像进行图像处理,得到兴趣区域图像。Image processing is performed on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest.
在一种可能的实现方式中,所述根据预设的图像处理策略对所述血管区域图像进行图像处理,得到兴趣区域图像包括:In a possible implementation manner, performing image processing on the image of the blood vessel region according to a preset image processing strategy to obtain the image of the region of interest includes:
对所述血管区域图像进行至少包括顶帽运算和自适应二值化两种操作的图像处理,得到兴趣区域图像。Performing image processing on the image of the blood vessel region at least including two operations of top-hat operation and adaptive binarization to obtain an image of the region of interest.
在一种可能的实现方式中,所述根据预设的图像处理策略对所述血管区域图像进行图像处理,得到兴趣区域图像包括:In a possible implementation manner, performing image processing on the image of the blood vessel region according to a preset image processing strategy to obtain the image of the region of interest includes:
依次对所述血管区域图像进行至少一个向异性滤波、顶帽运算、自适应二值化和骨架提取,得到兴趣区域图像。Performing at least one anisotropic filter, top-hat operation, adaptive binarization and skeleton extraction on the image of the blood vessel region in sequence to obtain the image of the region of interest.
在一种可能的实现方式中,所述根据至少一个所述特征值对应热成像图像在时序上的位置确定温度变化信号包括;In a possible implementation manner, the determining the temperature change signal according to the time-series position of at least one of the characteristic values corresponding to the thermal imaging image includes;
根据至少一个所述特征值对应热成像图像在时序上的位置绘制候选变化曲线;Draw a candidate change curve according to the position of at least one of the characteristic values corresponding to the thermal imaging image in time series;
根据心率频带对所述候选变化曲线进行滤波,得到温度变化信号,所述心率频带根据人体的心率范围预先确定。The candidate change curve is filtered according to the heart rate frequency band, which is predetermined according to the heart rate range of the human body, to obtain the temperature change signal.
在一种可能的实现方式中,所述根据所述温度变化信号确定目标心率包括:In a possible implementation manner, the determining the target heart rate according to the temperature change signal includes:
对所述温度变化信号进行傅里叶变换,并确定变换结果中对应幅值最高的频率为目标心率。Perform Fourier transform on the temperature change signal, and determine the frequency corresponding to the highest amplitude in the transform result as the target heart rate.
根据本公开的第二方面,提供了一种心率检测装置,包括:According to a second aspect of the present disclosure, a heart rate detection device is provided, comprising:
序列确定模块,用于确定热成像图像序列,所述热成像图像序列中包括在预设时间区间内依次采集的多张热成像图像,所述热成像图像用于表征人体目标区域的温度分布;A sequence determination module, configured to determine a sequence of thermal imaging images, the sequence of thermal imaging images includes multiple thermal imaging images sequentially collected within a preset time interval, and the thermal imaging images are used to characterize the temperature distribution of the target area of the human body;
温度提取模块,用于确定至少一个所述热成像图像对应的特征值,所述特征值用于表征所述人体目标区域中的血管温度;A temperature extraction module, configured to determine at least one feature value corresponding to the thermal imaging image, where the feature value is used to characterize the blood vessel temperature in the target area of the human body;
信号确定模块,用于根据至少一个所述特征值对应热成像图像在时序上的位置确定温度变化信号,所述温度变化信号用于表征所述人体目标区域中的血管在预设时间区间内的温度变化情况预设时间区间;A signal determination module, configured to determine a temperature change signal according to the time series position of at least one of the characteristic values corresponding to the thermal imaging image, and the temperature change signal is used to characterize the blood vessel in the target area of the human body within a preset time interval Preset time interval for temperature change;
心率确定模块,用于根据所述温度变化信号确定目标心率,所述目标心率表征所述热成像图像序列对应人体的心率。The heart rate determination module is configured to determine a target heart rate according to the temperature change signal, and the target heart rate represents the heart rate of the human body corresponding to the thermal imaging image sequence.
在一种可能的实现方式中,所述温度提取模块包括:In a possible implementation manner, the temperature extraction module includes:
图像确定子模块,用于确定至少一个所述热成像图像对应的兴趣区域图像,所述兴趣区域图像用于表征所述人体目标区域中血管的温度分布;An image determining submodule, configured to determine at least one region-of-interest image corresponding to the thermal imaging image, where the region-of-interest image is used to characterize the temperature distribution of blood vessels in the target region of the human body;
特征值确定子模块,用于根据至少一个所述兴趣区域图像的像素值确定对应热成像图像的特征值。The feature value determining submodule is configured to determine the feature value of the corresponding thermal imaging image according to the pixel value of at least one image of the region of interest.
在一种可能的实现方式中,所述图像确定子模块包括:In a possible implementation manner, the image determination submodule includes:
图像确定单元,用于确定至少一个所述热成像图像中的血管区域图像,所述血管区域图像为所述热成像图像中血管所在区域的图像;An image determining unit, configured to determine at least one blood vessel region image in the thermal imaging image, where the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image;
图像处理单元,用于根据预设的图像处理策略对所述血管区域图像进行图像处理,得到兴趣区域图像。The image processing unit is configured to perform image processing on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest.
在一种可能的实现方式中,所述图像处理单元包括:In a possible implementation manner, the image processing unit includes:
第一图像处理子单元,用于对所述血管区域图像进行至少包括顶帽运算和自适应二 值化两种操作的图像处理,得到兴趣区域图像。The first image processing subunit is used to perform image processing on the blood vessel region image at least including two operations of top-hat operation and adaptive binarization to obtain the region-of-interest image.
在一种可能的实现方式中,所述图像处理单元包括:In a possible implementation manner, the image processing unit includes:
第二图像处理子单元,用于依次对所述血管区域图像进行至少一个向异性滤波、顶帽运算、自适应二值化和骨架提取,得到兴趣区域图像。The second image processing subunit is configured to sequentially perform at least one anisotropic filter, top-hat operation, adaptive binarization and skeleton extraction on the image of the blood vessel region to obtain the image of the region of interest.
在一种可能的实现方式中,所述信号确定模块包括;In a possible implementation manner, the signal determination module includes;
曲线绘制子模块,用于根据至少一个所述特征值对应热成像图像在时序上的位置绘制候选变化曲线;The curve drawing submodule is used to draw a candidate change curve according to the position of at least one of the characteristic values corresponding to the thermal imaging image in time series;
滤波子模块,用于根据心率频带对所述候选变化曲线进行滤波,得到温度变化信号,所述心率频带根据人体的心率范围预先确定。The filtering sub-module is configured to filter the candidate change curves according to the heart rate frequency band, which is predetermined according to the heart rate range of the human body, to obtain the temperature change signal.
在一种可能的实现方式中,所述心率确定模块包括:In a possible implementation manner, the heart rate determination module includes:
时频转换子模块,用于对所述温度变化信号进行傅里叶变换,并确定变换结果中对应幅值最高的频率为目标心率。The time-frequency conversion sub-module is used to perform Fourier transformation on the temperature change signal, and determine the frequency with the highest corresponding amplitude in the transformation result as the target heart rate.
根据本公开的第三方面,提供了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。According to a third aspect of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the above method.
根据本公开的第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
根据本公开的第五方面,提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行用于实现上述方法。According to a fifth aspect of the present disclosure, there is provided a computer program product, including computer readable codes, or a non-volatile computer readable storage medium bearing computer readable codes, when the computer readable codes are stored in an electronic device When running in the processor of the electronic device, the processor in the electronic device is used to implement the above method.
本公开实施例可以采集人体热成像图像,并基于人体血管温度随着心脏舒张和收缩变化的特性,根据多张人体热成像图像中血管的温度变化确定心率,实现非接触式测量心率。同时,仅通过热成像图像采集装置即可采集人体热成像图像,再传输至其他任意能够进行图像及信号处理的电子设备进行心率测量,造价低、普适性好且便携性高。The embodiment of the present disclosure can collect human body thermal imaging images, and based on the characteristic that the temperature of human blood vessels varies with the diastole and contraction of the heart, determine the heart rate according to the temperature changes of blood vessels in multiple human body thermal imaging images, so as to realize non-contact heart rate measurement. At the same time, the thermal imaging image of the human body can be collected only through the thermal imaging image acquisition device, and then transmitted to any other electronic equipment capable of image and signal processing for heart rate measurement, which is low in cost, good in universality and high in portability.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。The accompanying drawings here are incorporated into the description and constitute a part of the present description. These drawings show embodiments consistent with the present disclosure, and are used together with the description to explain the technical solution of the present disclosure.
图1示出根据本公开实施例的一种心率检测方法的应用场景示意图;FIG. 1 shows a schematic diagram of an application scenario of a heart rate detection method according to an embodiment of the present disclosure;
图2示出根据本公开实施例的一种心率检测方法的流程图;FIG. 2 shows a flow chart of a heart rate detection method according to an embodiment of the present disclosure;
图3示出根据本公开实施例的血管区域图像位置的示意图;Fig. 3 shows a schematic diagram of image positions of blood vessel regions according to an embodiment of the present disclosure;
图4示出根据本公开实施例的一种温度变化信号的示意图;Fig. 4 shows a schematic diagram of a temperature change signal according to an embodiment of the present disclosure;
图5示出根据本公开实施例的一种确定目标心率过程的示意图;Fig. 5 shows a schematic diagram of a process of determining a target heart rate according to an embodiment of the present disclosure;
图6示出根据本公开实施例的一种心率检测装置的示意图;Fig. 6 shows a schematic diagram of a heart rate detection device according to an embodiment of the present disclosure;
图7示出根据本公开实施例的一种电子设备的框图;Fig. 7 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
图8示出根据本公开实施例的一种电子设备的框图。Fig. 8 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the term "at least one" herein means any one of a variety or any combination of at least two of the more, for example, including at least one of A, B, and C, which may mean including from A, Any one or more elements selected from the set formed by B and C.
另外,为了更好地说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific implementation manners. It will be understood by those skilled in the art that the present disclosure may be practiced without some of the specific details. In some instances, methods, means, components and circuits that are well known to those skilled in the art have not been described in detail so as to obscure the gist of the present disclosure.
图1示出根据本公开实施例的一种心率检测方法的应用场景示意图。如图1所示,在一种可能的实现方式中,应用本公开实施例的心率检测方法的系统可以包括通过网络连接的第一电子设备10和第二电子设备11。其中,第二电子设备11用于在预设时间区间内多次采集人体目标区域的热成像图像,得到热成像图像序列,通过网络发送至第一电子设备10。第一电子设备10用于在接收到热成像图像序列后,执行本公开实施例的心率检测方法得到该热成像图像序列中人体的目标心率。Fig. 1 shows a schematic diagram of an application scenario of a heart rate detection method according to an embodiment of the present disclosure. As shown in FIG. 1 , in a possible implementation manner, a system applying the heart rate detection method of the embodiment of the present disclosure may include a first electronic device 10 and a second electronic device 11 connected through a network. Wherein, the second electronic device 11 is used to collect thermal imaging images of the target area of the human body multiple times within a preset time interval to obtain a sequence of thermal imaging images and send them to the first electronic device 10 through the network. The first electronic device 10 is configured to, after receiving the thermal imaging image sequence, execute the heart rate detection method of the embodiment of the present disclosure to obtain the target heart rate of the human body in the thermal imaging image sequence.
可选地,应用本公开实施例的心率检测方法的系统还可以仅包括第二电子设备11,即由第二电子设备11在预设时间区间内多次采集人体目标区域的热成像图像,得到热成像图像序列。进一步地,直接基于该热成像图像序列执行本公开实施例的心率检测方法,得到该热成像图像序列中人体的目标心率。Optionally, the system applying the heart rate detection method of the embodiment of the present disclosure may also only include the second electronic device 11, that is, the second electronic device 11 collects thermal imaging images of the target area of the human body multiple times within a preset time interval, and obtains Sequence of thermal imaging images. Further, the heart rate detection method of the embodiment of the present disclosure is directly executed based on the thermal imaging image sequence to obtain the target heart rate of the human body in the thermal imaging image sequence.
在该心率检测方法通过第一电子设备10和第二电子设备11组成的系统实现时,第一电子设备10可以为终端设备或服务器等电子设备。其中,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等能够进行图像以及信号处理的设备。服务器可以为单独的服务器或多个服务器组成的服务器集群。第二电子设备11可以为能够采集热成像图像的图像采集设备,或者具有热成像图像采集功能的终端设备。本公开实施例的心率检测方法可以通过第一电子设备10中的处理器调用 存储器中存储的计算机可读指令的方式来实现。When the heart rate detection method is implemented by a system composed of the first electronic device 10 and the second electronic device 11, the first electronic device 10 may be an electronic device such as a terminal device or a server. Wherein, the terminal device may be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld device, computing device, vehicle-mounted device, Wearable devices and other devices capable of image and signal processing. The server can be a single server or a server cluster composed of multiple servers. The second electronic device 11 may be an image acquisition device capable of acquiring thermal imaging images, or a terminal device having a thermal imaging image acquisition function. The heart rate detection method in the embodiment of the present disclosure can be implemented by the processor in the first electronic device 10 calling the computer-readable instructions stored in the memory.
在该心率检测方法仅通过第二电子设备11实现时,第二电子设备11可以为具有热成像图像采集功能、且能够进行图像处理和信号处理的终端设备。可选地,可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等设备。When the heart rate detection method is implemented only by the second electronic device 11, the second electronic device 11 may be a terminal device having a thermal imaging image acquisition function and capable of image processing and signal processing. Optionally, it may be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld device, computing device, vehicle-mounted device, Wearable equipment and other equipment.
本公开实施例可以应用于任意通过采集人体热成像图像检测心率的应用场景。例如,可以通过具有图像处理和信号处理功能的热成像仪采集用户身体部分区域的图像后,将执行该心率检测方法得到的目标心率显示给用户查看。或者,还可以通过热成像仪采集用户身体部分区域的图像后,通过有线或无线的方式发送至其他电子设备执行心率检测后返回目标心率,由该热成像仪显示接收到的目标心率给用户查看。Embodiments of the present disclosure may be applied to any application scenario where heart rate is detected by collecting thermal imaging images of a human body. For example, the target heart rate obtained by executing the heart rate detection method may be displayed for the user to view after the image of the user's body part is collected by a thermal imager with image processing and signal processing functions. Alternatively, after collecting images of parts of the user's body with a thermal imager, they can be sent to other electronic devices in a wired or wireless manner to perform heart rate detection and return to the target heart rate, and the thermal imager will display the received target heart rate for the user to view .
图2示出根据本公开实施例的一种心率检测方法的流程图。如图2所示,所述心率检测方法包括:Fig. 2 shows a flow chart of a heart rate detection method according to an embodiment of the present disclosure. As shown in Figure 2, the heart rate detection method includes:
步骤S10、确定热成像图像序列。Step S10, determining a sequence of thermal imaging images.
在一种可能的实现方式中,该热成像图像序列中包括在预设时间区间内依次采集的多张热成像图像,至少一个热成像图像用于表征人体目标区域的温度分布。可选地,热成像图像可以通过预设的采集频率采集得到。热成像图像可以具有用于表征对应采集时间的时间窗。进一步地,人体目标区域可以为预先确定的人体血管较为密集的区域,例如可以为面部区域、手背区域或手腕区域等。In a possible implementation manner, the sequence of thermal imaging images includes multiple thermal imaging images sequentially collected within a preset time interval, and at least one thermal imaging image is used to characterize the temperature distribution of the target area of the human body. Optionally, thermal imaging images may be acquired through preset acquisition frequency. A thermal imaging image may have a time window characterizing the corresponding acquisition time. Further, the target area of the human body may be a pre-determined area of relatively dense blood vessels in the human body, such as the face area, the back of the hand area, or the wrist area.
也就是说,可以通过具有热成像图像采集功能的图像采集装置在预设时间区间内,根据预设的图像采集频率多次采集一名用户身上特定区域的热成像图像,得到按照采集时间顺序排列的热成像图像序列。That is to say, thermal imaging images of a specific area on a user's body can be collected multiple times according to a preset image acquisition frequency within a preset time interval by an image acquisition device with a thermal imaging image acquisition function, and the images arranged in the order of acquisition time are obtained. sequence of thermal imaging images.
步骤S20、确定至少一个所述热成像图像对应的特征值。Step S20, determining at least one feature value corresponding to the thermal imaging image.
在一种可能的实现方式中,对于热成像图像序列中的至少一个热成像图像,分别确定其对应的特征值。其中,特征值用于表征人体目标区域中的血管温度,可以为人体目标区域中的血管温度值,或者基于热成像图像中像素值-温度的映射关系与人体目标区域中血管温度对应的像素值。例如,当热成像图像通过热成像仪采集用户手背得到时,特征值可以为用户手背血管中温度。In a possible implementation manner, for at least one thermal imaging image in the sequence of thermal imaging images, its corresponding feature value is respectively determined. Among them, the feature value is used to represent the blood vessel temperature in the target area of the human body, which can be the temperature value of the blood vessel in the target area of the human body, or the pixel value corresponding to the temperature of the blood vessel in the target area of the human body based on the pixel value-temperature mapping relationship in the thermal imaging image . For example, when the thermal imaging image is obtained by collecting the back of the user's hand with a thermal imager, the characteristic value may be the temperature in blood vessels on the back of the user's hand.
可选地,本公开实施例确定热成像图像对应特征值的方式可以为:确定至少一个热成像图像对应的兴趣区域图像,兴趣区域图像用于表征人体目标区域中血管的温度分布。根据至少一个兴趣区域图像的像素值确定对应热成像图像的特征值。也就是说,通过对至少一个热成像图像进行图像处理,提取其中表征血管温度分布的区域作为兴趣区域图像,根据兴趣区域图像中至少一个像素值计算得到特征值。或者,还可以根据预设的热成像图像中像素值与温度的映射关系,将兴趣区域图像中至少一个像素值转换为对应的温度值,再根据至少一个温度值计算得到特征值。进一步地,特征值可以为任意表征人体目标区域中血管温度特征的值,例如可以为至少一个像素值或至少一个像素值对应温 度值的平均值、方差、中位数等等。Optionally, in this embodiment of the present disclosure, the manner of determining the corresponding feature value of the thermal imaging image may be: determining an ROI image corresponding to at least one thermal imaging image, and the ROI image is used to characterize the temperature distribution of blood vessels in the target area of the human body. A feature value corresponding to the thermal imaging image is determined according to the pixel values of the at least one region-of-interest image. That is to say, by performing image processing on at least one thermal imaging image, extracting the region representing the blood vessel temperature distribution as the region of interest image, and calculating the feature value according to at least one pixel value in the region of interest image. Alternatively, at least one pixel value in the image of the region of interest may be converted into a corresponding temperature value according to the preset mapping relationship between the pixel value and the temperature in the thermal imaging image, and then the feature value may be obtained by calculating the at least one temperature value. Further, the feature value can be any value that characterizes the temperature characteristics of blood vessels in the target area of the human body, for example, it can be at least one pixel value or the average, variance, median, etc. of the temperature value corresponding to at least one pixel value.
进一步地,本公开实施例确定至少一个热成像图像对应的兴趣区域图像的方式还可以包括:确定至少一个热成像图像中的血管区域图像,血管区域图像为热成像图像中血管所在区域的图像。根据预设的图像处理策略对血管区域图像进行图像处理,得到兴趣区域图像。也就是说,先在热成像图像中获取血管所在区域的图像作为血管区域图像,再通过进一步的图像处理去除血管区域图像中除了血管所在位置以外其他位置带来的干扰,得到仅表征血管位置温度分布的图像作为兴趣区域图像。Further, in the embodiment of the present disclosure, the manner of determining the ROI image corresponding to at least one thermal imaging image may further include: determining a blood vessel region image in at least one thermal imaging image, where the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image. Image processing is performed on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest. That is to say, first obtain the image of the blood vessel area in the thermal imaging image as the blood vessel area image, and then remove the interference caused by other positions in the blood vessel area image except the blood vessel position through further image processing, and obtain only the blood vessel position temperature The distributed image is used as the ROI image.
在一种可能的实现方式中,血管区域图像可以为裁剪热成像图像得到图像,该血管区域图像在热成像中的位置即裁剪区域。可选地,该血管区域图像的裁剪区域可以根据人体中血管密集的位置预先设定。例如,在人体目标区域为手部区域时,血管区域图像可以为其中手背所在的区域,即裁剪区域为手背区域。当人体目标区域为面部区域时,血管区域图像可以为其中额头所在的区域,即裁剪区域为额头区域。进一步地,当人体目标区域为手背或额头区域时,可以不对热成像图像进行裁剪,直接确定热成像图像为血管区域图像。In a possible implementation manner, the image of the blood vessel area may be an image obtained by cropping the thermal imaging image, and the position of the image of the blood vessel area in the thermal imaging is the cropping area. Optionally, the clipping area of the image of the blood vessel region may be preset according to the location of dense blood vessels in the human body. For example, when the target area of the human body is the hand area, the image of the blood vessel area may be the area where the back of the hand is located, that is, the clipping area is the back area of the hand. When the target area of the human body is the face area, the image of the blood vessel area may be the area where the forehead is located, that is, the clipped area is the forehead area. Further, when the target area of the human body is the back of the hand or the forehead area, the thermal imaging image may not be cropped, and the thermal imaging image may be directly determined as the image of the blood vessel area.
图3示出根据本公开实施例的血管区域图像位置的示意图。如图3所示,由于人体额头上方的血管区域较明显,且相对容易提取,在热成像图像为采集人体面部区域得到的图像时,可以设定血管区域图像的位置为面部区域中的额头位置31。也就是说,对于至少一个热成像图像,均通过裁剪的方式得到其中额头位置31的部分图像作为对应的血管区域图像。Fig. 3 shows a schematic diagram of image positions of blood vessel regions according to an embodiment of the present disclosure. As shown in Figure 3, since the blood vessel area above the forehead of the human body is more obvious and relatively easy to extract, when the thermal imaging image is an image obtained by collecting the face area of the human body, the position of the blood vessel area image can be set as the forehead position in the face area 31. That is to say, for at least one thermal imaging image, a partial image of the forehead position 31 is obtained by cropping as a corresponding blood vessel region image.
在得到血管区域图像后,通过进一步图像处理去除血管所在位置以外的其他位置带来的干扰,提取其中血管所在位置的图像作为兴趣区域图像。可选地,本公开实施例的图像处理过程可以为对所述血管区域图像进行至少包括顶帽运算和自适应二值化两种操作的图像处理,得到兴趣区域图像。即先通过顶帽运算先对图像进行开运算放大纹理区域,再通过原图减掉开运算后的图像得到突出纹理区域的图像,即先放大血管区域图像中的血管位置,再通过血管区域图像减掉放大血管位置后的图像,得到仅包括血管位置附近图像数据的图像。再进一步通过自适应二值化的方式放大提取得到的图像中的血管位置即可得到兴趣区域图像。After the image of the blood vessel area is obtained, further image processing is performed to remove the interference caused by positions other than the position of the blood vessel, and the image of the position of the blood vessel is extracted as the image of the region of interest. Optionally, the image processing process in this embodiment of the present disclosure may be to perform image processing on the blood vessel region image at least including two operations of top-hat operation and adaptive binarization to obtain the region-of-interest image. That is, the top-hat operation is first performed on the image to enlarge the texture area, and then the image with the highlighted texture area is obtained by subtracting the image after the opening operation from the original image. The enlarged image of the blood vessel position is subtracted to obtain an image including only image data near the blood vessel position. The image of the region of interest can be obtained by further enlarging the blood vessel position in the extracted image by means of adaptive binarization.
为了提高图像处理结果的精度,本公开实施例还可以在图像处理过程中加入其他处理方式。例如,可以依次对血管区域图像进行至少一个向异性滤波、顶帽运算、自适应二值化和骨架提取,得到兴趣区域图像。In order to improve the accuracy of the image processing result, the embodiments of the present disclosure may also add other processing manners in the image processing process. For example, at least one of anisotropic filtering, top-hat operation, adaptive binarization and skeleton extraction may be performed sequentially on the image of the blood vessel region to obtain the image of the region of interest.
其中,至少一个向异性滤波同于在抑制图像噪声的同时保留图像的纹理信息,即抑制血管区域图像噪声的同时保留血管位置的纹理。顶帽运算先对图像进行开运算放大纹理区域,再通过原图减掉开运算后的图像得到突出纹理区域的图像,即先放大血管区域图像中的血管位置,再通过血管区域图像减掉放大血管位置后的图像,得到仅包括血管位置附近图像数据的图像。由于此时提取到的图像比较模糊,通过自适应二值化的方式放大提取得到的图像中的血管位置。为了减少在放大过程中引入更多噪声的可能性,通 过对放大后的图像进行骨架提取,将其中的血管位置精细化,得到包括精细化血管位置的兴趣区域图像。Wherein, at least one anisotropic filter is equivalent to retaining the texture information of the image while suppressing the image noise, that is, suppressing the image noise of the blood vessel region while retaining the texture of the blood vessel position. The top-hat operation first performs an opening operation on the image to enlarge the texture area, and then subtracts the image after the opening operation from the original image to obtain an image that highlights the texture area, that is, first enlarges the position of the blood vessel in the image of the blood vessel area, and then subtracts and enlarges it through the image of the blood vessel area After the image of the blood vessel location, an image including only image data near the blood vessel location is obtained. Since the extracted image at this time is relatively blurred, the positions of blood vessels in the extracted image are enlarged by means of adaptive binarization. In order to reduce the possibility of introducing more noise during the zoom-in process, through the skeleton extraction of the zoomed-in image, the position of the blood vessel is refined, and the image of the region of interest including the refined blood vessel position is obtained.
在得到至少一个热成像图像对应的兴趣区域图像后,分别计算至少一个兴趣区域图像中包括的至少一个像素值,或者至少一个像素值对应的温度得到特征值。可选地,该特征值可以通过计算兴趣区域图像中至少一个像素值的平均值确定,或者计算兴趣区域图像中至少一个像素值对应温度值的平均值确定。After obtaining the region of interest image corresponding to the at least one thermal imaging image, at least one pixel value included in the at least one region of interest image, or the temperature corresponding to the at least one pixel value is calculated to obtain the feature value. Optionally, the feature value may be determined by calculating an average value of at least one pixel value in the region-of-interest image, or by calculating an average value of temperature values corresponding to at least one pixel value in the region-of-interest image.
本公开实施例在确定至少一个热成像图像对应特征值时,通过图像处理实现对血管部分的精细提取,有效的减少了噪声,提升了特征值的准确度,进一步提升最终确定目标心率的准确性。In the embodiment of the present disclosure, when determining the corresponding feature value of at least one thermal imaging image, the fine extraction of the blood vessel part is realized through image processing, which effectively reduces the noise, improves the accuracy of the feature value, and further improves the accuracy of the final determination of the target heart rate. .
步骤S30、根据至少一个所述特征值对应热成像图像在时序上的位置确定温度变化信号。Step S30 , determining a temperature change signal according to a time-series position of at least one of the characteristic values corresponding to the thermal imaging image.
在一种可能的实现方式中,在确定至少一个热成像图像对应的特征值后,根据至少一个热成像图像在时序上的位置顺序,即采集时间顺序依次确定至少一个特征值的时序位置。进一步地,根据至少一个特征值和至少一个特征值的时序位置生成对应的温度变化信号。温度变化信号用于表征人体目标区域中的血管在预设时间区间内的温度变化情况,可以为根据至少一个热成像图像对应特征值绘制的连续曲线信号,或者多个特征值在时序上构成的离散信号。In a possible implementation manner, after the feature value corresponding to the at least one thermal imaging image is determined, the time-series position of the at least one feature value is sequentially determined according to the position sequence of the at least one thermal imaging image in time sequence, that is, the acquisition time sequence. Further, a corresponding temperature change signal is generated according to the at least one eigenvalue and the time series position of the at least one eigenvalue. The temperature change signal is used to characterize the temperature change of blood vessels in the target area of the human body within a preset time interval, and can be a continuous curve signal drawn according to at least one thermal imaging image corresponding to the eigenvalue, or a plurality of eigenvalues formed in time series discrete signal.
图4示出根据本公开实施例的一种温度变化信号的示意图。如图4所示,本公开实施例可以根据至少一个特征值和至少一个特征值的时序位置生成温度变化曲线40作为温度变化信号。其中,该温度变化曲线40的横坐标表征时间,纵坐标表征的特征值,该温度变化曲线40上的任意一点表征在对应时间人体目标区域内血管的温度特征。Fig. 4 shows a schematic diagram of a temperature change signal according to an embodiment of the disclosure. As shown in FIG. 4 , the embodiment of the present disclosure may generate a temperature change curve 40 as a temperature change signal according to at least one eigenvalue and the time-series position of the at least one eigenvalue. Wherein, the abscissa of the temperature change curve 40 represents the time, and the ordinate represents the characteristic value, and any point on the temperature change curve 40 represents the temperature characteristics of blood vessels in the target area of the human body at the corresponding time.
进一步地,在温度变化信号为连续曲线信号的情况下,为降低噪声影响温度变化信号的准确程度的可能性,在一种可能的实现方式中,确定温度变化信号的方式可以为根据至少一个特征值对应热成像图像在时序上的位置绘制候选变化曲线,再根据心率频带对候选变化曲线进行滤波,得到温度变化信号。所述心率频带根据人体的心率范围预先确定。也就是说,先根据至少一个特征值以及至少一个特征值的时序位置生成一个候选变化曲线,再基于人体可能的心率范围对候选变化曲线进行滤波,去除噪音得到准确的表征预设时间区间内人体温度变化情况的温度变化曲线作为温度变化信号。可选地,由于人的心率通常为50-160次每分钟,可以根据该心率范围确定对应的心率频带为5/6-8/3HZ。Further, in the case that the temperature change signal is a continuous curve signal, in order to reduce the possibility of noise affecting the accuracy of the temperature change signal, in a possible implementation, the method of determining the temperature change signal can be based on at least one characteristic The value corresponds to the position of the thermal imaging image in the time series to draw a candidate change curve, and then filter the candidate change curve according to the heart rate frequency band to obtain a temperature change signal. The heart rate frequency band is predetermined according to the heart rate range of the human body. That is to say, first generate a candidate change curve based on at least one eigenvalue and the time-series position of at least one eigenvalue, and then filter the candidate change curve based on the possible heart rate range of the human body to remove noise to obtain an accurate representation of the human body within the preset time interval The temperature change curve of the temperature change situation is used as a temperature change signal. Optionally, since a person's heart rate is usually 50-160 beats per minute, it can be determined according to the heart rate range that the corresponding heart rate frequency band is 5/6-8/3HZ.
步骤S40、根据所述温度变化信号确定目标心率。Step S40, determining the target heart rate according to the temperature change signal.
通常心脏舒张的情况下血液的温度偏高,心脏收缩的情况下血液的温度偏低。因此,人体血管内的温度会跟随心脏舒张和收缩产生变化,即每一次心脏跳动都会导致血管内温度发生波动,基于表征血管内温度变化情况的温度变化信号即可确定目标心率。也就是说,温度变化信号为基于血管温度变化与心脏跳动关系表征心脏跳动频率的连续信号或离散信号。Usually, the temperature of the blood is higher when the heart is diastolic, and the temperature of the blood is lower when the heart is systolic. Therefore, the temperature in the blood vessels of the human body will change with the diastole and contraction of the heart, that is, every heartbeat will cause the temperature in the blood vessels to fluctuate, and the target heart rate can be determined based on the temperature change signal that characterizes the temperature change in the blood vessels. That is to say, the temperature change signal is a continuous signal or a discrete signal that characterizes the beating frequency of the heart based on the relationship between the blood vessel temperature change and the beating heart.
在一种可能的实现方式中,目标心率表征热成像图像序列对应人体的心率,即被采集人体目标区域得到热成像图像序列的用户的心率。可选地,根据温度变化信号确定目标心率的方式可以为对温度变化信号进行傅里叶变换,并确定变换结果中对应幅值最高的频率为目标心率。即将温度变化信号由时域转换为频域,确定其中幅值最高的分量为目标心率,其他分量为噪声分量。In a possible implementation manner, the target heart rate represents the heart rate of the human body corresponding to the thermal imaging image sequence, that is, the heart rate of the user whose thermal imaging image sequence is obtained from the captured target area of the human body. Optionally, the manner of determining the target heart rate according to the temperature change signal may be to perform Fourier transform on the temperature change signal, and determine the frequency corresponding to the highest amplitude in the transformation result as the target heart rate. That is, the temperature change signal is converted from the time domain to the frequency domain, and the component with the highest amplitude is determined as the target heart rate, and the other components are noise components.
图5示出根据本公开实施例的一种确定目标心率过程的示意图。如图5所示,本公开实施例在预设时间周期内对用户身上的目标区域进行热成像图像采集,得到按时间顺序排列的N个热成像图像组成的热成像图像序列50。对于热成像图像序列50中包括的至少一个热成像图像51,分别截取其中表征用户血管所在区域温度分布的区域,得到血管区域图像52。通过对血管区域图像52进行图像处理,提取仅包括其中血管所在位置温度分布情况的兴趣区域图像53,并根据至少一个兴趣区域图像53中的至少一个像素值计算特征值54。Fig. 5 shows a schematic diagram of a process of determining a target heart rate according to an embodiment of the present disclosure. As shown in FIG. 5 , the embodiment of the present disclosure collects thermal imaging images of target areas on the user's body within a preset time period, and obtains a thermal imaging image sequence 50 composed of N thermal imaging images arranged in chronological order. For at least one thermal imaging image 51 included in the thermal imaging image sequence 50 , the region representing the temperature distribution of the region where the user's blood vessel is located is respectively intercepted to obtain the blood vessel region image 52 . By performing image processing on the blood vessel region image 52 , an ROI image 53 including only the temperature distribution of the blood vessel is extracted, and a feature value 54 is calculated according to at least one pixel value in at least one ROI image 53 .
进一步地,根据至少一个热成像图像51在热成像图像序列50中的排列顺序,以及其对应的特征值54绘制候选变化曲线55。为保证候选变化曲线55的真实性以及准确性,根据人体可能的心率范围确定心率频带,对候选变化曲线55滤波后去除其他噪声得到准确性较高的温度变化信号56。可选地,可以通过傅里叶变换的方式将温度变化信号56由时域转换至频域得到变换结果57。其中,变化结果57包括多个组成温度变化信号56的分量,确定其中幅值最高的分量对应的频率为目标心率58,即采集热成像图像51的用户心率。Further, a candidate variation curve 55 is drawn according to the arrangement order of the at least one thermal imaging image 51 in the thermal imaging image sequence 50 and its corresponding feature value 54 . In order to ensure the authenticity and accuracy of the candidate change curve 55, the heart rate frequency band is determined according to the possible heart rate range of the human body, and the candidate change curve 55 is filtered to remove other noises to obtain a temperature change signal 56 with high accuracy. Optionally, the temperature change signal 56 can be converted from the time domain to the frequency domain by way of Fourier transform to obtain the transformation result 57 . Wherein, the change result 57 includes multiple components constituting the temperature change signal 56 , and the frequency corresponding to the component with the highest amplitude is determined as the target heart rate 58 , that is, the user's heart rate for capturing the thermal imaging image 51 .
本公开实施例可以采集人体热成像图像,并基于人体血管温度随着心脏舒张和收缩变化的特性,根据多张人体热成像图像中血管的温度变化确定心率,实现非接触式测量心率。同时,仅通过热成像图像采集装置即可采集人体热成像图像,再传输至其他任意能够进行图像及信号处理的电子设备进行心率测量,造价低、普适性好且便携性高。The embodiment of the present disclosure can collect human body thermal imaging images, and based on the characteristic that the temperature of human blood vessels varies with the diastole and contraction of the heart, determine the heart rate according to the temperature changes of blood vessels in multiple human body thermal imaging images, so as to realize non-contact heart rate measurement. At the same time, the thermal imaging image of the human body can be collected only through the thermal imaging image acquisition device, and then transmitted to any other electronic equipment capable of image and signal processing for heart rate measurement, which is low in cost, good in universality and high in portability.
进一步地,本公开实施例在确定至少一个热成像图像对应特征值时,通过图像处理实现对血管部分的精细提取,有效的减少了噪声,提升了特征值的准确度,进一步提升最终确定目标心率的准确性。Further, in the embodiment of the present disclosure, when determining the corresponding feature value of at least one thermal imaging image, the fine extraction of the blood vessel part is realized through image processing, which effectively reduces the noise, improves the accuracy of the feature value, and further improves the final determination of the target heart rate. accuracy.
可以理解,本公开提及的上述至少一个个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例,限于篇幅,本公开不再赘述。本领域技术人员可以理解,在具体实施方式的上述方法中,至少一个步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。It can be understood that at least one of the above method embodiments mentioned in this disclosure can be combined with each other to form a combined embodiment without violating the principle and logic. Due to space limitations, this disclosure will not repeat them. Those skilled in the art can understand that, in the above-mentioned method in the specific implementation manner, the specific execution order of at least one step should be determined by its function and possible internal logic.
此外,本公开还提供了心率检测装置、电子设备、计算机可读存储介质、程序,上述均可用来实现本公开提供的任一种心率检测方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。In addition, the present disclosure also provides a heart rate detection device, electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any heart rate detection method provided in the present disclosure. For the corresponding technical solutions and descriptions, refer to the corresponding records in the method section ,No longer.
图6示出根据本公开实施例的一种心率检测装置的示意图,如图6所示,所述装置包括:Fig. 6 shows a schematic diagram of a heart rate detection device according to an embodiment of the present disclosure. As shown in Fig. 6, the device includes:
序列确定模块60,用于确定热成像图像序列,所述热成像图像序列中包括在预设时间区间内依次采集的多张热成像图像,所述热成像图像用于表征人体目标区域的温度分 布;A sequence determination module 60, configured to determine a sequence of thermal imaging images, the sequence of thermal imaging images includes multiple thermal imaging images sequentially collected within a preset time interval, and the thermal imaging images are used to characterize the temperature distribution of the target area of the human body ;
温度提取模块61,用于确定至少一个所述热成像图像对应的特征值,所述特征值用于表征所述人体目标区域中的血管温度;A temperature extraction module 61, configured to determine at least one feature value corresponding to the thermal imaging image, where the feature value is used to characterize the blood vessel temperature in the target area of the human body;
信号确定模块62,用于根据至少一个所述特征值对应热成像图像在时序上的位置确定温度变化信号,所述温度变化信号用于表征所述人体目标区域中的血管在预设时间区间内的温度变化情况预设时间区间;A signal determining module 62, configured to determine a temperature change signal according to the time series position of at least one of the characteristic values corresponding to the thermal imaging image, and the temperature change signal is used to characterize the blood vessels in the target area of the human body within a preset time interval The preset time interval for temperature changes;
心率确定模块63,用于根据所述温度变化信号确定目标心率,所述目标心率表征所述热成像图像序列对应人体的心率。The heart rate determination module 63 is configured to determine a target heart rate according to the temperature change signal, and the target heart rate represents the heart rate of the human body corresponding to the thermal imaging image sequence.
在一种可能的实现方式中,所述温度提取模块包括:In a possible implementation manner, the temperature extraction module includes:
图像确定子模块,用于确定至少一个所述热成像图像对应的兴趣区域图像,所述兴趣区域图像用于表征所述人体目标区域中血管的温度分布;An image determining submodule, configured to determine at least one region-of-interest image corresponding to the thermal imaging image, where the region-of-interest image is used to characterize the temperature distribution of blood vessels in the target region of the human body;
特征值确定子模块,用于根据至少一个所述兴趣区域图像的像素值确定对应热成像图像的特征值。The feature value determining submodule is configured to determine the feature value of the corresponding thermal imaging image according to the pixel value of at least one image of the region of interest.
在一种可能的实现方式中,所述图像确定子模块包括:In a possible implementation manner, the image determination submodule includes:
图像确定单元,用于确定至少一个所述热成像图像中的血管区域图像,所述血管区域图像为所述热成像图像中血管所在区域的图像;An image determining unit, configured to determine at least one blood vessel region image in the thermal imaging image, where the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image;
图像处理单元,用于根据预设的图像处理策略对所述血管区域图像进行图像处理,得到兴趣区域图像。The image processing unit is configured to perform image processing on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest.
在一种可能的实现方式中,所述图像处理单元包括:In a possible implementation manner, the image processing unit includes:
第一图像处理子单元,用于对所述血管区域图像进行至少包括顶帽运算和自适应二值化两种操作的图像处理,得到兴趣区域图像。The first image processing subunit is configured to perform image processing on the image of the blood vessel region at least including two operations of top-hat operation and adaptive binarization to obtain an image of the region of interest.
在一种可能的实现方式中,所述图像处理单元包括:In a possible implementation manner, the image processing unit includes:
第二图像处理子单元,用于依次对所述血管区域图像进行至少一个向异性滤波、顶帽运算、自适应二值化和骨架提取,得到兴趣区域图像。The second image processing subunit is configured to sequentially perform at least one anisotropic filter, top-hat operation, adaptive binarization and skeleton extraction on the image of the blood vessel region to obtain the image of the region of interest.
在一种可能的实现方式中,所述信号确定模块包括;In a possible implementation manner, the signal determination module includes;
曲线绘制子模块,用于根据至少一个所述特征值对应热成像图像在时序上的位置绘制候选变化曲线;The curve drawing submodule is used to draw a candidate change curve according to the position of at least one of the characteristic values corresponding to the thermal imaging image in time series;
滤波子模块,用于根据心率频带对所述候选变化曲线进行滤波,得到温度变化信号,所述心率频带根据人体的心率范围预先确定。The filtering sub-module is configured to filter the candidate change curves according to the heart rate frequency band, which is predetermined according to the heart rate range of the human body, to obtain the temperature change signal.
在一种可能的实现方式中,所述心率确定模块包括:In a possible implementation manner, the heart rate determination module includes:
时频转换子模块,用于对所述温度变化信号进行傅里叶变换,并确定变换结果中对应幅值最高的频率为目标心率。The time-frequency conversion sub-module is used to perform Fourier transformation on the temperature change signal, and determine the frequency with the highest corresponding amplitude in the transformation result as the target heart rate.
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the method embodiments above, and its specific implementation can refer to the description of the method embodiments above. For brevity, here No longer.
本公开实施例还提出一种计算机可读存储介质,其上存储有计算机程序指令,所述 计算机程序指令被处理器执行时实现上述方法。计算机可读存储介质可以是易失性或非易失性计算机可读存储介质。Embodiments of the present disclosure also provide a computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor. Computer readable storage media may be volatile or nonvolatile computer readable storage media.
本公开实施例还提出一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。An embodiment of the present disclosure also proposes an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
本公开实施例还提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述方法。An embodiment of the present disclosure also provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
电子设备可以被提供为终端、服务器或其它形态的设备。Electronic devices may be provided as terminals, servers, or other forms of devices.
图7示出根据本公开实施例的一种电子设备700的框图。例如,电子设备700可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等终端。FIG. 7 shows a block diagram of an electronic device 700 according to an embodiment of the present disclosure. For example, the electronic device 700 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.
参照图7,电子设备700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。7, electronic device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input/output (I/O) interface 712, sensor component 714 , and the communication component 716.
处理组件702通常控制电子设备700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理组件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。The processing component 702 generally controls the overall operations of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702 .
存储器704被配置为存储各种类型的数据以支持在电子设备700的操作。这些数据的示例包括用于在电子设备700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 704 is configured to store various types of data to support operations at the electronic device 700 . Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and the like. The memory 704 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件706为电子设备700的各种组件提供电力。电源组件706可以包括电源管理系统,一个或多个电源,及其他与为电子设备700生成、管理和分配电力相关联的组件。The power supply component 706 provides power to various components of the electronic device 700 . Power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 700 .
多媒体组件708包括在所述电子设备700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当电子设备700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 708 includes a screen providing an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 708 includes a front camera and/or a rear camera. When the electronic device 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当电子设备700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 700 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 704 or sent via communication component 716 . In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件714包括一个或多个传感器,用于为电子设备700提供各个方面的状态评估。例如,传感器组件714可以检测到电子设备700的打开/关闭状态,组件的相对定位,例如所述组件为电子设备700的显示器和小键盘,传感器组件714还可以检测电子设备700或电子设备700一个组件的位置改变,用户与电子设备700接触的存在或不存在,电子设备700方位或加速/减速和电子设备700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如互补金属氧化物半导体(CMOS)或电荷耦合装置(CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 714 includes one or more sensors for providing status assessments of various aspects of electronic device 700 . For example, the sensor component 714 can detect the open/closed state of the electronic device 700, the relative positioning of components, such as the display and the keypad of the electronic device 700, the sensor component 714 can also detect the electronic device 700 or one of the electronic device 700 The position of components changes, the presence or absence of user contact with the electronic device 700 , the orientation or acceleration/deceleration of the electronic device 700 and the temperature change of the electronic device 700 . Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 714 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件716被配置为便于电子设备700和其他设备之间有线或无线方式的通信。电子设备700可以接入基于通信标准的无线网络,如无线网络(WiFi),第二代移动通信技术(2G)或第三代移动通信技术(3G),或它们的组合。在一个示例性实施例中,通信组件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器704,上述计算机程序指令可由电子设备700的处理器720执行以完成上述方法。In an exemplary embodiment, there is also provided a non-volatile computer-readable storage medium, such as the memory 704 including computer program instructions, which can be executed by the processor 720 of the electronic device 700 to implement the above method.
图8示出根据本公开实施例的一种电子设备800的框图。例如,电子设备800可以被提供为一服务器。参照图8,电子设备800包括处理组件822,其进一步包括一个或多个处理器,以及由存储器832所代表的存储器资源,用于存储可由处理组件822的执行的指令,例如应用程序。存储器832中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件822被配置为执行指令,以执行上述方法。FIG. 8 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure. For example, the electronic device 800 may be provided as a server. Referring to FIG. 8 , electronic device 800 includes processing component 822 , which further includes one or more processors, and a memory resource represented by memory 832 for storing instructions executable by processing component 822 , such as application programs. The application program stored in memory 832 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 822 is configured to execute instructions to perform the above method.
电子设备800还可以包括一个电源组件826被配置为执行电子设备800的电源管理,一个有线或无线网络接口850被配置为将电子设备800连接到网络,和一个输入输出(I/O)接口858。电子设备800可以操作基于存储在存储器832的操作系统,例如微软服务器操作系统(Windows ServerTM),苹果公司推出的基于图形用户界面操作系统(Mac OS X TM),多用户多进程的计算机操作系统(Unix TM),自由和开放原代码的类Unix操作系统(Linux TM),开放原代码的类Unix操作系统(FreeBSD TM)或类似。 Electronic device 800 may also include a power supply component 826 configured to perform power management of electronic device 800, a wired or wireless network interface 850 configured to connect electronic device 800 to a network, and an input-output (I/O) interface 858 . The electronic device 800 can operate based on the operating system stored in the memory 832, such as the Microsoft server operating system (Windows ServerTM), the graphical user interface-based operating system (Mac OS XTM ) introduced by Apple Inc., the multi-user and multi-process computer operating system ( Unix ), a free and open-source Unix-like operating system (Linux ), an open-source Unix-like operating system (FreeBSD ), or the like.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器832,上述计算机程序指令可由电子设备800的处理组件822执行以完成上述方法。In an exemplary embodiment, there is also provided a non-volatile computer-readable storage medium, such as a memory 832 including computer program instructions, which can be executed by the processing component 822 of the electronic device 800 to implement the above method.
本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。The present disclosure can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是(但不限于)电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用 计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect). In some embodiments, an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), can be customized by utilizing state information of computer-readable program instructions, which can Various aspects of the present disclosure are implemented by executing computer readable program instructions.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically realized by means of hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. wait.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present disclosure above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or improvement of technology in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.

Claims (11)

  1. 一种心率检测方法,其特征在于,所述方法包括:A heart rate detection method, characterized in that the method comprises:
    确定热成像图像序列,所述热成像图像序列中包括在预设时间区间内依次采集的多张热成像图像,所述热成像图像用于表征人体目标区域的温度分布;Determining a sequence of thermal imaging images, the sequence of thermal imaging images includes a plurality of thermal imaging images sequentially collected within a preset time interval, and the thermal imaging images are used to characterize the temperature distribution of the target area of the human body;
    确定至少一个所述热成像图像对应的特征值,所述特征值用于表征所述人体目标区域中的血管温度;determining at least one eigenvalue corresponding to the thermal imaging image, the eigenvalue being used to characterize the blood vessel temperature in the target area of the human body;
    根据至少一个所述特征值对应热成像图像在时序上的位置确定温度变化信号,所述温度变化信号用于表征所述人体目标区域中的血管在预设时间区间内的温度变化情况;Determining a temperature change signal according to a time-series position of the thermal imaging image corresponding to at least one of the characteristic values, the temperature change signal being used to characterize the temperature change of blood vessels in the target area of the human body within a preset time interval;
    根据所述温度变化信号确定目标心率,所述目标心率表征所述热成像图像序列对应人体的心率。A target heart rate is determined according to the temperature change signal, and the target heart rate represents the heart rate of the human body corresponding to the sequence of thermal imaging images.
  2. 根据权利要求1所述的方法,其特征在于,所述确定至少一个所述热成像图像对应的特征值包括:The method according to claim 1, wherein said determining at least one characteristic value corresponding to said thermal imaging image comprises:
    确定至少一个所述热成像图像对应的兴趣区域图像,所述兴趣区域图像用于表征所述人体目标区域中血管的温度分布;determining at least one region-of-interest image corresponding to the thermal imaging image, where the region-of-interest image is used to characterize the temperature distribution of blood vessels in the target region of the human body;
    根据至少一个所述兴趣区域图像的像素值确定对应热成像图像的特征值。A feature value of a corresponding thermal imaging image is determined according to pixel values of at least one image of the region of interest.
  3. 根据权利要求2所述的方法,其特征在于,所述确定至少一个所述热成像图像对应的兴趣区域图像包括:The method according to claim 2, wherein said determining at least one ROI image corresponding to said thermal imaging image comprises:
    确定至少一个所述热成像图像中的血管区域图像,所述血管区域图像为所述热成像图像中血管所在区域的图像;Determining at least one blood vessel region image in the thermal imaging image, where the blood vessel region image is an image of a region where blood vessels are located in the thermal imaging image;
    根据预设的图像处理策略对所述血管区域图像进行图像处理,得到兴趣区域图像。Image processing is performed on the image of the blood vessel region according to a preset image processing strategy to obtain an image of the region of interest.
  4. 根据权利要求3所述的方法,其特征在于,所述根据预设的图像处理策略对所述血管区域图像进行图像处理,得到兴趣区域图像包括:The method according to claim 3, wherein the image processing of the blood vessel region image according to a preset image processing strategy to obtain the region of interest image comprises:
    对所述血管区域图像进行至少包括顶帽运算和自适应二值化两种操作的图像处理,得到兴趣区域图像。Performing image processing on the image of the blood vessel region at least including two operations of top-hat operation and adaptive binarization to obtain an image of the region of interest.
  5. 根据权利要求3或4所述的方法,其特征在于,所述根据预设的图像处理策略对所述血管区域图像进行图像处理,得到兴趣区域图像包括:The method according to claim 3 or 4, wherein the image processing of the blood vessel region image according to a preset image processing strategy to obtain the region of interest image comprises:
    依次对所述血管区域图像进行至少一个向异性滤波、顶帽运算、自适应二值化和骨架提取,得到兴趣区域图像。Performing at least one anisotropic filter, top-hat operation, adaptive binarization and skeleton extraction on the image of the blood vessel region in sequence to obtain the image of the region of interest.
  6. 根据权利要求1-5中任意一项所述的方法,其特征在于,所述根据至少一个所述特征值对应热成像图像在时序上的位置确定温度变化信号包括;The method according to any one of claims 1-5, wherein the determining the temperature change signal according to the time series position of at least one of the characteristic values corresponding to the thermal imaging image comprises;
    根据至少一个所述特征值对应热成像图像在时序上的位置绘制候选变化曲线;Draw a candidate change curve according to the position of at least one of the characteristic values corresponding to the thermal imaging image in time series;
    根据心率频带对所述候选变化曲线进行滤波,得到温度变化信号,所述心率频带根据人体的心率范围预先确定。The candidate change curve is filtered according to the heart rate frequency band, which is predetermined according to the heart rate range of the human body, to obtain the temperature change signal.
  7. 根据权利要求1-6中任意一项所述的方法,其特征在于,所述根据所述温度变化信号确定目标心率包括:The method according to any one of claims 1-6, wherein the determining the target heart rate according to the temperature change signal comprises:
    对所述温度变化信号进行傅里叶变换,并确定变换结果中对应幅值最高的频率为目标心率。Perform Fourier transform on the temperature change signal, and determine the frequency corresponding to the highest amplitude in the transform result as the target heart rate.
  8. 一种心率检测装置,其特征在于,所述装置包括:A heart rate detection device, characterized in that the device comprises:
    序列确定模块,用于确定热成像图像序列,所述热成像图像序列中包括在预设时间区间内依次采集的多张热成像图像,所述热成像图像用于表征人体目标区域的温度分布;A sequence determination module, configured to determine a sequence of thermal imaging images, the sequence of thermal imaging images includes multiple thermal imaging images sequentially collected within a preset time interval, and the thermal imaging images are used to characterize the temperature distribution of the target area of the human body;
    温度提取模块,用于确定至少一个所述热成像图像对应的特征值,所述特征值用于表征所述人体目标区域中的血管温度;A temperature extraction module, configured to determine at least one feature value corresponding to the thermal imaging image, where the feature value is used to characterize the blood vessel temperature in the target area of the human body;
    信号确定模块,用于根据至少一个所述特征值对应热成像图像在时序上的位置确定温度变化信号,所述温度变化信号用于表征所述人体目标区域中的血管在预设时间区间内的温度变化情况预设时间区间;A signal determination module, configured to determine a temperature change signal according to the time series position of at least one of the characteristic values corresponding to the thermal imaging image, and the temperature change signal is used to characterize the blood vessel in the target area of the human body within a preset time interval Preset time interval for temperature changes;
    心率确定模块,用于根据所述温度变化信号确定目标心率,所述目标心率表征所述热成像图像序列对应人体的心率。The heart rate determination module is configured to determine a target heart rate according to the temperature change signal, and the target heart rate represents the heart rate of the human body corresponding to the thermal imaging image sequence.
  9. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    处理器;processor;
    用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
    其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至7中任意一项所述的方法。Wherein, the processor is configured to invoke instructions stored in the memory to execute the method according to any one of claims 1-7.
  10. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至7中任意一项所述的方法。A computer-readable storage medium, on which computer program instructions are stored, wherein, when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
  11. 一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行用于实现权利要求1至7中任意一项所述的方法。A computer program product, comprising computer readable codes, or a non-volatile computer readable storage medium bearing computer readable codes, when the computer readable codes are run in a processor of an electronic device, the electronic The processor in the device executes the method for realizing any one of claims 1-7.
PCT/CN2022/113619 2021-10-15 2022-08-19 Heart rate measurement method and apparatus, and electronic device and storage medium WO2023061042A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111204042.3A CN114140616A (en) 2021-10-15 2021-10-15 Heart rate detection method and device, electronic equipment and storage medium
CN202111204042.3 2021-10-15

Publications (1)

Publication Number Publication Date
WO2023061042A1 true WO2023061042A1 (en) 2023-04-20

Family

ID=80395100

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/113619 WO2023061042A1 (en) 2021-10-15 2022-08-19 Heart rate measurement method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN114140616A (en)
WO (1) WO2023061042A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114140616A (en) * 2021-10-15 2022-03-04 深圳市商汤科技有限公司 Heart rate detection method and device, electronic equipment and storage medium
CN115005782A (en) * 2022-06-06 2022-09-06 杭州新瀚光电科技有限公司 Human health assessment method, system, terminal device and storage medium
CN115690400B (en) * 2022-11-02 2024-01-23 北京鹰之眼智能健康科技有限公司 Infrared image display method
CN115985469B (en) * 2023-03-20 2023-05-26 武汉光盾科技有限公司 Data processing method and device based on laser physiotherapy bracelet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104055498A (en) * 2014-04-30 2014-09-24 首都医科大学 Non-contact human respiration and heart beat signal detection method based on infrared sequence image
CN112396011A (en) * 2020-11-24 2021-02-23 华南理工大学 Face recognition system based on video image heart rate detection and living body detection
CN114140616A (en) * 2021-10-15 2022-03-04 深圳市商汤科技有限公司 Heart rate detection method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104055498A (en) * 2014-04-30 2014-09-24 首都医科大学 Non-contact human respiration and heart beat signal detection method based on infrared sequence image
CN112396011A (en) * 2020-11-24 2021-02-23 华南理工大学 Face recognition system based on video image heart rate detection and living body detection
CN114140616A (en) * 2021-10-15 2022-03-04 深圳市商汤科技有限公司 Heart rate detection method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
M. GARBEY ; NANFEI SUN ; A. MERLA ; I. PAVLIDIS: "Contact-Free Measurement of Cardiac Pulse Based on the Analysis of Thermal Imagery", IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, vol. 47, no. 8, 1 August 2007 (2007-08-01), USA, pages 1418 - 1426, XP011187419, ISSN: 0018-9294 *

Also Published As

Publication number Publication date
CN114140616A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
WO2023061042A1 (en) Heart rate measurement method and apparatus, and electronic device and storage medium
WO2023061028A1 (en) Respiratory rate measurement method and apparatus, electronic device, and storage medium
US20190114445A1 (en) Method and device for displaying notification information
CN110352035B (en) Venipuncture and arterial line guidance via signal change amplification
CN107025419B (en) Fingerprint template inputting method and device
CN107692997B (en) Heart rate detection method and device
WO2018000766A1 (en) Fingerprint identification apparatus and method
WO2017215224A1 (en) Fingerprint input prompting method and apparatus
WO2018133387A1 (en) Fingerprint identification method and device
TW202109358A (en) Method for living body detection, electronic equipment and storage medium thereof
CN108848257B (en) Method and device for controlling vibration of terminal
JP6391708B2 (en) Method and apparatus for acquiring iris image, and iris identification device
CN105631803B (en) The method and apparatus of filter processing
WO2020103353A1 (en) Multi-beam selection method and device
WO2021169136A1 (en) Image processing method and apparatus, and electronic device and storage medium
RU2683979C2 (en) Method and device for detecting pressure
JP6142664B2 (en) Pulse wave detection device, pulse wave detection program, pulse wave detection method, and content evaluation system
WO2017140108A1 (en) Pressure detection method and apparatus
WO2022242046A1 (en) Method and apparatus for presenting medical image, and electronic device, storage medium and computer program
WO2023040202A1 (en) Face recognition method and apparatus, electronic device, and storage medium
CN110555336A (en) Fingerprint acquisition method and device, electronic equipment and storage medium
WO2023273498A1 (en) Depth detection method and apparatus, electronic device, and storage medium
WO2023273499A1 (en) Depth measurement method and apparatus, electronic device, and storage medium
WO2021259394A2 (en) Image processing method and apparatus, and electronic device and storage medium
CN113592733A (en) Image processing method, image processing device, storage medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22879989

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE