A general method for automatically splitting left and right eye photos

By preprocessing and feature extraction of the fundus image, and using the angle information of the optic disc and blood vessel characteristics for joint judgment, the difficulty in identifying and splitting the left and right eyes in the existing technology is solved, and rapid and accurate automatic splitting of the fundus image is achieved. Improved diagnostic efficiency and accuracy.

CN115457306BInactive Publication Date: 2024-08-23夏晓波
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210951042.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-09
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology lacks an effective method for identifying and automatically splitting the left and right eyes of fundus images, resulting in doctors needing to manually search and register from multiple images during diagnosis, which results in a large workload, low efficiency, and can easily delay diagnosis.

Method used

Through fundus image preprocessing, including color space transformation, Gaussian filtering, retinal blood vessel extraction and optic disc positioning, the vertical and horizontal offset angles are obtained using optic disc and blood vessel characteristics, and the results of the three methods are combined for joint judgment to achieve automatic disassembly of fundus images. point.

Benefits of technology

It achieves fast and accurate left and right eye recognition, improves diagnosis efficiency, simplifies doctors' work, and ensures accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115457306B
    Figure CN115457306B
Patent Text Reader

Abstract

The present invention discloses a universal method for automatically splitting left and right eye photos, and relates to the technical field of medical digital image processing, specifically a universal method for automatically splitting left and right eye photos, comprising the following steps: S1: preprocessing of fundus images. The universal method for automatically splitting left and right eye photos first processes the acquired fundus images, then obtains corresponding information from the processed images by three different methods according to different characteristics of the optic disc and blood vessels, and finally sets corresponding variables for the three methods to determine whether they can distinguish between left and right eyes, and jointly performs left and right eye recognition on the fundus images according to the recognition results obtained by each method and outputs the recognition results. The present invention can quickly and accurately identify whether a given fundus image belongs to the left eye or the right eye, has high recognition accuracy, is simple and easy to operate, and can automatically split the fundus image into left and right eye photos, and has high application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of medical digital image processing, and in particular to a universal method for automatically splitting left-eye and right-eye photos. Background Art

[0002] Fundus images contain a wealth of unstructured parameters, which are an important diagnostic basis for common ophthalmic diseases including cataracts, glaucoma, age-related macular degeneration, and diabetic retinopathy. The blood vessels in fundus images are the only vascular structures in the human body that can be viewed directly under non-invasive conditions. They are the main information window for monitoring various diseases throughout the body and estimating disease risks. Therefore, the acquisition, storage, and analysis of fundus images are particularly important.

[0003] The key to the traditional left and right eye recognition method is to determine the position of the optic disc in the fundus image; there are currently three main methods for optic disc positioning. The first method is to directly use the light red and disc-like features of the optic disc to locate the optic disc. This method is easily affected by the deformation of the optic disc, the brightness and contrast of the image itself, and other lesion areas; the second method is to use the uneven distribution of blood vessels in the horizontal and vertical directions at the optic disc to locate the optic disc. This method is easily disturbed by the vertical blood vessels in the non-optic disc area; the third method uses the characteristics of the parabolic direction of the blood vessels to locate the optic disc. This method is directly related to the clarity and richness of the blood vessels in the image itself; there are four main methods for blood vessel segmentation. The first method is a blood vessel tracking method, which is easily affected by blood vessel branches or intersections; the second method is a method based on matched filtering, which is easily affected by dark lesions; the third method is a method based on morphological processing, which is critical to the selection of structural elements; the fourth method is a method based on supervised learning, which requires a large number of labeled sample sets.

[0004] When a doctor is diagnosing a patient, if there are historical fundus photos of the patient in the database, the doctor often needs to select the left (right) eye fundus picture and compare it with the currently taken left (right) eye fundus picture to observe subtle changes in the fundus. Currently, when doctors compare fundus images, they often manually select the left (right) eye fundus picture from the library, and the fundus pictures are not classified and sorted into left and right eyes before entering the library.

[0005] This leads to the following two disadvantages:

[0006] (1) When doctors are diagnosing patients, they often need to compare and analyze the current fundus image with the fundus images taken last or several times before. However, after multiple diagnoses, the patient will have multiple fundus images. When doctors observe the fundus image of the left eye (right eye), they need to manually search for the fundus image of the left eye (right eye) from multiple fundus images, which has the disadvantages of heavy workload, low work efficiency, easy fatigue, time-consuming and labor-intensive.

[0007] (2) When diagnosing a disease, doctors often use image registration technology to observe the slight changes in blood vessels, optic discs, myopic arcs, and lesions. Image registration also requires two fundus images of the patient at different times. This still has the disadvantage of manually selecting the left eye (right eye) fundus image from multiple fundus images for registration. Moreover, when the patient has eye lesions, the pathological changes in the affected area may affect the doctor's manual left and right eye recognition judgment, delaying diagnosis and treatment. At present, there is no effective method to identify the left and right eyes through fundus images and automatically split the images. Summary of the invention

