WO2023087754A1 - Method for repairing optic disc area of fundus image and related product - Google Patents

Method for repairing optic disc area of fundus image and related product Download PDF

Info

Publication number
WO2023087754A1
WO2023087754A1 PCT/CN2022/105896 CN2022105896W WO2023087754A1 WO 2023087754 A1 WO2023087754 A1 WO 2023087754A1 CN 2022105896 W CN2022105896 W CN 2022105896W WO 2023087754 A1 WO2023087754 A1 WO 2023087754A1
Authority
WO
WIPO (PCT)
Prior art keywords
optic disc
image
disc region
region image
aligned
Prior art date
Application number
PCT/CN2022/105896
Other languages
French (fr)
Chinese (zh)
Inventor
陈荡荡
和超
张大磊
Original Assignee
北京鹰瞳科技发展股份有限公司
上海鹰瞳医疗科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京鹰瞳科技发展股份有限公司, 上海鹰瞳医疗科技有限公司 filed Critical 北京鹰瞳科技发展股份有限公司
Publication of WO2023087754A1 publication Critical patent/WO2023087754A1/en

Links

Images

Classifications

    • G06T5/77
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • G06T7/0014Biomedical image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30041Eye; Retina; Ophthalmic

Definitions

  • the present disclosure generally relates to the field of image processing techniques. More specifically, the present disclosure relates to a method, an apparatus, and a computer-readable storage medium for inpainting an optic disc region of a fundus image.
  • the optic disc which is called the optic disc, can also be called the optic nerve head.
  • the optic disc is located approximately 3 millimeters (“mm”) nasally from the macula and is a well-defined, reddish disc-shaped structure approximately 1.5 mm in diameter.
  • mm millimeters
  • the current mainstream image restoration and enhancement technology is High Dynamic Range Imaging (“HDR”) technology, which can be used in digital image processing to achieve a larger exposure dynamic range (that is, a larger difference in light and shade).
  • HDR High Dynamic Range Imaging
  • the solution of the present disclosure provides a solution for repairing the optic disc region of the fundus image.
  • the overexposed area of the video disc can be effectively repaired and enhanced.
  • the present disclosure provides solutions in the following aspects.
  • the present disclosure provides a method for repairing an optic disc region of a fundus image, comprising: acquiring a first optic disc region image corresponding to a high-exposure fundus image and a second image corresponding to a low-exposure fundus image image of the optic disc region; image alignment of the second optic disc region image with the first optic disc region image to generate an aligned optic disc region image aligned with the first optic disc region image; according to the first optic disc region image Determining a final optic disc region image with the aligned optic disc region image; and repairing the first optic disc region image by using the final optic disc region image.
  • acquiring the first optic disc region image and the second optic disc region image comprises: performing an optic disc detection algorithm on the low-exposure fundus image to determine its corresponding initial optic disc region; and based on the initial The optic disc region performs an image interception operation on the high-exposure fundus image and the low-exposure fundus image respectively, so as to acquire the first optic disc region image and the second optic disc region image.
  • determining a final optic disc zone image based on the first optic disc zone image and the aligned optic disc zone image comprises: aligning the optic disc zone image based on the first optic disc zone image and the aligned optic disc zone image performing brightness correction on the region image to obtain a corrected aligned optic disc region image; determining a composite coefficient associated with the final optic disc region image based on the first optic disc region image and the corrected aligned optic disc region image; and based on the Combining coefficients, the first optic disc region image and the corrected aligned optic disc region image determine a final optic disc region image.
  • performing brightness correction on the aligned optic disc region image based on the first optic disc region image and the aligned optic disc region image, so as to obtain the corrected aligned optic disc region image comprises: converting the optic disc region image and said aligned optic disc region image to HSV color space to determine first luminance data corresponding to said first optic disc region image and second luminance data corresponding to said aligned optic disc region image; Execute a binarization operation on the first brightness data to determine a mask area of the first optic disc region image; perform an edge detection operation according to the mask area of the first optic disc area image to generate an edge of the mask area and performing brightness correction on the aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region, so as to obtain a corrected aligned optic disc region image.
  • brightness correction is performed on the aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region, so as to obtain a corrected aligned optic disc region image Including: calculating the first brightness average value and the second brightness average value corresponding to the first brightness data and the second brightness data at the edge of the mask area respectively; calculating the first brightness average value and the second brightness average value The difference between the two lightness average values; and aligning the optic disc region image to perform brightness correction according to the sum result of the second brightness data and the difference value, so as to obtain a corrected aligned optic disc region image.
  • aligning the optic disc region image according to the summation result of the second brightness data and the difference value and performing brightness correction, so as to obtain the corrected aligned optic disc region image comprises: responding to the summation result greater than a preset threshold, using the preset threshold as the corrected second brightness data to perform brightness correction to obtain a corrected image of the optic disc region aligned; And the result is used as the corrected second brightness data to perform brightness correction, so as to obtain the corrected aligned optic disc region image.
  • determining the composite coefficients associated with the final optic disc region image based on the first optic disc region image and the corrected aligned optic disc region image comprises: based on the first optic disc region image and the corrected aligned optic disc region image The distance between each of the optic disc region images and the center of the mask region and the radius of the mask region determine the synthesis coefficients associated with the final optic disc region image.
  • determining the final optic disc region image based on the synthesis coefficients, the first optic disc region image and the corrected aligned optic disc region image comprises: using the synthesis coefficients to combine the first optic disc region image and The corrected aligned optic disc region images are composited in RGB color space to generate said final optic disc region image.
  • the present disclosure also provides a device for repairing the optic disc region of the fundus image, including: a processor; and a memory connected to the processor, where computer program codes are stored in the memory, when the When the computer program code is executed, it causes the processor to execute the aforementioned multiple embodiments.
  • the present disclosure also provides a computer-readable storage medium, on which are stored computer-readable instructions for repairing the optic disc region of the fundus image, when the computer-readable instructions are executed by one or more processors , to implement the aforementioned multiple embodiments.
  • the aligned optic disc region image is obtained by aligning the optic disc region image corresponding to the low-exposure fundus image with the optic disc region image corresponding to the high-exposure fundus image, and then by aligning the optic disc region image corresponding to the high-exposure fundus image
  • the final optic disc area image determined by the optic disc area repairs and enhances the optic disc area image corresponding to the high-exposure fundus image, so as to solve the problem of missing information due to overexposure of the optic disc area image corresponding to the high-exposure fundus image, in order to obtain high-quality Image.
  • the disclosed solution converts the image into HSV color space and RGB color space for processing, which can preserve the true color of the fundus image, and is convenient for subsequent diagnosis and treatment of the fundus.
  • FIG. 1 is an exemplary flowchart illustrating a method for repairing an optic disc region of a fundus image according to an embodiment of the present disclosure
  • FIG. 2 is an exemplary schematic diagram showing a high-exposure fundus image and a low-exposure fundus image according to an embodiment of the present disclosure
  • Fig. 3 is an exemplary schematic diagram showing an initial optic disc area of a low-exposure fundus image and an image of the optic disc area determined after performing image capture according to an embodiment of the present disclosure
  • FIG. 4 is an exemplary flowchart illustrating obtaining a corrected aligned optic disc region image according to an embodiment of the present disclosure
  • FIG. 5 is another exemplary flowchart illustrating obtaining a corrected aligned optic disc region image according to an embodiment of the present disclosure
  • FIG. 6 is an exemplary schematic diagram illustrating determining a composite coefficient according to an embodiment of the present disclosure
  • Fig. 7 is an exemplary schematic diagram illustrating a restored and enhanced fundus image according to an embodiment of the present disclosure
  • FIG. 8 is a block diagram illustrating an overall exemplary process for repairing the optic disc region of a fundus image according to an embodiment of the present disclosure.
  • FIG. 9 is a block diagram illustrating an apparatus for repairing an optic disc region of a fundus image according to an embodiment of the present disclosure.
  • FIG. 1 is an exemplary flowchart illustrating a method 100 for inpainting an optic disc region of a fundus image according to an embodiment of the present disclosure.
  • a first optic disc region image corresponding to a high-exposure fundus image and a second optic disc region image corresponding to a low-exposure fundus image are acquired.
  • the aforementioned high-exposure fundus image and low-exposure fundus image can be collected by, for example, an ophthalmic instrument fundus camera.
  • the aforementioned high-exposure fundus image refers to a fundus image with normal overall exposure (that is, brightness) and overexposed optic disc area (for example, as shown in the left figure in FIG.
  • the aforementioned low-exposure fundus image refers to a fundus image with a dark overall brightness and a normal (clear) optic disc area (such as shown in the right figure in Figure 2).
  • a normal optic disc area such as shown in the right figure in Figure 2.
  • an optic disc detection algorithm may be performed on the low-exposure fundus image to determine its corresponding initial optic disc area (such as the rectangular box shown in FIG. 3 ).
  • an image capture operation may be performed on the high-exposure fundus image and the low-exposure fundus image respectively, so as to acquire the first optic disc area image and the second optic disc area image.
  • the foregoing optic disc detection and image capture will be described in detail later with reference to FIG. 3 .
  • the second optic disc region image is image-aligned with the first optic disc region image to generate an aligned optic disc region aligned with the first optic disc region image image.
  • the aforementioned image alignment operation may be performed using, for example, the OpenCV software library.
  • the aforementioned image alignment operations are usually implemented using the feature-based image alignment method in OpenCV.
  • the feature-based image alignment method refers to extracting the feature points of the second optic disc region image and the first optic disc region image respectively, and then combining the feature points of the second optic disc region image with the features of the first optic disc region image Click to match.
  • image alignment operations can be performed using AlignMTB from the OpenCV software library.
  • a final optic disc region image is determined based on the first optic disc region image and the aligned optic disc region image.
  • brightness correction may be performed on the aligned optic disc region image first based on the first optic disc region image and the aligned optic disc region image, so as to obtain a corrected aligned optic disc region image.
  • determine the synthesis coefficient associated with the final optic disc area image according to the first optic disc area image and the corrected aligned optic disc area image and then determine the final optic disc area based on the synthesis coefficient, the first optic disc area image and the corrected aligned optic disc area image image. The aforementioned determination process of the final optic disc region image will be described in detail later with reference to FIGS. 4-5 .
  • the first optic disc region image is repaired using the final optic disc region image.
  • the obtained final optic disc region image that is, the repaired and enhanced normal optic disc region image
  • the high-exposure fundus image such as shown in the left figure in Figure 7). shown
  • the repaired and enhanced fundus image such as shown in the right figure in Figure 7.
  • the scheme of the present disclosure utilizes the fundus image (i.e. low-exposure fundus image) with darker overall brightness and normal (clear) optic disc area to make the overall exposure (i.e. brightness) normal and the optic disc area overexposed
  • the fundus image that is, the high-exposure fundus image
  • the fundus image is repaired and enhanced to solve the problem of missing information in the optic disc area caused by overexposure of the optic disc area, so as to obtain high-quality fundus images for subsequent diagnosis and treatment of the fundus.
  • FIG. 2 is an exemplary schematic diagram illustrating a high-exposure fundus image and a low-exposure fundus image according to an embodiment of the present disclosure.
  • the left figure in Figure 2 shows a high-exposure fundus image. It can be seen that the overall brightness of the high-exposure fundus image is normal, but the optic disc area is overexposed (such as the circular area pointed by the arrow in the left figure in Figure 2).
  • the right figure in Figure 2 shows the low-exposure fundus image. It can be seen that the overall brightness of the low-exposure fundus image is dark, while the optic disc area is clear (such as the circular area pointed by the arrow in the right figure in Figure 2).
  • performing the optic disc detection algorithm on low-exposure fundus images can determine its corresponding initial optic disc area. Further, performing image interception operations on the high-exposure fundus image and the low-exposure fundus image respectively based on the initial optic disc area can obtain the first optic disc area image corresponding to the high-exposure fundus image and the second optic disc area corresponding to the low-exposure fundus image image.
  • the optic disc detection algorithm can be performed on low-exposure fundus images using deep learning detection algorithms such as the YOLO detection network to determine the initial optic disc area, such as the rectangular box shown in FIG. 3 .
  • Fig. 3 is an exemplary schematic diagram showing an initial optic disc area of a low-exposure fundus image and an image of the optic disc area determined after performing image capture according to an embodiment of the present disclosure.
  • the upper left figure in Figure 3 shows the high-exposure fundus image, in which the rectangular frame represents the initial optic disc area obtained by performing the optic disc detection algorithm (such as YOLO detection network) on the low-exposure fundus image.
  • the optic disc area image shown in the upper right figure in Figure 3 can be obtained, that is, the first optic disc area corresponding to the high-exposure fundus image image.
  • the lower left image in Figure 3 shows a low-exposure fundus image
  • the initial optic disc area that is, the rectangular frame
  • the optic disc area shown in the lower right image in Figure 3 can be obtained
  • the image that is, the image of the second optic disc region corresponding to the low-exposure fundus image.
  • image alignment of the second optic disc region image and the first optic disc region image is performed to obtain an aligned optic disc region image
  • the final optic disc region image can be determined according to the obtained first optic disc region image and the aligned optic disc region image, so that the final optic disc region image can be used Repair the image of the first optic disc region corresponding to the high-exposure fundus image.
  • brightness correction may be performed on the aligned optic disc region image based on the first optic disc region image and the aligned optic disc region image, so as to obtain a corrected aligned optic disc region image. How to obtain the corrected aligned optic disc region image will be described in detail below with reference to FIG. 4 .
  • FIG. 4 is an exemplary flowchart illustrating obtaining a corrected aligned optic disc region image according to an embodiment of the present disclosure. It should be understood that FIG. 4 is a specific embodiment of the method 100 in FIG. 1 above, so the above descriptions about FIG. 1 are also applicable to FIG. 4 .
  • the first optic disc region image and the aligned optic disc region image are converted to the HSV color space to determine the first lightness data corresponding to the first optic disc region image and the first lightness data corresponding to the aligned optic disc region image The second lightness data of .
  • the first optic disc region image and the aligned optic disc region image are initially located in the RGB color space, so the embodiment of the present disclosure transforms the first optic disc region image and the aligned optic disc region image from the RGB color space to the HSV color space.
  • an OpenCV tool can be used to convert the RGB color space to the HSV color space, thereby determining the first brightness data corresponding to the first optic disc region image (that is, the brightness V in the HSV color space) and the alignment corresponding to the optic disc region image The second lightness data of .
  • a binarization operation is performed on the first brightness data to determine a mask region of the first optic disc region image.
  • an appropriate brightness threshold can be selected according to the first brightness data (for example, the brightness threshold is 245), and then the first brightness data lower than the brightness threshold is set to "0", and the first brightness data higher than the brightness threshold is set to "0".
  • the brightness data is set to "1", thereby realizing binarization for the first brightness data.
  • the image area where the first lightness data is set to "1" is the mask area of the first optic disc area image (for example, the area shown in the circle in Figure 6 similar to the "cloud” shape).
  • an edge detection operation is performed according to the mask area of the first optic disc area image to generate an edge of the mask area.
  • an edge detection operator such as a Sobel operator, a Canny operator, or a Laplacian operator may be used to perform edge detection on the mask area, so as to obtain the edge of the mask area.
  • step S408 brightness correction is performed on the aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region, so as to obtain a corrected aligned optic disc region image. How to obtain the corrected aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region will be described in detail below with reference to FIG. 5 .
  • FIG. 5 is another exemplary flowchart illustrating obtaining a corrected aligned optic disc region image according to an embodiment of the present disclosure. It can be understood that FIG. 5 is a specific implementation manner of step S408 in FIG. 4 above, so the above description about FIG. 4 is also applicable to FIG. 5 .
  • the first average brightness and the second average brightness corresponding to the first brightness data and the second brightness data at the edge of the mask area are respectively calculated.
  • a difference between the first average brightness value and the second average brightness value is calculated.
  • the difference between the first lightness average value and the second lightness average value can be recorded as V C -V E .
  • step S506 brightness correction is performed on the optic disc region image according to the summation result of the second brightness data and the difference value, so as to obtain a corrected aligned optic disc region image.
  • the aforementioned summation result refers to the sum of the second brightness data of each pixel in the image of the aligned optic disc area and the aforementioned difference, that is, after adding (increasing) the difference to the second brightness data of each pixel the result of.
  • brightness correction is performed using the preset threshold as the corrected second brightness data, so as to obtain a corrected aligned optic disc region image.
  • the preset threshold value of 250 when the summing result is greater than 250, the preset threshold value of 250 is used as the corrected second brightness data.
  • the summation result is less than 250, the summation result (the sum of the second brightness data and the difference value) is used as the corrected second brightness data for brightness correction, so as to obtain a corrected aligned optic disc region image.
  • the overall brightness of the corrected aligned optic disc region image can be made close to the overall brightness of the first optic disc region image, so that the restored and enhanced fundus image can retain the true color.
  • the synthesis coefficient associated with the final optic disc region image can be determined according to the first optic disc region image and the corrected aligned optic disc region image. Specifically, according to the distance between the first optic disc region image and the corrected aligned optic disc region image and the center of the mask region (that is, the mask region obtained in step S404 shown in FIG. 4 ) and the mask region The radius of determines the composite coefficient associated with the final optic disc area. How to determine the combination coefficient will be described in detail below with reference to FIG. 6 .
  • FIG. 6 is an exemplary diagram illustrating determining a combination coefficient according to an embodiment of the present disclosure.
  • the area shown in the rectangle is the image of the first optic disc area
  • the area shown in the shape of a "cloud" in the inner circle is the mask area
  • the solid circle in the mask area represents the center of the mask area point.
  • the weight (coefficient) of the area image is relatively large, and the sum of the weight (coefficient) of the first optic disc area image and the weight (coefficient) of the corrected aligned optic disc area image is 1, thus determining the final optic disc area image. composite coefficient.
  • the embodiment of the present disclosure expresses the aforementioned combination coefficient, the image distance from the center of the mask area, and the radius of the mask area by the following formula:
  • R indicates that the radius of the mask area is R
  • d indicates the distance from the center of the mask area
  • f(d) indicates the synthesis coefficient
  • the first optic disc region image and the corrected aligned optic disc region image the final optic disc region image can be determined.
  • the first optic disc region image and the corrected aligned optic disc region image may be synthesized in RGB color space by using the synthesis coefficients to generate a final optic disc region image.
  • the first optic disc region image and the corrected aligned optic disc region image are located in the RGB color space.
  • the first optic disc region image and the corrected aligned optic disc region image may be synthesized in the RGB color space based on the following formula:
  • R(x, y) represents the pixel value (red channel value) corresponding to the pixel at the coordinate position (x, y) in the final optic disc region image
  • R1(x, y) represents the pixel value in the first optic disc region image
  • R2(x, y) represents the pixel at the pixel point at the coordinate position (x, y) in the corrected aligned optic disc region image value (red channel value)
  • f(d) represents the synthesis factor
  • d represents the distance from the center of the masked area.
  • the final optic disc region image is used to replace the first optic disc region image of the high-exposure fundus image to obtain a repaired and enhanced fundus image, as shown in FIG. 7 .
  • Fig. 7 is an exemplary schematic diagram showing a restored and enhanced fundus image according to an embodiment of the present disclosure.
  • the upper part of the left image in Figure 7 shows the final area image
  • the lower part of the left image in Figure 7 shows the high-exposure fundus image
  • the area shown in the rectangular box is the first optic disc region image corresponding to the high-exposure fundus image .
  • replace the area in the rectangular box (that is, the first disc area image) shown in the upper left image in Figure 7 with the final area image shown in the upper left image in Figure 7, and the right image in Figure 7 can be obtained
  • the shown restoration and enhancement of the fundus image realizes the restoration and enhancement of the image of the first optic disc region of the high-exposure fundus image.
  • the embodiments of the present disclosure repair and enhance the high-exposure fundus image by using the low-exposure fundus image, so as to solve the problem that the optic disc area of the fundus image is overexposed and causes information loss in the optic disc area. Further, the embodiment of the present disclosure can preserve the true color of the fundus image by converting the optic disc region image into the HSV color space for processing, so that the effect of restoration and enhancement is better and the quality of the restoration and enhancement of the fundus image is higher. Using the high-quality fundus image after restoration is beneficial to the subsequent diagnosis and treatment of the fundus.
  • FIG. 8 is a block diagram illustrating an overall exemplary process for repairing the optic disc region of a fundus image according to an embodiment of the present disclosure.
  • a high-exposure fundus image A and a low-exposure fundus image B are collected by, for example, an ophthalmic instrument fundus camera.
  • the optic disc detection algorithm is executed on the low-exposure fundus image B to determine the initial optic disc area (such as the rectangular box shown in Figure 3) .
  • the aforementioned video disc detection algorithm may include but not limited to the YOLO detection network algorithm.
  • the image interception operation is performed on the high-exposure fundus image A and the low-exposure fundus image B, and then the corresponding image of the high-exposure fundus image A is obtained.
  • the first optic disc region image C and the second optic disc region image D corresponding to the low-exposure fundus image B.
  • the second optic disc region image D is image-aligned with the first optic disc region image C to obtain an aligned optic disc region image E aligned with the first optic disc region image C.
  • the final optic disc area image can be determined by processing the first optic disc area image C and the aligned optic disc area image E.
  • the first optic disc region image C of the high-exposure fundus image A can be restored by using the aforementioned final optic disc region image.
  • step S807 and step S808 convert the first optic disc region image C and the aligned optic disc region image E to the HSV color space respectively, and obtain the first optic disc region image C and the aligned optic disc region image E The first brightness data corresponding to the image C and the second brightness data corresponding to the aligned optic disc region image E.
  • step S809 a binarization operation is performed on the first lightness data to determine the mask area of the first optic disc area image C
  • step S810 an edge detection operation is performed on the mask area using an edge detection operator, to get the edges of the masked area.
  • step S811 Based on the first lightness data, the second lightness data and the edge of the mask area obtained above, at step S811, it can be determined according to the first lightness data, the second lightness data and the edge of the mask area to be associated with the final optic disc area image composite coefficient. Regarding the determination of the combination coefficient, reference may be made to the content described in the above-mentioned FIGS. 4-6 , which will not be repeated in this disclosure.
  • step S812 the obtained composite coefficients are used to composite the obtained first optic disc region image C and the aligned optic disc region image E to determine a final optic disc region image.
  • the first optic disc region image C and the aligned optic disc region image E can be synthesized based on the above formula (2), so as to determine the final optic disc region image.
  • the first optic disc region image C of the high-exposure fundus image A is repaired and enhanced by using the final optic disc region image to generate a restored and enhanced fundus image.
  • FIG. 9 is a block diagram illustrating an apparatus 900 for repairing an optic disc region of a fundus image according to an embodiment of the present disclosure. It will be appreciated that a device implementing the disclosed solutions may be a single device (such as a computing device) or a multi-function device including various peripheral devices.
  • the devices of the present disclosure may include a central processing unit or central processing unit (“CPU”) 911, which may be a general-purpose CPU, a dedicated CPU, or other execution units for information processing and program execution.
  • the device 900 may also include a large-capacity memory 912 and a read-only memory (“ROM”) 913, wherein the large-capacity memory 912 may be configured to store various types of data, including various fundus images to be repaired, algorithm data, intermediate Results and various programs required to run device 900.
  • the ROM 913 can be configured to store data and instructions required for power-on self-test of the device 900, initialization of each functional module in the system, basic input/output drivers of the system, and booting the operating system.
  • device 900 may also include other hardware platforms or components, such as shown tensor processing unit (“TPU”) 914, graphics processing unit (“GPU”) 915, field programmable gate array (“FPGA”) ) 916 and Machine Learning Unit (“MLU”) 917.
  • TPU tensor processing unit
  • GPU graphics processing unit
  • FPGA field programmable gate array
  • MLU Machine Learning Unit
  • the device 900 may only include a CPU, a related storage device and an interface device to implement the method for repairing the optic disc region of the fundus image of the present disclosure.
  • the device 900 of the present disclosure further includes a communication interface 918, so that it can be connected to a local area network/wireless local area network (“LAN/WLAN”) 905 through the communication interface 918,
  • LAN/WLAN local area network/wireless local area network
  • Internet Internet
  • the device 900 of the present disclosure may also directly connect to the Internet or a cellular network based on a wireless communication technology, such as a 3rd generation (“3G”), 4th generation (“4G”), or 4th generation 5th generation (“5G”) wireless communication technology.
  • 3G 3rd generation
  • 4G 4th generation
  • 5G 4th generation
  • the device 900 of the present disclosure can also access the server 908 and database 909 of the external network as needed, so as to obtain various known image models, data and modules, and can store various data remotely, for example, with It is used to present various data or instructions such as image alignment, disc detection, edge detection, etc.
  • the peripheral equipment of the device 900 may include a display device 902 , an input device 903 and a data transmission interface 904 .
  • the display device 902 may include, for example, one or more speakers and/or one or more visual displays, which are configured to give voice prompts and/or the final result of the process or final result of repairing the optic disc region of the fundus image of the present disclosure or image video display.
  • the input device 903 may include other input buttons or controls, such as a keyboard, mouse, microphone, gesture capture camera, etc., configured to receive input of fundus images and/or user instructions.
  • Data transfer interface 904 may include, for example, serial, parallel, or Universal Serial Bus (“USB”), Small Computer System Interface (“SCSI”), Serial ATA, FireWire (“FireWire”), PCI Express, and HD Multimedia Interface (“HDMI”), etc., configured for data transmission and interaction with other devices or systems.
  • USB Universal Serial Bus
  • SCSI Small Computer System Interface
  • Serial ATA Serial ATA
  • FireWire FireWire
  • PCI Express PCI Express
  • HDMI HD Multimedia Interface
  • the aforementioned CPU 911, large-capacity memory 912, ROM 913, TPU 914, GPU 915, FPGA 916, MLU 917 and communication interface 918 of the device 900 of the present disclosure can be connected to each other through the bus 919, and realize data interaction with peripheral devices through the bus .
  • the CPU 911 can control other hardware components in the device 900 and its peripherals.
  • the device for repairing the optic disc region of the fundus image that can be used to implement the present disclosure has been described above with reference to FIG. 9 . It should be understood that the device structure or architecture here is only exemplary, and the implementation manner and implementation entity of the present disclosure are not limited thereto, and changes can be made without departing from the spirit of the present disclosure.
  • the present disclosure thus also provides a computer program product.
  • the computer program product can be used to implement the method for repairing the optic disc region of the fundus image described in the present disclosure in conjunction with accompanying drawings 1-8.

