Capillary refill time measurement method, device, medium and equipment

By decomposing the image channels and calculating the mean value in the capillary refill time detection method, the moment of compression relief and filling recovery is determined, which solves the problem of inaccurate CRT measurement in the traditional method and achieves higher accuracy and versatility.

CN118557167BActive Publication Date: 2024-10-25GUANGZHOU MEDSOFT SYST LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411046769.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-25
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

The traditional capillary refill time (CRT) detection method based on standard HSV images does not have high accuracy and versatility when measured in different environments and user groups, and it is difficult to obtain accurate CRT duration.

Method used

By obtaining the first image sequence of the subject, perform channel decomposition to obtain the second image sequence of G channel data, calculate the channel mean value of the detection area of ​​each frame image, compare the channel mean change rate of adjacent frame images, and determine the compression relief moment and Filling recovery times based on which CRT is calculated.

Benefits of technology

It improves the measurement accuracy and versatility of capillary refill time, and can obtain more accurate CRT duration in different environments and user groups.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118557167B_ABST
    Figure CN118557167B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, medium and equipment for measuring capillary refill time, which belongs to the field of image processing technology. The method includes: obtaining a first image sequence taken by the subject during the measurement; performing channel decomposition on the first image sequence to obtain a second image sequence containing G channel data; calculating the channel mean of the detection area of ​​each frame of the second image in the second image sequence; comparing whether the rate of change of the channel mean of the adjacent multiple frames of the second image exceeds the first speed threshold; determining the compression release moment corresponding to the capillary refill time in the second image sequence according to the comparison result; determining the filling recovery moment corresponding to the second image when the channel mean after the compression release moment is below the second mean threshold; determining the capillary refill time CRT based on the compression release moment and the filling recovery moment. The present application can improve the accuracy of CRT measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method, device, medium and equipment for measuring capillary refill time. Background Art

[0002] Capillary refill time (CRT) refers to the time it takes from the removal of pressure to the refilling of capillaries, when the skin or mucous membrane on the superficial part of the human body is pressed, the blood flow is temporarily blocked and the pressed area appears pale. After the pressure is removed, the capillaries can be quickly filled.

[0003] CRT is the most intuitive monitoring indicator of peripheral blood flow status. Accurately measuring the duration of CRT is of great reference significance for analyzing the user's health status. The normal range of CRT in adults is still controversial. Most studies have pointed out that CRT < 2 seconds is considered normal. Most children and young people have a CRT of less than 2 seconds, but the CRT of healthy women is 2.9 seconds and the CRT of the elderly is 4.5 seconds. The normal CRT of children may be between 2-3 seconds, and the normal CRT of newborns may be as long as 3 seconds.

[0004] The traditional image-based CRT detection method usually sets a standard HSV image first, which is used to measure the user's pressing moment and recovery moment during the CRT detection process; then, by comparing the similarity between the HSV image formed at each moment and the standard HSV image, the pressing moment and recovery moment in the actual measurement process are determined based on the similarity, thereby calculating the CRT duration.

[0005] However, due to different external environments and differences in users' age and skin color, CRT duration measurement based on standard HSV images does not have good universality, and it is difficult to obtain relatively accurate measurement values ​​for all users in different environments. Summary of the invention

[0006] Based on this, the purpose of the present application is to provide a capillary refill time measurement method, device, medium and equipment to improve the accuracy and versatility of CRT duration measurement.

[0007] In a first aspect of the present application, a method for measuring capillary refill time is provided, the method comprising:

[0008] Acquire a first image sequence of the object being measured taken during the measurement period;

[0009] Perform channel decomposition on the first image sequence to obtain a second image sequence containing G channel data;

[0010] Calculating a channel mean of a detection area of ​​each frame of the second image in the second image sequence;

[0011] Comparing whether the change rate of the channel mean of the adjacent multiple frames of the second image exceeds the first speed threshold;

[0012] Determining the compression release time corresponding to the capillary refill time in the second image sequence according to the comparison result;

[0013] Determine the filling recovery moment corresponding to the second image when the channel mean after the compression is released is below the second mean threshold;

[0014] The capillary refill time CRT is determined based on the compression release time and the filling recovery time.

[0015] In one embodiment, performing channel decomposition on the first image sequence to obtain a second image sequence containing G channel data includes: decomposing a G channel image sequence from the first image sequence, and using the G channel image sequence as the second image sequence.

[0016] In one embodiment, the channel decomposition is performed on the first image sequence to obtain a second image sequence containing G channel data, and further includes: decomposing a G channel image sequence and an R channel image sequence from the first image sequence; performing a difference process on the R channel image sequence and the G channel image sequence, and using the image sequence after the difference process as the second image sequence.

[0017] In one embodiment, comparing whether the rate of change of the channel mean values ​​of the adjacent multiple frames of the second image exceeds the first speed threshold includes: comparing whether the difference of the channel mean values ​​of two adjacent frames of the second image exceeds the first difference threshold.

[0018] In one embodiment, the comparing of whether the rate of change of the channel means of the adjacent multiple frames of second images exceeds the first speed threshold further includes: based on the fact that the difference of the channel means of the two adjacent frames of second images exceeds the first difference threshold, taking the two adjacent frames of second images as a reference, obtaining a first number of second images preceding the two adjacent frames of second images and a second number of second images following the two adjacent frames of second images; calculating whether the difference between the sum of the channel means of the first number of second images and the sum of the channel means of the second number of second images exceeds the second difference threshold.

[0019] In one embodiment, the calculating the channel mean of the detection area of ​​each frame of the second image in the second image sequence includes:

[0020] Identify a subject area and a background area from the first image sequence and / or the second image sequence;

[0021] Determining the detection area based on the channel value distribution of the detected object area in the second image sequence;

[0022] Calculate the channel mean of the detection area of ​​each frame of the second image.

[0023] In one of the embodiments, before determining the detection area based on the channel value distribution of the detected object area in the second image sequence, the method further includes: acquiring a placement area of ​​the detected object on the pressing portion;

[0024] The determining the detection area based on the channel value distribution of the detected object area in the second image sequence includes: determining the detection area according to the channel value distribution and the placement area.

[0025] In one of the embodiments, the method further includes: obtaining the current ambient temperature and the skin color of the object being measured; and determining the second mean threshold and / or the first speed threshold based on the ambient temperature and the skin color of the object being measured.