[0008] In view of the shortcomings of the prior art, the present invention provides a universal method for automatically splitting left and right eye photos, which solves the problem raised in the above background technology that there is currently no effective method to identify the left and right eyes through fundus images and automatically split the pictures.

[0009] To achieve the above objectives, the present invention is implemented by the following technical solutions: A general method for automatically splitting left and right eye photos comprises the following steps:

[0010] S1: fundus image preprocessing;

[0011] S1.1: Color space transformation and color channel extraction to complete the output of the image RGB three-color channels.

[0012] S1.2: Gaussian filtering, based on two-dimensional Gaussian distribution, using a 5*5 template for filtering to obtain the filtered retinal vascular map.

[0013] S1.3: Eliminate uneven illumination through bottom-hat transformation and contrast-limited adaptive histogram equalization;

[0014] S2: retinal blood vessel extraction;

[0015] S2.1: Gaussian matched filtering and image normalization processing. After the image is processed by matched filtering, the background in the fundus image can be suppressed, the grayscale of the target blood vessels can be enhanced, and the purpose of highlighting the blood vessel structure can be achieved.

[0016] S2.2: Remove the retinal outline,

[0017] S2.3: Grayscale stretching to improve image contrast.

[0018] S2.4: OSTU binarization, the threshold is obtained by the maximum inter-class variance method, and then the grayscale image is converted into a binary image;

[0019] S3: optic disc positioning;

[0020] S3.1: Extraction of candidate areas of optic disc, using DLC ​​algorithm to extract bright spot areas,

[0021] S3.2: Take the bright spot of the optic disc. Here, the retinal blood vessel extraction result will be used as an auxiliary judgment basis. From all candidate areas, the candidate area with the largest number of blood vessel branches is selected as the optic disc area;

[0022] S4: Obtain vertical deviation angle according to vascular distribution;

[0023] S4.1: Determine the vertical deviation angle by using the uneven distribution of blood vessels in the vertical and horizontal directions and the direction of the main blood vessels in the optic disc;

[0024] S5: Obtain the horizontal deviation angle according to the direction of the main blood vessel;

[0025] S5.1: Based on the center point of the optic disc and the two main blood vessel branches, the angle between the two branches is calculated,

[0026] S5.2: Calculate the horizontal offset angle of the fundus image according to the angle of the blood vessel branch;

[0027] S6: Jointly determine the left and right eyes according to the acquired optic disc location, vertical offset angle, and horizontal offset angle;

[0028] S7: Split the left-eye and right-eye photos, and split the original fundus image into two pictures of the left and right eyes according to the judgment result.

[0029] The present invention provides a universal method for automatically splitting left-eye and right-eye photos, which has the following beneficial effects:

[0030] 1. The general method for automatically splitting left and right eye photos first processes the acquired fundus image, then obtains corresponding information from the processed image by three different methods according to the different characteristics of the optic disc and blood vessels, and finally sets corresponding variables for the three methods to determine whether they can distinguish between the left and right eyes, and jointly performs left and right eye recognition on the fundus image according to the recognition results obtained by each method and outputs the recognition results. The present invention can quickly and accurately identify whether a given fundus image belongs to the left eye or the right eye, has high recognition accuracy, is simple and easy to operate, and can automatically split the fundus image into left and right eye photos, and has high application value.

[0031] 2. The purpose of the present invention is to overcome the above-mentioned deficiencies of the prior art and provide a left-right eye recognition method that integrates fundus image vascular information and optic disc information to improve the accuracy and efficiency of left-right eye recognition and automatically split left-right eye photos. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0034] See also Figure 1 The present invention provides a technical solution: a general method for automatically splitting left and right eye photos, comprising the following steps:

[0035] 1. Preprocessing of fundus images;

[0036] 1.1: Color space transformation and color channel extraction to complete the output of the image RGB three-color channels.

[0037] 1.2: Gaussian filtering, based on two-dimensional Gaussian distribution, uses a 5*5 template for filtering to obtain the filtered retinal vascular map.

[0038] 1.3: Eliminate uneven illumination through bottom-hat transformation and contrast-limited adaptive histogram equalization;

[0039] 2. Retinal blood vessel extraction;

[0040] 2.1: Gaussian matched filtering and image normalization processing. After the image is processed by matched filtering, the background in the fundus image can be suppressed, the grayscale of the target blood vessels can be enhanced, and the purpose of highlighting the blood vessel structure can be achieved.

[0041] 2.2: Remove the retinal outline,

[0042] 2.3: Grayscale stretching to improve image contrast,

[0043] 2.4: OTU binarization, the threshold is obtained by the maximum inter-class variance method, and then the grayscale image is converted into a binary image;

[0044] 3. Optic disc positioning;