Abstract

The present disclosure relates to a method for repairing an optic disc area of a fundus image and a related product. The method comprises: acquiring a first optic disc area image corresponding to a high-exposure fundus image and a second optic disc area image corresponding to a low-exposure fundus image; performing image alignment on the second optic disc area image and the first optic disc area image to generate an aligned optic disc area image aligned with the first optic disc area image; determining a final optic disc area image according to the first optic disc area image and the aligned optic disc area image; and using the final optic disc area image to repair the first optic disc area image. The solution of the present disclosure can not only effectively solve the problem of information loss of an optic disc overexposure area of a fundus image, but also reserve a real color of a fundus image.

Description

用于对眼底图像的视盘区域进行修复的方法和相关产品Method for inpainting optic disc area of fundus image and related products
相关申请的交叉引用Cross References to Related Applications
本公开要求以下中国专利申请的优先权:于2021年11月19日申请的、申请号为202111373039.4、发明名称为“用于对眼底图像的视盘区域进行修复的方法和相关产品”的中国专利申请。This disclosure claims the priority of the following Chinese patent application: a Chinese patent application filed on November 19, 2021, with application number 202111373039.4, and the title of the invention is "Method for Repairing Optic Disc Area of Fundus Image and Related Products" .
技术领域technical field
本公开一般地涉及图像处理技术领域。更具体地,本公开涉及一种用于对眼底图像的视盘区域进行修复的方法、设备以及计算机可读存储介质。The present disclosure generally relates to the field of image processing techniques. More specifically, the present disclosure relates to a method, an apparatus, and a computer-readable storage medium for inpainting an optic disc region of a fundus image.
背景技术Background technique
视盘(optic disc),其全称为视神经盘,也可以称作视神经乳头。视盘位于视网膜由黄斑向鼻侧约3毫米(“mm”)处,为一境界清楚的直径约1.5mm的淡红色圆盘状结构。在对眼底视网膜图像进行采集时,其视盘区域往往由于反射率过高会产生过曝现象,而视盘过曝会造成眼底图像视盘区域的信息缺失。当前主流的图像修复增强技术为高动态范围成像(High Dynamic Range Imaging,“HDR”)技术,该HDR技术在数字图像处理中可以用来实现比普通数位图像技术更大曝光动态范围(即更大的明暗差别)。The optic disc (optic disc), which is called the optic disc, can also be called the optic nerve head. The optic disc is located approximately 3 millimeters ("mm") nasally from the macula and is a well-defined, reddish disc-shaped structure approximately 1.5 mm in diameter. When collecting fundus retinal images, the optic disc area is often overexposed due to high reflectivity, and the overexposure of the optic disc will cause loss of information in the optic disc area of the fundus image. The current mainstream image restoration and enhancement technology is High Dynamic Range Imaging ("HDR") technology, which can be used in digital image processing to achieve a larger exposure dynamic range (that is, a larger difference in light and shade).
然而,对于经过图像信号处理(Image Signal Processing,“ISP”)单元处理后的图像而言,ISP单元处理后的不同曝光图像之间的亮度空间线性关系被破坏,无法使用HDR技术进行亮度建模来对图像进行修复。因此,如何对经ISP单元处理后的图像进行修复增强成为亟需解决的技术问题。However, for the images processed by the Image Signal Processing ("ISP") unit, the brightness spatial linear relationship between different exposure images processed by the ISP unit is destroyed, and HDR technology cannot be used for brightness modeling to repair the image. Therefore, how to repair and enhance the image processed by the ISP unit has become an urgent technical problem to be solved.
发明内容Contents of the invention
为了至少部分地解决背景技术中提到的技术问题,本公开的方案提供了一种用于对眼底图像的视盘区域进行修复的方案。利用本公开的方案,可以有效地对视盘过曝区域进行修复增强。为此,本公开在如下的多个方面提供解决方案。In order to at least partly solve the technical problems mentioned in the background art, the solution of the present disclosure provides a solution for repairing the optic disc region of the fundus image. By using the solution disclosed in the present disclosure, the overexposed area of the video disc can be effectively repaired and enhanced. To this end, the present disclosure provides solutions in the following aspects.
在一个方面中,本公开提供一种用于对眼底图像的视盘区域进行修复的方法,包括:获取对应于高曝光度眼底图像的第一视盘区域图像和对应于低曝光度眼底图像的第二视盘区域图像;将所述第二视盘区域图像与所述第一视盘区域图像进行图像对齐,以生成与所述第一视盘区域图像对齐后的对齐视盘区域图像;根据所述第一视盘区域图像和所述对齐视盘区域图像确定最终视盘区域图像;以及利用所述最终视盘区域图像对所述第一视盘区域图像进行修复。In one aspect, the present disclosure provides a method for repairing an optic disc region of a fundus image, comprising: acquiring a first optic disc region image corresponding to a high-exposure fundus image and a second image corresponding to a low-exposure fundus image image of the optic disc region; image alignment of the second optic disc region image with the first optic disc region image to generate an aligned optic disc region image aligned with the first optic disc region image; according to the first optic disc region image Determining a final optic disc region image with the aligned optic disc region image; and repairing the first optic disc region image by using the final optic disc region image.
在一个实施例中,其中获取所述第一视盘区域图像和第二视盘区域图像包括:对所述低曝光度眼底图像执行视盘检测算法,以确定其对应的初始视盘区域;以及基于所述初始 视盘区域分别对所述高曝光度眼底图像和所述低曝光度眼底图像执行图像截取操作,以获取所述第一视盘区域图像和所述第二视盘区域图像。In one embodiment, acquiring the first optic disc region image and the second optic disc region image comprises: performing an optic disc detection algorithm on the low-exposure fundus image to determine its corresponding initial optic disc region; and based on the initial The optic disc region performs an image interception operation on the high-exposure fundus image and the low-exposure fundus image respectively, so as to acquire the first optic disc region image and the second optic disc region image.
在另一个实施例中,其中根据所述第一视盘区域图像和所述对齐视盘区域图像确定最终视盘区域图像包括:基于所述第一视盘区域图像和所述对齐视盘区域图像对所述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像;根据所述第一视盘区域图像和所述修正后的对齐视盘区域图像确定与最终视盘区域图像相关联的合成系数;以及基于所述合成系数、所述第一视盘区域图像和所述修正后的对齐视盘区域图像确定最终视盘区域图像。In another embodiment, wherein determining a final optic disc zone image based on the first optic disc zone image and the aligned optic disc zone image comprises: aligning the optic disc zone image based on the first optic disc zone image and the aligned optic disc zone image performing brightness correction on the region image to obtain a corrected aligned optic disc region image; determining a composite coefficient associated with the final optic disc region image based on the first optic disc region image and the corrected aligned optic disc region image; and based on the Combining coefficients, the first optic disc region image and the corrected aligned optic disc region image determine a final optic disc region image.
在又一个实施例中,其中基于所述第一视盘区域图像和所述对齐视盘区域图像对所述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像包括:将所述第一视盘区域图像和所述对齐视盘区域图像转换至HSV颜色空间,以确定对应于所述第一视盘区域图像的第一明度数据和对应于所述对齐视盘区域图像的第二明度数据;对所述第一明度数据执行二值化操作,以确定所述第一视盘区域图像的蒙版区域;根据所述第一视盘区域图像的蒙版区域执行边缘检测操作,以生成所述蒙版区域的边缘;以及基于所述第一明度数据、所述第二明度数据以及所述蒙版区域的边缘对所述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像。In yet another embodiment, performing brightness correction on the aligned optic disc region image based on the first optic disc region image and the aligned optic disc region image, so as to obtain the corrected aligned optic disc region image comprises: converting the optic disc region image and said aligned optic disc region image to HSV color space to determine first luminance data corresponding to said first optic disc region image and second luminance data corresponding to said aligned optic disc region image; Execute a binarization operation on the first brightness data to determine a mask area of the first optic disc region image; perform an edge detection operation according to the mask area of the first optic disc area image to generate an edge of the mask area and performing brightness correction on the aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region, so as to obtain a corrected aligned optic disc region image.
在又一个实施例中,其中基于所述第一明度数据、所述第二明度数据以及所述蒙版区域的边缘对所述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像包括:计算所述第一明度数据和所述第二明度数据分别在所述蒙版区域的边缘处对应的第一明度平均值和第二明度平均值;计算所述第一明度平均值与第二明度平均值之间的差值;以及根据所述第二明度数据与所述差值的加和结果对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像。In yet another embodiment, brightness correction is performed on the aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region, so as to obtain a corrected aligned optic disc region image Including: calculating the first brightness average value and the second brightness average value corresponding to the first brightness data and the second brightness data at the edge of the mask area respectively; calculating the first brightness average value and the second brightness average value The difference between the two lightness average values; and aligning the optic disc region image to perform brightness correction according to the sum result of the second brightness data and the difference value, so as to obtain a corrected aligned optic disc region image.
在又一个实施例中,其中根据所述第二明度数据与所述差值的加和结果对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像包括:响应于所述加和结果大于预设阈值,将所述预设阈值作为修正后的第二明度数据进行亮度修正,以获得修正后的对齐视盘区域图像;或者响应于所述加和结果小于预设阈值,将所述加和结果作为修正后的第二明度数据进行亮度修正,以获得修正后的对齐视盘区域图像。In yet another embodiment, aligning the optic disc region image according to the summation result of the second brightness data and the difference value and performing brightness correction, so as to obtain the corrected aligned optic disc region image comprises: responding to the summation result greater than a preset threshold, using the preset threshold as the corrected second brightness data to perform brightness correction to obtain a corrected image of the optic disc region aligned; And the result is used as the corrected second brightness data to perform brightness correction, so as to obtain the corrected aligned optic disc region image.
在又一个实施例中,其中根据所述第一视盘区域图像和修正后的对齐视盘区域图像确定与最终视盘区域图像相关联的合成系数包括:根据所述第一视盘区域图像和修正后的对齐视盘区域图像各自与所述蒙版区域的中心之间的距离以及所述蒙版区域的半径确定与所述最终视盘区域图像相关联的合成系数。In yet another embodiment, wherein determining the composite coefficients associated with the final optic disc region image based on the first optic disc region image and the corrected aligned optic disc region image comprises: based on the first optic disc region image and the corrected aligned optic disc region image The distance between each of the optic disc region images and the center of the mask region and the radius of the mask region determine the synthesis coefficients associated with the final optic disc region image.
在又一个实施例中,其中基于所述合成系数、所述第一视盘区域图像和修正后的对齐视盘区域图像确定最终视盘区域图像包括:利用所述合成系数将所述第一视盘区域图像和修正后的对齐视盘区域图像在RGB颜色空间上进行合成,以生成所述最终视盘区域图像。In yet another embodiment, wherein determining the final optic disc region image based on the synthesis coefficients, the first optic disc region image and the corrected aligned optic disc region image comprises: using the synthesis coefficients to combine the first optic disc region image and The corrected aligned optic disc region images are composited in RGB color space to generate said final optic disc region image.
在另一个方面,本公开还提供用于对眼底图像的视盘区域进行修复的设备,包括:处 理器;以及与所述处理器相连接的存储器,所述存储器中存储有计算机程序代码,当所述计算机程序代码被执行时,使得所述处理器执行前述多个实施例。In another aspect, the present disclosure also provides a device for repairing the optic disc region of the fundus image, including: a processor; and a memory connected to the processor, where computer program codes are stored in the memory, when the When the computer program code is executed, it causes the processor to execute the aforementioned multiple embodiments.
在又一个方面,本公开还提供一种计算机可读存储介质,其上存储有用于对眼底图像的视盘区域进行修复的计算机可读指令,该计算机可读指令被一个或多个处理器执行时,实现如前述的多个实施例。In yet another aspect, the present disclosure also provides a computer-readable storage medium, on which are stored computer-readable instructions for repairing the optic disc region of the fundus image, when the computer-readable instructions are executed by one or more processors , to implement the aforementioned multiple embodiments.
通过本公开的方案,通过将低曝光度眼底图像对应的视盘区域图像与高曝光度眼底图像对应的视盘区域图像对齐获得对齐视盘区域图像,进而通过对齐视盘区域图像和高曝光度眼底图像对应的视盘区域确定的最终视盘区域图像对高曝光度眼底图像对应的视盘区域图像进行修复增强,从而能够解决高曝光度眼底图像对应的视盘区域图像由于过曝而导致信息缺失的问题,以便获取高质量的图像。进一步地,本公开方案将图像转换至HSV颜色空间和RGB颜色空间下进行处理,能够保留眼底图像的真实色彩,便于用于后续对眼底的诊断和治疗。Through the scheme of the present disclosure, the aligned optic disc region image is obtained by aligning the optic disc region image corresponding to the low-exposure fundus image with the optic disc region image corresponding to the high-exposure fundus image, and then by aligning the optic disc region image corresponding to the high-exposure fundus image The final optic disc area image determined by the optic disc area repairs and enhances the optic disc area image corresponding to the high-exposure fundus image, so as to solve the problem of missing information due to overexposure of the optic disc area image corresponding to the high-exposure fundus image, in order to obtain high-quality Image. Furthermore, the disclosed solution converts the image into HSV color space and RGB color space for processing, which can preserve the true color of the fundus image, and is convenient for subsequent diagnosis and treatment of the fundus.
附图说明Description of drawings
通过参考附图阅读下文的详细描述,本公开示例性实施方式的上述以及其他目的、特征和优点将变得易于理解。在附图中,以示例性而非限制性的方式示出了本公开的若干实施方式,并且相同或对应的标号表示相同或对应的部分其中:The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the drawings, several embodiments of the present disclosure are shown by way of illustration and not limitation, and the same or corresponding reference numerals indicate the same or corresponding parts wherein:
图1是示出根据本公开实施例的用于对眼底图像的视盘区域进行修复的方法的示例性流程框图;FIG. 1 is an exemplary flowchart illustrating a method for repairing an optic disc region of a fundus image according to an embodiment of the present disclosure;
图2是示出根据本公开实施例的高曝光度眼底图像和低曝光度眼底图像的示例性示意图;2 is an exemplary schematic diagram showing a high-exposure fundus image and a low-exposure fundus image according to an embodiment of the present disclosure;
图3是示出根据本公开实施例的低曝光度眼底图像的初始视盘区域以及执行图像截取后确定的视盘区域图像的示例性示意图;Fig. 3 is an exemplary schematic diagram showing an initial optic disc area of a low-exposure fundus image and an image of the optic disc area determined after performing image capture according to an embodiment of the present disclosure;
图4是示出根据本公开实施例的获得修正后的对齐视盘区域图像的示例性流程图;FIG. 4 is an exemplary flowchart illustrating obtaining a corrected aligned optic disc region image according to an embodiment of the present disclosure;
图5是示出根据本公开实施例的获得修正后的对齐视盘区域图像的又一示例性流程图;FIG. 5 is another exemplary flowchart illustrating obtaining a corrected aligned optic disc region image according to an embodiment of the present disclosure;
图6是示出根据本公开实施例的确定合成系数的示例性示意图;FIG. 6 is an exemplary schematic diagram illustrating determining a composite coefficient according to an embodiment of the present disclosure;
图7是示出根据本公开实施例的修复增强后的眼底图像的示例性示意图;Fig. 7 is an exemplary schematic diagram illustrating a restored and enhanced fundus image according to an embodiment of the present disclosure;
图8是示出根据本公开实施例的用于对眼底图像的视盘区域进行修复的整体示例性流程框图;以及FIG. 8 is a block diagram illustrating an overall exemplary process for repairing the optic disc region of a fundus image according to an embodiment of the present disclosure; and
图9是示出根据本公开实施例的用于对眼底图像的视盘区域进行修复的设备的框图。FIG. 9 is a block diagram illustrating an apparatus for repairing an optic disc region of a fundus image according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合附图对本公开实施例中的技术方案进行清楚和完整地描述。应当理解的是本说明书所描述的实施例仅是本公开为了便于对方案的清晰理解和符合法律的要求而提 供的部分实施例,而并非可以实现本公开的所有实施例。基于本说明书公开的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. It should be understood that the embodiments described in this specification are only some of the embodiments provided by the present disclosure to facilitate a clear understanding of the solutions and comply with legal requirements, but not all embodiments of the present disclosure can be implemented. Based on the embodiments disclosed in this specification, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present disclosure.
图1是示出根据本公开实施例的用于对眼底图像的视盘区域进行修复的方法100的示例性流程框图。如图1中所示,在步骤S102处,获取对应于高曝光度眼底图像的第一视盘区域图像和对应于低曝光度眼底图像的第二视盘区域图像。在一个实施例中,前述高曝光度眼底图像和低曝光度眼底图像可以通过例如眼科仪器眼底照相机进行采集。可以理解,前述高曝光度眼底图像是指整体曝光(也即亮度)正常,而视盘区域过曝的眼底图像(例如图2中左图所示)。前述低曝光度眼底图像是指整体亮度偏暗,而视盘区域正常(清晰)的眼底图像(例如图2中右图所示)。基于采集的高曝光度眼底图像和低曝光度眼底图像,可以获取其各自对应的第一视盘区域图像和第二视盘区域图像。具体地,首先可以对低曝光度眼底图像执行视盘检测算法,以确定其对应的初始视盘区域(例如图3中所示的矩形框)。接着,可以基于初始视盘区域分别对高曝光度眼底图像和低曝光度眼底图像执行图像截取操作,以获取第一视盘区域图像和第二视盘区域图像。稍后将结合图3详细描述前述视盘检测和图像截取。FIG. 1 is an exemplary flowchart illustrating a method 100 for inpainting an optic disc region of a fundus image according to an embodiment of the present disclosure. As shown in FIG. 1 , at step S102 , a first optic disc region image corresponding to a high-exposure fundus image and a second optic disc region image corresponding to a low-exposure fundus image are acquired. In one embodiment, the aforementioned high-exposure fundus image and low-exposure fundus image can be collected by, for example, an ophthalmic instrument fundus camera. It can be understood that the aforementioned high-exposure fundus image refers to a fundus image with normal overall exposure (that is, brightness) and overexposed optic disc area (for example, as shown in the left figure in FIG. 2 ). The aforementioned low-exposure fundus image refers to a fundus image with a dark overall brightness and a normal (clear) optic disc area (such as shown in the right figure in Figure 2). Based on the collected high-exposure fundus images and low-exposure fundus images, their respective corresponding first optic disc region images and second optic disc region images can be acquired. Specifically, firstly, an optic disc detection algorithm may be performed on the low-exposure fundus image to determine its corresponding initial optic disc area (such as the rectangular box shown in FIG. 3 ). Next, based on the initial optic disc area, an image capture operation may be performed on the high-exposure fundus image and the low-exposure fundus image respectively, so as to acquire the first optic disc area image and the second optic disc area image. The foregoing optic disc detection and image capture will be described in detail later with reference to FIG. 3 .
在获得第一视盘区域图像和第二视盘区域图像后,在步骤S104处,将第二视盘区域图像与第一视盘区域图像进行图像对齐,以生成与第一视盘区域图像对齐后的对齐视盘区域图像。在一个实施例中,可以使用例如OpenCV软件库来前述图像对齐操作。特别地,通常使用OpenCV中基于特征的图像对齐方法来实现前述图像对齐操作。在本公开实施例中,基于特征的图像对齐方法是指分别提取第二视盘区域图像和第一视盘区域图像的特征点,接着将第二视盘区域图像的特征点和第一视盘区域图像的特征点进行匹配。根据匹配结果计算一个转换规则(例如图像相似变化矩阵),进而基于前述转换规则将第二视盘区域图像映射至第一视盘区域图像,最终获得与第一视盘区域图像对齐后的对齐视盘区域图像。可选地或附加地,可以使用OpenCV软件库中的AlignMTB执行图像对齐操作。After obtaining the first optic disc region image and the second optic disc region image, at step S104, the second optic disc region image is image-aligned with the first optic disc region image to generate an aligned optic disc region aligned with the first optic disc region image image. In one embodiment, the aforementioned image alignment operation may be performed using, for example, the OpenCV software library. In particular, the aforementioned image alignment operations are usually implemented using the feature-based image alignment method in OpenCV. In the embodiment of the present disclosure, the feature-based image alignment method refers to extracting the feature points of the second optic disc region image and the first optic disc region image respectively, and then combining the feature points of the second optic disc region image with the features of the first optic disc region image Click to match. Calculate a conversion rule (such as image similarity change matrix) according to the matching result, and then map the second optic disc region image to the first optic disc region image based on the aforementioned conversion rule, and finally obtain an aligned optic disc region image aligned with the first optic disc region image. Alternatively or additionally, image alignment operations can be performed using AlignMTB from the OpenCV software library.
基于上述获得的对齐视盘区域图像,方法100前进至步骤S106。在该步骤处,根据第一视盘区域图像和对齐视盘区域图像确定最终视盘区域图像。在一个实施例中,首先可以基于第一视盘区域图像和对齐视盘区域图像对对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像。接着,根据第一视盘区域图像和修正后的对齐视盘区域图像确定与最终视盘区域图像相关联的合成系数,进而基于合成系数、第一视盘区域图像和修正后的对齐视盘区域图像确定最终视盘区域图像。稍后将结合图4-图5详细描述前述最终视盘区域图像的确定过程。Based on the obtained aligned optic disc region images, the method 100 proceeds to step S106. At this step, a final optic disc region image is determined based on the first optic disc region image and the aligned optic disc region image. In an embodiment, brightness correction may be performed on the aligned optic disc region image first based on the first optic disc region image and the aligned optic disc region image, so as to obtain a corrected aligned optic disc region image. Next, determine the synthesis coefficient associated with the final optic disc area image according to the first optic disc area image and the corrected aligned optic disc area image, and then determine the final optic disc area based on the synthesis coefficient, the first optic disc area image and the corrected aligned optic disc area image image. The aforementioned determination process of the final optic disc region image will be described in detail later with reference to FIGS. 4-5 .
最后,在步骤S108处,利用最终视盘区域图像对第一视盘区域图像进行修复。具体而言,利用获得的最终视盘区域图像(也即修复增强后的正常视盘区域图像)替换(或者补入到)高曝光度眼底图像截取的第一视盘区域图像(例如图7中左图所示),从而获得修复增强后的眼底图像(例如图7中右图所示)。Finally, at step S108, the first optic disc region image is repaired using the final optic disc region image. Specifically, the obtained final optic disc region image (that is, the repaired and enhanced normal optic disc region image) is used to replace (or add to) the first optic disc region image intercepted by the high-exposure fundus image (such as shown in the left figure in Figure 7). shown), so as to obtain the repaired and enhanced fundus image (such as shown in the right figure in Figure 7).
结合上述描述可知,本公开的方案通过利用整体亮度偏暗,而视盘区域正常(清晰)的眼底图像(即低曝光度眼底图像)来对整体曝光(也即亮度)正常,而视盘区域过曝的眼底图像(即高曝光度眼底图像)进行修复增强,解决了视盘区域过曝而导致视盘区域信息缺失的问题,从而获得高质量的眼底图像,以便用于后续对眼底的诊断和治疗。In combination with the above description, it can be seen that the scheme of the present disclosure utilizes the fundus image (i.e. low-exposure fundus image) with darker overall brightness and normal (clear) optic disc area to make the overall exposure (i.e. brightness) normal and the optic disc area overexposed The fundus image (that is, the high-exposure fundus image) is repaired and enhanced to solve the problem of missing information in the optic disc area caused by overexposure of the optic disc area, so as to obtain high-quality fundus images for subsequent diagnosis and treatment of the fundus.
图2是示出根据本公开实施例的高曝光度眼底图像和低曝光度眼底图像的示例性示意图。如图2中左图所示为高曝光度眼底图像,可以看出该高曝光度眼底图像整体亮度正常,而视盘区域过曝(例如图2中左图中箭头所指向的圆形区域)。图2图中右图所示为低曝光度眼底图像,可以看出该低曝光度眼底图像整体亮度偏暗,而视盘区域清晰(例如图2中右图中箭头所指向的圆形区域)。如前所述,对低曝光度眼底图像执行视盘检测算法可以确定其对应的初始视盘区域。进一步地,基于初始视盘区域分别对高曝光度眼底图像和低曝光度眼底图像执行图像截取操作能够获取高曝光度眼底图像对应的第一视盘区域图像和低曝光度眼底图像对应的第二视盘区域图像。在一个实施例中,可以采用深度学习检测算法中例如YOLO检测网络对低曝光度眼底图像执行视盘检测算法,以确定初始视盘区域,例如图3中示出的矩形框。FIG. 2 is an exemplary schematic diagram illustrating a high-exposure fundus image and a low-exposure fundus image according to an embodiment of the present disclosure. The left figure in Figure 2 shows a high-exposure fundus image. It can be seen that the overall brightness of the high-exposure fundus image is normal, but the optic disc area is overexposed (such as the circular area pointed by the arrow in the left figure in Figure 2). The right figure in Figure 2 shows the low-exposure fundus image. It can be seen that the overall brightness of the low-exposure fundus image is dark, while the optic disc area is clear (such as the circular area pointed by the arrow in the right figure in Figure 2). As mentioned above, performing the optic disc detection algorithm on low-exposure fundus images can determine its corresponding initial optic disc area. Further, performing image interception operations on the high-exposure fundus image and the low-exposure fundus image respectively based on the initial optic disc area can obtain the first optic disc area image corresponding to the high-exposure fundus image and the second optic disc area corresponding to the low-exposure fundus image image. In one embodiment, the optic disc detection algorithm can be performed on low-exposure fundus images using deep learning detection algorithms such as the YOLO detection network to determine the initial optic disc area, such as the rectangular box shown in FIG. 3 .
图3是示出根据本公开实施例的低曝光度眼底图像的初始视盘区域以及执行图像截取后确定的视盘区域图像的示例性示意图。如图3中上方左图所示为高曝光度眼底图像,其中矩形框表示经对低曝光度眼底图像执行视盘检测算法(例如YOLO检测网络)获得的初始视盘区域。使用该初始视盘区域(也即矩形框)对高曝光度眼底图像进行图像截取,可以获得如图3中上方右图所示的视盘区域图像,也即高曝光度眼底图像对应的第一视盘区域图像。与之类似地,图3中下方左图所示为低曝光度眼底图像,使用初始视盘区域(也即矩形框)对其进行图像截取,可以获得如图3中下方右图所示的视盘区域图像,也即低曝光度眼底图像对应的第二视盘区域图像。进一步地,将第二视盘区域图像与第一视盘区域图像进行图像对齐获得对齐视盘区域图像,根据获得的第一视盘区域图像和对齐视盘区域图像可以确定最终视盘区域图像,以便利用最终视盘区域图像修复高曝光度眼底图像对应的第一视盘区域图像。Fig. 3 is an exemplary schematic diagram showing an initial optic disc area of a low-exposure fundus image and an image of the optic disc area determined after performing image capture according to an embodiment of the present disclosure. The upper left figure in Figure 3 shows the high-exposure fundus image, in which the rectangular frame represents the initial optic disc area obtained by performing the optic disc detection algorithm (such as YOLO detection network) on the low-exposure fundus image. Using the initial optic disc area (that is, the rectangular frame) to intercept the high-exposure fundus image, the optic disc area image shown in the upper right figure in Figure 3 can be obtained, that is, the first optic disc area corresponding to the high-exposure fundus image image. Similarly, the lower left image in Figure 3 shows a low-exposure fundus image, and the initial optic disc area (that is, the rectangular frame) is used to intercept the image, and the optic disc area shown in the lower right image in Figure 3 can be obtained The image, that is, the image of the second optic disc region corresponding to the low-exposure fundus image. Further, image alignment of the second optic disc region image and the first optic disc region image is performed to obtain an aligned optic disc region image, and the final optic disc region image can be determined according to the obtained first optic disc region image and the aligned optic disc region image, so that the final optic disc region image can be used Repair the image of the first optic disc region corresponding to the high-exposure fundus image.
根据前文描述可知,首先可以基于第一视盘区域图像和对齐视盘区域图像对对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像。下面将结合图4详细描述如何获得修正后的对齐视盘区域图像。According to the foregoing description, it can be known that, first, brightness correction may be performed on the aligned optic disc region image based on the first optic disc region image and the aligned optic disc region image, so as to obtain a corrected aligned optic disc region image. How to obtain the corrected aligned optic disc region image will be described in detail below with reference to FIG. 4 .
图4是示出根据本公开实施例的获得修正后的对齐视盘区域图像的示例性流程图。需要理解的是,图4是上述图1中方法100的一个具体实施例,因此上述关于图1所作的描述同样适用于图4。FIG. 4 is an exemplary flowchart illustrating obtaining a corrected aligned optic disc region image according to an embodiment of the present disclosure. It should be understood that FIG. 4 is a specific embodiment of the method 100 in FIG. 1 above, so the above descriptions about FIG. 1 are also applicable to FIG. 4 .
如图4中所示,在步骤S402处,将第一视盘区域图像和对齐视盘区域图像转换至HSV颜色空间,以确定对应于第一视盘区域图像的第一明度数据和对应于对齐视盘区域图像的第二明度数据。可以理解,第一视盘区域图像和对齐视盘区域图像初始是位于RGB颜色空间,由此本公开实施例将第一视盘区域图像和对齐视盘区域图像由RGB颜色空间转化 至HSV颜色空间。在一个实现场景中,可以采用例如OpenCV工具将RGB颜色空间转换至HSV颜色空间,从而确定第一视盘区域图像对应的第一明度数据(即HSV颜色空间中的明度V)和对齐视盘区域图像对应的第二明度数据。As shown in FIG. 4 , at step S402, the first optic disc region image and the aligned optic disc region image are converted to the HSV color space to determine the first lightness data corresponding to the first optic disc region image and the first lightness data corresponding to the aligned optic disc region image The second lightness data of . It can be understood that the first optic disc region image and the aligned optic disc region image are initially located in the RGB color space, so the embodiment of the present disclosure transforms the first optic disc region image and the aligned optic disc region image from the RGB color space to the HSV color space. In an implementation scenario, for example, an OpenCV tool can be used to convert the RGB color space to the HSV color space, thereby determining the first brightness data corresponding to the first optic disc region image (that is, the brightness V in the HSV color space) and the alignment corresponding to the optic disc region image The second lightness data of .
基于获得的第一明度数据,在步骤S404处,对第一明度数据执行二值化操作,以确定第一视盘区域图像的蒙版区域。具体地,可以根据第一明度数据选取合适的明度阈值(例如明度阈值为245),接着将低于该明度阈值的第一明度数据置为“0”,而将高于该明度阈值的第一明度数据置为“1”,由此对第一明度数据实现二值化。其中第一明度数据置为“1”的图像区域即为第一视盘区域图像的蒙版区域(例如图6中圆圈内类似“云”形状所示区域)。Based on the obtained first brightness data, at step S404, a binarization operation is performed on the first brightness data to determine a mask region of the first optic disc region image. Specifically, an appropriate brightness threshold can be selected according to the first brightness data (for example, the brightness threshold is 245), and then the first brightness data lower than the brightness threshold is set to "0", and the first brightness data higher than the brightness threshold is set to "0". The brightness data is set to "1", thereby realizing binarization for the first brightness data. The image area where the first lightness data is set to "1" is the mask area of the first optic disc area image (for example, the area shown in the circle in Figure 6 similar to the "cloud" shape).
在获得第一视盘区域图像的蒙版区域后,在步骤S406处,根据第一视盘区域图像的蒙版区域执行边缘检测操作,以生成蒙版区域的边缘。在一个实施例中,可以采用例如Sobel算子、Canny算子或者Laplacian算子等边缘检测算子对蒙版区域进行边缘检测,从而获得蒙版区域的边缘。本领域技术人员可根据实现场景选择合适的边缘检测算子,本公开实施例在此不作任何限制。After obtaining the mask area of the first optic disc area image, at step S406, an edge detection operation is performed according to the mask area of the first optic disc area image to generate an edge of the mask area. In one embodiment, an edge detection operator such as a Sobel operator, a Canny operator, or a Laplacian operator may be used to perform edge detection on the mask area, so as to obtain the edge of the mask area. Those skilled in the art can select an appropriate edge detection operator according to the implementation scenario, and the embodiments of the present disclosure make no limitation here.
根据上述获得的第一明度数据、第二明度数据和蒙版区域的边缘,该步骤前进至步骤S408。在该步骤处,基于第一明度数据、第二明度数据以及蒙版区域的边缘对上述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像。下面将结合图5详细描述如何基于第一明度数据、第二明度数据和蒙版区域的边缘获得修正后的对齐视盘区域图像。According to the obtained first brightness data, second brightness data and the edge of the mask area, the step proceeds to step S408. At this step, brightness correction is performed on the aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region, so as to obtain a corrected aligned optic disc region image. How to obtain the corrected aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region will be described in detail below with reference to FIG. 5 .
图5是示出根据本公开实施例的获得修正后的对齐视盘区域图像的又一示例性流程图。可以理解,图5是上述图4中步骤S408的一个具体实现方式,因此上述关于图4所作的描述同样适用于图5。FIG. 5 is another exemplary flowchart illustrating obtaining a corrected aligned optic disc region image according to an embodiment of the present disclosure. It can be understood that FIG. 5 is a specific implementation manner of step S408 in FIG. 4 above, so the above description about FIG. 4 is also applicable to FIG. 5 .
如图5中所示,在步骤S502处,分别计算第一明度数据和第二明度数据在蒙版区域的边缘处对应的第一明度平均值和第二明度平均值。基于获得的第一明度平均值和第二明度平均值,在步骤S504处,计算第一明度平均值与第二明度平均值之间的差值。在一个示例性场景中,假设第一明度平均值记为V C,第二明度平均值记为V E,则第一明度平均值与第二明度平均值之间的差值可以记为V C-V E。进一步地,在步骤S506处,根据第二明度数据与差值的加和结果对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像。可以理解,前述加和结果是指对齐视盘区域图像中每个像素点的第二明度数据与前述差值之和,也即将每个像素点的第二明度数据加上(增加)该差值后的结果。 As shown in FIG. 5 , at step S502 , the first average brightness and the second average brightness corresponding to the first brightness data and the second brightness data at the edge of the mask area are respectively calculated. Based on the first average brightness value and the second average brightness value obtained, at step S504, a difference between the first average brightness value and the second average brightness value is calculated. In an exemplary scenario, assuming that the first lightness average value is recorded as V C and the second lightness average value is recorded as V E , the difference between the first lightness average value and the second lightness average value can be recorded as V C -V E . Further, at step S506, brightness correction is performed on the optic disc region image according to the summation result of the second brightness data and the difference value, so as to obtain a corrected aligned optic disc region image. It can be understood that the aforementioned summation result refers to the sum of the second brightness data of each pixel in the image of the aligned optic disc area and the aforementioned difference, that is, after adding (increasing) the difference to the second brightness data of each pixel the result of.
在一个实施例中,响应于上述加和结果大于预设阈值,将预设阈值作为修正后的第二明度数据进行亮度修正,以获得修正后的对齐视盘区域图像。以预设阈值为250为例,当加和结果大于250时,将预设阈值250作为修正后的第二明度数据。当加和结果小于250时,将该加和结果(第二明度数据与差值之和)作为修正后的第二明度数据进行亮度修正,从而获得修正后的对齐视盘区域图像。基于前述亮度修正操作,可以使得修正后的对齐视盘区域图像的整体亮度接近于第一视盘区域图像的整体亮度,以便修复增强后的眼底图像 能够保留真实的色彩。In one embodiment, in response to the above-mentioned summation result being greater than a preset threshold, brightness correction is performed using the preset threshold as the corrected second brightness data, so as to obtain a corrected aligned optic disc region image. Taking the preset threshold value of 250 as an example, when the summing result is greater than 250, the preset threshold value of 250 is used as the corrected second brightness data. When the summation result is less than 250, the summation result (the sum of the second brightness data and the difference value) is used as the corrected second brightness data for brightness correction, so as to obtain a corrected aligned optic disc region image. Based on the aforementioned brightness correction operation, the overall brightness of the corrected aligned optic disc region image can be made close to the overall brightness of the first optic disc region image, so that the restored and enhanced fundus image can retain the true color.
在获得修正后的对齐视盘区域图像后,可以根据第一视盘区域图像和修正后的对齐视盘区域图像确定与最终视盘区域图像相关联的合成系数。具体来说,可以根据第一视盘区域图像和修正后的对齐视盘区域图像各自与蒙版区域(即上述图4所示步骤S404中获得的蒙版区域)的中心之间的距离以及蒙版区域的半径确定与最终视盘区域相关联的合成系数。下面将结合图6详细描述如何确定合成系数。After the corrected aligned optic disc region image is obtained, the synthesis coefficient associated with the final optic disc region image can be determined according to the first optic disc region image and the corrected aligned optic disc region image. Specifically, according to the distance between the first optic disc region image and the corrected aligned optic disc region image and the center of the mask region (that is, the mask region obtained in step S404 shown in FIG. 4 ) and the mask region The radius of determines the composite coefficient associated with the final optic disc area. How to determine the combination coefficient will be described in detail below with reference to FIG. 6 .
图6是示出根据本公开实施例的确定合成系数的示例性示意图。如图6中所示,假设矩形所示区域为第一视盘区域图像,其内部圆圈内类似“云”形状所示区域为蒙版区域,蒙版区域内的实心圆点表示蒙版区域的中心点。通过对该蒙版区域进行处理,使得距离该蒙版区域中心较远处,第一视盘区域图像所占权重(系数)较大,而距离该蒙版区域中心较近处,修正后的对齐视盘区域图像所占权重(系数)较大,并且第一视盘区域图像所占权重与修正后的对齐视盘区域图像所占权重(系数)之和为1,由此来确定与最终视盘区域图像相关联的合成系数。基于前述处理方式,在一个示例性场景中,本公开实施例将前述合成系数与距离该蒙版区域中心的图像距离以及蒙版区域的半径通过如下式子表示:FIG. 6 is an exemplary diagram illustrating determining a combination coefficient according to an embodiment of the present disclosure. As shown in Figure 6, it is assumed that the area shown in the rectangle is the image of the first optic disc area, and the area shown in the shape of a "cloud" in the inner circle is the mask area, and the solid circle in the mask area represents the center of the mask area point. By processing the mask area, the weight (coefficient) of the image in the first optic disc area is larger when the distance from the center of the mask area is farther away, and the weight (coefficient) of the image in the first optic disc area is larger, and the corrected alignment optic disc is closer to the center of the mask area. The weight (coefficient) of the area image is relatively large, and the sum of the weight (coefficient) of the first optic disc area image and the weight (coefficient) of the corrected aligned optic disc area image is 1, thus determining the final optic disc area image. composite coefficient. Based on the aforementioned processing methods, in an exemplary scenario, the embodiment of the present disclosure expresses the aforementioned combination coefficient, the image distance from the center of the mask area, and the radius of the mask area by the following formula:
f(d)=d^2/R^2   (1)f(d)=d^2/R^2 (1)
其中,R表示该蒙版区域的半径为R,d表示与蒙版区域中心的距离;f(d)表示合成系数。Among them, R indicates that the radius of the mask area is R, d indicates the distance from the center of the mask area; f(d) indicates the synthesis coefficient.
根据上述获得的合成系数、第一视盘区域图像和修正后的对齐视盘区域图像,可以确定最终视盘区域图像。在一个实施例中,可以利用合成系数将第一视盘区域图像和修正后的对齐视盘区域图像在RGB颜色空间上进行合成,以生成最终视盘区域图像。根据前文知,第一视盘区域图像和修正后的对齐视盘区域图像位于RGB颜色空间。在一个实现场景中,可以基于如下公式将第一视盘区域图像和修正后的对齐视盘区域图像在RGB颜色空间上进行合成:According to the synthesis coefficient obtained above, the first optic disc region image and the corrected aligned optic disc region image, the final optic disc region image can be determined. In one embodiment, the first optic disc region image and the corrected aligned optic disc region image may be synthesized in RGB color space by using the synthesis coefficients to generate a final optic disc region image. According to the previous knowledge, the first optic disc region image and the corrected aligned optic disc region image are located in the RGB color space. In an implementation scenario, the first optic disc region image and the corrected aligned optic disc region image may be synthesized in the RGB color space based on the following formula:
R(x,y)=R1(x,y)*f(d)+R2(x,y)*(1-f(d))   (2)R(x,y)=R1(x,y)*f(d)+R2(x,y)*(1-f(d)) (2)
其中,R(x,y)表示最终视盘区域图像中位于坐标位置为(x,y)的像素点所对应的像素值(红色通道值),R1(x,y)表示第一视盘区域图像中位于坐标位置为(x,y)的像素点的像素值(红色通道值),R2(x,y)表示修正后的对齐视盘区域图像中位于坐标位置为(x,y)的像素点的像素值(红色通道值),f(d)表示合成系数,d表示与蒙版区域中心的距离。Among them, R(x, y) represents the pixel value (red channel value) corresponding to the pixel at the coordinate position (x, y) in the final optic disc region image, and R1(x, y) represents the pixel value in the first optic disc region image The pixel value (red channel value) of the pixel at the coordinate position (x, y), R2(x, y) represents the pixel at the pixel point at the coordinate position (x, y) in the corrected aligned optic disc region image value (red channel value), f(d) represents the synthesis factor, and d represents the distance from the center of the masked area.
基于上述公式(2)获得最终视盘区域图像后,利用该最终视盘区域图像替换高曝光度眼底图像的第一视盘区域图像可以获得修复增强后的眼底图像,例如图7所示。After the final optic disc region image is obtained based on the above formula (2), the final optic disc region image is used to replace the first optic disc region image of the high-exposure fundus image to obtain a repaired and enhanced fundus image, as shown in FIG. 7 .
图7是示出根据本公开实施例的修复增强后的眼底图像的示例性示意图。如图7中左图上方所示为最终区域图像,图7中左图下方所示为高曝光度眼底图像,其中矩形框所示的区域即为高曝光度眼底图像对应的第一视盘区域图像。在实现场景中,利用图7中左图上方所示的最终区域图像替换图7中左图下方所示的矩形框内的区域(即第一视盘区域图像),即可获得图7中右图所示的修复增强后的眼底图像,从而实现对高曝光度眼底图像 的第一视盘区域图像的修复增强。Fig. 7 is an exemplary schematic diagram showing a restored and enhanced fundus image according to an embodiment of the present disclosure. The upper part of the left image in Figure 7 shows the final area image, and the lower part of the left image in Figure 7 shows the high-exposure fundus image, and the area shown in the rectangular box is the first optic disc region image corresponding to the high-exposure fundus image . In the implementation scenario, replace the area in the rectangular box (that is, the first disc area image) shown in the upper left image in Figure 7 with the final area image shown in the upper left image in Figure 7, and the right image in Figure 7 can be obtained The shown restoration and enhancement of the fundus image realizes the restoration and enhancement of the image of the first optic disc region of the high-exposure fundus image.
基于上述描述可知,本公开实施例通过利用低曝光度眼底图像对高曝光度眼底图像进行修复增强,从而能够解决眼底图像的视盘区域过曝而导致视盘区域信息缺失的问题。进一步地,本公开实施例通过将视盘区域图像转化至HSV颜色空间进行处理,能够保留眼底图像的真实色彩,使得修复增强效果更佳并且修复增强后的眼底图像的质量更高。使用修复后的高质量眼底图像,有利于后续对眼底的诊断和治疗。Based on the above description, it can be known that the embodiments of the present disclosure repair and enhance the high-exposure fundus image by using the low-exposure fundus image, so as to solve the problem that the optic disc area of the fundus image is overexposed and causes information loss in the optic disc area. Further, the embodiment of the present disclosure can preserve the true color of the fundus image by converting the optic disc region image into the HSV color space for processing, so that the effect of restoration and enhancement is better and the quality of the restoration and enhancement of the fundus image is higher. Using the high-quality fundus image after restoration is beneficial to the subsequent diagnosis and treatment of the fundus.
图8是示出根据本公开实施例的用于对眼底图像的视盘区域进行修复的整体示例性流程框图。如图8中所示,在步骤S801处和步骤S802处,通过例如眼科仪器眼底照相机采集高曝光度眼底图像A和低曝光度眼底图像B。基于采集的高曝光度眼底图像A和低曝光度眼底图像B,首先在步骤S803处,对低曝光度眼底图像B执行视盘检测算法,以确定初始视盘区域(例如图3中所示矩形框)。在一个实施例中,前述视盘检测算法可以包括但不限于YOLO检测网络算法。在确定初始视盘区域后,在步骤S804和步骤S805处,基于前述初始视盘区域分别对高曝光度眼底图像A和低曝光度眼底图像B执行图像截取操作,进而获得高曝光度眼底图像A对应的第一视盘区域图像C和低曝光度眼底图像B对应的第二视盘区域图像D。接着,在步骤S806处,将第二视盘区域图像D与第一视盘区域图像C进行图像对齐,以获得与第一视盘区域图像C对齐后的对齐视盘区域图像E。对第一视盘区域图像C和对齐视盘区域图像E进行处理即可确定最终视盘区域图像。利用前述最终视盘区域图像可以对高曝光度眼底图像A的第一视盘区域图像C进行修复。FIG. 8 is a block diagram illustrating an overall exemplary process for repairing the optic disc region of a fundus image according to an embodiment of the present disclosure. As shown in FIG. 8 , at step S801 and step S802 , a high-exposure fundus image A and a low-exposure fundus image B are collected by, for example, an ophthalmic instrument fundus camera. Based on the collected high-exposure fundus image A and low-exposure fundus image B, first at step S803, the optic disc detection algorithm is executed on the low-exposure fundus image B to determine the initial optic disc area (such as the rectangular box shown in Figure 3) . In one embodiment, the aforementioned video disc detection algorithm may include but not limited to the YOLO detection network algorithm. After determining the initial optic disc area, at step S804 and step S805, based on the aforementioned initial optic disc area, the image interception operation is performed on the high-exposure fundus image A and the low-exposure fundus image B, and then the corresponding image of the high-exposure fundus image A is obtained. The first optic disc region image C and the second optic disc region image D corresponding to the low-exposure fundus image B. Next, at step S806 , the second optic disc region image D is image-aligned with the first optic disc region image C to obtain an aligned optic disc region image E aligned with the first optic disc region image C. The final optic disc area image can be determined by processing the first optic disc area image C and the aligned optic disc area image E. The first optic disc region image C of the high-exposure fundus image A can be restored by using the aforementioned final optic disc region image.
根据上述获得第一视盘区域图像C和对齐视盘区域图像E,在步骤S807和步骤S808处,将第一视盘区域图像C和对齐视盘区域图像E分别转换至HSV颜色空间,获得与第一视盘区域图像C对应的第一明度数据以及与对齐视盘区域图像E对应的第二明度数据。接着在步骤S809处,对第一明度数据执行二值化操作,以确定第一视盘区域图像C的蒙版区域,并且在步骤S810处,利用边缘检测算子对蒙版区域执行边缘检测操作,以获得蒙版区域的边缘。基于前述获得的第一明度数据、第二明度数据以及蒙版区域的边缘,在步骤S811处,可以根据第一明度数据、第二明度数据以及蒙版区域的边缘确定与最终视盘区域图像相关联的合成系数。关于合成系数的确定可以参考上述图4-图6所描述的内容,本公开在此不再赘述。Obtain the first optic disc region image C and align the optic disc region image E according to the above, at step S807 and step S808, convert the first optic disc region image C and the aligned optic disc region image E to the HSV color space respectively, and obtain the first optic disc region image C and the aligned optic disc region image E The first brightness data corresponding to the image C and the second brightness data corresponding to the aligned optic disc region image E. Then at step S809, a binarization operation is performed on the first lightness data to determine the mask area of the first optic disc area image C, and at step S810, an edge detection operation is performed on the mask area using an edge detection operator, to get the edges of the masked area. Based on the first lightness data, the second lightness data and the edge of the mask area obtained above, at step S811, it can be determined according to the first lightness data, the second lightness data and the edge of the mask area to be associated with the final optic disc area image composite coefficient. Regarding the determination of the combination coefficient, reference may be made to the content described in the above-mentioned FIGS. 4-6 , which will not be repeated in this disclosure.
获得合成系数后,流程前进至步骤S812处,利用获得合成系数将上述获得的第一视盘区域图像C和对齐视盘区域图像E进行合成,以确定最终视盘区域图像。根据前文可知,可以基于上述公式(2)将第一视盘区域图像C和对齐视盘区域图像E进行合成,以确定最终视盘区域图像。最后,利用最终视盘区域图像对高曝光度眼底图像A的第一视盘区域图像C进行修复增强,以生成修复增强后的眼底图像。前述修复增强过程可以参考上述图7所描述的内容,本公开在此不再赘述。After the composite coefficients are obtained, the flow proceeds to step S812, where the obtained composite coefficients are used to composite the obtained first optic disc region image C and the aligned optic disc region image E to determine a final optic disc region image. According to the foregoing, the first optic disc region image C and the aligned optic disc region image E can be synthesized based on the above formula (2), so as to determine the final optic disc region image. Finally, the first optic disc region image C of the high-exposure fundus image A is repaired and enhanced by using the final optic disc region image to generate a restored and enhanced fundus image. For the aforementioned restoration and enhancement process, reference may be made to the content described in FIG. 7 above, and details will not be repeated here in the present disclosure.
图9是示出根据本公开实施例的用于对眼底图像的视盘区域进行修复的设备900的框图。可以理解的是,实现本公开方案的设备可以是单一的设备(例如计算设备)或包括各 种外围设备的多功能设备。FIG. 9 is a block diagram illustrating an apparatus 900 for repairing an optic disc region of a fundus image according to an embodiment of the present disclosure. It will be appreciated that a device implementing the disclosed solutions may be a single device (such as a computing device) or a multi-function device including various peripheral devices.
如图9中所示,本公开的设备可以包括中央处理器或中央处理单元(“CPU”)911,其可以是通用CPU、专用CPU或者其他信息处理以及程序运行的执行单元。进一步,设备900还可以包括大容量存储器912和只读存储器(“ROM”)913,其中大容量存储器912可以配置用于存储各类数据,包括各种与待修复的眼底图像、算法数据、中间结果和运行设备900所需要的各种程序。ROM 913可以配置成存储对于设备900的加电自检、系统中各功能模块的初始化、系统的基本输入/输出的驱动程序及引导操作系统所需的数据和指令。As shown in FIG. 9 , the devices of the present disclosure may include a central processing unit or central processing unit (“CPU”) 911, which may be a general-purpose CPU, a dedicated CPU, or other execution units for information processing and program execution. Further, the device 900 may also include a large-capacity memory 912 and a read-only memory ("ROM") 913, wherein the large-capacity memory 912 may be configured to store various types of data, including various fundus images to be repaired, algorithm data, intermediate Results and various programs required to run device 900. The ROM 913 can be configured to store data and instructions required for power-on self-test of the device 900, initialization of each functional module in the system, basic input/output drivers of the system, and booting the operating system.
可选地,设备900还可以包括其他的硬件平台或组件,例如示出的张量处理单元(“TPU”)914、图形处理单元(“GPU”)915、现场可编程门阵列(“FPGA”)916和机器学习单元(“MLU”)917。可以理解的是,尽管在设备900中示出了多种硬件平台或组件,但这里仅仅是示例性的而非限制性的,本领域技术人员可以根据实际需要增加或移除相应的硬件。例如,设备900可以仅包括CPU、相关存储设备和接口设备来实现本公开的用于对眼底图像的视盘区域进行修复的方法。Optionally, device 900 may also include other hardware platforms or components, such as shown tensor processing unit ("TPU") 914, graphics processing unit ("GPU") 915, field programmable gate array ("FPGA") ) 916 and Machine Learning Unit ("MLU") 917. It can be understood that although various hardware platforms or components are shown in the device 900, these are only exemplary and non-limiting, and those skilled in the art can add or remove corresponding hardware according to actual needs. For example, the device 900 may only include a CPU, a related storage device and an interface device to implement the method for repairing the optic disc region of the fundus image of the present disclosure.
在一些实施例中,为了便于数据与外部网络的传递和交互,本公开的设备900还包括通信接口918,从而可以通过该通信接口918连接到局域网/无线局域网(“LAN/WLAN”)905,进而可以通过该LAN/WLAN连接到本地服务器906或连接到因特网(“Internet”)907。替代地或附加地,本公开的设备900还可以通过通信接口918基于无线通信技术直接连接到因特网或蜂窝网络,例如基于第3代(“3G”)、第4代(“4G”)或第5代(“5G”)的无线通信技术。在一些应用场景中,本公开的设备900还可以根据需要访问外部网络的服务器908和数据库909,以便获得各种已知的图像模型、数据和模块,并且可以远程地存储各种数据,例如用于呈现例如图像对齐、视盘检测、边缘检测等的各类数据或指令。In some embodiments, in order to facilitate data transfer and interaction with external networks, the device 900 of the present disclosure further includes a communication interface 918, so that it can be connected to a local area network/wireless local area network ("LAN/WLAN") 905 through the communication interface 918, In turn, a connection to a local server 906 or to the Internet ("Internet") 907 may be made via the LAN/WLAN. Alternatively or additionally, the device 900 of the present disclosure may also directly connect to the Internet or a cellular network based on a wireless communication technology, such as a 3rd generation (“3G”), 4th generation (“4G”), or 4th generation 5th generation (“5G”) wireless communication technology. In some application scenarios, the device 900 of the present disclosure can also access the server 908 and database 909 of the external network as needed, so as to obtain various known image models, data and modules, and can store various data remotely, for example, with It is used to present various data or instructions such as image alignment, disc detection, edge detection, etc.
设备900的外围设备可以包括显示装置902、输入装置903和数据传输接口904。在一个实施例中,显示装置902可以例如包括一个或多个扬声器和/或一个或多个视觉显示器,其配置用于对本公开的修复眼底图像的视盘区域的过程或者最终结果进行语音提示和/或图像视频显示。输入装置903可以包括例如键盘、鼠标、麦克风、姿势捕捉相机等其他输入按钮或控件,其配置用于接收眼底图像的输入和/或用户指令。数据传输接口904可以包括例如串行接口、并行接口或通用串行总线接口(“USB”)、小型计算机系统接口(“SCSI”)、串行ATA、火线(“FireWire”)、PCI Express和高清多媒体接口(“HDMI”)等,其配置用于与其他设备或系统的数据传输和交互。根据本公开的方案,该数据传输接口904可以接收来自于眼底照相机采集的眼底图像,并且向设备900传送包括眼底图像或各种其他类型的数据或结果。The peripheral equipment of the device 900 may include a display device 902 , an input device 903 and a data transmission interface 904 . In one embodiment, the display device 902 may include, for example, one or more speakers and/or one or more visual displays, which are configured to give voice prompts and/or the final result of the process or final result of repairing the optic disc region of the fundus image of the present disclosure or image video display. The input device 903 may include other input buttons or controls, such as a keyboard, mouse, microphone, gesture capture camera, etc., configured to receive input of fundus images and/or user instructions. Data transfer interface 904 may include, for example, serial, parallel, or Universal Serial Bus ("USB"), Small Computer System Interface ("SCSI"), Serial ATA, FireWire ("FireWire"), PCI Express, and HD Multimedia Interface (“HDMI”), etc., configured for data transmission and interaction with other devices or systems. According to the solution of the present disclosure, the data transmission interface 904 can receive the fundus image collected by the fundus camera, and transmit the fundus image or various other types of data or results to the device 900 .
本公开的设备900的上述CPU 911、大容量存储器912、ROM 913、TPU 914、GPU 915、FPGA 916、MLU 917和通信接口918可以通过总线919相互连接,并且通过该总线与外 围设备实现数据交互。在一个实施例中,通过该总线919,CPU 911可以控制设备900中的其他硬件组件及其外围设备。The aforementioned CPU 911, large-capacity memory 912, ROM 913, TPU 914, GPU 915, FPGA 916, MLU 917 and communication interface 918 of the device 900 of the present disclosure can be connected to each other through the bus 919, and realize data interaction with peripheral devices through the bus . In one embodiment, through the bus 919, the CPU 911 can control other hardware components in the device 900 and its peripherals.
以上结合图9描述了可以用于执行本公开的用于对眼底图像的视盘区域进行修复的设备。需要理解的是这里的设备结构或架构仅仅是示例性的,本公开的实现方式和实现实体并不受其限制,而是可以在不偏离本公开的精神下做出改变。The device for repairing the optic disc region of the fundus image that can be used to implement the present disclosure has been described above with reference to FIG. 9 . It should be understood that the device structure or architecture here is only exemplary, and the implementation manner and implementation entity of the present disclosure are not limited thereto, and changes can be made without departing from the spirit of the present disclosure.
根据上述结合附图的描述,本领域技术人员也可以理解本公开的实施例还可以通过软件程序来实现。由此本公开还提供了一种计算机程序产品。该计算机程序产品可以用于实现本公开结合附图l-8所描述的用于对眼底图像的视盘区域进行修复的方法。According to the above description in conjunction with the accompanying drawings, those skilled in the art can also understand that the embodiments of the present disclosure can also be implemented by software programs. The present disclosure thus also provides a computer program product. The computer program product can be used to implement the method for repairing the optic disc region of the fundus image described in the present disclosure in conjunction with accompanying drawings 1-8.
应当注意,尽管在附图中以特定顺序描述了本公开方法的操作,但是这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。相反,流程图中描绘的步骤可以改变执行顺序。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。It should be noted that, while operations of the disclosed methods are depicted in the figures in a particular order, this does not require or imply that these operations must be performed in that particular order, or that all illustrated operations must be performed, to achieve desirable results. Conversely, the steps depicted in the flowcharts may be performed in an altered order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution.
应当理解,当本公开的权利要求、当说明书及附图中使用到术语“第一”、“第二”、“第三”和“第四”等时,其仅用于区别不同对象,而不是用于描述特定顺序。本公开的说明书和权利要求书中使用的术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when the terms "first", "second", "third" and "fourth" are used in the claims of the present disclosure, when the specification and drawings are used, they are only used to distinguish different objects, and Not intended to describe a particular order. The terms "comprising" and "comprises" used in the specification and claims of the present disclosure indicate the presence of described features, integers, steps, operations, elements and/or components, but do not exclude one or more other features, integers , steps, operations, elements, components, and/or the presence or addition of collections thereof.
还应当理解,在此本公开说明书中所使用的术语仅仅是出于描述特定实施例的目的,而并不意在限定本公开。如在本公开说明书和权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。还应当进一步理解,在本公开说明书和权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used in this disclosure and the claims, the singular forms "a", "an" and "the" are intended to include plural referents unless the context clearly dictates otherwise. It should be further understood that the term "and/or" used in the present disclosure and claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
虽然本公开的实施方式如上,但所述内容只是为便于理解本公开而采用的实施例,并非用以限定本公开的范围和应用场景。任何本公开所述技术领域内的技术人员,在不脱离本公开所揭露的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,但本公开的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments of the present disclosure are as above, the content described is only an embodiment adopted for the convenience of understanding the present disclosure, and is not intended to limit the scope and application scenarios of the present disclosure. Anyone skilled in the technical field described in the present disclosure can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present disclosure, but the patent protection scope of the present disclosure , must still be subject to the scope defined by the appended claims.