[0026] In one embodiment, the method further comprises: acquiring a set of detection data measured by laser during the measurement of the measured object; determining a compression release reference time and a filling recovery reference time from the detection data set;

[0027] Determining the compression release time corresponding to the capillary refill time in the second image sequence according to the comparison result includes: determining the compression release time in combination with the compression release reference time and the comparison result;

[0028] The method of determining the filling recovery time corresponding to the second image when the channel mean after the compression is released is below the second mean threshold includes: determining the filling recovery time corresponding to the second image when the channel mean after the compression is released is below the second mean threshold in combination with the filling recovery reference time.

[0029] In a second aspect of the present application, a capillary refill time measuring device is provided, the device comprising:

[0030] An image capturing module, used for acquiring a first image sequence captured during the measurement of the object under test;

[0031] An image decomposition module, used for performing channel decomposition on the first image sequence to obtain a second image sequence containing G channel data;

[0032] A mean value calculation module, used for calculating the channel mean value of the detection area of ​​each frame of the second image in the second image sequence;

[0033] A compression release time determination module is used to compare whether the change rate of the channel mean of adjacent multiple frames of the second image exceeds a first speed threshold; and determine the compression release time corresponding to the capillary refill time in the second image sequence according to the comparison result;

[0034] A filling recovery time determination module, used to determine the filling recovery time corresponding to the second image when the channel mean is below the second mean threshold after the compression is released;

[0035] A CRT calculation module is used to determine the capillary refill time CRT based on the compression release time and the filling recovery time.

[0036] In a third aspect of the present application, a computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the processor executes the method described in any embodiment of the present application.

[0037] In a fourth aspect of the present application, an electronic device is provided, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the method described in any embodiment of the present application.

[0038] The capillary refill time measurement method, device, medium and equipment in the present application calculate the change rate of the channel mean of the detection area in the second image based on the second image sequence containing G channel data. According to the change rate and the size of the first speed threshold, the compression release moment of the subject can be accurately determined, and then according to the size of the channel mean under the second image and the second mean threshold, the filling recovery moment of the subject can be accurately determined, and then the capillary refill time CRT of the subject can be accurately determined, thereby improving the accuracy of the capillary refill time CRT measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope of the present application.

[0040] Figure 1 is a schematic flow chart of a method for measuring capillary refill time in one embodiment;

[0041] Figure 2 is a reference schematic diagram of a first image at a certain moment in an embodiment;

[0042] Figure 3is a reference schematic diagram of a first image at a certain moment in another embodiment;

[0043] Figure 4 is a reference schematic diagram of a first image at a certain moment in yet another embodiment;

[0044] Figure 5 is a reference schematic diagram of a first image at a certain moment in yet another embodiment;

[0045] Figure 6 is a reference schematic diagram of a second image at a certain moment in an embodiment;

[0046] Figure 7 is a reference schematic diagram of a second image at a certain moment in another embodiment;

[0047] Figure 8 is a reference schematic diagram of a second image at a certain moment in yet another embodiment;

[0048] Fig. 9 is a reference schematic diagram of a second image at a certain moment in yet another embodiment;

[0049] Fig.10 A curve graph formed by channel averages at multiple moments in one embodiment;

[0050] Fig.11 In one embodiment Fig.10 The enlarged curve diagram of the local moment of the channel mean in ;

[0051] Fig.12 A schematic diagram of a flow chart of calculating a channel mean of a detection area of ​​each frame of a second image in a second image sequence in one embodiment;

[0052] Fig.13 A schematic diagram of a CRT waveform formed by laser measurement in one embodiment;

[0053] Fig.14 A schematic diagram of a flow chart of a method for measuring capillary refill time in another embodiment;

[0054] Fig.15 is a structural block diagram of a capillary refill time measuring device in one embodiment;

[0055] Fig.16 is a structural block diagram of a capillary refill time measuring device in another embodiment;

[0056] Fig.17 It is a structural block diagram of a capillary refill time measuring device in yet another embodiment;

[0057] Fig.18FIG. 4 is a structural block diagram of an electronic device in an embodiment. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0059] All terms (including technical and scientific terms) used in this application have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used here should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0060] For example, the terms "first", "second", etc. used in this application may be used in this document to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.

[0061] For another example, the terms “include”, “comprising”, etc. used in this application indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0062] In one embodiment, Figure 1 As shown, a method for measuring capillary refill time is provided, the method comprising:

[0063] Step 102: Acquire a first image sequence of the object being measured during measurement.

[0064] In this embodiment, the object to be measured may be a finger, toe or any other part suitable for CRT detection of a user who needs to undergo CRT detection. During the measurement, the object to be measured is continuously photographed by calling the camera module according to a preset shooting frequency to form a first image sequence. The shooting frequency may be any suitable value such as 5 times per second, 10 times, 20 times, 50 times, 100 times, 200 times, etc. The duration of continuous shooting is usually greater than the maximum duration of the CRT of an average user, such as any suitable duration such as half a minute, 1 minute, 10 minutes, 15 minutes, 20 minutes, 30 minutes, etc.

[0065] The measurement period includes various stages of the subject before compression, during compression, and when compression is released until the capillaries are fully filled again. Before compression, the capillaries of the subject are in a fully filled state; during compression, the capillaries of the subject are in a compressed state; after compression is released, the capillaries of the subject are in a transition from a filled recovery state to a fully restored filling state. During the measurement period, in addition to CRT detection, other measurements can be performed on the user, such as pulse measurement of the user, which can be performed simultaneously or alternately with CRT measurement. Other measurements can also be detected by images, or by other means such as lasers. For example, in one or more stages such as before compression, during compression, and when compression is released, pulse measurement can also be performed simultaneously, and the time of each stage of CRT measurement can be corrected based on the situation of the pulse measurement, thereby improving the accuracy of CRT measurement. The measurement period can include multiple measurements of the subject, such as a measurement duration of 30 minutes, and 5 CRT measurements are performed on the subject at a frequency of once every 5 minutes within the 30 minutes.

[0066] The first image sequence includes the first image captured at each time, and the first image may be an RGB image. The first image has a high resolution, and the feature data of the object under various states can be parsed from the first image sequence. For example, the resolution of the first image may be 1000×1000, or higher or lower.

[0067] Optionally, the object to be tested can be placed on a first side of a pressing portion of an electronic device for CRT testing, and the camera module is located on a second side of the pressing portion opposite to the first side. The pressing portion can be a transparent plate-like component, such as a transparent glass plate, so that the camera module can capture the changing state of the object under the entire compression and compression release process. When the first side is the upper side, the second side can be the lower side; when the first side is the left side, the second side can be the right side. The electronic device can specifically be a CRT measuring instrument.

