Eye video-oriented intraocular hypertension discrimination method based on spatio-temporal characteristic pattern
Through a non-contact high-intraocular pressure discrimination method based on convolutional neural network, the blood volume pulse wave signal of the iris and pupil area is extracted using eye video to generate a spatiotemporal feature map, which solves the contactability and accuracy of intraocular pressure measurement in the prior art The problem of insufficient results has achieved efficient and convenient intraocular pressure detection.
Patent Information
- Application Number
- CN202411022143.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-15
AI Technical Summary
Most of the existing intraocular pressure measurement methods are contact-based, which poses a risk of patient discomfort and infection, especially for children to be widely used. The measurement accuracy and stability of non-contact methods are limited, making it difficult to accurately measure when the eye state is abnormal.
Using a non-contact high-intraocular pressure discrimination method based on convolutional neural network, the iris and pupils are generated as the region of interest extraction model IPNETP through eye video, and the blood volume pulse wave signal in the eye is extracted by remote photoplethysmography. , generate spatiotemporal feature maps, and use convolutional neural network training to form a high intraocular pressure discrimination model JOI-Net to achieve automatic identification of high intraocular pressure.
It realizes more convenient and comfortable high-infrastructure detection, reduces detection costs, improves the accuracy and stability of detection, and is suitable for large-scale promotion.
Smart Images