Claims (10)

  1. 一种用于对眼底图像的视盘区域进行修复的方法,包括:A method for inpainting an optic disc region of a fundus image, comprising:
    获取对应于高曝光度眼底图像的第一视盘区域图像和对应于低曝光度眼底图像的第二视盘区域图像;acquiring a first optic disc region image corresponding to the high-exposure fundus image and a second optic disc region image corresponding to the low-exposure fundus image;
    将所述第二视盘区域图像与所述第一视盘区域图像进行图像对齐,以生成与所述第一视盘区域图像对齐后的对齐视盘区域图像;image-aligning the second optic disc region image with the first optic disc region image to generate an aligned optic disc region image aligned with the first optic disc region image;
    根据所述第一视盘区域图像和所述对齐视盘区域图像确定最终视盘区域图像;以及determining a final optic disc zone image based on the first optic disc zone image and the aligned optic disc zone image; and
    利用所述最终视盘区域图像对所述第一视盘区域图像进行修复。Restoring the first optic disc region image by using the final optic disc region image.
  2. 根据权利要求1所述的方法,其中获取所述第一视盘区域图像和第二视盘区域图像包括:The method of claim 1, wherein acquiring the first optic disc region image and the second optic disc region image comprises:
    对所述低曝光度眼底图像执行视盘检测算法,以确定其对应的初始视盘区域;以及performing an optic disc detection algorithm on the low-exposure fundus image to determine its corresponding initial optic disc area; and
    基于所述初始视盘区域分别对所述高曝光度眼底图像和所述低曝光度眼底图像执行图像截取操作,以获取所述第一视盘区域图像和所述第二视盘区域图像。An image interception operation is performed on the high-exposure fundus image and the low-exposure fundus image based on the initial optic disc area, so as to acquire the first optic disc area image and the second optic disc area image.
  3. 根据权利要求1所述的方法,其中根据所述第一视盘区域图像和所述对齐视盘区域图像确定最终视盘区域图像包括:The method of claim 1, wherein determining a final optic disc region image based on the first optic disc region image and the aligned optic disc region image comprises:
    基于所述第一视盘区域图像和所述对齐视盘区域图像对所述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像;performing brightness correction on the aligned optic disc region image based on the first optic disc region image and the aligned optic disc region image, to obtain a corrected aligned optic disc region image;
    根据所述第一视盘区域图像和所述修正后的对齐视盘区域图像确定与最终视盘区域图像相关联的合成系数;以及determining synthesis coefficients associated with a final optic disc zone image based on the first optic disc zone image and the corrected aligned optic disc zone image; and
    基于所述合成系数、所述第一视盘区域图像和所述修正后的对齐视盘区域图像确定最终视盘区域图像。A final optic disc zone image is determined based on the synthesis coefficients, the first optic disc zone image, and the corrected aligned optic disc zone image.
  4. 根据权利要求3所述的方法,其中基于所述第一视盘区域图像和所述对齐视盘区域图像对所述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像包括:The method according to claim 3, wherein performing brightness correction on the aligned optic disc region image based on the first optic disc region image and the aligned optic disc region image, so as to obtain the corrected aligned optic disc region image comprises:
    将所述第一视盘区域图像和所述对齐视盘区域图像转换至HSV颜色空间,以确定对应于所述第一视盘区域图像的第一明度数据和对应于所述对齐视盘区域图像的第二明度数据;converting the first optic disc region image and the aligned optic disc region image to HSV color space to determine first luminance data corresponding to the first optic disc region image and second luminance data corresponding to the aligned optic disc region image data;
    对所述第一明度数据执行二值化操作,以确定所述第一视盘区域图像的蒙版区域;performing a binarization operation on the first lightness data to determine a mask area of the first optic disc region image;
    根据所述第一视盘区域图像的蒙版区域执行边缘检测操作,以生成所述蒙版区域的边缘;以及performing an edge detection operation based on a masked region of the first optic disc region image to generate edges of the masked region; and
    基于所述第一明度数据、所述第二明度数据以及所述蒙版区域的边缘对所述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像。Perform brightness correction on the aligned optic disc region image based on the first brightness data, the second brightness data and the edge of the mask region, so as to obtain a corrected aligned optic disc region image.
  5. 根据权利要求4所述的方法,其中基于所述第一明度数据、所述第二明度数据以及所述蒙版区域的边缘对所述对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像包括:The method according to claim 4, wherein brightness correction is performed on the image of the aligned optic disc region based on the first brightness data, the second brightness data and the edge of the mask region, so as to obtain a corrected aligned optic disc Area images include:
    计算所述第一明度数据和所述第二明度数据分别在所述蒙版区域的边缘处对应的第 一明度平均值和第二明度平均值;calculating the first lightness average value and the second lightness average value corresponding to the first lightness data and the second lightness data respectively at the edge of the mask area;
    计算所述第一明度平均值与第二明度平均值之间的差值;以及calculating the difference between the first lightness average and the second lightness average; and
    根据所述第二明度数据与所述差值的加和结果对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像。Aligning the optic disc region image according to the summation result of the second brightness data and the difference value to perform brightness correction, so as to obtain a corrected aligned optic disc region image.
  6. 根据权利要求5所述的方法,其中根据所述第二明度数据与所述差值的加和结果对齐视盘区域图像进行亮度修正,以获得修正后的对齐视盘区域图像包括:The method according to claim 5, wherein aligning the optic disc region image according to the summation result of the second brightness data and the difference value and performing brightness correction, so as to obtain the corrected aligned optic disc region image comprises:
    响应于所述加和结果大于预设阈值,将所述预设阈值作为修正后的第二明度数据进行亮度修正,以获得修正后的对齐视盘区域图像;或者In response to the addition result being greater than a preset threshold value, performing brightness correction on the preset threshold value as the corrected second brightness data, so as to obtain a corrected aligned optic disc region image; or
    响应于所述加和结果小于预设阈值,将所述加和结果作为修正后的第二明度数据进行亮度修正,以获得修正后的对齐视盘区域图像。In response to the addition result being less than the preset threshold value, the addition result is used as the second brightness data after correction to perform brightness correction, so as to obtain a corrected image of the optic disc region aligned.
  7. 根据权利要求5所述的方法,其中根据所述第一视盘区域图像和修正后的对齐视盘区域图像确定与最终视盘区域图像相关联的合成系数包括:The method of claim 5, wherein determining synthesis coefficients associated with a final optic disc zone image based on the first optic disc zone image and the corrected aligned optic disc zone image comprises:
    根据所述第一视盘区域图像和修正后的对齐视盘区域图像各自与所述蒙版区域的中心之间的距离以及所述蒙版区域的半径确定与所述最终视盘区域图像相关联的合成系数。Determining a synthesis coefficient associated with the final optic disc region image based on a distance between each of the first optic disc region image and the corrected aligned optic disc region image and a center of the mask region and a radius of the mask region .
  8. 根据权利要求3所述的方法,其中基于所述合成系数、所述第一视盘区域图像和修正后的对齐视盘区域图像确定最终视盘区域图像包括:The method of claim 3, wherein determining a final optic disc region image based on the synthesis coefficients, the first optic disc region image, and the corrected aligned optic disc region image comprises:
    利用所述合成系数将所述第一视盘区域图像和修正后的对齐视盘区域图像在RGB颜色空间上进行合成,以生成所述最终视盘区域图像。Combining the first optic disc region image and the corrected aligned optic disc region image in RGB color space using the composition coefficients to generate the final optic disc region image.
  9. 一种用于对眼底图像的视盘区域进行修复的设备,包括:A device for inpainting the optic disc region of a fundus image, comprising:
    处理器;以及processor; and
    与所述处理器相连接的存储器,所述存储器中存储有计算机程序代码,当所述计算机程序代码被执行时,使得所述处理器执行如权利要求1-8中任意一项所述的方法。A memory connected to the processor, wherein computer program code is stored in the memory, and when the computer program code is executed, the processor executes the method according to any one of claims 1-8 .
  10. 一种计算机可读存储介质,其上存储有用于对眼底图像的视盘区域进行修复的计算机可读指令,该计算机可读指令被一个或多个处理器执行时,实现如权利要求1-8中任意一项所述的方法。A computer-readable storage medium, on which computer-readable instructions for repairing the optic disc area of the fundus image are stored, and when the computer-readable instructions are executed by one or more processors, the implementation of claims 1-8 any one of the methods described.