[0068] Step 104: perform channel decomposition on the first image sequence to obtain a second image sequence containing G channel data.

[0069] In this embodiment, the first image is an RGB image, and the electronic device decomposes each frame of the first image into three RGB channels to obtain an independent R channel image, a G channel image, and a B channel image.

[0070] The second image containing G channel data may be the G channel image itself, or may be an image formed by cross-processing the G channel image with one or more of the R channel image or the B channel image. The cross-processing may be superposition or subtraction of channel grayscale values.

[0071] In one embodiment, a G channel image sequence and an R channel image sequence are decomposed from the first image sequence; a difference process is performed between the R channel image sequence and the G channel image sequence, and the image sequence after the difference process is used as the second image sequence.

[0072] For example, the R channel image and the G channel image decomposed from the same frame of the first image can be subjected to difference processing, and the difference processed image is used as the second image. By comparing and subtracting the R channel image and the G channel image, using the contrast effect to enhance the contrast of the R channel, and using the enhanced grayscale value for observation and calculation, the state change detection of the object under test during CRT measurement can be realized.

[0073] In one embodiment, a G channel image sequence is decomposed from the first image sequence, and the G channel image sequence is used as the second image sequence.

[0074] By directly using the G channel image as the second image, the state change of the object under test can be understood by observing the grayscale change of the G channel alone, which can improve the calculation efficiency. In addition, compared with cross-processing the G channel image with other channel images, only associating the grayscale change of the G channel can also reduce the possibility of errors in subsequent calculation processes (such as shaking of the object under test and / or the camera module, resulting in the first image captured not being clear enough), thereby improving the accuracy of CRT detection.

[0075] as follows Figures 2 to 9 As shown, the measured object is a finger as an example for explanation, where Figure 2 The first image is taken at a certain moment when the finger is not pressed. It can be seen that the whole body of the object is basically red. Figure 6 Indicates for Figure 2 The first image in is subjected to channel decomposition or a second image formed; Figure 3 The first image at a certain moment when the finger begins to be pressed shows that the object being tested gradually turns white. Figure 7 Indicates for Figure 3 The first image in is subjected to channel decomposition or a second image formed; Figure 4 The first image at a certain moment when the finger is fully compressed shows that the whole object under test is stable and white; Figure 8 Indicates for Figure 4 The first image in is subjected to channel decomposition or a second image formed; Figure 5 It represents the first image at a certain moment after the finger is released from pressure. Fig. 9 Indicates for Figure 5 The electronic device continuously shoots each stage to form a corresponding first image sequence. Optionally, the Figure 6, Figure 7 , Figure 8 and Fig. 9 Specifically, it can be the separated G channel image. Only by observing the grayscale change of the G channel, the red-white transformation of the finger can be understood, which not only improves the calculation efficiency, but also reduces the possibility of calculation errors in the calculation process due to the reduction of the objects to be observed.

[0076] Step 106: Calculate the channel mean of the detection area of ​​each frame of the second image in the second image sequence.

[0077] In this embodiment, the detection area represents a reference area for CRT detection, which reflects the blood color change of the subject. By analyzing the information in the detection area, the CRT state of the subject can be known. Figure 6~Figure 9 As shown, the area framed by the box is the detection area of ​​the second image; Figure 2~Figure 5 As shown in Figures 2 to 5 The area enclosed by the box in is the corresponding Figures 6 to 9 The boxes in represent the same area. The detection area can be a pre-set fixed area, which can have a relatively fixed area (i.e., the number of pixels), or a region dynamically determined according to one or more factors such as the specific position of the subject on the pressing part, the actual physiological state of the subject, etc., and the position and area (i.e., the number of pixels) of the region can also be dynamically determined or adjusted.

[0078] The channel value may be a grayscale value presented by the second image. For example, if the second image is a G channel image, the grayscale value is the grayscale value of the G channel in the corresponding first image; if the second image is an image obtained by subtracting the R channel image from the G channel image, the grayscale value is the grayscale value obtained by subtracting the G channel grayscale value from the R channel grayscale value in the corresponding first image.

[0079] The grayscale mean may be the average grayscale value of each pixel in the detection area. The electronic device may sum the grayscale values ​​of all pixels in the detection area and remove the number of pixels in the detection area, thereby taking the obtained value as the grayscale mean.

[0080] Furthermore, before summing up all the grayscale values, abnormal pixels in the detection area are further removed. After removing the abnormal pixels, the grayscale values ​​of the remaining pixels are summed and divided by the number of remaining pixels. The resulting value is the pixel mean.

[0081] For example, the determined detection area is a rectangular area with 100×100 pixels. The electronic device can sum the grayscale values ​​of the 100×100 pixels and divide it by 10000. The obtained value is the grayscale mean. Furthermore, before summing the grayscale values ​​of the 100×100 pixels, it is further detected whether there are any abnormalities in the pixels in the area, and the abnormal pixels are removed. For example, if the values ​​of the pixels at [5,20] (indicating that they are at the position of the 5th row and 20th column in the detection area) and [6,20] (indicating that they are at the position of the 6th row and 20th column in the detection area) are abnormal, then these two pixels can be removed, and the grayscale values ​​of the remaining 9998 pixels are summed and divided by 9998. The obtained value is the grayscale mean. Among them, abnormal pixel points indicate pixel points that are not suitable for calculating grayscale mean or are not suitable for reflecting the CRT characteristics of the object under test. For example, the pixel points corresponding to the wound position of the object under test in the detection area have a grayscale value that is significantly different from the pixel points around the wound position in the detection area. In this case, they can be removed as abnormal pixel points.

[0082] In this embodiment, the electronic device calculates the channel average of the detection area in each second image in the above manner, so as to reflect the channel average of the object under test at each moment in the entire detection process.

[0083] Step 108: compare whether the change rate of the channel mean values ​​of the adjacent multiple frames of the second image exceeds the first speed threshold.