Figure CN118968159A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of physiological signal detection, and relates to a non-contact high intraocular pressure discrimination method based on a convolutional neural network and oriented to eye videos. Background Art
[0002] Intraocular pressure (IOP) refers to the pressure inside the eyeball and is one of the important physiological parameters for maintaining the normal morphology and function of the eyeball. The normal intraocular pressure range is generally between 10-21 mmHg. When the intraocular pressure is higher than 21 mmHg, it is defined as high intraocular pressure. Abnormal fluctuations in intraocular pressure, especially increased intraocular pressure, may cause a variety of eye diseases, among which the most common and serious is glaucoma. Glaucoma is an ophthalmic disease caused by excessive intraocular pressure, which can cause optic nerve damage, visual field defects, and even blindness. Therefore, accurate measurement and monitoring of intraocular pressure is of great significance in ophthalmic diagnosis and treatment.
[0003] Traditional methods of measuring intraocular pressure mainly include applanation tonometer, non-contact tonometer, rebound tonometer and indentation tonometer. Applanation tonometer measures intraocular pressure by flattening the corneal surface. This method requires contact with the surface of the eyeball, which may cause discomfort to the patient and the risk of cross-infection. The non-contact tonometer measures intraocular pressure by releasing air pulses to the corneal surface according to the degree of corneal deformation. It does not require contact with the eyeball, reducing the risk of infection, but the measurement accuracy and stability are limited, especially when the surface state of the eyeball is abnormal. The rebound tonometer uses a probe to lightly touch the corneal surface and measures intraocular pressure based on the rebound speed of the probe. Although it is portable, it is still a contact measurement. The existing measurement methods have certain operating difficulties and discomfort for patients, especially children, and are not convenient for large-scale promotion and use. Summary of the invention
[0004] The present invention proposes a non-contact high intraocular pressure discrimination method for eye videos. In the model training process, the region of interest extraction model IPNETP with the iris and pupil as the region of interest (ROI) is generated through the eye video. The blood volume pulse wave (Blood Volume Pulse, BVP) signal of the eye ROI is extracted based on remote photoplethysmography (rPPG), and a spatiotemporal feature map is generated and trained using a convolutional neural network to form a high intraocular pressure discrimination model JOI-Net. During the detection process, a human eye video is collected with an ordinary camera, and the BVP signal of the eye ROI is extracted through blink detection and IPNETP, and a spatiotemporal feature map is generated and sent to the high intraocular pressure discrimination model JOI-Net to realize automatic identification of high intraocular pressure.
[0005] The technical solution adopted by the present invention is as follows:
[0006] Firstly, a close-up video of the human eye was taken with a mobile phone to establish a close-up eye video dataset for non-contact intraocular pressure discrimination. In order to obtain the BVP signal of the eye region of interest, the IPNETP network was used to obtain the ROI of each video frame in the eye video. Then, the mask was mapped to the original video frame to filter out the blink frame, and the video segment with a continuous frame sequence greater than 150 was retained, and the BVP signal of the eye ROI in the video segment was extracted frame by frame. The extracted BVP signal was normalized and denoised, and the sliding window was used to expand the data and generate a spatiotemporal feature map. Finally, the JOI-Net network was used to classify the spatiotemporal feature map to achieve the purpose of high intraocular pressure discrimination.
[0007] like Figure 1 As shown, the non-contact intraocular pressure determination method based on convolutional neural network of the present invention includes the following modules:
[0008] Module 1: Region of Interest Extraction Module Based on Semantic Segmentation: The IPNETP network is used to identify the ROI to which each pixel in the video frame belongs, namely the pupil and iris parts.
[0009] Module 2: Blink detection and BVP signal extraction module. The blink behavior is judged by calculating the length and width of the mask, and the blink frames are discarded. The continuous frame sequence with a length greater than 150 is retained and the RGB signal is extracted frame by frame. By analyzing the difference in skin color when stationary and moving, the blur caused by camera shaking or object movement is removed, motion artifacts are eliminated, and the blood volume pulse signal is separated from the noise caused by movement. This module converts the RGB three-channel signal into a BVP signal.
[0010] Module 3: Spatiotemporal feature map generation module. The BVP signal after sliding window processing is converted into a spatiotemporal feature map, which retains all the morphological and temporal information of the BVP signal and provides input data for subsequent classification.
[0011] Module 4: High intraocular pressure classification module based on deep learning. The generated spatiotemporal feature map is trained using a convolutional neural network to construct a high intraocular pressure discrimination model JOI-Net, which ultimately achieves high intraocular pressure detection.
[0012] The specific steps are as follows:
[0013] 1. Construct a region of interest extraction model IPNETP based on semantic segmentation network.
[0014] (1) Construct a dataset of eye close-up images with masks for training ROI extraction;
[0015] (2) Train the model IPNETP for extracting ROI;
[0016] 2. Construct a high intraocular pressure classification model JOI-Net based on deep learning.
[0017] (1) Constructing a close-up eye video dataset for non-contact intraocular pressure determination based on deep learning;
[0018] (2) Extract the RGB three-channel signal of the ROI in the video;
[0019] (3) Eliminate motion artifacts using chrominance-based methods;
[0020] (4) converting the processed BVP signal into a spatiotemporal feature map;
[0021] (5) Train the high intraocular pressure classification model JOI-Net through spatiotemporal feature maps;
[0022] 3. Input human eye video and identify high intraocular pressure.
[0023] (1) Extract eye ROI using IPNETP model;
[0024] (2) Detect and filter out blink frames
[0025] (3) extracting BVP signals and generating spatiotemporal feature maps;
[0026] (4) Use the JOI-Net model to detect high intraocular pressure;
[0027] The advantage of the present invention is that a non-contact high intraocular pressure discrimination method based on a convolutional neural network is proposed, the BVP signals of the iris and pupil areas are extracted from the eye video with the blinking state filtered out, a spatiotemporal feature map is generated, and the spatiotemporal feature map is classified using a deep learning network, thereby achieving more convenient and comfortable high intraocular pressure detection and reducing detection costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of each module of the present invention;
[0029] Figure 2 This is a schematic diagram of a video frame of an intraocular pressure data set of the present invention;
[0030] Figure 3 Schematic diagram of eye features and mask of ROI extraction model of the present invention;
[0031] Figure 4 This is a schematic diagram of the ROI extraction result of the present invention;
[0032] Figure 5 A process diagram of generating a spatiotemporal feature map from a video according to the present invention;
[0033] Figure 6This is a flow chart of non-contact high intraocular pressure determination for eye video according to the present invention; DETAILED DESCRIPTION
[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0035] The non-contact intraocular pressure prediction method based on convolutional neural network for eye video specifically includes the following steps:
[0036] 1. Build a region of interest extraction model based on semantic segmentation network.
[0037] (1) Construct a dataset of eye close-up images with masks for training ROI extraction;
[0038] In order to train an efficient ROI extraction model, a high-quality dataset of eye close-up images with masks is required. The original images in this dataset are all from the Internet, and a total of 235 eye close-up images are included. The size and resolution of these images are not restricted, but the eye area must be clearly visible, especially the pupil, iris, and sclera. First, collect images containing clear eye close-ups, and ensure that the details of the pupil, iris, and sclera in each image are displayed as completely as possible. These images can be obtained from public image databases, medical image repositories, or through online searches. Next, manually annotate the pupil and iris as ROIs, and generate the corresponding mask images as shown in the figure. Figure 2 As shown, the mask image is a binary image, the white part represents the ROI, and the black part represents other areas.
[0039] (2) Train the model IPNETP for extracting ROI;
[0040] The eye close-up image is used as data and the mask image is used as a label. The ROI extraction model IPNETP is trained on the U2NETP network. On the test image, the dice coefficient of the eye image ROI extracted by IPNETP reaches 0.9746. The calculation formula of the dice coefficient is as follows.
[0041]
[0042] TP, FN, FP represent true positive, false negative, and false positive, respectively. Compared with U2NET, U2NETP is lighter in model size, has higher inference speed and lower memory usage, and achieves efficient processing while maintaining good segmentation performance. The training dataset includes ROI images and their corresponding label images, which are first preprocessed by scaling, random cropping, and normalization, and then input into the model to generate prediction results of multiple scales. During the training process, a multi-scale binary cross entropy loss function is used to calculate the error between the prediction result and the true label, and the model weight parameters are updated by the back propagation algorithm. The specific training parameters include 1000 training cycles, a training batch size of 16, a validation batch size of 1, a learning rate of 0.001, Adam optimizer parameters β1=0.9, β2=0.999, and a weight decay of 0. IPNETP is the model obtained after the last output of 1000 training cycles.
[0043] 2. Train the high intraocular pressure classification model JOI-Net based on the spatiotemporal feature map.
[0044] (1) Construct a close-up eye video dataset for non-contact intraocular pressure determination;
[0045] The present invention has built an eye close-up video dataset. The dataset contains 122 videos of multiple subjects with a wide age distribution. The subjects recorded a video of more than 5 seconds for each of the left and right eyes. The recording device is the rear camera of the iPhone14Pro Max mobile phone, the video resolution is 1920×1080, and the video frame rate is 30Hz. The results are as follows: Figure 3 As shown. In terms of data collection, this patent uses the ET-2 eyelid contact electronic tonometer to repeat the measurement three times to obtain the average value as the true value of the intraocular pressure. The distance between the eye and the camera is about 5cm. During the video recording, the subjects did not wear glasses and tried to stay still and not blink. For subsequent segmentation processing, this patent requires that the pupil, iris and sclera in the sample are as clear as possible. The ambient light illumination of the video recording is maintained at 100-500lux. In the data set, the range of intraocular pressure collected is 6mmHg to 45mmHg.
[0046] (2) Extract the RGB three-channel signal of the ROI in the video;
[0047] The mask of the extracted ROI area is mapped to the original eye image frame by frame, and the result is as follows Figure 4 As shown, a video frame sequence is formed. Next, the R, G, and B three-channel signals of each frame ROI are extracted, and the average value of each channel is calculated respectively.
[0048]
[0049] Rs (t) is the timing signal generated by the initial R channel signal of each frame, G s (t) and B s (t) is calculated in the same way as R s (t) R s (t), G s (t) and R s (t) is used as the initial RGB signal for the subsequent extraction of the BVP signal, and t represents the frame sequence of the eye video.
[0050] (3) Eliminate motion artifacts using chrominance-based methods;
[0051] First, two orthogonal chromaticity signals X are created from the three RGB color channels. f and Y f As shown in formula (3) and formula (4), the main purpose of establishing orthogonal chromaticity signals is to better separate heart rate information from interference factors, including motion artifacts and specular reflections. This method can improve the signal-to-noise ratio of the signal and enhance the extraction effect of the heart rate signal, thereby achieving more accurate non-contact heart rate detection.
[0052] X f =3R s -2G s (3)
[0053] Y f =1.5R s +G s -1.5B s (4)
[0054] Among them, R s , G s , B s is the timing signal R obtained by the RGB value s (t), G s (t), B s (t), the signal fluctuations caused by blood volume changes may be different, while the impact of motion on the two chrominance signals is the same. Through this, the same impact of motion on the two signals can be used to eliminate motion artifacts. Formula (5) is the definition of α, and the linear combination signal S of the RGB three channels represented by formula (6) is used to eliminate the impact of motion.
[0055]
[0056] Among them, σ x and σ y X f and Y f The standard deviation of X f and Y fThe ratio of the standard deviations of f and Y f are two orthogonal chrominance signals calculated by formula (2) and formula (3). Signal S is the final result of processing the RGB signal to obtain the BVP signal.
[0057] (4) Convert the processed BVP signal into a spatiotemporal feature map.
[0058] Each BVP signal is processed by sliding window to increase the data volume. Combining the training data volume and classification accuracy, we get a 5-second video, that is, a 150-frame image sequence to generate a spatiotemporal feature map that achieves the best effect. Therefore, the length of each window is set to 150 frames, and the window step is 10 frames. The signal S is divided into S win
[0059] The spatiotemporal feature map contains all the information in the time series signal. By converting the time series signal into an image, richer feature information can be captured. In this way, the convolutional neural network for image classification can better recognize complex information and achieve better classification performance.
[0060] The construction process of the spatiotemporal feature map is to convert the given time series signal into a two-dimensional matrix Z. First, according to the length of the time series signal, a matrix with a size of half the length of the original signal is initialized. Then, each element in the matrix is traversed, and according to the position of the current element, the value of the corresponding time point is extracted from the time series signal and filled into the matrix Z. The value of the (j, k)th point is shown in formula (7).
[0061]
[0062] S win is the BVP signal after sliding window processing, M is the signal timing signal S win The length of the sliding window is set to 150 frames, so M is 150 here. The generated results of spatiotemporal feature maps are as follows: Figure 5 shown.
[0063] (5) Training the high intraocular pressure classification model JOI-Net through spatiotemporal feature maps
[0064] After executing the above steps to obtain a set of spatiotemporal feature maps, normal intraocular pressure and high intraocular pressure were classified and trained. The ratio of training set to validation set was 7:3. After reading the data set, the image size was adjusted to 300x300, and the high intraocular pressure classification model JOI-Net based on ResNet18 training was obtained. JOI-Net is the model with the highest test accuracy in 14 training cycles. The accuracy of JOI-Net for high intraocular pressure recognition on the validation set can reach 70.37%, and the accuracy is calculated as shown in formula (8).
[0065]
[0066] TP and FP stand for true positive and false positive, respectively. Compared with ordinary CNN, this model adds residual blocks to solve the gradient vanishing problem in deep networks, making the network deeper and able to learn richer features. Therefore, ResNet18 network is used to classify spatiotemporal feature maps. The initial convolution layer in the model uses a 7x7 convolution kernel with a step size of 2; there is a 3x3 maximum pooling layer with a step size of 2 after the initial convolution layer; and the middle of the network contains a global average pooling layer. The model consists of 8 residual blocks, each of which contains 2 convolution layers, each of which is followed by Batch Normalization and ReLU activation functions. These residual blocks pass the input directly to the output through Skip Connections to solve the gradient vanishing problem in deep networks. The batch size during training is 16, and the number of epochs for training is 14. The learning rate of the model is 0.0001 in the first 7 epochs and 0.00001 in the last 7 epochs.
[0067] 3. Input human eye video and identify high intraocular pressure.
[0068] (1) Extract eye ROI using IPNETP model;
[0069] The eye image is extracted frame by frame from the video data to be detected. The eye ROI extraction model IPNETP is used to process the input video frame by frame, identify the pupil and iris areas, generate the ROI mask for each frame, and extract the image of the ROI area.
[0070] (2) Detect and filter out blink frames;
[0071] The length and width of the ROI mask are calculated. If the ratio of the mask length to the width is greater than 5, the current frame is determined to be in a blink state and the current frame is discarded. Define I n is the mask sequence generated after the video is processed, I blink is the blink frame, L and W represent the length and width of the mask area respectively, n is the total number of all frames, and I represents the last retained frame sequence.
[0072]
[0073] I=I n -I blink (10)
[0074] (3) extracting BVP signals and generating spatiotemporal feature maps;
[0075] After filtering out the blinking frames, repeat steps 2(2), 2(3) and 2(4), correspond the mask to the eye image frame by frame, retain the continuous frame sequence with a length greater than 150, and obtain the mean of the RGB three-channel signal of the ROI frame by frame to generate the initial RGB signal. Use the chrominance-based method to eliminate motion artifacts, extract the final BVP signal, apply a sliding window to the BVP signal and convert it into a spatiotemporal feature map.
[0076] (4) Use the JOI-Net model to detect high intraocular pressure;
[0077] The JOI-Net model is used to classify the spatiotemporal feature maps generated by the eye video, determine whether there is high intraocular pressure, and output the high intraocular pressure detection results. The overall judgment process is as follows Figure 6 shown.
Claims
1. A method for distinguishing high intraocular pressure based on spatiotemporal feature graph for eye video, characterized in that: The following steps are involved:
1. Build a region of interest extraction model based on semantic segmentation network; (1) Construct a dataset of eye close-up images with masks for training ROI extraction; First, collect images containing close-up of the eye from public image databases, medical image databases or through online searches; next, mark the pupil and iris as ROIs and generate corresponding mask images. The mask image is a binary image, with the white part representing the ROI and the black part representing other areas; (2) Train the model IPNETP for extracting ROI; The eye close-up image is used as data and the mask image is used as a label. The training is performed on the U2NETP network to obtain the ROI extraction model IPNETP. On the test image, IPNETP extracts the dice coefficient of the eye image ROI. The calculation formula of the dice coefficient is as follows: TP, FN, and FP represent true positive, false negative, and false positive, respectively; The training dataset includes ROI images and their corresponding label images. These images are first preprocessed by scaling, random cropping, and normalization, and then input into the model to generate prediction results at multiple scales. During the training process, a multi-scale binary cross entropy loss function is used to calculate the error between the prediction result and the true label, and the model weight parameters are updated through the back propagation algorithm; the specific training parameters include 1000 training cycles, a training batch size of 10, a validation batch size of 1, a learning rate of 0.001, Adam optimizer parameters β1 = 0.9, β2 = 0.999, and a weight decay of 0; IPNETP is the model obtained after the last output of 1000 training cycles; 2. Train the high intraocular pressure classification model JOI-Net based on the spatiotemporal feature map; (1) Construct a close-up eye video dataset for non-contact intraocular pressure determination; We built a dataset of eye close-up videos; In terms of data collection, an eyelid contact electronic tonometer was used to repeat the measurement three times to obtain the average value as the true value of intraocular pressure; the distance between the eye and the camera was 5 cm, and the ambient light illumination of the video recording was maintained at 100-500 lux; in the data set, the range of intraocular pressure collected was 6 mmHg to 45 mmHg; (2) Extract the RGB three-channel signal of the ROI in the video; The mask of the extracted ROI area is mapped to the original eye image frame by frame to form a video frame sequence; then the R, G, and B three-channel signals of each frame ROI are extracted, and the average value of each channel is calculated respectively; R s (t) is the timing signal generated by the initial R channel signal of each frame, G s (t) and B s (t) is calculated in the same way as R s (t); R s (t), G s (t) and B s (t) is used as the initial RGB signal for subsequent BVP signal extraction, and t represents the frame sequence of the eye video; (3) Eliminate motion artifacts using chrominance-based methods; First, two orthogonal chromaticity signals X are created from the three RGB color channels. f and Y f As shown in formula (3) and formula (4), <h2 style=";text-align:left;direction:ltr">X<h2 style=";text-align:left;direction:ltr"> f <h2 style=";text-align:left;direction:ltr"> <3R<h2 style=";text-align:left;direction:ltr"> s <h2 style=";text-align:left;direction:ltr"> -2G<h2 style=";text-align:left;direction:ltr"> s <h2 style=";text-align:left;direction:ltr"> (3) Y f =1.5R s +G s -1.5B s (4) Among them, R s , G s , B s is the timing signal R obtained by the RGB value s (t), G s (t), B s (t); Formula (5) is the definition of α, and the linear combination signal S of the RGB three channels represented by formula (6) is used to eliminate the influence of motion; Among them, σ x and σ y X f and Y f The standard deviation of X f and Y f The ratio of the standard deviations of f and Y f are two orthogonal chrominance signals calculated by formula (2) and formula (3); signal S is the final result of obtaining the BVP signal by processing the RGB signal; (4) converting the processed BVP signal into a spatiotemporal feature map; Each BVP signal is processed by sliding window to increase the data volume. The length of each window is set to 150 frames and the window step is 10 frames. Thus, the signal S is divided into S win The construction process of the spatiotemporal feature map is to convert the given time series signal into a two-dimensional matrix Z. First, according to the length of the time series signal, a matrix with a size of half the original signal length is initialized. Then, each element in the matrix is traversed, and according to the position of the current element, the value of the corresponding time point is extracted from the time series signal and filled into the matrix Z. The value of the (j, k)th point is shown in formula (7). S win is the BVP signal after sliding window processing, M is the signal timing signal S win The length of the sliding window is set to 150 frames, so M is 150 here; (5) Training the high intraocular pressure classification model JOI-Net through spatiotemporal feature maps After obtaining a set of spatiotemporal feature maps, normal intraocular pressure and high intraocular pressure were classified and trained. After reading the data set, the image size was adjusted to 300x300, and the high intraocular pressure classification model JOI-Net based on ResNet18 training was obtained. The ResNet18 network is used to classify the spatiotemporal feature maps. The initial convolution layer in the model uses a 7x7 convolution kernel with a step size of 2. There is a 3x3 maximum pooling layer with a step size of 2 after the initial convolution layer. The network contains a global average pooling layer in the middle. The model consists of 8 residual blocks, each of which contains 2 convolution layers. Each convolution layer is followed by Batch Normalization and ReLU activation functions. These residual blocks pass the input directly to the output through Skip Connections to solve the gradient vanishing problem in deep networks. The batch size during training is 16, and the number of epochs for training is 14. The learning rate of the model is 0.0001 in the first 7 epochs and 0.00001 in the last 7 epochs.
3. Input human eye video and identify high intraocular pressure; (1) Extract eye ROI using IPNETP model; Extract eye images frame by frame from the video data to be detected, use the eye ROI extraction model IPNETP to process the input video frame by frame, identify the pupil and iris areas, generate the ROI mask for each frame, and extract the image of the ROI area; (2) Detect and filter out blink frames; (3) Calculate the length and width of the ROI mask. If the ratio of the mask length to the width is greater than 5, the current frame is considered to be in a blink state and is discarded. Define I n is the mask sequence generated after the video is processed, I blink is the blink frame, L and W represent the length and width of the mask area respectively, n is the total number of all frames, and I represents the last retained frame sequence; I=I n -I blink (10) (4) extracting BVP signals and generating spatiotemporal feature maps; After filtering out the blinking frames, repeat step 2, retain the continuous frame sequence with a length greater than 150, and obtain the mean of the RGB three-channel signal of the ROI frame by frame to generate the initial RGB signal; eliminate motion artifacts, extract the final BVP signal, apply a sliding window to the BVP signal and convert it into a spatiotemporal feature map; (4) Use the JOI-Net model to detect high intraocular pressure; The JOI-Net model is used to classify the spatiotemporal feature maps generated by the eye video, determine whether there is high intraocular pressure, and output the high intraocular pressure detection results.