PCT/CN2022/105896 2021-11-19 2022-07-15 Method for repairing optic disc area of fundus image and related product WO2023087754A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111373039.4A CN113808054B (en) 2021-11-19 2021-11-19 Method for repairing optic disc region of fundus image and related product
CN202111373039.4 2021-11-19

Publications (1)

Publication Number Publication Date
WO2023087754A1 true WO2023087754A1 (en) 2023-05-25

Family

ID=78938410

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/105896 WO2023087754A1 (en) 2021-11-19 2022-07-15 Method for repairing optic disc area of fundus image and related product

Country Status (2)

Country Link
CN (1) CN113808054B (en)
WO (1) WO2023087754A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113808054B (en) * 2021-11-19 2022-05-06 北京鹰瞳科技发展股份有限公司 Method for repairing optic disc region of fundus image and related product
CN115631113B (en) * 2022-12-06 2023-03-17 深圳市蔚来芯科技有限公司 Image correction method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259976A (en) * 2012-02-17 2013-08-21 佳能株式会社 Image processing apparatus, image pickup apparatus, image processing method
US20170270671A1 (en) * 2016-03-16 2017-09-21 International Business Machines Corporation Joint segmentation and characteristics estimation in medical images
CN109040523A (en) * 2018-08-16 2018-12-18 Oppo广东移动通信有限公司 Artifact eliminating method, device, storage medium and terminal
CN112220448A (en) * 2020-10-14 2021-01-15 上海鹰瞳医疗科技有限公司 Fundus camera and fundus image synthesis method
CN113344836A (en) * 2021-06-28 2021-09-03 展讯通信(上海)有限公司 Face image processing method and device, computer readable storage medium and terminal
CN113808054A (en) * 2021-11-19 2021-12-17 北京鹰瞳科技发展股份有限公司 Method for repairing optic disc region of fundus image and related product

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6143096B2 (en) * 2013-08-07 2017-06-07 ソニー株式会社 Fundus image processing apparatus and program, and fundus image photographing apparatus
CN107851309A (en) * 2016-04-05 2018-03-27 华为技术有限公司 A kind of image enchancing method and device
US10638052B2 (en) * 2017-04-12 2020-04-28 Samsung Electronics Co., Ltd. Method and apparatus for generating HDR images
CN109166117B (en) * 2018-08-31 2022-04-12 福州依影健康科技有限公司 Automatic eye fundus image analysis and comparison method and storage device
CN110084763B (en) * 2019-04-29 2020-12-25 北京达佳互联信息技术有限公司 Image restoration method and device, computer equipment and storage medium
CN110728644B (en) * 2019-10-11 2022-06-21 厦门美图之家科技有限公司 Image generation method and device, electronic equipment and readable storage medium
CN112995518A (en) * 2021-03-12 2021-06-18 北京奇艺世纪科技有限公司 Image generation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259976A (en) * 2012-02-17 2013-08-21 佳能株式会社 Image processing apparatus, image pickup apparatus, image processing method
US20170270671A1 (en) * 2016-03-16 2017-09-21 International Business Machines Corporation Joint segmentation and characteristics estimation in medical images
CN109040523A (en) * 2018-08-16 2018-12-18 Oppo广东移动通信有限公司 Artifact eliminating method, device, storage medium and terminal
CN112220448A (en) * 2020-10-14 2021-01-15 上海鹰瞳医疗科技有限公司 Fundus camera and fundus image synthesis method
CN113344836A (en) * 2021-06-28 2021-09-03 展讯通信(上海)有限公司 Face image processing method and device, computer readable storage medium and terminal
CN113808054A (en) * 2021-11-19 2021-12-17 北京鹰瞳科技发展股份有限公司 Method for repairing optic disc region of fundus image and related product