[0084] In this embodiment, after calculating the channel mean of the second image, the electronic device can subtract the channel means corresponding to the adjacent multi-frame images, and the value obtained by the subtraction can reflect the rate of change of the channel mean. Among them, the adjacent multi-frame images can be two or more adjacent frames. Specifically, the number of adjacent frames can be an integer multiple of 2, such as 2 frames, 4 frames, 6 frames, 8 frames, 10 frames or any other suitable number of frames. In the adjacent multi-frame images, the channel means of the images in the first half can be sorted according to the shooting time, and the channel means of the images in the second half can be added to obtain the channel mean y1, and the channel means of the images in the second half can be added to obtain the channel mean y2, and then |y2-y1| is used as the rate of change. The rate of change can be the rate of change dy of the channel mean at the moment when the adjacent multi-frame images are shot.

[0085] When the adjacent multiple frames are two adjacent frames, the channel mean of the next frame image is subtracted from the channel mean of the previous frame image, and the channel mean obtained after the subtraction is used as the change rate dy at the time when the corresponding two frames of images are taken. When the multiple frames of images are 10 frames, for example, there are 10 consecutive second images P x-4, P x-3 , P x-2 , P x-1 , P x0 , P x1 , P x2 , P x3 , P x4 , P x5 , which represent 10 frames of images taken continuously from time x-4 to time x5, and their channel means are y x-4 ,y x-3 ,y x-2 ,y x-1 ,y x0 ,y x1 ,y x2 ,y x3 ,y x4 ,y x5 , then the corresponding rate of change dy=y x-4 +y x-3 +y x-2 +y x-1 +y x0 -y x1 -y x2 -y x3 -y x4 -y x5 Optionally, the change rate can be a relative value or an absolute value. For example, the change rate can also be dy=|y2-y1|, dy=|y x-4 +y x-3 +y x-2 +y x-1 +y x0 -y x1 -y x2 -y x3 -y x4 -y x5 |.

[0086] The electronic device calculates the rate of change at each moment in turn in the above manner, and compares whether the rate of change exceeds the first speed threshold. The first speed threshold is a critical threshold for measuring the stage of the release of the pressure of the CRT or the beginning of the pressure. The first speed threshold can be any suitable value set in advance, or can be a suitable value that can be adaptively set according to the state of the object being measured. For example, the first speed threshold can be set to 4, 5, 6 or any other suitable value.

[0087] By comparing the rate of change at each moment with the size of the first speed threshold, it is possible to determine whether the rate of change at each moment exceeds the first speed threshold. Based on the comparison result, it is possible to determine at which moment the subject is just at the beginning of compression or the release of compression, so that accurate CRT timing can be started.

[0088] Step 110: Determine the compression release time corresponding to the capillary refill time in the second image sequence according to the comparison result.

[0089] When the absolute value of the change rate at a certain moment reaches or exceeds the first speed threshold, it means that the moment may be the moment when the compression of the measured object begins or is released. The electronic device obtains the corresponding moment set when each change rate reaches or exceeds the first speed threshold, and analyzes the change of the change rate or channel mean at each moment, or combines the detection results of related sensors, so as to determine which specific moment is the compression release moment T1 in the moment set.

[0090] For example, when it is detected that the absolute value of the first rate of change in exactly one CRT measurement cycle at time t1 reaches or exceeds the first speed threshold, and the first pressure average value of the measured body in the first time period before time t1 detected by the relevant sensor is greater than the second pressure average value of the measured body in the second time period after time t1, or the first pressure average value - the second pressure average value ≥ the first pressure difference threshold, then it is determined that time t1 is the pressure release moment in the first current CRT measurement cycle. Among them, the first pressure difference threshold can be any pre-set fixed value for pressure release judgment, or a suitable value for pressure release judgment adaptively set according to the state of the measured body.

[0091] On the contrary, if the first pressure average is less than the second pressure average, or the second pressure average - the first pressure average ≥ the second pressure difference threshold, then the time t1 is determined to be the compression start time under the first current CRT measurement cycle. Similarly, the second pressure difference threshold can be any pre-set fixed value suitable for determining the compression start time, or a suitable value for determining the compression start time that is adaptively set according to the state of the measured body.

[0092] Alternatively, when it is detected that the absolute value of the first change rate in one CRT measurement cycle at time t1 reaches or exceeds the first speed threshold, and the third channel mean obtained by summing and averaging the channel means of the detection areas of all second images in the third time period before time t1 is greater than the fourth channel mean obtained by summing and averaging the channel means of the detection areas of all second images in the fourth time period after time t1, or the third channel mean - the fourth channel mean ≥ the third channel mean difference threshold, then it is determined that time t1 is the compression release time in the first current CRT measurement cycle. The third channel mean difference threshold can be any pre-set fixed value suitable for compression release judgment, or a suitable value for compression release judgment adaptively set according to the state of the subject.

[0093] On the contrary, if the third channel mean < the fourth channel mean, or the fourth channel mean - the third channel mean ≥ the fourth channel mean difference threshold, then the time t1 is determined to be the compression start time under the current CRT measurement cycle. Similarly, the fourth channel mean difference threshold can be any pre-set fixed value for determining the compression start time, or a suitable value for determining the compression start time that is adaptively set according to the state of the subject.

[0094] like Fig.10 FIG. 1 is a graph formed by the grayscale mean of the detection area of ​​the second image at some moments under CRT measurement in one embodiment, wherein the horizontal axis represents the detection moment (in milliseconds ms), and the vertical axis represents the grayscale mean. Fig.11 for Fig.10 A magnified view of some moments in the image.

[0095] According to the above measurement method, it can be detected that Fig.11 At the T1 moment (between 4416.3ms and 6056.5ms), the corresponding change rate exceeds the first speed threshold for the first time, and the moment T1 is determined to be the pressure release moment.

[0096] Step 112, determining the filling recovery moment corresponding to the second image when the channel mean after the compression is released is below the second mean threshold.

[0097] In this embodiment, the second mean value threshold of the subject can be a pre-set appropriate threshold value, and can also be a value adaptively calculated based on the channel mean value measured before the subject is compressed in the current CRT measurement cycle. When it is detected that after the compression is released, the moment when the channel mean value of the second image is at the second mean value threshold value for the first time is taken as the filling recovery moment T2.

[0098] For example, taking the object to be tested as a finger and the second image as a G channel image as an example, during the detection process, when the object to be tested is not compressed, the whole object is red, the theoretical value of the grayscale value of the R channel tends to 255, and the theoretical value of the B / G grayscale tends to 0; when compression begins, the whole finger is white, and the theoretical values ​​of the R / G / B grayscale all tend to 255. When the grayscale of the G channel is observed to change from 0 to 255, it can be known that the finger is compressed; when the compression is not released, the theoretical value of the grayscale of the G channel is always stable at 255; when the compression is released, the theoretical value of the grayscale of the G channel gradually changes from 255 to 0, and then stabilizes at 0.

