Hypertension risk prediction method, device, equipment and medium
Through deep learning and machine learning, combined with fundus blood vessel and lesion characteristics, as well as personal information and lifestyle factors, a hypertension risk prediction model is established, which solves the problem of low accuracy of hypertension risk prediction in the existing technology and achieves a more accurate and Comprehensive risk assessment.
Patent Information
- Application Number
- CN202110977285.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-24
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-08-24
AI Technical Summary
Existing hypertension risk prediction methods based on fundus color photographs have low accuracy and lack analysis of other fundus lesions such as fundus hemorrhage, hard exudation, and papilledema, as well as consideration of individual physique and lifestyle.
An arteriovenous segmentation model and an optic disc segmentation model were constructed through deep learning to identify fundus blood vessels and lesion characteristics, and combined with quantitative values of blood vessel diameter, personal information and lifestyle factors, a machine learning regression method was used to establish a hypertension risk prediction model.
The accuracy of hypertension risk prediction is improved, and training through multiple variable factors enhances the accuracy and comprehensiveness of prediction.
Smart Images

Figure CN113689954B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technology and provides a method, device, equipment and medium for predicting hypertension risk. Background Art
[0002] With the rapid development of my country's economy, living standards are constantly improving, and dietary structure and lifestyle have also changed greatly. The prevalence of chronic diseases such as hypertension has increased year by year, and the age of patients is getting younger. These chronic diseases and their complications have caused serious social and economic burdens. It is particularly important to identify the risk of hypertension in individuals as early as possible and carry out targeted disease prevention in order to promote individual health and reduce the burden of medical care.
[0003] However, existing methods for predicting hypertension risk based on fundus color photographs simply segment and identify arteries and veins, with a single research factor. There is a lack of analysis of other fundus lesions such as fundus hemorrhage, hard exudates, and papilledema, and there is no analysis of the individual's physique and lifestyle, resulting in a low accuracy rate in hypertension risk prediction. Summary of the invention
[0004] The present invention provides a method, device, equipment and medium for predicting hypertension risk. Its main purpose is to respectively construct an arteriovenous segmentation model and an optic disc segmentation model through deep learning, so as to segment and identify arteriovenous blood vessels within a preset video range, and quantify the arteriovenous blood vessels to obtain the quantified values of the blood vessel diameters of arteries and veins; based on the deep learning method, a lesion recognition model is constructed to identify the characteristics of fundus lesions, and a risk prediction model for predicting the hypertension of a target to be tested is established based on a machine learning regression method in combination with multiple variables such as the quantified values of blood vessel diameters, lesion characteristics, and other risk factors, so as to improve the accuracy of hypertension risk prediction through the risk prediction model.
[0005] To achieve the above object, the present invention provides a method for predicting hypertension risk, the method comprising:
[0006] Obtaining personal information and fundus images of the target to be measured, wherein the personal information includes at least one of the age, body mass index, smoking history, drinking history, systolic blood pressure or diastolic blood pressure of the target to be measured;
[0007] Inputting the fundus image into a preset arteriovenous segmentation model, an optic disc segmentation model and a lesion recognition model respectively, and extracting the arteriovenous vessels, optic disc area and fundus lesion features in the fundus image respectively;
[0008] Quantifying the diameters of the arteries and veins in the optic disc area to obtain quantified values of the diameters of the arteries and veins;
[0009] Using a machine learning regression method to construct a risk prediction model for predicting hypertension of a target to be tested based on the quantified value of the blood vessel diameter, fundus lesion characteristics, and personal information;
[0010] The fundus image corresponding to the target to be tested is input into the risk prediction model for detection to obtain the hypertension prediction result of the target to be tested.
[0011] Optionally, before inputting the fundus image into a preset arteriovenous segmentation model, an optic disc segmentation model and a lesion recognition model respectively, the method further includes:
[0012] The UNET network is used to construct an arteriovenous segmentation model and an optic disc segmentation model based on a training set. The lesion recognition model is trained using different neural network models according to different lesion symptoms, wherein the lesion symptoms at least include arteriovenous compression signs, papilledema, hemorrhage and exudation.
[0013] Optionally, the method of using a UNET network to construct an arteriovenous segmentation model and an optic disc segmentation model based on a training set includes:
[0014] Based on the training set, two UNET networks are used to train to obtain an arteriovenous segmentation model and an optic disc segmentation model; one UNET network in the arteriovenous segmentation model is used to extract the characteristics of vascular tissue in the fundus image, and the other UNET network is used to determine whether the vascular tissue is an artery or a vein according to the output probability of the vascular tissue characteristics; one UNET network in the optic disc segmentation model is used to extract the characteristics of optic disc tissue in the fundus image, and the other UNET network is used to determine whether the optic disc tissue is an optic disc according to the output probability of the optic disc tissue characteristics;
[0015] Among them, the UNET network includes an encoding layer and a decoding layer. The encoding layer is composed of a convolutional layer and a downsampling layer, and is used to extract features; the decoding layer is composed of a convolutional layer and a downsampling layer, and is used to identify the extracted features; the loss function of the UNET network used to extract features is Dice Loss; the loss function of the UNET network used to identify features is multi-class cross entropy loss.
[0016] Optionally, the lesion recognition model is trained using different neural network models according to different lesion symptoms, and further includes:
[0017] The fundus images of the target to be measured are respectively annotated according to different pathological symptoms to form a plurality of data sets for training different neural network models, wherein the plurality of data sets at least include a first data set, a second data set, a third data set and a fourth data set;
[0018] Based on the arteriovenous compression sign lesion areas and non-arteriovenous compression sign lesion areas marked in the first data set, using the first data set to train a convolutional neural network to obtain an arteriovenous compression sign recognition model;
[0019] Based on the arteriovenous compression sign lesion areas and non-arteriovenous compression sign lesion areas marked in the second data set, the second data set is used to train a convolutional neural network to obtain a papilledema recognition model;
[0020] Based on the third training data of the bleeding lesion area and the non-bleeding lesion area marked in the third data set, the third data set is used to train a fully convolutional deep learning network to obtain a bleeding lesion recognition model;
[0021] Based on the exudative lesion areas and non-exudative lesion areas marked in the fourth data set, the fourth data set is used to train a fully convolutional deep learning network to obtain an arteriovenous compression sign recognition model.
[0022] Optionally, before the fundus image is input into a preset arteriovenous segmentation model, an optic disc segmentation model and a lesion recognition model respectively, the step includes:
[0023] Convert the fundus image into an image of a preset size;
[0024] Normalizing the fundus image of preset specifications to obtain a fundus image with uniform pixel colors;
[0025] The fundus image with uniform pixel color is enhanced in terms of brightness, contrast and color to obtain an enhanced fundus image.
[0026] Optionally, the quantifying the diameters of the arteries and veins in the optic disc region to obtain the quantified values of the blood vessel diameters corresponding to the arteries and veins may further include:
[0027] The arteries and veins within the preset optic disc diameter range were extracted, and the equivalent values of the central retinal artery diameter and the central retinal vein diameter were calculated using the modified Parr-Hubbard formula to obtain the quantified values of the corresponding vascular diameters of the arteries and veins.
[0028]
[0029]
[0030] Among them, A i and A j are the maximum arterial diameter and the minimum arterial diameter obtained iteratively; V i and V jare the maximum and minimum venous vessel diameters iteratively obtained, respectively. CRAE and CRVE are the equivalent values of the central retinal artery diameter and the central retinal vein diameter, respectively.
[0031] Optionally, the method of using a machine learning regression method to construct a risk prediction model for predicting hypertension of a target to be tested based on the quantified value of the blood vessel diameter, fundus lesion characteristics, and personal information further includes:
[0032] Analyze the blood vessel diameter quantification value, fundus lesion characteristics and personal information one by one by using regression analysis to obtain variable factors whose correlations meet preset values;
[0033] According to the correlation between each variable factor and hypertension, the weight coefficient of each variable factor is determined by principal component analysis;
[0034] The variable factors and the corresponding weight coefficients are input into a multi-factor regression model based on machine learning for training to obtain a risk prediction model for predicting the hypertension of the target to be tested.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides a hypertension risk prediction device, the device comprising:
[0036] An acquisition module, used to acquire personal information and fundus images of the target to be measured, wherein the personal information includes at least one of the age, body mass index, smoking history, drinking history, systolic blood pressure or diastolic blood pressure of the target to be measured;
[0037] A feature extraction module, used to input the fundus image into a preset arteriovenous segmentation model, an optic disc segmentation model and a lesion recognition model, respectively, to extract the arteriovenous vessels, optic disc area and fundus lesion features in the fundus image;
[0038] A blood vessel diameter quantification module is used to quantify the diameters of the arteriovenous blood vessels in the optic disc area to obtain the quantified values of the blood vessel diameters corresponding to the arteriovenous blood vessels;
[0039] A risk prediction model building module, which uses a machine learning regression method to build a risk prediction model for predicting hypertension of a target to be tested based on the quantified value of the blood vessel diameter, fundus lesion characteristics, and personal information;
[0040] The risk prediction module is used to input the fundus image corresponding to the target to be tested into the risk prediction model for detection to obtain the hypertension prediction result of the target to be tested.
[0041] In addition, to achieve the above objectives, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the above embodiments when executing the computer program.
[0042] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0043] The hypertension risk prediction method, device, equipment and medium proposed in the present invention respectively construct an arteriovenous segmentation model and an optic disc segmentation model through deep learning, so as to segment and identify arteries and veins within a preset video range, and quantify the arteries and veins to obtain the quantified values of the vascular diameters of the arteries and veins; a lesion recognition model is constructed based on the deep learning method to identify the characteristics of fundus lesions, and a risk prediction model for predicting the hypertension of the target to be tested is established based on the machine learning regression method in combination with the quantified values of the vascular diameter, the lesion characteristics, and other risk factors related to personal information and lifestyle. Since the risk prediction model is trained using multiple variable factors, the accuracy of hypertension risk prediction is greatly improved compared with the single factor model construction method. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic diagram of a process flow of a hypertension risk prediction method provided in one embodiment of the present invention;
[0045] Figure 2 A schematic diagram of a fundus image preprocessing process in a hypertension risk prediction method provided in one embodiment of the present invention;
[0046] Figure 3 A schematic diagram of a risk prediction model construction process in a hypertension risk prediction method provided in one embodiment of the present invention;
[0047] Figure 4 A schematic diagram of the structure of a hypertension risk prediction device provided in one embodiment of the present invention;
[0048] Figure 5 A schematic diagram of a complete structure of a hypertension risk prediction device provided in one embodiment of the present invention;
[0049] Figure 6 A schematic diagram of the structure of a computer device provided in one embodiment of the invention.
[0050] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0051] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0052] In order to facilitate the understanding of the present application, the concepts involved in the present application are first explained.
[0053] Hypertension is one of the most common chronic diseases and the most important risk factor for cardiovascular and cerebrovascular diseases. As of 2015, the prevalence of hypertension in the adult population in my country was 27.9% and is on the rise. Hypertension increases the risk of heart, brain, kidney and other diseases. Early identification of individuals at risk of hypertension and targeted disease prevention are particularly important in promoting individual health and reducing the burden of medical care.
[0054] Fundus color photography is a non-invasive imaging method that can directly observe the morphological changes of the fundus microvascular system. At the same time, increased blood pressure will also cause increased pressure on the blood vessel wall, which may lead to retinal vascular abnormalities such as functional stenosis of the retinal artery, arteriosclerosis, and arteriovenous cross-pressure. Prospective studies have shown that retinopathy, changes in retinal caliber, especially a decrease in the arteriovenous caliber ratio, are significantly associated with the occurrence of hypertension.
[0055] In one embodiment, a method for predicting hypertension risk is provided, referring to Figure 1 As shown, the method comprises the following steps:
[0056] S101, obtaining personal information and fundus images of the target to be measured, wherein the personal information includes at least one of the age, body mass index, smoking history, drinking history, systolic blood pressure or diastolic blood pressure of the target to be measured.
[0057] For step S101, it mainly reflects that the target to be tested provides corresponding personal information and fundus images, wherein the personal information includes but is not limited to age, BMI (body mass index), smoking history, drinking history, systolic blood pressure and diastolic blood pressure, etc., forming variable factors affecting hypertension prediction analysis.
[0058] The fundus image refers to the tissue at the back of the eyeball, which may include the inner membrane, retina, macula, and blood vessels (retinal arteries and veins) of the eyeball. In some examples, the characteristics of the lesions can be identified by monitoring the changes in blood vessels at the fundus of the human eye, wherein the personal information of the target to be tested is interrelated with the fundus image, that is, the personal information of each target to be tested is bound to the corresponding fundus image.
[0059] For example, fundus images and personal information of a hospital are selected to form a data set, and fundus color photo data corresponding to personal information is collected. The disease data are: normal, hemorrhagic focus, hard exudate, arteriovenous compression sign, and papilledema. For example, the corresponding labeled data of hemorrhagic focus, hard exudate, arteriovenous compression sign, and papilledema are used to train the lesion recognition model; the segmented images of arteries and veins are used to train the arteriovenous segmentation model; and the segmented images of the optic disc area in the fundus are used to train the optic disc segmentation model.
[0060] The optic disc area is outlined on the fundus image in the form of a square, circle, ellipse, irregular polygon, etc. to indicate the area to be processed.
[0061] In some embodiments, in order to obtain a better training set and test set, the fundus image of the target to be tested needs to be preprocessed. Figure 2 , the method further comprises:
[0062] Step S201, converting the fundus image into an image of a preset size;
[0063] Step S202, normalizing the fundus image of preset specifications to obtain a fundus image with uniform pixel colors;
[0064] Step S203 , performing brightness, contrast and color enhancement processing on the fundus image with uniform pixel color to obtain an enhanced fundus image.
[0065] Among them, the images are uniformly scaled to a size of 512×512; normalization is performed, the image is Gaussian blurred and reversely superimposed with the original image, and the pixel color mean is moved to 128; data enhancement is performed on the image, and the following operations are performed on each training sample: horizontal flipping with a probability of 50%; transposition with a probability of 50%; random gamma transformation, with the gamma value limited to (50, 150); random change of the HUE, saturation and value of the image with a probability of 50%; translation and rotation operations with a probability of 50%; select one of the following combinations for operation: limited contrast histogram equalization (CLAHE) algorithm; image overlap after sharpening (IAASharpen) algorithm; perform a certain degree of relief operation on the image, and merge the result with the image through a channel (IAAEmboss algorithm); random brightness and contrast adjustment; random blur and increase Gaussian noise processing.
[0066] Through the above method, on the one hand, through preprocessing, fundus images of different formats and sizes can be converted into a preset format, and at the same time, the fundus images of preset specifications are normalized to obtain a fundus image with uniform pixel color; on the other hand, the fundus image with uniform pixel color is enhanced to obtain a fundus image with standard brightness, clarity and saturation values.
[0067] Step S102: inputting the fundus image into a preset arteriovenous segmentation model, an optic disc segmentation model and a lesion recognition model respectively, and extracting the arteriovenous vessels, optic disc area and fundus lesion features in the fundus image respectively.
[0068] Regarding step S102, it mainly reflects that the arteriovenous segmentation model, the optic disc segmentation model and the lesion recognition model are trained respectively, and the arteriovenous blood vessels, the optic disc area and the fundus lesion features in the fundus image are extracted in turn.
[0069] Among them, the UNET network is used to construct the arteriovenous segmentation model and the optic disc segmentation model based on the training set, and the lesion recognition model is trained using different neural network models according to different lesion symptoms, wherein the lesion symptoms at least include arteriovenous compression signs, papilledema, hemorrhage and exudation.
[0070] Optionally, the step of using the UNET network to construct an arteriovenous segmentation model and an optic disc segmentation model based on a training set includes:
[0071] Step S301, using two UNET networks to obtain an arteriovenous segmentation model and an optic disc segmentation model through training based on a training set;
[0072] Step S302, one UNET network in the arteriovenous segmentation model is used to extract the characteristics of vascular tissue in the fundus image, and another UNET network is used to determine whether the vascular tissue is an artery or a vein according to the output probability of the vascular tissue characteristics; one UNET network in the optic disc segmentation model is used to extract the characteristics of optic disc tissue in the fundus image, and another UNET network is used to determine whether the optic disc tissue is an optic disc according to the output probability of the optic disc tissue characteristics;
[0073] Among them, the UNET network includes an encoding layer and a decoding layer. The encoding layer is composed of a convolutional layer and a downsampling layer, and is used to extract features; the decoding layer is composed of a convolutional layer and a downsampling layer, and is used to identify the extracted features; the loss function of the UNET network used to extract features is Dice Loss; the loss function of the UNET network used to identify features is multi-class cross entropy loss.
[0074] In some embodiments, a method for extracting and identifying arteries and veins using the arteriovenous segmentation model includes:
[0075] Inputting the fundus image into the first UNET network in the arteriovenous segmentation model to obtain segmented vascular features;
[0076] The blood vessel features are input into the second UNET network in the arteriovenous segmentation model, and the arteriovenous classification result is determined according to the output probability.
[0077] Among them, the UNET network includes an encoding layer and a decoding layer. The encoding layer is composed of a convolutional layer and a downsampling layer, and is used to extract features; the decoding layer is composed of a convolutional layer and a downsampling layer, and is used to identify the extracted features; the loss function of the UNET network used to extract features is Dice Loss; the loss function of the UNET network used to identify features is multi-class cross entropy loss.
[0078] In this embodiment, the deep learning network of the arteriovenous segmentation method adopts two stages: a deep learning network for blood vessel extraction and a deep learning network for arteriovenous recognition. That is, the deep learning network for blood vessel extraction is first used to extract blood vessels to obtain a blood vessel segmentation map, and then the blood vessel segmentation map is input into the deep learning network for arteriovenous recognition for arteriovenous recognition. Among them, a multi-stage training strategy is adopted, which can automatically distinguish arteries and veins well, improve the accuracy of arteriovenous segmentation and recognition, and has extremely high robustness.
[0079] For example, the fundus image is input into the first UNET network to obtain a binary image of vascular tissue; the image is convolved with the fundus image using the second UNET network to obtain the classification result of arteries and veins.
[0080] Optionally, the UNET network has a downsampling process and an upsampling process, and has a connection module between the same layers. The connection between the convolution layers uses a residual module to create an identity mapping, so that the network structure converges in the direction of the identity mapping; a multi-level feature combination of multi-level input and multi-scale features is adopted, and a hole convolution layer is introduced; in the downsampling process, a convolution operation with a stride of 2 is adopted; in the upsampling process, a deconvolution operation is used; after a mask layer of a self-attention model, the mask input is h×w×c, and the mask layer performs convolution operations in the channel direction c and the plane h×w perpendicular to it, respectively, and uses a sigmoid activation function and multiplies the two to obtain a probability output with a value range of 0 to 1 and a size of h×w×c, and the input and mask output are multiplied to obtain the output; the mask input and output are multiplied and passed through the convolution network to obtain a feature segmentation map, such as an arteriovenous segmentation map.
[0081] Optionally, the loss function of the first Unet network is Dice Loss, specifically:
[0082]
[0083] In formula (1), |x∩y| represents the intersection between fundus images (i.e., samples) x and y, |x| and |y| represent the number of elements of X and Y respectively, and the coefficient of the numerator is 2 because the denominator repeatedly counts the common elements between x and y. In addition, adding 1 to both the numerator and the denominator can, on the one hand, avoid the problem of the numerator being divided by 0 when |x| and |y| are both 0; on the other hand, reduce overfitting. In this way, the vascular tissue in the fundus image can be accurately extracted.
[0084] Optionally, the loss function of the second Unet network is a multi-class cross entropy loss:
[0085] L(y,y',y 1 ,y 1 ')=-(yLny'+(1-y)Ln(1-y'))-(y 1 LqCy 1 '+(1-y 1 )Ln(1-y 1 ')) Formula (2)
[0086] Where y in formula (2) represents the probability of the true arteriovenous annotation probability map of the fundus image x, y 1 represents the probability of the true labeled probability map of the arteriovenous boundary of the fundus image x, y' represents the output of the true arteriovenous labeled probability map of the fundus image x after Loc(·), y 1 ' represents the output of Loc(·) of the true labeled probability map of the arteriovenous boundary of the fundus image x.
[0087] Through the above-mentioned multi-class cross entropy loss method, on the one hand, the derivation of the multi-classification cross entropy loss is simpler, and the loss is only related to the probability of the correct category; on the other hand, the accuracy of the extracted arteries and veins can be ensured.
[0088] In some embodiments, the method of extracting and identifying the optic disc using the optic disc segmentation model comprises:
[0089] Inputting the fundus image into the first Unet network in the optic disc segmentation model to obtain optic disc features;
[0090] The optic disc features are input into a second Unet network in the optic disc segmentation model, and an optic disc classification result is determined according to the output probability.
[0091] It should be noted that since the method of extracting and identifying the optic disc segmentation model is the same as the method of extracting and identifying the arteriovenous segmentation model, it will not be described in detail here.
[0092] Optionally, the step of training the lesion recognition model using different neural network models according to different lesion symptoms also includes:
[0093] The fundus images of the target to be measured are respectively annotated according to different pathological symptoms to form a plurality of data sets for training different neural network models, wherein the plurality of data sets at least include a first data set, a second data set, a third data set and a fourth data set;
[0094] Based on the arteriovenous compression sign lesion areas and non-arteriovenous compression sign lesion areas marked in the first data set, using the first data set to train a convolutional neural network to obtain an arteriovenous compression sign recognition model;
[0095] Based on the arteriovenous compression sign lesion areas and non-arteriovenous compression sign lesion areas marked in the second data set, the second data set is used to train a convolutional neural network to obtain a papilledema recognition model;
[0096] Based on the third training data of the bleeding lesion area and the non-bleeding lesion area marked in the third data set, the third data set is used to train a fully convolutional deep learning network to obtain a bleeding lesion recognition model;
[0097] Based on the exudative lesion areas and non-exudative lesion areas marked in the fourth data set, the fourth data set is used to train a fully convolutional deep learning network to obtain an arteriovenous compression sign recognition model.
[0098] In some embodiments, the step of identifying fundus lesion features using a lesion recognition model specifically includes:
[0099] The same fundus image to be identified is respectively introduced into the arteriovenous compression sign identification model, the papilledema identification model, the hemorrhagic lesion identification model and the exudative lesion identification model for identification;
[0100] Extracting lesion feature information according to the recognition result, and then using the trained support vector machine classifier to classify the extracted lesion feature information to obtain the lesion type classification result corresponding to the fundus image;
[0101] The arteriovenous compression sign recognition model is obtained by extracting candidate areas of arteriovenous lesions in fundus images, marking arteriovenous compression sign lesion areas and non-arteriovenous compression sign lesion areas, and then inputting them into a CNN model for training; the papilledema recognition model is obtained by extracting candidate areas of papilledema in fundus images, marking papilledema areas and non-papilledema areas, and then inputting them into a CNN model for training; the hemorrhagic lesion recognition model is obtained by marking hemorrhagic lesion areas and non-hemorrhagic lesion areas in fundus images, and then inputting them into an FCN model for training; the exudative lesion recognition model is obtained by marking exudative lesion areas and non-exudative lesion areas in fundus images, and then inputting them into an FCN model for training.
[0102] Specifically, the lesion characteristic information includes but is not limited to the number, area, shape, grayscale, roundness and aspect ratio of the lesion region.
[0103] In this embodiment, different neural network models are adopted for different lesion symptoms. Therefore, the saved model has higher accuracy and stronger applicability for specific lesion identification. It classifies four lesions, namely arteriovenous compression signs, papilledema, hemorrhage, and exudation, based on multiple features. It has higher classification accuracy and can more effectively assist doctors in clinical screening.
[0104] In other embodiments, the hemorrhagic lesion recognition model and the exudative lesion recognition model are both obtained by training based on the FCN model, and include the following steps:
[0105] The lesion area and non-lesion area of the fundus image are annotated through image processing to generate a training set; the FCN model is constructed using the UNET network structure, and some annotated data in the training set is randomly selected for training each time to obtain a trained lesion recognition model; the loss function used in the training is DICE.
[0106] Among them, the FCN model is a fully convolutional neural network, including convolution, upsampling and skip structure, wherein convolution is used to adapt to input of any size and output a low-resolution segmented image; upsampling (deconvolution) is used to upsample a low-resolution image and output a segmented image of the same resolution; the skip structure is used to combine the data after upsampling and upper-layer convolution pooling to repair and restore the image. The image involved in the embodiment refers to the fundus image.
[0107] Specifically, the annotation of fundus images also generates a test set, which is used to test the trained model to evaluate the recognition ability of the trained model; the annotation of fundus images also generates a validation set, which is used to make corrections during model training to prevent network overfitting.
[0108] Step S103: quantifying the diameters of the arteries and veins in the optic disc area to obtain quantified values of the diameters of the arteries and veins;
[0109] For step S103, it mainly reflects how to convert the arteries and veins classified in step S102 into coefficients related to the hypertension variable factor. It has been medically proven that there are obvious differences in the microvessels in the fundus images between users with hypertension and users without hypertension. For example, under repeated high-voltage stimulation, the retinal arterioles in hypertension will be slightly narrowed and slightly hardened in the early stage; if the blood pressure increases for a long time and develops to a certain stage, the retina will further change, the arteries will continue to narrow, the retinal arteriosclerosis will be obvious, the arteries will show a "silver line reaction", the arterial diameters will be unevenly narrowed, and there will be cross-pressure marks between arteries and veins; from the above, it can be seen that hypertension can affect or reduce the diameter of arteries and veins.
[0110] Specifically, the arteries and veins within the preset optic disc diameter range corresponding to the fundus image are located, and the Parr-Hubbard-Knudtson formula is used to calculate CRAE (central retinal artery equivalent, central retinal artery diameter equivalent) and CRVE (central retinal vein equivalent, central retinal vein diameter equivalent), respectively. The Parr-Hubbard-Knudtson formula is:
[0111]
[0112]
[0113] Among them, A in formula (3) and formula (4) i and A j are the maximum arterial diameter and the minimum arterial diameter obtained iteratively; V i and V j are the maximum venous vessel diameter and the minimum venous vessel diameter obtained iteratively, respectively. Finally, the final AVR quantitative calculation result is obtained through the formula AVR=CRAE / CRVE.
[0114] Through the above method, the retinal arterial vessels and venous vessels can be quantified respectively to obtain the equivalent value of the central retinal artery diameter and the equivalent value of the central retinal vein diameter, and then obtain the quantified values of the vessel diameters corresponding to the arterial vessels and venous vessels respectively.
[0115] Step S104: constructing a risk prediction model for predicting hypertension of the target subject based on the quantified value of the blood vessel diameter, fundus lesion characteristics and personal information using a machine learning regression method.
[0116] Regarding step S104, the main purpose is to build a more comprehensive hypertension prediction model, including but not limited to the living habits of the target to be measured (drinking, smoking, etc.), the BMI of the target to be measured, age and other personal information; it also involves variable factors such as the blood vessel diameter of the vascular quantification value, and retinal lesions. Considering various variable factors from all aspects and angles can more subtly reflect the prediction level of hypertension and improve the prediction accuracy of hypertension.
[0117] In some embodiments, the step of constructing a hypertension prediction model based on the blood vessel quantification value, fundus lesion characteristics and personal information includes:
[0118] Step S401, using regression analysis to analyze the quantified value of blood vessel diameter, fundus lesion characteristics and personal information one by one, and obtain variable factors whose correlations meet preset values;
[0119] Step S402, according to the correlation between each variable factor and hypertension, the weight coefficient of each variable factor is determined according to the principal component analysis method;
[0120] Step S403, inputting the variable factors and the corresponding weight coefficients into a multi-factor regression model based on machine learning for training, and obtaining a risk prediction model for predicting hypertension of the target to be tested.
[0121] Specifically, the correlation between the quantitative values of vascular diameter (CRAE, CRVE, AVR), the presence or absence of lesion signs (bleeding foci, hard exudates, arteriovenous compression signs, papilledema), and other risk factors (age, BMI, smoking history, drinking history) and hypertension was firstly carried out regression analysis on each single factor, and the significantly correlated variables (P value less than 0.05) were selected and included in the multivariate regression model. The relevant variables screened in the previous step were input into the multivariate regression model for hypertension risk prediction modeling, thereby realizing the function of hypertension risk level prediction. The modeling formula is as follows:
[0122]
[0123] In formula (5), x 1 , …, x n is the above variable factor, β 1 , …, β n is the weight of each variable factor. The value indicates that when each variable factor increases by 1 unit, its risk of disease increases to e β times.
[0124] Through the above method, multiple risk factors that are positively correlated with hypertension were screened, and a highly accurate hypertension prediction model was constructed, which greatly improved the prediction accuracy of hypertension in the target subject.
[0125] In other embodiments, it also includes: screening and determining variable factors of the hypertension prediction model based on statistical methods, determining variables that affect the prevalence of hypertension, performing correlation analysis based on the binary logistic regression method, obtaining the latent state P value of each variable, and selecting variables with P values less than a set threshold as variable factors.
[0126] In the specific implementation, we can first determine some factors that may affect the prevalence of hypertension, i.e. variables, based on the "Chinese Hypertension Health Management Standards (2019)" and the statistics of the hypertensive population in recent years. There are 15 factors: age, gender, smoking, exercise, family history of hypertension, obesity, diabetes, long-term mental stress, smoking, high blood lipids, high salt intake, systolic blood pressure, diastolic blood pressure, excessive drinking and air pollution. The purpose of screening is to exclude variables with poor predictive performance from the 15 variables and screen out strongly correlated variables as the basis for the establishment of subsequent prediction models.
[0127] Based on the health information data provided by the database, the data on hypertension risk factors were taken out, and the variables were screened using statistical methods. Correlation analysis was performed based on the binary logistic regression method to obtain the P value of a single variable; P values less than 0.05 were statistically significant, so factors with little effect on hypertension were excluded. The final screened variables included: age, gender, smoking, exercise, family history of hypertension, obesity (BMI), diabetes, systolic blood pressure and diastolic blood pressure. The selected 9 variable factors all met the screening conditions in the univariate analysis (P < 0.05). Obesity was expressed by BMI, BMI = weight (kg) divided by height (m2).
[0128] On the basis of the above-mentioned variable factors, the quantitative value of blood vessel diameter and lesion characteristics (bleeding foci, hard exudates, arteriovenous compression signs, and papilledema) were combined as strongly correlated variable factors to determine the regression coefficients and corresponding scores of each variable factor.
[0129] A multifactor Logistic regression model for hypertension prediction was constructed based on the regression coefficients and corresponding scores of each variable factor. The multifactor Logistic regression model is a function of the hypertension risk prediction probability value corresponding to each variable factor.
[0130] Using formula (5), by constructing a multivariate logistic regression model, the main risk factors to be considered are included in the multivariate logistic regression model, thereby estimating the regression coefficient β, OR (Odds ratio) value and its 95% CI (Confidence interval) of each factor. In the multivariate logistic regression model, an OR value of 1 indicates that the factor has no effect on the occurrence of the disease; an OR value greater than 1 indicates that the factor is a risk factor; an OR value less than 1 indicates that the factor is a protective factor. If the regression coefficient β is positive, it means that as the independent variable increases, the logarithm of the dependent variable, i.e., ln(p / 1-p), is also increasing, and the probability p of the dependent variable value is also increasing. However, the probability of the dependent variable taking a low value is increasing at this time, so the independent variable should be associated with a smaller value of the dependent variable; conversely, if the regression coefficient β is negative, it means that the independent variable has a negative effect on the dependent variable, that is, negative correlation.
[0131] In some embodiments, the method of determining the reference value corresponding to each variable factor includes: grouping the values of each variable factor.
[0132] When the variable factor is a numerical variable, the groups of each segment range are set according to the numerical range of the variable factor, and the middle value in each group is selected as the reference value M ref .
[0133] When the variable factor is a categorical variable, each is divided into two groups according to the type of the variable factor, and the reference value M of the two groups is ref Is 0 or 1.
[0134] When the variable factor is a numerical variable, each risk factor is grouped according to clinical significance or usage habits, and an appropriate value is selected in each group as the reference value M ref , usually the middle value within the group is selected as the reference value.
[0135] For example, in this embodiment, the age range of the research population is 45-94 years old. Usually, we divide them into 5 groups according to 10-year-old age groups, and select the middle value of each group as the reference value M. ref For example, the reference value M for the 45-54 age group ref It is (45+54) / 2=49.5.
[0136] The range of systolic blood pressure is 70-139mmHg, and those below 110mmHg are divided into 7 groups according to every 5mmHg. The middle value of each group is the reference value M ref For example, the reference value M for the group of 120-124 mmHg ref It is (120+124) / 2=122.
[0137] The range of diastolic blood pressure is 50-89 mmHg. Those below 70 mmHg are grouped together. Those above 70 mmHg are divided into 3 groups according to 10 mmHg. The middle value of each group is the reference value M. ref For example, the reference value M for the group of 70-80 mmHg ref It is (70+80) / 2=75.
[0138] The range of BMI is 15-50, with <25 as one group, 25-29 as one group, 30-39 as one group, and ≥40 as one group. The middle value of each group is the reference value M ref For example, the reference value M for the group 25-59 ref It is (25+29) / 2=27.
[0139] When the variable factor is a categorical variable, such as gender, you can set male as the reference, that is, the reference value M ref If the value of the criterion is 0, then females are naturally assigned a value of 1. Similarly, non-smoking is set to 0, and smoking is set to 1; exercise is set to 0, and non-exercise is set to 1; no family history of hypertension is set to 0, and family history of hypertension is set to 1; no diabetes is set to 0, and diabetes is set to 1.
[0140] Vascular diameter quantification values (CRAE, CRVE, AVR), for example: as arterial blood pressure increases, the diameter of retinal blood vessels decreases. CRAE, CRVE, and AVR are all related to blood pressure. For every 10 mmHg increase in MABP, CRAE, CRVE, and AVR decrease by 3.5 microns, 0.96 microns, and 0.012, respectively. Since the quantification of vascular diameter is calculated according to 1 to 6, each quantitative index corresponds to 2, and its corresponding reference value M ref The score is 3.
[0141] For symptoms of lesions (bleeding foci, hard exudates, arteriovenous compression signs, and papilledema), the OR values of arteriovenous crossing compression signs, bleeding foci, hard exudates, and papilledema were 95%, and the CIs were 1.25 (1.16-1.34), 1.25 (1.15-1.37), 1.25 (1.16-1.36), and 1.25 (1.13-1.38), respectively. The score increased by 2 points for each symptom of the lesion that appeared.
[0142] The method for determining the corresponding score Point of the i-th variable factor includes:
[0143] Select as the basic risk reference value M ref The grouping of variable factors.
[0144] For each risk factor, a suitable grouping needs to be selected as the risk reference value M refWhen constructing a multivariate logistic regression model, the component value will be recorded as 0 points, and the value of the risk factor is higher than R ref The higher the score, the higher the risk. On the contrary, if the score is lower than R ref Negative points will be recorded.
[0145] For example, you can choose the reference value M for age 45-54, male, non-smoker, exercise, BMI < 25, no family history of hypertension, no diabetes, systolic blood pressure < 110 mmHg, diastolic blood pressure < 70 mmHg ref , as the basic risk reference value R for each risk factor ref .
[0146] Combined with the regression coefficient β i , calculate the grouping of each variable and the basic risk reference value R ref The distance between ref -R ref )*β i .
[0147] For example, in the embodiment of the present invention, the basic risk reference value R of age ref The corresponding regression coefficient of age in the multi-factor logistic regression model is β i is 0.0575, then for the 55-64 age group, the reference value M ref =59.5, the distance between this group and the basic risk reference value is (59.5-44.5)*0.0575=0.8625. Similarly, the distance D between each group and the basic risk reference value is calculated according to the above formula for other risk factors.
[0148] Determine the constant B = x*β i , x represents the interval of grouping of variable factors.
[0149] The constant B is the constant of each risk factor change corresponding to each score in the scoring tool. For example, in the embodiment provided by the present invention, if the age is set to increase by 5 years as 1 point, then the constant B = 5*β i =5*0.0575=0.2875.
[0150] Calculate the corresponding score of the i-th variable factor Point = D / B = (M ref -R ref )*β i / B.
[0151] Finally, the calculated value can be rounded to the nearest integer, which is the score corresponding to the group.
[0152] Add up the scores of each risk factor to calculate the total score. Theoretically, when each risk factor takes the lowest value, the lowest total score is 0+0+0+0+0+0+0+0+0+0+0=0. Similarly, the highest total score is 4+1+1+1+1+3+2+14+3+6+8=0. Therefore, the range of the total score is: 0-44 points.
[0153] Calculate the correspondence table between the total score and the risk prediction probability.
[0154] Preferably, the method further includes: stratifying the risk of hypertension according to the probability corresponding to each score, the stratification including "none", "low", "medium" and "high".
[0155] For example, high (>35%), medium (10%-35%), low (3%<10%) and none (<3%), and provide personalized and professional health management plans for different stratifications, including knowledge on diet, exercise, physical examination, daily attention, preventive measures, indications for medical treatment and health education on hypertension.
[0156] Through the above method, there is no need for traditional manual methods to determine whether the target to be tested has hypertension. Based on the fundus image of the target to be tested, it can be predicted whether the target has hypertension, which greatly simplifies the workload of the staff, improves the efficiency of hypertension prediction, and provides guidance for early screening of clinical hypertension. The risk of hypertension is stratified according to the probability, such as "none", "low", "medium", and "high", and personalized and professional health management plans are provided for different stratifications.
[0157] Step S105, inputting the fundus image corresponding to the target to be measured into the risk prediction model for detection to obtain a hypertension prediction result of the target to be measured.
[0158] As for step S105, it mainly reflects that the fundus image of the target to be tested is obtained, and the hypertension prediction model trained in advance is input according to the fundus image to perform detection, so as to obtain the detection result of the target to be tested.
[0159] Specifically, the hypertension prediction results include four levels: "none", "low", "medium" and "high", and the hypertension level can be digitally quantified.
[0160] In other embodiments, when the risk of hypertension is detected from the hypertension prediction results of the target to be measured, a blood pressure health control plan is generated.
[0161] For any risk factor and intervention measure, if the intervention measure can reduce or eliminate the risk factor, and then block, delay or prevent the occurrence of the disease, it is considered that there is an association relationship between the risk factor and the intervention measure, and the association relationship is represented by a straight line between the risk factor and the intervention measure in the figure; if the intervention measure will not reduce or eliminate the risk factor, it is considered that there is no association relationship between the risk factor and the intervention measure. When performing hypertension early warning intervention on users, if the user has the risk factor, the user can be recommended to adopt the intervention measure based on the association relationship. For example, the intervention measure of reducing drinking can reduce the risk factor of long-term drinking, so it is considered that there is an association relationship between reducing drinking and long-term drinking. Similarly, there is an association relationship between reducing smoking and long-term smoking; when conducting health intervention, if it is found that the user's health record has the habit of long-term drinking or long-term smoking, then the user can be recommended to adopt the intervention measure of reducing drinking or reducing smoking based on the association relationship.
[0162] The present embodiment provides a method for predicting hypertension risk. The method uses deep learning to respectively construct an arteriovenous segmentation model and an optic disc segmentation model, thereby segmenting and identifying arteries and veins within a preset video range, and quantifying the arteries and veins to obtain quantified values of the vessel diameters of arteries and veins. A lesion recognition model is constructed based on a deep learning method to identify fundus lesion characteristics, and a risk prediction model for predicting hypertension of a target to be tested is established based on a machine learning regression method in combination with the quantified values of vessel diameters, lesion characteristics, and other risk factors related to personal information and lifestyle. Since the risk prediction model is trained using multiple variable factors, the accuracy of hypertension risk prediction is greatly improved compared to the single-factor model construction method.
[0163] The following is an exemplary description of the above-mentioned hypertension risk prediction method through a specific embodiment. The specific hypertension risk prediction method includes:
[0164] In order to further verify the accuracy of the Logistic regression model, the present invention provides an example to compare the gap between the prediction results of the scoring tool and the original Logistic regression model.
[0165] Suppose there is a male patient, 75 years old, with systolic blood pressure of 124 mmHg, diastolic blood pressure of 87 mmHg, non-smoker, exercise, no family history of hypertension, diabetes, BMI = 21, quantified value of blood vessel diameter, lesion characteristics (bleeding foci, hard exudates, arteriovenous compression signs, papilledema, each increase in the characteristic score corresponds to an increase in one point), predict his risk of hypertension in the next 3 years.
[0166] First, according to the scores of each risk factor in the scoring tool, they are recorded as 0, 4, 6, 3, 0, 0, 0, 1, 0, 2, and 4 points respectively, with a total score of 20 points. The corresponding risk probability from the table is 45%.
[0167] Then, a calculation is performed based on the multi-factor logistic regression model: y=45%. It can be seen that the difference between the prediction results of the scoring tool and the logistic regression model is only 1%, which is enough to meet the requirements of disease risk prediction and assessment, and it is also intuitive and convenient to apply.
[0168] In one embodiment, the present invention further provides a hypertension risk prediction device 500, see Figure 4 , the device comprises:
[0169] An acquisition module 501 is used to acquire personal information and fundus images of the target to be measured, wherein the personal information includes at least one of the age, body mass index, smoking history, drinking history, systolic blood pressure or diastolic blood pressure of the target to be measured;
[0170] The feature extraction module 502 is used to input the fundus image into a preset arteriovenous segmentation model, an optic disc segmentation model and a lesion recognition model, respectively, to extract the arteriovenous vessels, optic disc area and fundus lesion features in the fundus image;
[0171] The blood vessel diameter quantification module 503 is used to quantify the diameters of the arteriovenous vessels in the optic disc area to obtain the quantified values of the blood vessel diameters corresponding to the arteriovenous vessels;
[0172] A risk prediction model building module 504 uses a machine learning regression method to build a risk prediction model for predicting hypertension of a target to be tested based on the quantified value of the blood vessel diameter, fundus lesion characteristics, and personal information;
[0173] The risk prediction module 505 is used to input the fundus image corresponding to the target to be tested into the risk prediction model for detection to obtain the hypertension prediction result of the target to be tested.
[0174] In this embodiment, please refer to Figure 5 , before the feature extraction module 502, the device further includes:
[0175] The extraction model composition module 506 uses the UNET network to train the arteriovenous segmentation model and the optic disc segmentation model respectively. The lesion recognition model uses different neural network models to train according to different lesion symptoms, wherein the lesion symptoms at least include arteriovenous compression signs, papilledema, hemorrhage and exudation.
[0176] In this embodiment, the extraction model constituting module further comprises: an arteriovenous segmentation model and an optic disc segmentation model;
[0177] Two UNET networks are used to train the arteriovenous segmentation model and the optic disc segmentation model.
[0178] An arteriovenous segmentation model, wherein a UNET network is used to extract vascular tissue features in the fundus image, and another UNET network is used to output a probability according to the vascular tissue features to determine whether the vascular tissue is an artery or a vein; and
[0179] An optic disc segmentation model, wherein a UNET network is used to extract optic disc tissue features in the fundus image, and another UNET network is used to determine whether the optic disc tissue is an optic disc according to the output probability of the optic disc tissue features;
[0180] Among them, the UNET network includes an encoding layer and a decoding layer. The encoding layer is composed of a convolutional layer and a downsampling layer, and is used to extract features; the decoding layer is composed of a convolutional layer and a downsampling layer, and is used to identify the extracted features; the loss function of the UNET network used to extract features is Dice Loss; the loss function of the UNET network used to identify features is multi-class cross entropy loss.
[0181] In this embodiment, the extraction model constituting module further comprises: a lesion recognition model;
[0182] A data set construction unit, used to mark the fundus images of the target to be measured according to different pathological symptoms, respectively, to form a plurality of data sets for training different neural network models, wherein the plurality of data sets at least include a first data set, a second data set, a third data set and a fourth data set;
[0183] A venous compression sign recognition model, based on the arteriovenous compression sign lesion area and the non-arteriovenous compression sign lesion area marked in the first data set, using the first data set to train a convolutional neural network to obtain the arteriovenous compression sign recognition model;
[0184] A papilledema recognition model, based on the arteriovenous compression sign lesion area and the non-arteriovenous compression sign lesion area marked in the second data set, and a convolutional neural network is trained using the second data set to obtain the papilledema recognition model;
[0185] A hemorrhagic lesion recognition model, based on third training data of hemorrhagic lesion areas and non-hemorrhagic lesion areas annotated in the third data set, using the third data set to train a fully convolutional deep learning network to obtain a hemorrhagic lesion recognition model;
[0186] The arteriovenous compression sign recognition model is based on the exudative lesion areas and non-exudative lesion areas marked in the fourth data set, and the fourth data set is used to train a fully convolutional deep learning network to obtain the arteriovenous compression sign recognition model.
[0187] In this embodiment, the blood vessel diameter quantification module further includes:
[0188] Convert the fundus image into an image of a preset size;
[0189] Normalizing the fundus image of preset specifications to obtain a fundus image with uniform pixel colors;
[0190] The fundus image with uniform pixel color is enhanced in terms of brightness, contrast and color to obtain an enhanced fundus image.
[0191] In this embodiment, the blood vessel diameter quantification module further includes:
[0192] The arteries and veins within the preset optic disc diameter range were extracted, and the equivalent values of the central retinal artery diameter and the central retinal vein diameter were calculated using the modified Parr-Hubbard formula to obtain the quantified values of the corresponding vascular diameters of the arteries and veins.
[0193]
[0194]
[0195] Among them, A i and A j are the maximum arterial diameter and the minimum arterial diameter obtained iteratively; V i and V j are the maximum and minimum venous vessel diameters iteratively obtained, respectively. CRAE and CRVE are the equivalent values of the central retinal artery diameter and the central retinal vein diameter, respectively.
[0196] In this embodiment, the risk prediction model building module also includes:
[0197] Analyze the blood vessel diameter quantification value, fundus lesion characteristics and personal information one by one by using regression analysis to obtain variable factors whose correlations meet preset values;
[0198] According to the correlation between each variable factor and hypertension, the weight coefficient of each variable factor is determined by principal component analysis;
[0199] The variable factors and the corresponding weight coefficients are input into a multi-factor regression model based on machine learning for training to obtain a risk prediction model for predicting the hypertension of the target to be tested.
[0200] The present embodiment provides a device for predicting hypertension risk. The device constructs an arteriovenous segmentation model and an optic disc segmentation model respectively through deep learning, thereby segmenting and identifying arteries and veins within a preset video range, and quantifying the arteries and veins to obtain quantified values of the vessel diameters of arteries and veins. A lesion recognition model is constructed based on a deep learning method to identify fundus lesion characteristics, and a risk prediction model for predicting hypertension of a target to be tested is established based on a machine learning regression method in combination with the quantified values of vessel diameters, lesion characteristics, and other risk factors related to personal information and lifestyle. Since the risk prediction model is trained using multiple variable factors, the accuracy of hypertension risk prediction is greatly improved compared to the single-factor model construction method.
[0201] It should be known that the above-mentioned hypertension risk prediction device system is essentially equipped with multiple modules to execute the hypertension risk prediction method in any of the above-mentioned embodiments. The specific functions and technical effects can be referred to the above-mentioned embodiments and will not be repeated here.
[0202] In one embodiment, see Figure 6 This embodiment also provides a computer device 600, including a memory 601, a processor 602, and a computer program stored in the memory and executable on the processor, wherein the processor 602 implements the steps of the method described in any of the above embodiments when executing the computer program.
[0203] In one embodiment, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0204] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0205] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.
[0206] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. Through the description of the above implementation modes, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation mode. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0207] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for predicting hypertension risk, characterized in that: The method comprises: Obtaining personal information and fundus images of the target to be measured, wherein the personal information includes at least one of the age, body mass index, smoking history, drinking history, systolic blood pressure or diastolic blood pressure of the target to be measured; The fundus image is respectively input into a preset arteriovenous segmentation model, an optic disc segmentation model and a lesion recognition model, and the arteriovenous vessels, optic disc area and fundus lesion features in the fundus image are respectively extracted, wherein the arteriovenous segmentation model and the optic disc segmentation model are respectively constructed based on a training set using a UNET network, and the lesion recognition model is trained using different neural network models according to different lesion symptoms, wherein the lesion symptoms at least include arteriovenous compression signs, papilledema, hemorrhage and exudation; wherein the UNET network includes an encoding layer and a decoding layer, wherein the encoding layer is composed of a convolutional layer and a downsampling layer, and is used to extract features; the decoding layer is composed of a convolutional layer and a downsampling layer, and is used to identify the extracted features; the loss function of the UNET network used to extract features is Dice Loss; the loss function of the UNET network used to identify features is multi-class cross entropy loss; L(y,y',y1,y1')=-(yLny'+(1-y)Ln(1-y'))-(y1Lny1'+(1-y1)Ln(1-y1')) Formula (2) In formula (1), Ls is the loss function Dice Loss, |x∩z| represents the intersection between fundus images x and z, |x| and |z| represent the number of elements of x and z respectively; In formula (2), the multi-class cross entropy loss is L(y,y',y1,y1'), y represents the probability of the true arteriovenous labeling probability map of fundus image x, y1 represents the probability of the true labeling probability map of the arteriovenous boundary of fundus image x, y' represents the output of the true arteriovenous labeling probability map of fundus image x after Loc(·), and y1' represents the output of the true labeling probability map of the arteriovenous boundary of fundus image x after Loc(·); Quantifying the diameters of the arteries and veins in the optic disc area to obtain quantified values of the diameters of the arteries and veins; A risk prediction model for predicting hypertension of a target to be tested is constructed based on the quantified value of the blood vessel diameter, the fundus lesion characteristics and the personal information using a machine learning regression method; wherein the quantified value of the blood vessel diameter, the fundus lesion characteristics and the personal information are analyzed one by one using regression analysis to obtain variable factors whose correlations meet preset values; according to the correlation between each variable factor and hypertension, the weight coefficient of each variable factor is determined according to the principal component analysis method; the variable factors and the corresponding weight coefficients are input into a multi-factor regression model based on machine learning for training to obtain a risk prediction model for predicting hypertension of the target to be tested; In formula (3), x1, …, x n are the above variable factors, β1,…,β n is the weight of each variable factor. The size of the risk value indicates that when each variable factor increases by 1 unit, the risk of disease increases to e β times; The fundus image corresponding to the target to be tested is input into the risk prediction model for detection to obtain the hypertension prediction result of the target to be tested.
2. The method for predicting hypertension risk according to claim 1, wherein: The method of using the UNET network to construct an arteriovenous segmentation model and an optic disc segmentation model based on a training set includes: Based on the training set, two UNET networks are used to train to obtain an arteriovenous segmentation model and an optic disc segmentation model; in the arteriovenous segmentation model, one UNET network is used to extract the vascular tissue features in the fundus image, and the other UNET network is used to determine whether the vascular tissue is an artery or a vein according to the output probability of the vascular tissue features; in the optic disc segmentation model, one UNET network is used to extract the optic disc tissue features in the fundus image, and the other UNET network is used to determine whether the optic disc tissue is an optic disc according to the output probability of the optic disc tissue features.
3. The method for predicting hypertension risk according to claim 1, wherein: The step of training the lesion recognition model using different neural network models according to different lesion symptoms also includes: The fundus images of the target to be measured are respectively annotated according to different pathological symptoms to form a plurality of data sets for training different neural network models, wherein the plurality of data sets at least include a first data set, a second data set, a third data set and a fourth data set; Based on the arteriovenous compression sign lesion areas and non-arteriovenous compression sign lesion areas marked in the first data set, using the first data set to train a convolutional neural network to obtain an arteriovenous compression sign recognition model; Based on the arteriovenous compression sign lesion areas and non-arteriovenous compression sign lesion areas marked in the second data set, the second data set is used to train a convolutional neural network to obtain a papilledema recognition model; Based on the third training data of the bleeding lesion area and the non-bleeding lesion area marked in the third data set, the third data set is used to train a fully convolutional deep learning network to obtain a bleeding lesion recognition model; Based on the exudative lesion areas and non-exudative lesion areas marked in the fourth data set, the fourth data set is used to train a fully convolutional deep learning network to obtain an arteriovenous compression sign recognition model.
4. The method for predicting hypertension risk according to claim 1, wherein: Before the fundus image is input into the preset arteriovenous segmentation model, the optic disc segmentation model and the lesion recognition model respectively, the method includes: Convert the fundus image into an image of a preset size; Normalizing the fundus image of preset specifications to obtain a fundus image with uniform pixel colors; The fundus image with uniform pixel color is enhanced in terms of brightness, contrast and color to obtain an enhanced fundus image.
5. The method for predicting hypertension risk according to claim 1, wherein: The quantifying the diameters of the arteries and veins in the optic disc region to obtain the quantified values of the diameters of the arteries and veins respectively includes: The arteries and veins within the preset optic disc diameter range were extracted, and the equivalent values of the central retinal artery diameter and the central retinal vein diameter were calculated using the modified Parr-Hubbard formula to obtain the quantified values of the corresponding vascular diameters of the arteries and veins. Among them, A i and A j are the maximum arterial diameter and the minimum arterial diameter obtained iteratively; V i and V j are the maximum and minimum venous vessel diameters iteratively obtained, respectively; CRAE and CRVE are the equivalent values of the central retinal artery diameter and the central retinal vein diameter, respectively.
6. A device for predicting hypertension risk, characterized in that: The device comprises: An acquisition module, used to acquire personal information and fundus images of the target to be measured, wherein the personal information includes at least one of the age, body mass index, smoking history, drinking history, systolic blood pressure or diastolic blood pressure of the target to be measured; A feature extraction module is used to input the fundus image into a preset arteriovenous segmentation model, an optic disc segmentation model and a lesion recognition model, respectively, to extract the arteriovenous vessels, optic disc area and fundus lesion features in the fundus image; wherein, the arteriovenous segmentation model and the optic disc segmentation model are respectively constructed based on a training set using a UNET network, and the lesion recognition model is trained using different neural network models according to different lesion symptoms, wherein the lesion symptoms at least include arteriovenous compression signs, papilledema, hemorrhage and exudation; wherein, the UNET network includes an encoding layer and a decoding layer, wherein the encoding layer is composed of a convolutional layer and a downsampling layer, and is used to extract features; the decoding layer is composed of a convolutional layer and a downsampling layer, and is used to identify the extracted features; the loss function of the UNET network used to extract features is Dice Loss; the loss function of the UNET network used to identify features is multi-class cross entropy loss; L(y,y',y1,y1')=-(yLny'+(1-y)Ln(1-y'))-(y1Lny1'+(1-y1)Ln(1-y1')) Formula (2) In formula (1), Ls is the loss function Dice Loss, |x∩z| represents the intersection between fundus images x and z, |x| and |z| represent the number of elements of x and z respectively; In formula (2), the multi-class cross entropy loss is L(y,y',y1,y1'), y represents the probability of the true arteriovenous labeling probability map of fundus image x, y1 represents the probability of the true labeling probability map of the arteriovenous boundary of fundus image x, y' represents the output of the true arteriovenous labeling probability map of fundus image x after Loc(·), and y1' represents the output of the true labeling probability map of the arteriovenous boundary of fundus image x after Loc(·); A blood vessel diameter quantification module is used to quantify the diameters of the arteriovenous blood vessels in the optic disc area to obtain the quantified values of the blood vessel diameters corresponding to the arteriovenous blood vessels; A risk prediction model construction module, which uses a machine learning regression method to construct a risk prediction model for predicting hypertension of the target to be tested based on the quantified value of the blood vessel diameter, the fundus lesion characteristics and the personal information; wherein, the quantified value of the blood vessel diameter, the fundus lesion characteristics and the personal information are analyzed one by one by regression analysis to obtain variable factors whose correlations meet preset values; according to the correlation between each variable factor and hypertension, the weight coefficient of each variable factor is determined according to the principal component analysis method; the variable factors and the corresponding weight coefficients are input into a multi-factor regression model based on machine learning for training to obtain a risk prediction model for predicting hypertension of the target to be tested; In formula (3), x1, …, x n are the above variable factors, β1,…,β n is the weight of each variable factor. The size of the risk value indicates that when each variable factor increases by 1 unit, the risk of disease increases to e β times; The risk prediction module is used to input the fundus image corresponding to the target to be tested into the risk prediction model for detection to obtain the hypertension prediction result of the target to be tested.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Method and equipment for evaluating disease risk based on fundus image
CN111048210A
Fundus retina blood vessel recognition and quantification method, device and equipment and storage medium
CN111340789A
Method and system for measuring lesion characteristics of hypertensive retinopathy
CN112716446A