Also Published As

Publication number Publication date
CN113808054A (en) 2021-12-17
CN113808054B (en) 2022-05-06

Similar Documents

Publication Publication Date Title
WO2023087754A1 (en) Method for repairing optic disc area of fundus image and related product
WO2020259118A1 (en) Method and device for image processing, method and device for training object detection model
EP4109392A1 (en) Image processing method and image processing device
US8290295B2 (en) Multi-modal tone-mapping of images
JP6818463B2 (en) Image processing equipment, image processing methods and programs
US20150243048A1 (en) System, method, and computer program product for performing one-dimesional searches in two-dimensional images
WO2021083059A1 (en) Image super-resolution reconstruction method, image super-resolution reconstruction apparatus, and electronic device
US9153027B2 (en) System, method, and computer program product for performing fast, non-rigid registration for high dynamic range image stacks
KR102084343B1 (en) Background removal
JP2017130060A (en) Image processing device, image processing method, and program
WO2020034743A1 (en) Three-dimensional model processing method and apparatus, electronic device, and readable storage medium
US11074742B2 (en) Image processing apparatus, image processing method, and storage medium
WO2019128504A1 (en) Method and apparatus for image processing in billiards game, and terminal device
CN109219833B (en) Enhancing edges in an image using depth information
Gu et al. A low-light image enhancement method based on image degradation model and pure pixel ratio prior
US8803998B2 (en) Image optimization system and method for optimizing images
CN110570441B (en) Ultra-high definition low-delay video control method and system
JP2013182330A (en) Image processor and image processing method
TWI425429B (en) Image texture extraction method, image identification method and image identification apparatus
CN110648297A (en) Image defogging method and system, electronic equipment and storage medium
KR20070063781A (en) Method and apparatus for image adaptive color adjustment of pixel in color gamut
CN116263942A (en) Method for adjusting image contrast, storage medium and computer program product
US10872400B1 (en) Spectral selection and transformation of image frames
Chaczko et al. Teaching Computer Vision for telemedicine systems using OpenCV
US20240029472A1 (en) Depth assisted images refinement

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22894297

Country of ref document: EP

Kind code of ref document: A1