[0099] Therefore, the second mean value threshold may be set to 0, or a redundant value close to 0, for example, the second mean value threshold may be a relevant value such as 1 or 2.

[0100] For another example, the electronic device can calculate the channel mean in the second image corresponding to the subject at the moment before the compression begins, and determine the second mean threshold value according to the value obtained by summing and averaging the channel mean values. For example, the summed and averaged value can be directly used as the second mean threshold value, or the summed and averaged value + redundant value can be used as the second mean threshold value, and the redundant value can be any suitable value such as 1, 2, -1, -2, etc.

[0101] By determining the second mean value threshold value according to the channel mean value of the subject before being compressed in the same CRT detection cycle, the accuracy of setting the second mean value threshold value can be improved, thereby improving the accuracy of CRT detection.

[0102] Step 114, determining the capillary refill time CRT based on the compression release time and the filling recovery time.

[0103] When calculating the compression release time T1 and the filling recovery time T2, the compression release time T1 can be subtracted from the filling recovery time T2 in the same detection cycle, and the difference obtained is the capillary refill time CRT.

[0104] In one embodiment, the capillary refill time CRT detected in the cycle can be directly used as the final capillary refill time CRT of the subject. Furthermore, a cycle with the best performance can be selected from the multiple detection cycles, and the capillary refill time CRT corresponding to the cycle with the best performance can be used as the final CRT of the subject. Alternatively, the CRT values ​​measured in each detection cycle in multiple detection cycles can be averaged, and the average value obtained can be used as the final CRT, thereby improving the accuracy of capillary refill time measurement.

[0105] The capillary refill time measurement method provided in the present application calculates the change rate of the channel mean of the detection area in the second image based on the second image sequence containing G channel data. According to the change rate and the size of the first speed threshold, the compression release moment of the subject can be accurately determined, and then according to the size of the channel mean under the second image and the second mean threshold, the filling recovery moment of the subject can be accurately determined, and then the capillary refill time CRT of the subject can be accurately determined, thereby improving the accuracy of the capillary refill time CRT measurement.

[0106] In one embodiment, step 108 includes: comparing whether the difference in channel means of two adjacent frames of second images exceeds a first difference threshold; and / or based on the fact that the difference in channel means of two adjacent frames of second images exceeds the first difference threshold, taking the two adjacent frames of second images as a reference, obtaining a first number of second images that are preceding the two adjacent frames of second images and a second number of second images that are following the two adjacent frames of second images; calculating whether the difference between the sum of the channel means of the first number of second images and the sum of the channel means of the second number of second images exceeds a second difference threshold.

[0107] In this embodiment, the first speed threshold may be the first difference threshold, or the first speed threshold may include the first difference threshold and the second difference threshold.

[0108] The first difference threshold is a critical value used to measure the difference between two frames of images; the second difference threshold is a critical value used to measure the difference between multiple frames of images exceeding two frames.

[0109] The electronic device may perform a difference between the channel means of two consecutive frames of images, and compare the difference with the first difference threshold, and the comparison result obtained is the comparison result in step 110. When the first difference threshold is exceeded, it can be directly determined that the difference at that moment exceeds the first speed threshold.

[0110] Furthermore, after comparing and finding that the difference exceeds the first difference threshold, the channel means of the multiple frame images adjacent to the moment are further obtained, and it is calculated whether the difference between the adjacent multiple frame images at the moment exceeds the second difference threshold. If so, it is determined that the difference at the moment exceeds the first speed threshold; otherwise, it is determined that the difference at the moment does not exceed the first speed threshold.

[0111] Specifically, a first number of second images preceding two adjacent frames of second images and a second number of second images following two adjacent frames of second images may be obtained, wherein the first number and the second number may be the same number, such as both 3, 4, 5 or any other suitable values, and the first difference threshold and the second difference threshold may be any suitable values ​​set, and the two may be the same or different values.

[0112] Take the first number and the second number as 4 as an example, the second image of the first number in the previous order is recorded as P -4 , P -3 , P -2 , P -1 , the corresponding channel means are represented as y -4 ,y -3 ,y -2 ,y -1 , the subsequent second number of second images are recorded as P1, P2, P3, P4, and the corresponding channel means are expressed as y1, y2, y3, y4, respectively, then the difference dy=|y -4 +y -3 +y -2 +y -1 -y1-y2-y3-y4|, compare whether the difference exceeds the second difference threshold.

[0113] Among them, when only two adjacent frames of the second image are taken, it is possible that interference is caused by the shaking of the subject. Therefore, on the basis of detecting that the difference in the channel means of the two adjacent frames of the second image exceeds the first difference threshold, the channel means of a certain number of the preceding and subsequent second images can be extracted for further difference calculation, so as to determine whether it is interference caused by conditions other than shaking. If the further calculated difference still exceeds the second difference threshold, and the moment is the first calculated moment that satisfies the second difference threshold, it can be determined that the moment is the beginning or release of compression. Otherwise, if it only exceeds the first difference threshold but does not exceed the second difference threshold, it means that the moment may be interference caused by shaking.

[0114] By performing two difference detections, interference caused by jitter can be prevented, thereby improving the accuracy of determining the pressure release time.

[0115] In one embodiment, Fig.12 As shown, step 106 includes:

[0116] Step 602: Identify the object area and the background area from the first image sequence and / or the second image sequence.

[0117] In this embodiment, the electronic device may analyze the first image sequence to determine the object area and the background area therefrom, and may also analyze the second image sequence to determine the object area and the background area.

[0118] The object area refers to the area that only contains the object, and the background area refers to the area that also contains the non-object area in the image. The detection area is within the object area. The electronic device can identify the object area and the background area in one or more frames of images. It detects which areas belong to the object area and which areas belong to the background area.

[0119] Combination Figures 2 to 9 As shown in one or more figures in the figure, taking the object to be measured as a finger as an example, the area of ​​the object to be measured is the area covered by the finger in the figure, and the area outside the finger coverage area is the background area. The electronic device can perform image recognition on the first image, detect the area therein that matches the shape of the object to be measured, and set the matched area as the area of ​​the object to be measured. In addition to shape recognition, channel value detection of pixels is also performed, and the channel value can be one or more grayscale values ​​of the R channel, G channel or B channel. Since the channel value of the object to be measured changes during the detection process, and the channel value of the background area is basically fixed, or the degree of change is quite different from that of the object to be measured, therefore, the object to be measured area and the background area can also be jointly determined according to the shape of the object to be measured and the change of the channel value.