[0045] 3.1: Extraction of candidate areas of optic disc, using DLC ​​algorithm to extract bright spot areas,

[0046] 3.2: Take the bright spot of the optic disc. Here, the retinal blood vessel extraction results will be used as an auxiliary basis for judgment. From all candidate areas, the candidate area with the largest number of blood vessel branches is selected as the optic disc area;

[0047] 4. Obtain the vertical offset angle according to the blood vessel distribution;

[0048] 4.1: Determine the vertical deviation angle by using the uneven distribution of blood vessels in the vertical and horizontal directions and the direction of the main blood vessels in the optic disc;

[0049] 5. Obtain the horizontal deviation angle according to the direction of the main blood vessel;

[0050] 5.1: Based on the center point of the optic disc and the two main blood vessel branches, the angle between the two branches is calculated.

[0051] 5.2: Calculate the horizontal offset angle of the fundus image based on the angle of the blood vessel branch;

[0052] 6. Jointly judge the left and right eyes based on the obtained optic disc positioning, vertical offset angle, and horizontal offset angle;

[0053] 7. Split the left and right eye photos, and split the original fundus image into two pictures of the left and right eyes according to the judgment results.

[0054] The present invention can quickly and accurately identify whether a given fundus image belongs to the left eye or the right eye, has high recognition accuracy, is simple and easy to operate, and can automatically split the fundus image into left and right eye photos. The difference from the prior art mainly lies in the following three points: first, retinal blood vessels are extracted as a basis for auxiliary positioning of the optic disc, which is different from the previous single judgment by circular bright spots; second, the left and right eyes are jointly judged based on the results obtained by the three methods, and the recognition accuracy is higher; third, the fundus image is automatically split into left and right eye photos, which has higher application value.

[0055] To summarize, when using this general method for automatically splitting left and right eye photos, the acquired fundus image is first processed, and then the corresponding information of the processed image is obtained by three different methods according to the different characteristics of the optic disc and blood vessels. Finally, corresponding variables are set for the three methods to determine whether they can distinguish between the left and right eyes, and the left and right eyes of the fundus image are jointly recognized according to the recognition results obtained by each method and the recognition results are output.

[0056] Finally, a few points should be explained: First, in the description of this application, it should be noted that, unless otherwise specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, which may refer to mechanical connection or electrical connection, or internal communication between two components, or direct connection. "upper", "lower", "left", "right", etc. are only used to indicate relative positional relationships. When the absolute position of the object being described changes, the relative positional relationship may change;

[0057] Secondly: In the drawings of the embodiments disclosed in the present invention, only the structures related to the embodiments disclosed in the present invention are involved, and other structures can refer to the general design. In the absence of conflict, the same embodiment and different embodiments of the present invention can be combined with each other;

[0058] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A general method for automatically splitting left-eye and right-eye photos, characterized by: The following steps are involved: S1: fundus image preprocessing; S1.1: Color space transformation and color channel extraction to complete the output of the image RGB three-color channels. S1.2: Gaussian filtering, based on two-dimensional Gaussian distribution, using a 5*5 template for filtering to obtain the filtered retinal vascular map. S1.3: Eliminate uneven illumination through bottom-hat transformation and contrast-limited adaptive histogram equalization; S2: retinal blood vessel extraction; S2.1: Gaussian matched filtering and image normalization processing. After the image is processed by matched filtering, the background in the fundus image can be suppressed, the grayscale of the target blood vessels can be enhanced, and the purpose of highlighting the blood vessel structure can be achieved. S2.2: Remove the retinal outline, S2.3: Grayscale stretching to improve image contrast. S2.4: OSTU binarization, the threshold is obtained by the maximum inter-class variance method, and then the grayscale image is converted into a binary image; S3: optic disc positioning; S3.1: Extraction of candidate areas of optic disc, using DLC ​​algorithm to extract bright spot areas, S3.2: Take the bright spot of the optic disc. Here, the retinal blood vessel extraction result will be used as an auxiliary judgment basis. The candidate area with the largest number of blood vessel branches is selected from all candidate areas as the optic disc area; S4: Obtain vertical deviation angle according to vascular distribution; S4.1: Determine the vertical deviation angle by using the uneven distribution of blood vessels in the vertical and horizontal directions and the direction of the main blood vessels in the optic disc; S5: Obtain the horizontal deviation angle according to the direction of the main blood vessel; S5.1: Based on the center point of the optic disc and the two main blood vessel branches, the angle between the two branches is calculated, S5.2: Calculate the horizontal offset angle of the fundus image according to the angle of the blood vessel branch; S6: Jointly determine the left and right eyes; jointly determine the left and right eyes according to the acquired optic disc location, vertical offset angle, and horizontal offset angle; S7: Split the left-eye and right-eye photos; split the original fundus image into two pictures of the left and right eyes according to the judgment result.