Method, device, equipment and storage medium for identifying and quantifying fundus retinal blood vessels
Feature extraction and segmentation of fundus retinal images are carried out through pre-trained convolutional neural network models and cascade segmentation network models, combined with neighborhood connectivity determination and boundary detection methods, to solve the problem of low accuracy in identifying fundus retinal arteries and veins, and improve Improved quantification accuracy and diagnostic reliability.
Patent Information
- Application Number
- CN202010134390.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-02-29
AI Technical Summary
The existing technology has problems of limited recognition accuracy and low quantification accuracy in identifying and classifying retinal arteriovenous vessels in the fundus, especially the subjectivity caused by the uneven brightness of the image and the complexity of the blood vessel morphology.
The pre-trained U-shaped convolutional neural network model and cascade segmentation network model are used to perform feature extraction, optic disc segmentation, and arteriovenous blood vessel identification on the original fundus image, and the blood vessel category information and classification information are corrected through neighborhood connectivity determination and boundary detection methods. Diameter calculation improves the identification accuracy of arterial and venous blood vessels.
It improves the identification accuracy and quantification accuracy of fundus retinal arteries and veins, reduces the subjective influence, and enhances the diagnostic reliability of retinal vascular changes.
Smart Images

Figure CN111340789B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a method, device, equipment and storage medium for identifying and quantifying fundus retinal blood vessels. Background Art
[0002] The retinal arteriovenous vessels of the fundus have always been a key area of medical research, especially the retinal arteriovenous vessels of the fundus within the range of 1pd-1.5pd (Papillary Diameter) from the center of the optic disc. The diameter ratio or morphological changes of the two are the basis for the early diagnosis of many systemic and hematological diseases, such as cardiovascular disease, diabetes, hypertension, etc. Calculating the diameter ratio of the retinal arteriovenous vessels of the fundus requires accurate classification of the arteriovenous vessels. Traditional fundus retinal diagnosis relies on doctors to observe fundus images and obtain diagnostic results based on their own medical experience. This method is time-consuming and labor-intensive, and the identification and classification of arteriovenous vessels are greatly affected by subjectivity. With the development of computer image processing technology, fundus color photographs are currently used to extract retinal vessels of the fundus. Due to the characteristics of uneven brightness, complex interlacing of blood vessels and background colors, and small differences between arteries and veins in fundus color photographs, it is difficult to identify and classify arteriovenous vessels. The existing research on automatic identification of arteriovenous vessels mainly realizes local arteriovenous vessel identification based on color or partial structure of blood vessels, but its identification accuracy is still limited, which leads to low quantization accuracy. Summary of the invention
[0003] In response to the above problems, the present application provides a method, device, equipment and storage medium for identifying and quantifying fundus retinal blood vessels, which is beneficial to improving the accuracy of fundus retinal arteriovenous blood vessel identification and thereby improving quantification accuracy.
[0004] To achieve the above-mentioned purpose, the first aspect of the embodiment of the present application provides a method for identifying and quantifying fundus retinal blood vessels, the method comprising:
[0005] The original fundus image is input into the pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps at multiple scales;
[0006] Perform optic disc segmentation based on the target feature map to obtain an optic disc segmentation result;
[0007] Using a pre-trained cascade segmentation network model to segment the original fundus image to obtain an arteriovenous blood vessel recognition result;
[0008] Based on the optic disc segmentation result, the region of interest is located to obtain the region of interest location result;
[0009] Extracting the blood vessel centerline according to the arteriovenous blood vessel recognition results, detecting key points in the blood vessel centerline using a neighborhood connectivity determination method, removing the key points to obtain a plurality of mutually independent blood vessel segments, and correcting the arteriovenous category information on each blood vessel segment to obtain each blood vessel segment after the arteriovenous category information is corrected;
[0010] Based on the vascular centerline of each vascular segment after the arteriovenous category information is corrected, a boundary detection method is used to obtain the vascular diameter of each vascular segment after the arteriovenous category information is corrected, and the diameter ratio of the arterial blood vessel and the venous blood vessel in the region of interest is calculated based on the vascular diameter.
[0011] In combination with the first aspect, in a possible implementation manner, the original fundus image is input into a pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps of multiple scales, including:
[0012] Inputting the original fundus image into the encoder part of the U-shaped convolutional neural network model to extract key features to obtain a high-dimensional feature map;
[0013] The high-dimensional feature map is input into the decoder part of the U-shaped convolutional neural network model for upsampling operation, and target feature maps of multiple scales are output.
[0014] In combination with the first aspect, in a possible implementation manner, the inputting the original fundus image into the encoder part of the U-shaped convolutional neural network model to extract key features to obtain a high-dimensional feature map includes:
[0015] Performing convolution processing on the original fundus image to extract key features, and obtaining a feature map with the same size as the original fundus image;
[0016] Performing a maximum pooling operation on the feature map obtained through the convolution process, reducing the size of the feature map layer by layer, and obtaining the high-dimensional feature map through alternating processing of several convolution layers and pooling layers;
[0017] The step of inputting the high-dimensional feature map into the decoder part of the U-shaped convolutional neural network model for upsampling operation and outputting target feature maps of multiple scales includes:
[0018] Performing an upsampling operation on the high-dimensional feature map to enlarge the size of the high-dimensional feature map layer by layer;
[0019] The low-dimensional features extracted from each network layer in the encoding phase are combined with the high-dimensional features symmetrically extracted in the decoding phase through a skip connection layer to obtain an initial feature map of each network layer, wherein the initial feature map of each network layer has a different scale;
[0020] The initial feature map of each network layer is output through the output branch of each network layer to obtain target feature maps of multiple scales, and an attention mechanism is added to the output branch of each network layer.
[0021] In combination with the first aspect, in a possible implementation manner, performing optic disc segmentation based on the target feature map to obtain an optic disc segmentation result includes:
[0022] The target feature maps are fused to obtain an image to be segmented;
[0023] Performing candidate frame regression processing on the image to be segmented to locate the optic disc in the image to be segmented, and outputting bounding box information of the optic disc;
[0024] According to the bounding box information of the optic disc, the calibrated optic disc area image block is cropped and input into the pre-trained U-shaped segmentation network. After feature extraction and upsampling operations, the optic disc segmentation result is output.
[0025] In combination with the first aspect, in a possible implementation,
[0026] The pre-trained cascade segmentation network model is used to segment the original fundus image to obtain an arteriovenous blood vessel recognition result, including:
[0027] Extracting a green channel image of the original fundus image, and performing histogram equalization processing on the green channel image to obtain a contrast-enhanced green channel image;
[0028] Cutting the contrast-enhanced green channel image into a plurality of fundus image blocks;
[0029] The multiple fundus image blocks are input into a preset cascade segmentation network model for segmentation to obtain arteriovenous blood vessel recognition results.
[0030] In combination with the first aspect, in a possible implementation,
[0031] The method of using boundary detection to obtain the blood vessel diameter of each blood vessel segment after the arteriovenous category information is corrected includes:
[0032] Taking the center point of the blood vessel as the center of the circle, traverse the rectangular area of 40*40 pixels to find the boundary point closest to the center line of each blood vessel segment after the arteriovenous category information is corrected. The distance between the closest boundary point and the center point of the blood vessel is taken as the radius r, and the blood vessel diameter 2r of each blood vessel segment after the arteriovenous category information is corrected is obtained.
[0033] In combination with the first aspect, in a possible implementation, the following formula is used to calculate the diameter ratio of the arterial blood vessel to the venous blood vessel in the region of interest:
[0034]
[0035] Among them, AVR represents the ratio of the diameters of arteries and veins in the region of interest, CRAE represents the equivalent value of the central retinal artery diameter, A i and A j They represent the maximum and minimum arterial diameters of the region of interest, respectively, and 0.88 is a fixed coefficient; CRVE represents the equivalent value of the central retinal vein diameter, V i and V j They represent the maximum and minimum venous diameters of the region of interest, respectively, and 0.95 is a fixed coefficient.
[0036] A second aspect of the present application provides a fundus retinal blood vessel identification and quantification device, the device comprising:
[0037] A feature extraction module is used to input the original fundus image into a pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps at multiple scales;
[0038] An optic disc segmentation module, used for performing optic disc segmentation based on the target feature map to obtain an optic disc segmentation result;
[0039] A blood vessel recognition module, used to segment the original fundus image using a pre-trained cascade segmentation network model to obtain an arteriovenous blood vessel recognition result;
[0040] A region positioning module, used for positioning the region of interest based on the optic disc segmentation result to obtain a region of interest positioning result;
[0041] A centerline extraction module is used to extract the centerline of the blood vessel according to the arteriovenous blood vessel recognition result, detect key points in the blood vessel centerline using a neighborhood connectivity determination method, remove the key points to obtain a plurality of mutually independent blood vessel segments, and correct the arteriovenous category information on each blood vessel segment to obtain each blood vessel segment after the arteriovenous category information is corrected;
[0042] The diameter ratio calculation module is used to obtain the vascular diameter of each vascular segment after the arteriovenous category information is corrected based on the vascular center line of each vascular segment after the arteriovenous category information is corrected by using a boundary detection method, and calculate the diameter ratio of the arterial blood vessel and the venous blood vessel in the area of interest based on the vascular diameter.
[0043] A third aspect of an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned fundus retinal blood vessel identification and quantification method when executing the computer program.
[0044] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned fundus retinal blood vessel identification and quantification method are implemented.
[0045] The above scheme of the present application includes at least the following beneficial effects: by extracting features from the original fundus image, target feature maps of multiple scales are obtained, optic disc segmentation is performed based on the obtained target feature map to obtain optic disc segmentation results, the original fundus image is segmented using a pre-trained cascade segmentation network model to obtain arteriovenous vessel recognition results, the region of interest is located based on the optic disc segmentation results, the vascular centerline is extracted according to the arteriovenous vessel recognition results, the key points in the vascular centerline are detected using a neighborhood connectivity determination method, the key points are removed to obtain multiple independent vascular segments, and the arteriovenous category information on each vascular segment is corrected, based on the extracted vascular centerline, the vascular diameter of each vascular segment after the category information is corrected is obtained using a boundary detection method, and the diameter ratio of the arterial and venous vessels in the region of interest is calculated based on the obtained vascular diameter, thereby improving the accuracy of fundus retinal arteriovenous vessel recognition and further improving the quantification accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 An application architecture diagram provided for an embodiment of the present application;
[0048] Figure 2 A schematic diagram of a flow chart of a method for identifying and quantifying fundus retinal blood vessels provided in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of the structure of a video disc segmentation network provided in an embodiment of the present application;
[0050] Figure 4-a A schematic diagram of a downsampling process provided in an embodiment of the present application;
[0051] Figure 4-b An example diagram of an encoder portion of a U-shaped convolutional neural network model provided in an embodiment of the present application;
[0052] Figure 5-a A schematic diagram of an upsampling process provided in an embodiment of the present application;
[0053] Figure 5-b An example diagram of a decoder portion of a U-shaped convolutional neural network model provided in an embodiment of the present application;
[0054] Figure 6 An example diagram of a video disc segmentation provided in an embodiment of the present application;
[0055] Figure 7 An example diagram of a cascade segmentation network model provided in an embodiment of the present application;
[0056] Figure 8 An example diagram of an expected output area A and an actual output area B of a U-shaped segmentation network provided in an embodiment of the present application;
[0057] Fig. 9 A schematic diagram of a process for identifying arteries and veins based on original fundus images provided in an embodiment of the present application;
[0058] Fig.10 An example diagram of segmenting fundus image blocks provided in an embodiment of the present application;
[0059] Figure 11-a An example diagram of a positioning result of a region of interest provided in an embodiment of the present application;
[0060] Figure 11-b An example diagram of a blood vessel centerline provided in an embodiment of the present application;
[0061] Figure 11-c An example diagram of a blood vessel centerline key point detection provided in an embodiment of the present application;
[0062] Fig.12 A schematic diagram of the structure of a fundus retinal blood vessel identification and quantification device provided in an embodiment of the present application;
[0063] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0065] The terms "including" and "having" and any variations thereof that appear in the specification, claims and drawings of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In addition, the terms "first", "second" and "third" are used to distinguish different objects, rather than to describe a specific order.
[0066] First, the following examples are used in conjunction with the relevant drawings to introduce the network system architecture to which the solution of the embodiment of the present application may be applied. Figure 1 , Figure 1 An application architecture diagram provided for an embodiment of the present application, such as Figure 1As shown, it includes an electronic device, an image acquisition device and a database. The image acquisition device and the database are connected and communicated with the electronic device through a network respectively. The electronic device includes a processor. The electronic device can be any device that can implement the fundus retinal blood vessel recognition and quantification method provided in the embodiment of the present application, such as a supercomputer in a medical research laboratory, a computer in a hospital examination room, a server, etc. The image acquisition device can be any device that can capture fundus images, such as a color fundus camera, etc. In one application scenario, in an ophthalmology examination room of a hospital, after the image acquisition device captures the fundus image of the examinee, the fundus image is transmitted to the electronic device through the network. The electronic device executes the fundus retinal blood vessel recognition and quantification method provided in the present application to recognize and quantify the fundus image, and outputs the quantification result. The database can be a local database or an external database. The so-called local database is the database of an enterprise, hospital, laboratory, etc. The so-called external database is a commonly used fundus image database at home and abroad, such as: STARE (structured analysis of the retinal) database, DRIVE (digital retinal images for vessel extraction) database, etc. In another application scenario, when the staff of the laboratory needs to test the fundus retinal blood vessel identification and quantification method provided by the present application, the fundus image for testing can be obtained from the database through the network, and the electronic device performs the test operation. Of course, when the above-mentioned database is a local database, the image acquisition device can establish a connection with the database and store the captured fundus image in the database.
[0067] See also Figure 2 , Figure 2 A schematic diagram of a flow chart of a method for identifying and quantifying fundus retinal blood vessels provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, steps S21-S27 are included:
[0068] S21, obtaining an original fundus image.
[0069] In a specific embodiment of the present application, the original fundus image may be a fundus image captured in real time by an image acquisition device anywhere, for example: a fundus image of an experimental subject captured in a medical laboratory, a fundus image of a patient captured in a hospital examination room, etc. Of course, the original fundus image may also be a fundus image in an open source database such as DRIVE, without specific limitation.
[0070] S22, inputting the original fundus image into a pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps of multiple scales.
[0071] In the specific embodiment of the present application, Figure 3It is a structural schematic diagram of an optic disc segmentation network, wherein the main part of the optic disc segmentation network is a U-shaped convolutional neural network model on the left (from the input of the original fundus image to the output of the target feature map). In addition to the most basic input layer and output layer, the U-shaped convolutional neural network model includes multiple hidden layers, and the multiple hidden layers are symmetrically structured, constituting the encoder part (downsampling part) and decoder part (upsampling part) of the U-shaped convolutional neural network model.
[0072] In one embodiment, the original fundus image is input into a pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps of multiple scales, including:
[0073] A: Inputting the original fundus image into the encoder part of the U-shaped convolutional neural network model to extract key features to obtain a high-dimensional feature map;
[0074] Among them, Figure 4-a As shown, step A includes:
[0075] S41, performing convolution processing on the original fundus image to extract key features, and obtaining a feature map with the same size as the original fundus image;
[0076] S42, performing a maximum pooling operation on the feature map obtained through the convolution process, reducing the size of the feature map layer by layer, and obtaining the high-dimensional feature map through alternating processing of several convolution layers and pooling layers.
[0077] In the specific embodiment of the present application, the key feature is a feature with a strong characterization capability, for example, a feature with a large pixel value. Figure 4-b As shown in FIG, the original fundus image is input into the encoder part of the U-shaped convolutional neural network model, and is first convolved through the convolution layer conv to obtain a feature map of the original fundus image with the same size as the original fundus image after the initial convolution operation, as shown in FIG. Figure 3 C1 in the image, and then the feature map C1 is downsampled by the maximum pooling layer Max-pooling to reduce the size of the feature map C1 to obtain the feature map C2. The feature map C2 is then processed by the convolution layer conv and the maximum pooling layer Max-pooling to obtain the feature map C3. In this way, the high-dimensional feature map with lower resolution is obtained through the alternating processing of the convolution layer conv and the maximum pooling layer Max-pooling, forming a feature pyramid from low dimension to high dimension. Among them, the convolution processing of the encoder part can use a 3*3 convolution kernel, and the step size can be 2. During the maximum pooling operation, the feature map is reduced in size by a preset multiple. For example, if the downsampling is 2 times, the size of the feature map C1 is 48*48, and the feature map C2 is obtained after a maximum pooling operation. Then the size of the feature map C2 is 24*24, and the size of the feature map C3 is 12*12.
[0078] B: The high-dimensional feature map is input into the decoder part of the U-shaped convolutional neural network model for upsampling operation, and target feature maps of multiple scales are output.
[0079] Among them, Figure 5-a As shown, step B includes:
[0080] S51, performing an upsampling operation on the high-dimensional feature map to enlarge the size of the high-dimensional feature map layer by layer;
[0081] S52, merging the low-dimensional features extracted from each network layer in the encoding phase with the high-dimensional features symmetrically extracted in the decoding phase through a skip connection layer to obtain an initial feature map of each network layer, wherein the initial feature map of each network layer has a different scale;
[0082] S53, outputting the initial feature map of each network layer through the output branch of each network layer to obtain target feature maps of multiple scales, and an attention mechanism is added to the output branch of each network layer.
[0083] In the specific embodiment of the present application, Figure 5-b As shown in , the decoder part of the U-shaped convolutional neural network model performs an upsampling operation on the high-dimensional feature map obtained by the downsampling of the encoder part, and also enlarges the size of the high-dimensional feature map by a preset multiple, as shown in Figure 3 The feature map P5 in is enlarged to the size of the feature map P4 after an upsampling operation. If the original size of the feature map P5 is 12*12, the size of the feature map P4 is 24*24. The upsampling can be performed by commonly used interpolation methods, such as nearest neighbor interpolation, bilinear interpolation, mean interpolation, etc., without limitation. After obtaining the enlarged high-dimensional feature map each time, the low-dimensional feature map extracted by the same network layer in the encoding stage is merged with the corresponding high-dimensional feature map, for example Figure 3 The feature map C2 and the feature map P2 in the figure belong to the feature maps extracted symmetrically in the encoding stage and the decoding stage of the same network layer. By merging C2 and P2 through the skip connection layer, the initial feature map of the network layer is obtained. Since there will be multiple network layer merging operations, initial feature maps of multiple scales will be obtained. At this time, we output the initial feature map of each network layer by adding an output branch with an attention mechanism to obtain target feature maps of multiple scales. Among them, the attention mechanism is the SE module. The SE module completes the recalibration of the initial feature maps of multiple scales in the channel dimension through the Squeeze operation, the Excitation operation, and the Reweight operation, so that the output target feature map has a better effect, which can well solve the problem of unclear optic disc boundaries and different sizes of optic disc areas.
[0084] S23, performing optic disc segmentation based on the target feature map to obtain an optic disc segmentation result.
[0085] In a specific embodiment of the present application, a two-stage optic disc segmentation network is used to perform optic disc segmentation, the first stage uses a U-shaped convolutional neural network model to perform feature extraction, and the second stage performs optic disc segmentation based on the features extracted in the first stage. Specifically, the optic disc segmentation is performed based on the output target feature map to obtain the optic disc segmentation result, including: fusing the output target feature map to obtain an image to be segmented, performing candidate frame regression processing on the image to be segmented to locate the optic disc position from the image to be segmented, and outputting the bounding box information of the optic disc, cutting out a calibrated optic disc area image block according to the bounding box information of the optic disc and inputting it into the pre-trained U-shaped segmentation network, and outputting the optic disc segmentation result after feature extraction and upsampling operations.
[0086] like Figure 3 As shown in the figure, after the U-shaped convolutional neural network model outputs target feature maps of multiple scales, they are fused to obtain a segmented image with better resolution. The segmented image is extracted by the candidate frame regression module ROI Align. Each candidate region is traversed according to the extracted feature map, and the floating point number boundary is not quantized. Figure 6 As shown in the figure, the candidate area is divided into n*n rectangular units, and the boundaries of each unit are not quantized. Four coordinate positions are determined in each rectangular unit according to fixed rules, and the values of these four positions are calculated by bilinear interpolation method. The maximum pooling operation is performed to obtain Figure 6 The feature map on the right is then flattened by the Flatten module, and the optic disc bounding box is output. The optic disc area image block is cropped according to the optic disc bounding box, and the cropped optic disc area image block is input into the U-shaped segmentation network for optic disc segmentation to obtain the final optic disc segmentation image. The two-stage optic disc segmentation model design helps to eliminate the interference of fundus highlight noise caused by poor shooting environment or shooting technology on optic disc segmentation, and obtain more accurate optic disc segmentation results.
[0087] S24, using a pre-trained cascade segmentation network model to segment the original fundus image to obtain arteriovenous blood vessel recognition results.
[0088] In a specific embodiment of the present application, arteriovenous blood vessel segmentation and identification is performed through a cascade segmentation network model. In order to make the arteriovenous blood vessel identification more accurate, Figure 7 As shown, three U-shaped segmentation networks are cascaded here, namely the first U-shaped segmentation network, the second U-shaped segmentation network and the third U-shaped segmentation network. The structure of each U-shaped segmentation network is as follows Figure 7As shown in the enlarged image below, the left side is the feature extraction part, and the right side is the upsampling part. The left side uses 2*2 maximum pooling, the right side uses 2*2 inverse convolution, and both sides use 3*3 convolution kernels for feature extraction. The entire U-shaped segmentation network has no fully connected layers, and only the necessary convolution layers are connected. In the training process of the entire cascade segmentation network model, it is necessary to consider the loss function Dice Loss of each U-shaped segmentation network. First, calculate the Dice value using the following formula:
[0089]
[0090] Among them, Figure 8 As shown in the figure, Dice represents the overlap between the expected output area A and the actual output area B of each U-shaped segmentation network, and smooth is the smoothing coefficient, which is set to 1 by default. The loss function of each U-shaped segmentation network is calculated based on the Dice value, using the formula: L k = Dice Loss = 1-Dice, L k Represents the loss function value of each U-shaped segmentation network. Finally, the loss function L of each U-shaped segmentation network is calculated. k The weighted average sum of is used to obtain the loss value of the entire preset cascade segmentation network model, using the following formula:
[0091]
[0092] Among them, Loss represents the loss value of the entire preset cascade segmentation network model, L k represents the loss function of each U-shaped segmentation network, K represents the number of U-shaped segmentation networks in the preset cascade segmentation network model, and K is 3 here. The loss value of the entire preset cascade segmentation network model is calculated here to guide the preset cascade segmentation network model to perform optimization training and obtain more accurate arteriovenous vessel recognition results. The smaller the Loss value, the more accurate the arteriovenous vessel recognition results of the cascade segmentation network model.
[0093] In one embodiment, if Fig. 9 As shown, the pre-trained cascade segmentation network model is used to segment the original fundus image to obtain the arteriovenous blood vessel recognition result, including steps S91-S93:
[0094] S91, extracting a green channel image of the original fundus image, and performing histogram equalization processing on the green channel image to obtain a contrast-enhanced green channel image;
[0095] S92, cutting the contrast-enhanced green channel image into a plurality of fundus image blocks;
[0096] S93, inputting the multiple fundus image blocks into a preset cascade segmentation network model for segmentation to obtain arteriovenous blood vessel recognition results.
[0097] For the original fundus image in RGB format, the green channel image with obvious vascular structure is first selected for histogram equalization to enhance the contrast. Fig.10 As shown, a patch cutting operation is used to cut the contrast-enhanced green channel image into two fundus image blocks, Patch1 and Patch2, and then the two fundus image blocks, Patch1 and Patch2, are input into a preset cascade segmentation network model for segmentation. Of course, the number of fundus image blocks cut out in actual operation is much larger, for example, there are also Patch3, Patch4, Patch5, etc., and each cut fundus image block may have overlapping parts. The cut fundus image blocks are input into the first U-shaped segmentation network for feature extraction and upsampling to obtain a first output result, the first output result is used as the input of the second U-shaped segmentation network, feature extraction and upsampling are performed to obtain a second output result, the second output result is used as the input of the third U-shaped segmentation network, feature extraction and upsampling are performed to obtain an arteriovenous vessel recognition result, and the arteriovenous vessel recognition result includes category information of arteriovenous vessel recognition, such as: arterial vessel, venous vessel label, etc.
[0098] S25, locating the region of interest based on the optic disc segmentation result to obtain a region of interest positioning result.
[0099] In the specific embodiment of the present application, the region of interest (ROI) is the area to be processed in the image being processed in the form of a box, circle, ellipse, irregular polygon, etc. in machine vision and image processing. Here, it specifically refers to the fundus area within the range of 1pd-1.5pd (Papillary Diameter) from the center of the optic disc. Based on the result of optic disc segmentation, the optic disc boundary is fitted with an ellipse. Specifically, the least squares method can be used for ellipse fitting, and then the center of the optic disc is determined. With the center of the optic disc as the center of the circle, the fundus area within the range of 1pd-1.5pd is located as the region of interest, and the location result of the region of interest is obtained as a candidate area for subsequent tube diameter measurement, such as Figure 11-a shown.
[0100] S26, extracting the vascular centerline according to the arteriovenous vessel recognition results, detecting key points in the vascular centerline using a neighborhood connectivity determination method, removing the key points to obtain a plurality of mutually independent vascular segments, and correcting the arteriovenous category information on each vascular segment to obtain each vascular segment after the arteriovenous category information is corrected.
[0101] In a specific embodiment of the present application, the arteriovenous vessel recognition results are first binarized to generate a fundus vessel binarization map, and the fundus vessel binarization map is input into a U-shaped segmentation network to extract the vessel centerline, and a refined vessel centerline map is output, such as Figure 11-b Then, the neighborhood connectivity determination method is used to detect the key points in the centerline of the blood vessel, such as branch points and intersections. The neighborhood connectivity determination method can be based on the determination method of 8-neighborhood connectivity. N8(p) represents the 8-neighborhood of pixel p. For pixel p and pixel q with pixel value x, if q is in the set N8(p), it is determined that pixel p and pixel q are 8-connected. It can be determined as follows: Figure 11-c The intersections and branch points shown in the figure are removed from the vascular centerline after the intersections and branch points are detected, so as to separate the vascular segments according to the vascular centerline, and each vascular segment is independent of each other. The connectivity of each vascular segment is determined, and after determining that each vascular segment has connectivity, the arteriovenous category information on each vascular segment is counted, and then the arteriovenous category information on each vascular segment is corrected by voting to obtain each vascular segment after the arteriovenous category information is corrected. For example, if the pixels on a vascular segment are mostly labeled with arterial information, the other pixels labeled with venous information are also labeled as arterial information to ensure that the category information of the pixels on the same vascular segment is consistent. Compared with the traditional morphological thinning operation, the vascular centerline extraction method based on deep learning avoids the artificial design of complex thinning rules, while reducing the false positive branches in the vascular centerline, and can obtain more accurate centerline extraction results.
[0102] S27, based on the vascular centerline of each vascular segment after the arteriovenous category information is corrected, a boundary detection method is used to obtain the vascular diameter of each vascular segment after the arteriovenous category information is corrected, and the diameter ratio of the arterial blood vessel and the venous blood vessel in the region of interest is calculated according to the vascular diameter.
[0103] In a specific embodiment of the present application, based on the extraction of the blood vessel centerline in step S26, a boundary detection method is used to calculate the blood vessel diameter of each blood vessel segment after the arteriovenous category information is corrected in the region of interest. Specifically, with the blood vessel center point as the center of the circle, traverse in a rectangular area of a pixel range of 40*40 to find the boundary point closest to the center line of each blood vessel segment after the arteriovenous category information is corrected, and the distance between the boundary point and the blood vessel center point is taken as the radius r to obtain the blood vessel diameter 2r of each blood vessel segment after the arteriovenous category information is corrected.
[0104] According to the diameter of each blood vessel segment in the region of interest, the medical Parr-Hubbard-Knudtson formula was used to calculate CRAE (central retinal artery equivalent) and CRVE (central retinal vein equivalent), and then the diameter ratio of the artery and vein in the region of interest was calculated using the following formula:
[0105]
[0106] Among them, AVR (Arteriole to Venule Ratio) represents the ratio of the diameters of arteries and veins in the region of interest. A i and A j They represent the maximum arterial diameter and the minimum arterial diameter of the region of interest, respectively. 0.88 is a fixed coefficient. V i and V j They represent the maximum and minimum venous diameters of the region of interest respectively, and 0.95 is a fixed coefficient. Disease prediction and evaluation can be performed based on the calculated AVR value, which has certain clinical guiding significance.
[0107] It can be seen that the specific embodiment of the present application extracts features from the original fundus image to obtain target feature maps of multiple scales, performs optic disc segmentation based on the obtained target feature map to obtain optic disc segmentation results, uses a pre-trained cascade segmentation network model to segment the original fundus image to obtain arteriovenous vessel recognition results, locates the region of interest based on the optic disc segmentation results, extracts the vessel centerline based on the arteriovenous vessel recognition results, uses a neighborhood connectivity determination method to detect key points in the vessel centerline, removes the key points to obtain multiple independent vessel segments, and corrects the arteriovenous category information on each vessel segment. Based on the extracted vessel centerline, a boundary detection method is used to obtain the vessel diameter of each vessel segment after the category information is corrected, and the diameter ratio of the arterial and venous vessels in the region of interest is calculated based on the obtained vessel diameter, thereby improving the accuracy of fundus retinal arteriovenous vessel recognition and further improving the quantification accuracy.
[0108] Based on the above description, see Fig.12 , Fig.12 A schematic diagram of the structure of a fundus retinal blood vessel identification and quantification device provided in an embodiment of the present application is shown in FIG. Fig.12 As shown, the device comprises:
[0109] The feature extraction module 1201 is used to input the original fundus image into the pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps of multiple scales;
[0110] An optic disc segmentation module 1202 is used to perform optic disc segmentation based on the target feature map to obtain an optic disc segmentation result;
[0111] The blood vessel identification module 1203 is used to segment the original fundus image using a pre-trained cascade segmentation network model to obtain an arteriovenous blood vessel identification result;
[0112] A region positioning module 1204 is used to locate the region of interest based on the optic disc segmentation result to obtain a region of interest positioning result;
[0113] The centerline extraction module 1205 is used to extract the centerline of the blood vessel according to the arteriovenous blood vessel recognition result, detect the key points in the blood vessel centerline by using the neighborhood connectivity determination method, remove the key points to obtain a plurality of mutually independent blood vessel segments, and correct the arteriovenous category information on each blood vessel segment to obtain each blood vessel segment after the arteriovenous category information is corrected;
[0114] The diameter ratio calculation module 1206 is used to obtain the vascular diameter of each vascular segment after the arteriovenous category information is corrected based on the vascular center line of each vascular segment after the arteriovenous category information is corrected by using a boundary detection method, and calculate the diameter ratio of the arterial blood vessel and the venous blood vessel in the area of interest based on the vascular diameter.
[0115] Optionally, in the aspect of inputting the original fundus image into the pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps of multiple scales, the feature extraction module 1201 is specifically used for:
[0116] Inputting the original fundus image into the encoder part of the U-shaped convolutional neural network model to extract key features to obtain a high-dimensional feature map;
[0117] The high-dimensional feature map is input into the decoder part of the U-shaped convolutional neural network model for upsampling operation, and target feature maps of multiple scales are output.
[0118] Optionally, the feature extraction module 1201 is specifically used for extracting key features from the encoder part of the U-shaped convolutional neural network model by inputting the original fundus image to obtain a high-dimensional feature map:
[0119] Performing convolution processing on the original fundus image to extract key features, and obtaining a feature map with the same size as the original fundus image;
[0120] Performing a maximum pooling operation on the feature map obtained through the convolution process, reducing the size of the feature map layer by layer, and obtaining the high-dimensional feature map through alternating processing of several convolution layers and pooling layers;
[0121] Optionally, the feature extraction module 1201 is specifically used for inputting the high-dimensional feature map into the decoder part of the U-shaped convolutional neural network model for upsampling operation and outputting target feature maps of multiple scales:
[0122] Performing an upsampling operation on the high-dimensional feature map to enlarge the size of the high-dimensional feature map layer by layer;
[0123] The low-dimensional features extracted from each network layer in the encoding phase are combined with the high-dimensional features symmetrically extracted in the decoding phase through a skip connection layer to obtain an initial feature map of each network layer, wherein the initial feature map of each network layer has a different scale;
[0124] The initial feature map of each network layer is output through the output branch of each network layer to obtain target feature maps of multiple scales, and an attention mechanism is added to the output branch of each network layer.
[0125] Optionally, in performing optic disc segmentation based on the target feature map to obtain an optic disc segmentation result, the optic disc segmentation module 1202 is specifically configured to:
[0126] The target feature maps are fused to obtain an image to be segmented;
[0127] Performing candidate frame regression processing on the image to be segmented to locate the optic disc in the image to be segmented, and outputting bounding box information of the optic disc;
[0128] According to the bounding box information of the optic disc, the calibrated optic disc area image block is cropped and input into the pre-trained U-shaped segmentation network. After feature extraction and upsampling operations, the optic disc segmentation result is output.
[0129] Optionally, in the aspect of segmenting the original fundus image using the pre-trained cascade segmentation network model to obtain the arteriovenous vessel identification result, the blood vessel identification module 1203 is specifically used to:
[0130] Extracting a green channel image of the original fundus image, and performing histogram equalization processing on the green channel image to obtain a contrast-enhanced green channel image;
[0131] Cutting the contrast-enhanced green channel image into a plurality of fundus image blocks;
[0132] The multiple fundus image blocks are input into a preset cascade segmentation network model for segmentation to obtain arteriovenous blood vessel recognition results.
[0133] Optionally, the diameter ratio calculation module 1206 is specifically used to:
[0134] Taking the center point of the blood vessel as the center of the circle, traverse the rectangular area of 40*40 pixels to find the boundary point closest to the center line of each blood vessel segment after the arteriovenous category information is corrected. The distance between the closest boundary point and the center point of the blood vessel is taken as the radius r, and the blood vessel diameter 2r of each blood vessel segment after the arteriovenous category information is corrected is obtained.
[0135] Optionally, the diameter ratio calculation module 1206 calculates the diameter ratio of the arterial blood vessel to the venous blood vessel in the region of interest using the following formula:
[0136]
[0137] Among them, AVR represents the ratio of the diameters of arteries and veins in the region of interest, CRAE represents the equivalent value of the central retinal artery diameter, A i and A j They represent the maximum and minimum arterial diameters of the region of interest, respectively, and 0.88 is a fixed coefficient; CRVE represents the equivalent value of the central retinal vein diameter, V i and V j They represent the maximum and minimum venous diameters of the region of interest, respectively, and 0.95 is a fixed coefficient.
[0138] It should be noted that Figure 2 Each step in the fundus retinal blood vessel identification and quantification method shown can be executed by each unit module in the fundus retinal blood vessel identification and quantification device provided in the embodiment of the present application, and can achieve the same or similar beneficial effects. The fundus retinal blood vessel identification and quantification device provided in the embodiment of the present application can be applied to the scenario of fundus retinal blood vessel identification and quantification. Specifically, the above-mentioned fundus retinal blood vessel identification and quantification device can be applied to devices such as servers, computers or mobile terminals.
[0139] Based on the above description, see Fig.13 , Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.13As shown, it includes: a memory 1301 for storing one or more computer programs; a processor 1302 for calling the computer program stored in the memory 1301 to execute the steps in the above-mentioned fundus retinal blood vessel identification and quantification method embodiment; a communication interface 1303 for input and output, and the communication interface 1303 can be one or more; it can be understood that each part of the electronic device is connected and communicated through a bus. Among them, the processor 1302 is specifically used to call the computer program to execute the following steps:
[0140] The original fundus image is input into the pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps at multiple scales;
[0141] Perform optic disc segmentation based on the target feature map to obtain an optic disc segmentation result;
[0142] Using a pre-trained cascade segmentation network model to segment the original fundus image to obtain an arteriovenous blood vessel recognition result;
[0143] Based on the optic disc segmentation result, the region of interest is located to obtain the region of interest location result;
[0144] Extracting the blood vessel centerline according to the arteriovenous blood vessel recognition results, detecting key points in the blood vessel centerline using a neighborhood connectivity determination method, removing the key points to obtain a plurality of mutually independent blood vessel segments, and correcting the arteriovenous category information on each blood vessel segment to obtain each blood vessel segment after the arteriovenous category information is corrected;
[0145] Based on the vascular centerline of each vascular segment after the arteriovenous category information is corrected, a boundary detection method is used to obtain the vascular diameter of each vascular segment after the arteriovenous category information is corrected, and the diameter ratio of the arterial blood vessel and the venous blood vessel in the region of interest is calculated based on the vascular diameter.
[0146] Optionally, the processor 1302 executes the step of inputting the original fundus image into a pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps of multiple scales, including:
[0147] Inputting the original fundus image into the encoder part of the U-shaped convolutional neural network model to extract key features to obtain a high-dimensional feature map;
[0148] The high-dimensional feature map is input into the decoder part of the U-shaped convolutional neural network model for upsampling operation, and target feature maps of multiple scales are output.
[0149] Optionally, the processor 1302 performs the step of inputting the original fundus image into the encoder part of the U-shaped convolutional neural network model to extract key features, and obtains a high-dimensional feature map, including:
[0150] Performing convolution processing on the original fundus image to extract key features, and obtaining a feature map with the same size as the original fundus image;
[0151] Performing a maximum pooling operation on the feature map obtained through the convolution process, reducing the size of the feature map layer by layer, and obtaining the high-dimensional feature map through alternating processing of several convolution layers and pooling layers;
[0152] Optionally, the processor 1302 performs the upsampling operation of inputting the high-dimensional feature map into the decoder part of the U-shaped convolutional neural network model, and outputs target feature maps of multiple scales, including:
[0153] Performing an upsampling operation on the high-dimensional feature map to enlarge the size of the high-dimensional feature map layer by layer;
[0154] The low-dimensional features extracted from each network layer in the encoding phase are combined with the high-dimensional features symmetrically extracted in the decoding phase through a skip connection layer to obtain an initial feature map of each network layer, wherein the initial feature map of each network layer has a different scale;
[0155] The initial feature map of each network layer is output through the output branch of each network layer to obtain target feature maps of multiple scales, and an attention mechanism is added to the output branch of each network layer.
[0156] Optionally, the processor 1302 performs the optic disc segmentation based on the target feature map to obtain an optic disc segmentation result, including:
[0157] The target feature maps are fused to obtain an image to be segmented;
[0158] Performing candidate frame regression processing on the image to be segmented to locate the optic disc in the image to be segmented, and outputting bounding box information of the optic disc;
[0159] According to the bounding box information of the optic disc, the calibrated optic disc area image block is cropped and input into the pre-trained U-shaped segmentation network. After feature extraction and upsampling operations, the optic disc segmentation result is output.
[0160] Optionally, the processor 1302 executes the segmentation of the original fundus image using the pre-trained cascade segmentation network model to obtain an arteriovenous blood vessel recognition result, including:
[0161] Extracting a green channel image of the original fundus image, and performing histogram equalization processing on the green channel image to obtain a contrast-enhanced green channel image;
[0162] Cutting the contrast-enhanced green channel image into a plurality of fundus image blocks;
[0163] The multiple fundus image blocks are input into a preset cascade segmentation network model for segmentation to obtain arteriovenous blood vessel recognition results.
[0164] Optionally, the processor 1302 executes the method of using boundary detection to obtain the blood vessel diameter of each blood vessel segment after the arteriovenous category information is corrected, including:
[0165] Taking the center point of the blood vessel as the center of the circle, traverse the rectangular area of 40*40 pixels to find the boundary point closest to the center line of each blood vessel segment after the arteriovenous category information is corrected. The distance between the closest boundary point and the center point of the blood vessel is taken as the radius r, and the blood vessel diameter 2r of each blood vessel segment after the arteriovenous category information is corrected is obtained.
[0166] Optionally, the processor 1302 calculates the diameter ratio of the arterial blood vessel to the venous blood vessel in the region of interest using the following formula:
[0167]
[0168] Among them, AVR represents the ratio of the diameters of arteries and veins in the region of interest, CRAE represents the equivalent value of the central retinal artery diameter, A i and A j They represent the maximum and minimum arterial diameters of the region of interest, respectively, and 0.88 is a fixed coefficient; CRVE represents the equivalent value of the central retinal vein diameter, V i and V j They represent the maximum and minimum venous diameters of the region of interest, respectively, and 0.95 is a fixed coefficient.
[0169] Exemplarily, the electronic device may be a computer, a laptop, a tablet computer, a PDA, a server, etc. The electronic device may include, but is not limited to, a memory 1301, a processor 1302, and a communication interface 1303. Those skilled in the art will appreciate that the schematic diagram is merely an example of an electronic device and does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or different components.
[0170] It should be noted that since the processor 1302 of the electronic device implements the steps in the above-mentioned fundus retinal blood vessel identification and quantification method when executing the computer program, the embodiments of the above-mentioned fundus retinal blood vessel identification and quantification method are all applicable to the electronic device and can achieve the same or similar beneficial effects.
[0171] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned fundus retinal blood vessel identification and quantification method are implemented.
[0172] Exemplarily, the computer program of the computer-readable storage medium includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0173] It should be noted that, since the computer program of the computer-readable storage medium implements the steps in the above-mentioned method for identifying and quantifying fundus retinal vessels when executed by the processor, all examples of the above-mentioned method for identifying and quantifying fundus retinal vessels are applicable to the computer-readable storage medium and can achieve the same or similar beneficial effects.
[0174] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for identifying and quantifying fundus retinal blood vessels, characterized in that: The method comprises: The original fundus image is input into the pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps at multiple scales; Perform optic disc segmentation based on the target feature map to obtain an optic disc segmentation result; Using a pre-trained cascade segmentation network model to segment the original fundus image to obtain an arteriovenous blood vessel recognition result; Based on the optic disc segmentation result, the region of interest is located to obtain the region of interest location result; Extracting the blood vessel centerline according to the arteriovenous blood vessel recognition results, detecting key points in the blood vessel centerline using a neighborhood connectivity determination method, removing the key points to obtain a plurality of mutually independent blood vessel segments, and correcting the arteriovenous category information on each blood vessel segment to obtain each blood vessel segment after the arteriovenous category information is corrected; Taking the center point of the blood vessel as the center of the circle, traverse the rectangular area of the pixel range of 40*40 to find the boundary point closest to the center line of each blood vessel segment after the arteriovenous category information is corrected. The distance between the closest boundary point and the blood vessel center point is taken as the radius r, and the blood vessel diameter 2r of each blood vessel segment after the arteriovenous category information is corrected is obtained. The ratio of the diameters of the arterial and venous blood vessels in the region of interest is calculated using the following formula: Among them, AVR represents the ratio of the diameters of arteries and veins in the region of interest, CRAE represents the equivalent value of the central retinal artery diameter, A i and A j They represent the maximum and minimum arterial diameters of the region of interest, respectively, and 0.88 is a fixed coefficient; CRVE represents the equivalent value of the central retinal vein diameter, V i and V j They represent the maximum and minimum venous diameters of the region of interest, respectively, and 0.95 is a fixed coefficient.
2. The method according to claim 1, characterized in that The original fundus image is input into the pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps of multiple scales, including: Inputting the original fundus image into the encoder part of the U-shaped convolutional neural network model to extract key features to obtain a high-dimensional feature map; The high-dimensional feature map is input into the decoder part of the U-shaped convolutional neural network model for upsampling operation, and target feature maps of multiple scales are output.
3. The method according to claim 2, characterized in that The original fundus image is input into the encoder part of the U-shaped convolutional neural network model to extract key features, and a high-dimensional feature map is obtained, including: Performing convolution processing on the original fundus image to extract key features, and obtaining a feature map with the same size as the original fundus image; Performing a maximum pooling operation on the feature map obtained through the convolution process, reducing the size of the feature map layer by layer, and obtaining the high-dimensional feature map through alternating processing of several convolution layers and pooling layers; The step of inputting the high-dimensional feature map into the decoder part of the U-shaped convolutional neural network model for upsampling operation and outputting target feature maps of multiple scales includes: Performing an upsampling operation on the high-dimensional feature map to enlarge the size of the high-dimensional feature map layer by layer; The low-dimensional features extracted from each network layer in the encoding phase are combined with the high-dimensional features symmetrically extracted in the decoding phase through a skip connection layer to obtain an initial feature map of each network layer, wherein the initial feature map of each network layer has a different scale; The initial feature map of each network layer is output through the output branch of each network layer to obtain target feature maps of multiple scales, and an attention mechanism is added to the output branch of each network layer.
4. The method according to any one of claims 1 to 3, characterized in that: The step of performing optic disc segmentation based on the target feature map to obtain an optic disc segmentation result includes: The target feature maps are fused to obtain an image to be segmented; Performing candidate frame regression processing on the image to be segmented to locate the optic disc in the image to be segmented, and outputting bounding box information of the optic disc; According to the bounding box information of the optic disc, the calibrated optic disc area image block is cropped and input into the pre-trained U-shaped segmentation network. After feature extraction and upsampling operations, the optic disc segmentation result is output.
5. The method according to any one of claims 1 to 3, characterized in that: The pre-trained cascade segmentation network model is used to segment the original fundus image to obtain an arteriovenous blood vessel recognition result, including: Extracting a green channel image of the original fundus image, and performing histogram equalization processing on the green channel image to obtain a contrast-enhanced green channel image; Cutting the contrast-enhanced green channel image into a plurality of fundus image blocks; The multiple fundus image blocks are input into a preset cascade segmentation network model for segmentation to obtain arteriovenous blood vessel recognition results.
6. A fundus retinal blood vessel identification and quantification device, characterized in that: The device comprises: A feature extraction module is used to input the original fundus image into a pre-trained U-shaped convolutional neural network model for processing to obtain target feature maps at multiple scales; An optic disc segmentation module, used for performing optic disc segmentation based on the target feature map to obtain an optic disc segmentation result; A blood vessel recognition module, used to segment the original fundus image using a pre-trained cascade segmentation network model to obtain an arteriovenous blood vessel recognition result; A region positioning module, used for positioning the region of interest based on the optic disc segmentation result to obtain a region of interest positioning result; A centerline extraction module is used to extract the centerline of the blood vessel according to the arteriovenous blood vessel recognition result, detect key points in the blood vessel centerline using a neighborhood connectivity determination method, remove the key points to obtain a plurality of mutually independent blood vessel segments, and correct the arteriovenous category information on each blood vessel segment to obtain each blood vessel segment after the arteriovenous category information is corrected; The diameter ratio calculation module is used to traverse a rectangular area with a pixel range of 40*40 with the center point of the blood vessel as the center of the circle, find the boundary point closest to the center line of each blood vessel segment after the arteriovenous category information is corrected, and take the distance between the closest boundary point and the blood vessel center point as the radius r to obtain the blood vessel diameter 2r of each blood vessel segment after the arteriovenous category information is corrected. The following formula is used to calculate the diameter ratio of the arterial blood vessel and the venous blood vessel in the region of interest: Among them, AVR represents the ratio of the diameters of arteries and veins in the region of interest, CRAE represents the equivalent value of the central retinal artery diameter, A i and A j They represent the maximum and minimum arterial diameters of the region of interest, respectively, and 0.88 is a fixed coefficient; CRVE represents the equivalent value of the central retinal vein diameter, V i and V j They represent the maximum and minimum venous diameters of the region of interest, respectively, and 0.95 is a fixed coefficient.
7. An electronic device, characterized in that: The electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the method for identifying and quantifying fundus retinal blood vessels as described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the method for identifying and quantifying fundus retinal blood vessels according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Portable medical device and method for quantitative retinal image analysis through a smartphone
US20150320313A1
Retinal image analysis
WO2019237148A1