[0120] Specifically, the electronic device determines the first initial area of ​​the object to be measured by detecting whether the changes in the values ​​of each channel in the first image and / or the second image match the changes in the CRT of the object to be measured during the measurement process, and then determines the object to be measured area based on the first initial area of ​​the object to be measured and the second initial area of ​​the object to be measured, and regards the rest that does not belong to the object to be measured area as the background area.

[0121] Step 604: determine a detection area based on the channel value distribution of the detected object area in the second image sequence.

[0122] In this embodiment, after the detected object area is detected, the matching degree between the channel values ​​of the pixels in the detected object area and the changes in the CRT measurement process is further analyzed, and the area corresponding to the appropriate pixels is selected as the detection area based on the matching degree. For example, the pixel points corresponding to the channel values ​​that match the changes in the CRT are used as a first detection reference area, and an area with a suitable position and size is selected from the first detection reference area as the detection area.

[0123] Furthermore, in addition to the distribution of the channel values, the position and area of ​​the object to be detected are further combined to select a suitable second reference detection area, and the channel value distribution of the pixels in the second reference detection area is used to determine the detection area. The second reference detection area can be an area centered on or divided from the center point of the object area, and the area can be any suitable area such as a rectangular area or a circular area, and the center point of the second reference detection area is the center point of the object area.

[0124] In one embodiment, the area of ​​the selected detection area may be proportional to the area of ​​the detected body area. The larger the area of ​​the detected body area, the larger the area of ​​the detection area. The smaller the area of ​​the detected body area, the smaller the area of ​​the detected body area. In this way, a suitable detection area can be determined according to the size of different detected bodies, so that the determined detection area is consistent with the detected bodies of various sizes. For example, the area of ​​the detection area determined for the fingers of infants or children is smaller than the area of ​​the detection area determined for the fingers of adults.

[0125] In one embodiment, the electronic device further performs an abnormal point analysis on the object under test in the image, and excludes the pixels detected as abnormal points from the detection reference area or the detection area. The abnormal point represents the pixel point corresponding to the position of the part of the object under test that is not suitable for CRT measurement reference. The part is, for example, the location of wounds, scratches or bubbles on the finger that may interfere with the CRT measurement. That is, the abnormal point may be the pixel point corresponding to the location of the wound or scratch on the object under test, and may also include the pixel point corresponding to the location of abnormal parts such as depressions or abnormal protrusions on the object under test. By removing the abnormal point, the accuracy of CRT measurement can be further improved.

[0126] Step 606, calculating the channel mean of the detection area of ​​each frame of the second image.

[0127] After the detection area is determined, a channel mean value calculation is performed for the detection area in the second image. The channel mean value may be, for example, a grayscale value mean value of the G channel.

[0128] In one embodiment, before step 604, it also includes: obtaining the placement area of ​​the object under test on the pressing part during detection; step 604 includes: determining the detection area according to the channel value distribution and the placement area.

[0129] In this embodiment, the electronic device is further provided with a sensor for detecting the placement position of the object to be measured. The sensor may be, for example, a pressure sensor. By detecting the magnitude of the pressure received by each point on the pressing portion during the CRT measurement process, the specific placement area of ​​the object to be measured on the pressing portion can be determined.

[0130] The detection area is within the placement area. Specifically, the electronic device can form a third detection reference area based on the center point of the detection area. The detection area is determined by combining the above-mentioned first detection reference area, second detection reference area and third detection reference area. The detection area can be located within the intersection of the first detection reference area, the second detection reference area and the third detection reference area.

[0131] For example, after obtaining the intersection, the center point of the intersection can be used as the center point of the detection area, and the area of ​​the detection area can be determined according to the size of the area occupied by the detected body area, and then the detection area can be determined by the determined center point and area. The detection area, the first detection reference area, the second detection reference area, and the third detection reference area can be any suitable shape such as a rectangle, a circle, an ellipse, etc.

[0132] By further combining the placement area to determine the detection area, the accuracy of the detection area determination can be improved.

[0133] In one embodiment, the method further includes: acquiring the current ambient temperature and the skin color of the object being measured; and determining the second mean threshold and / or the first speed threshold based on the ambient temperature and the skin color of the object being measured.

[0134] In this embodiment, different ambient temperatures and user skin colors may have certain effects on the second mean value threshold and / or the first speed threshold.

[0135] Furthermore, in addition to the environment information of temperature and skin color, other personal information of the user (such as age) may also be combined to determine the second mean threshold and / or the first speed threshold.

[0136] Specifically, the electronic device can receive the user's personal information before measurement, determine the user's skin color based on the personal information, or directly determine the user's skin color adaptively based on the channel value presented by the first image before pressing, and obtain the temperature of the measurement environment in which the subject is currently located through a related temperature sensor, and obtain the first speed threshold and / or the second mean threshold based on the temperature and skin color and / or other personal information according to a pre-established association relationship. Optionally, the first speed threshold may include the above-mentioned first difference threshold and second difference threshold.

[0137] Before step 102, the electronic device can perform a large number of tests on different ambient temperatures and users of different skin colors and / or ages in advance to obtain relevant test data, and obtain relevant sample data between the second mean threshold, the first speed threshold, and the ambient temperature and skin color through manual annotation, and then obtain the correlation between different ambient temperatures, skin colors and / or ages and the second mean threshold and the first speed threshold through pre-set model training, so that when the current ambient temperature of the subject and the skin color of the subject are known, the second mean threshold and the first speed threshold can be determined based on the correlation. Among them, the training model can specifically be a convolutional neural network model.

[0138] Determining the first speed threshold and / or the second mean threshold by using the ambient temperature and skin color can further improve the accuracy of the first speed threshold and / or the second mean threshold.

[0139] In one embodiment, the method further includes: obtaining a set of detection data measured by the laser during the measurement of the object; and determining a compression release reference time and a filling recovery reference time from the detection data set. Step 110 includes: determining the compression release time in combination with the compression release reference time and the comparison result; and step 112 includes: determining the filling recovery time corresponding to the second image whose channel mean after the compression release time is below the second mean threshold in combination with the filling recovery reference time.

[0140] Among them, in addition to measuring the values ​​of the compression release time and the filling recovery time through images, the electronic equipment further performs laser measurement on the object to be measured, and obtains the compression release time and the filling recovery time based on the laser measurement. The compression release time and the filling recovery time are jointly determined based on the times measured by the two means, thereby further improving the accuracy of determining the compression release time and the filling recovery time, and then improving the accuracy of CRT detection.

[0141] Optionally, while the electronic device is capturing the first image, it is also performing laser measurement on the object to be measured to form a detection data set, which can be arranged according to the measurement time of each data to form a CRT waveform. There is a corresponding relationship between the time in the detection data set and the image capturing time in the first captured image. For example, the CRT waveform formed by the detection data set in a certain time period is as follows: Fig.13 As shown, the horizontal axis represents the measurement time, and the vertical axis represents the laser amplitude. By analyzing the laser amplitude, such as detecting the amplitude size and amplitude change rate at different times, the reference time of compression release and filling recovery is determined. Fig.13 As shown, the time T1' is the determined reference time for compression release, and the time T2' is the determined reference time for filling recovery.

[0142] For example, the electronic device can average the pressure release time determined by the second image and the pressure release reference time, and use the average value as the final pressure release time; and average the filling recovery time determined by the second image and the filling recovery reference time, and use the average value as the final filling recovery time.

[0143] In one embodiment, the electronic device can also compare the difference between the compression release moment and the corresponding compression release reference moment, and compare the difference between the filling recovery moment and the filling recovery reference moment. When both differences are less than the corresponding difference threshold, it means that the CRT duration measured by the laser and the CRT duration measured by the image are basically consistent. If the difference exceeds the corresponding difference threshold, it is determined that one or both of them have a large error, and the measurement results of one or both of them can be corrected or discarded. Alternatively, the compression release moment and the filling recovery moment whose differences are less than the difference threshold are selected in other CRT measurement cycles during the measurement period.

[0144] In one embodiment, Fig.14 Another method for measuring capillary refill time is provided, the method comprising:

[0145] Step 802: Capture a first image of the object under test during measurement.

[0146] The first image sequence is obtained by continuously collecting the first image, and the collecting frequency may be the shooting frequency.

[0147] Step 804: perform channel decomposition on the current first image and extract a G channel image as the second image.

[0148] In this embodiment, the G channel image is directly used as the second image.

[0149] Step 806, calculating the channel mean of the detection area of ​​the current second image.

[0150] The detection area can be determined through the above process, which will not be described in detail here. The channel mean can be the grayscale value mean of the G channel.

[0151] Step 808, check whether the timing has started. If so, execute step 816, if not, execute step 810.

[0152] In this embodiment, if the timing has not started, it means that the subject has not been relieved of the pressure, and the CRT duration has not started to be counted.

[0153] Step 810, comparing whether the rate of change of the channel mean exceeds the first speed threshold. If yes, execute step 812, otherwise, execute step 802.

[0154] In this embodiment, the first speed threshold, the change rate, and whether the change rate exceeds the first speed threshold can be determined through the above process, which will not be described in detail here.

[0155] Step 812, determining whether the subject is in a state of pressure release or pressure start at the time of collecting the current first image. If the subject is in a state of pressure release, executing step 814, if the subject is in a state of pressure start, returning to executing step 802.

[0156] Step 814, when the pressure is released, start timing.

[0157] In this embodiment, the timing refers to the timing in the current CRT detection cycle. For the next CRT detection in the continuous measurement process, the timing starts separately to avoid time confusion.

[0158] Step 816, comparing whether the channel mean reaches the second mean threshold. If yes, execute step 820, otherwise, return to execute step 802.

[0159] Similarly, the second mean threshold value can be determined through the above process, which will not be described in detail here.

[0160] Step 818, determining the filling recovery time corresponding to the second image.

[0161] After the timing starts, if the channel mean reaches the second mean threshold for the first time, it means that the current moment is the filling recovery moment. At this time, the timing of the current detection cycle can be ended, and the next detection cycle can be started, or the detection can be ended.

[0162] Step 820, determining the capillary refill time CRT based on the compression release time and the filling recovery time.

[0163] In this embodiment, the duration of the CRT can be determined based on the filling recovery time and the compression release time measured in previous detection cycles.

[0164] In one embodiment, Fig.15 As shown, a capillary refill time measuring device is provided, the device comprising:

[0165] The image capturing module 902 is used to obtain a first image sequence captured during the measurement of the object under test.

[0166] The image decomposition module 904 is used to perform channel decomposition on the first image sequence to obtain a second image sequence containing G channel data.

[0167] The mean value calculation module 906 is used to calculate the channel mean value of the detection area of ​​each frame of the second image in the second image sequence.

[0168] The compression release time determination module 908 is used to compare whether the change rate of the channel mean of adjacent multiple frames of the second image exceeds the first speed threshold; and determine the compression release time corresponding to the capillary refill time in the second image sequence according to the comparison result.

[0169] The filling recovery time determination module 910 is used to determine the filling recovery time corresponding to the second image when the channel mean is below the second mean threshold after the compression is released.

[0170] The CRT calculation module 912 is used to determine the capillary refill time CRT based on the compression release time and the filling recovery time.

[0171] In one embodiment, the image decomposition module 904 is further used to decompose a G channel image sequence from the first image sequence, and use the G channel image sequence as the second image sequence.

[0172] In one embodiment, the image decomposition module 904 is further used to decompose a G channel image sequence and an R channel image sequence from the first image sequence; perform difference processing on the R channel image sequence and the G channel image sequence, and use the image sequence after the difference processing as the second image sequence.

[0173] In one embodiment, the pressure release time determination module 908 is further configured to compare whether the difference between the channel means of two adjacent frames of the second image exceeds a first difference threshold.

[0174] In one embodiment, the compression release moment determination module 908 is also used to obtain a first number of second images preceding and a second number of second images following two adjacent frames of second images based on the fact that the difference in channel means of two adjacent frames of second images exceeds a first difference threshold, taking the two adjacent frames of second images as a reference; and calculating whether the difference between the sum of the channel means of the first number of second images and the sum of the channel means of the second number of second images exceeds a second difference threshold.

[0175] In one embodiment, the mean calculation module 906 is also used to identify the object area and the background area from the first image sequence and / or the second image sequence; determine the detection area based on the channel value distribution of the object area in the second image sequence; and calculate the channel mean of the detection area of ​​each frame of the second image.

[0176] In one embodiment, the mean value calculation module 906 is further used to obtain the placement area of ​​the detected object on the pressing part during detection; and determine the detection area according to the channel value distribution and the placement area.

[0177] In one embodiment, Fig.16 As shown, another capillary refill time measuring device is provided, the device also includes:

[0178] The threshold determination module 901 is used to obtain the current ambient temperature and the skin color of the object being measured; and determine the second mean threshold and / or the first speed threshold based on the ambient temperature and the skin color of the object being measured.

[0179] In one embodiment, Fig.17 As shown, another capillary refill time measuring device is provided, the device also includes:

[0180] The laser measurement module 914 is used to obtain the CRT waveform of the object measured by laser during the measurement period; and determine the compression release reference time and the filling recovery reference time from the waveform.

[0181] The pressure release time determination module 908 is further configured to determine the pressure release time in combination with the pressure release reference time and the comparison result.

[0182] The filling recovery time determination module 910 is further used to determine the filling recovery time corresponding to the second image when the channel mean after the compression release time is below the second mean threshold in combination with the filling recovery reference time.

[0183] In one embodiment, a computer-readable storage medium is provided, on which executable instructions are stored. When the instructions are executed by a processor, the processor executes the steps in the above-mentioned method embodiments.

[0184] In one embodiment, an electronic device is also provided, including one or more processors; a memory, in which one or more programs are stored, wherein when the one or more programs are executed by one or more processors, the one or more processors execute the steps in the above-mentioned method embodiments.

[0185] In one embodiment, an electronic device is provided, which may be the CRT measuring instrument described above. Fig.18 As shown, the electronic device 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1202 or the program loaded from the storage part 1208 to the random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the electronic device 1200 are also stored. The CPU 1201, the ROM 1202, and the RAM 1203 are connected to each other through a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.

[0186] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, etc.; an output section 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN card, a modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the I / O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage section 1208 as needed.

[0187] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, including a computer-readable medium carrying instructions, in such an embodiment, the instructions can be downloaded and installed from a network through a communication part 1209, and / or installed from a removable medium 1211. When the instructions are executed by a central processing unit (CPU) 1201, the various method steps described in the present invention are executed.

[0188] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0189] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the above claims, any one of the claimed embodiments may be used in any combination. The information disclosed in this background technology section is intended only to deepen the understanding of the overall background technology of the present application and should not be regarded as an admission or in any form of implication that the information constitutes prior art known to those skilled in the art.

Claims

1. A method for measuring capillary refill time, characterized in that: The method comprises: Acquiring a first image sequence of the measured object captured during the measurement period; Performing channel decomposition on the first image sequence to obtain a second image sequence including G channel data; Calculating a channel mean of the detection area of ​​each frame of the second image in the second image sequence; Comparing whether the change rate of the channel mean of the adjacent multiple frames of the second image exceeds a first speed threshold; determining, based on the comparison result, a compression release moment corresponding to the capillary refill time in the second image sequence; Determine a filling recovery moment corresponding to the second image when the channel mean after the compression is released is below a second mean threshold; Determining the capillary refill time CRT based on the compression release time and the filling recovery time; The performing channel decomposition on the first image sequence to obtain a second image sequence containing G channel data includes: decomposing a G channel image sequence and an R channel image sequence from the first image sequence, performing difference processing on the R channel image sequence and the G channel image sequence, and using the image sequence after the difference processing as the second image sequence.

2. The method according to claim 1, characterized in that The comparing whether the change rate of the channel mean values ​​of the adjacent multiple frames of the second image exceeds the first speed threshold includes: Comparing whether a difference between channel means of two adjacent frames of the second image exceeds a first difference threshold; and / or On the basis that a difference in channel means between the two adjacent frames of second images exceeds a first difference threshold, taking the two adjacent frames of second images as a reference, acquiring a first number of second images preceding the two adjacent frames of second images and a second number of second images following the two adjacent frames of second images; Calculate whether a difference between the sum of the channel means of the first number of second images and the sum of the channel means of the second number of second images exceeds a second difference threshold.

3. The method according to claim 1, characterized in that The calculating the channel mean of the detection area of ​​each second image frame in the second image sequence includes: Identifying a subject area and a background area from the first image sequence and / or the second image sequence; determining the detection area based on the channel value distribution of the detected object area in the second image sequence; Calculate the channel mean of the detection area of ​​the second image of each frame.

4. The method according to claim 3, characterized in that Before determining the detection area based on the channel value distribution of the object area in the second image sequence, the method further includes: Obtaining the placement area of ​​the object under test on the pressing portion; The determining the detection area based on the channel value distribution of the detected object area in the second image sequence includes: determining the detection area according to the channel value distribution and the placement area.

5. The method according to claim 1, wherein The method further comprises: Get the current ambient temperature and the skin color of the subject; The second mean threshold and / or the first speed threshold are determined based on the ambient temperature and the skin color of the subject.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Acquire a set of detection data of the object measured by laser during the measurement period; determining a compression release reference time and a filling recovery reference time from the detection data set; Determining the compression release time corresponding to the capillary refill time in the second image sequence according to the comparison result includes: determining the compression release time in combination with the compression release reference time and the comparison result; The method of determining the filling recovery moment corresponding to the second image when the channel mean is below the second mean threshold after the compression is released includes: determining the filling recovery moment corresponding to the second image when the channel mean is below the second mean threshold after the compression is released in combination with the filling recovery reference moment.

7. A capillary refill time measuring device, characterized in that: The device comprises: An image capturing module, configured to capture a first image sequence of the measured object during measurement; An image decomposition module, configured to perform channel decomposition on the first image sequence to obtain a second image sequence containing G channel data; a mean calculation module, configured to calculate a channel mean of a detection area of ​​each second image frame in the second image sequence; a compression release time determination module, configured to compare whether a rate of change of channel means of adjacent frames of the second image exceeds a first speed threshold; and determine, based on the comparison result, a compression release time corresponding to a capillary refill time in the second image sequence; a filling recovery time determination module, configured to determine a filling recovery time corresponding to a second image at which the channel mean after the compression is released is below a second mean threshold; A CRT calculation module, configured to determine the capillary refill time CRT based on the compression release time and the filling recovery time; The image decomposition module is further configured to decompose the first image sequence into a G channel image sequence and an R channel image sequence, perform subtraction processing on the R channel image sequence and the G channel image sequence, and use the subtraction-processed image sequence as the second image sequence.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores executable instructions, which, when executed by a processor, enable the processor to perform the method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, causes the one or more processors to perform the method according to any one of claims 1 to 6.