Method for taking retinal images using non-visible light flash
Taking retinal infrared and ultraviolet images with non-visible light flash, block processing and feature fusion solve the problems of eye irritation and low image quality in traditional methods, achieve the acquisition of high-quality retinal images, and provide better assistance for ophthalmic diagnosis. tool.
Patent Information
- Application Number
- CN202410693234.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2023-12-29
- Filing Date
- 2024-05-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Traditional retinal image acquisition methods using visible light flash can cause irritation and damage to the eyes, and result in low image quality and blurred details.
A non-visible light flash is used to obtain retinal infrared images and ultraviolet images, perform image block processing, feature extraction and analysis, and fuse the features of images with different wavelengths to generate high-quality retinal images.
Reduce eye irritation, improve the quality and details of retinal images, provide more reliable diagnostic basis, and reduce examination costs and risks.
Smart Images

Figure CN118279299B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of intelligent retinal images, and in particular to a method for photographing retinal images by using a non-visible light flash. Background Art
[0002] Retinal images are an important basis for ophthalmic diagnosis and treatment, as they can reflect pathological changes and vascular conditions in the fundus. The traditional method of acquiring retinal images is to use a visible light flash to illuminate the fundus and then take pictures with a camera. This method has two main disadvantages: first, the visible light flash can cause irritation and damage to the human eye, especially for sensitive or damaged eyes; second, the visible light flash can produce strong reflections and scattering, resulting in poor retinal image quality and blurred details.
[0003] Therefore, a solution for taking retinal images using non-visible light flash is desired. Summary of the invention
[0004] The embodiment of the present invention provides a method for taking retinal images using a non-visible light flash, which obtains retinal infrared images and retinal ultraviolet images, and processes them into image block sequences; then, the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks are subjected to feature extraction and analysis to obtain a sequence of local region context semantic association feature vectors; then, through fine-grained semantic interaction analysis of the image blocks, the features of the retinal infrared image and the retinal ultraviolet image are fused to generate interactively fused retinal local region context semantic association features, and the features are optimized to generate retinal images. In this way, higher quality retinal images can be provided, providing an auxiliary basis for doctors to diagnose eye diseases.
[0005] An embodiment of the present invention also provides a method for taking retinal images using a non-visible light flash, which includes: acquiring a retinal infrared image and a retinal ultraviolet image collected by a camera; performing image block processing on the retinal infrared image to obtain a sequence of retinal infrared image blocks; performing image block processing on the retinal ultraviolet image to obtain a sequence of retinal ultraviolet image blocks; performing feature extraction and analysis on the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks to obtain a sequence of retinal infrared image local area context semantic association feature vectors and a sequence of retinal ultraviolet image local area context semantic association feature vectors; performing image block fine-grained semantic interaction analysis on the sequence of retinal infrared image local area context semantic association feature vectors and the sequence of retinal ultraviolet image local area context semantic association feature vectors to obtain interactively fused retinal local area context semantic association features; and performing source domain image optimization based on the interactively fused retinal local area context semantic association features to generate a retinal image. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0007] In the attached picture: Figure 1 The present invention provides a flowchart of a method for taking retinal images using a non-visible light flash lamp in an embodiment of the present invention.
[0008] Figure 2 A schematic diagram of a system architecture of a method for capturing retinal images using a non-visible light flash provided in an embodiment of the present invention.
[0009] Figure 3 A block diagram of a system for capturing retinal images using a non-visible light flash provided in an embodiment of the present invention.
[0010] Figure 4 This is a diagram of an application scenario of a method for capturing retinal images using a non-visible light flash provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0011] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0012] Unless otherwise specified, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art of the present application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of this application.
[0013] In the embodiments of the present application, it should be noted that, unless otherwise specified and limited, the term "connection" should be understood in a broad sense. For example, it can be an electrical connection or a connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.
[0014] It should be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order for the objects. It is understandable that the specific order or sequence of "first\second\third" can be interchanged where permitted. It should be understood that the objects distinguished by "first\second\third" can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.
[0015] Retinal images are images obtained through fundus photography or retinal scanners and are used to assess the health of the eyes and diagnose eye diseases. The retina is a light-sensitive tissue located at the back of the eyeball, which contains photoreceptor cells and a network of blood vessels. Retinal images can show pathological changes in the fundus, such as macular degeneration, retinal detachment, retinal vascular occlusion, etc. These lesions may cause visual impairment or other eye symptoms. Retinal images can show the shape, diameter and branching of retinal blood vessels. By observing the changes in the blood vessels, ophthalmologists can assess the health of the blood vessels and understand whether there are potential systemic diseases such as hypertension and diabetes. The optic disc is the part where the optic nerve connects to the retina. It is also an important structure in the fundus image. Its changes can reflect the presence of eye diseases such as glaucoma and optic neuritis.
[0016] By analyzing retinal images, eye specialists can make a diagnosis and develop an appropriate treatment plan. Retinal images are often used in conjunction with other eye examination and test results to fully assess eye health and disease.
[0017] The traditional retinal image acquisition method uses a visible light flash to illuminate the fundus and uses a camera to take pictures. This method is widely used in ophthalmology clinics, but it has some disadvantages. Visible light flash can cause irritation and damage to the eyes, especially for sensitive or damaged eyes, which may cause discomfort, eye pain or other adverse reactions. Therefore, in some cases, such as children, the elderly or patients with eye diseases, the use of visible light flash may not be appropriate. Visible light flash produces strong reflections and scattering, which can interfere with the quality of retinal images. Reflections and scattering can cause light spots, shadows, and interfering lines in the image, making it difficult to see details clearly, which may cause difficulties in the detection and diagnosis of fundus lesions.
[0018] In order to overcome the shortcomings of traditional methods, some new retinal image acquisition technologies have emerged in recent years. Using infrared light as the illumination source can reduce irritation and damage to the eyes. Infrared light can penetrate the eye tissue and directly illuminate the retina without obvious reflection and scattering, which can obtain clearer and more detailed retinal images. With the development of digital image processing and artificial intelligence technology, automated retinal image analysis systems have also been widely used to automatically detect and diagnose eye diseases and improve diagnostic accuracy and efficiency.
[0019] In one embodiment of the present invention, Figure 1 The present invention provides a flowchart of a method for taking retinal images using a non-visible light flash lamp in an embodiment of the present invention. Figure 2 FIG. 1 is a schematic diagram of a system architecture of a method for photographing retinal images using a non-visible light flash provided in an embodiment of the present invention. Figure 1 and Figure 2 As shown, according to an embodiment of the present invention, the method for shooting retinal images using a non-visible light flash includes: 110, acquiring a retinal infrared image and a retinal ultraviolet image collected by a camera; 120, performing image block processing on the retinal infrared image to obtain a sequence of retinal infrared image blocks; 130, performing image block processing on the retinal ultraviolet image to obtain a sequence of retinal ultraviolet image blocks; 140, respectively performing feature extraction and analysis on the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks to obtain a sequence of retinal infrared image local area context semantic association feature vectors and a sequence of retinal ultraviolet image local area context semantic association feature vectors; 150, performing image block fine-grained semantic interaction analysis on the sequence of retinal infrared image local area context semantic association feature vectors and the sequence of retinal ultraviolet image local area context semantic association feature vectors to obtain interactively fused retinal local area context semantic association features; 160, performing source domain image optimization based on the interactively fused retinal local area context semantic association features to generate a retinal image.
[0020] In step 110, a dedicated infrared camera and ultraviolet camera are used to capture retinal infrared images and retinal ultraviolet images, ensuring that the camera settings are correct and that appropriate adjustments and calibrations are performed as needed. Infrared images can provide more vascular and tissue information, which is helpful for detecting retinal lesions and vascular abnormalities; ultraviolet images can provide additional optical features, which are helpful for further analysis and diagnosis.
[0021] In step 120, the retinal infrared image is segmented into small blocks, and an image processing algorithm, such as image segmentation or a sliding window method, can be used to ensure that the segmentation process is accurate and retains sufficient context information. Through the segmentation process, the entire retinal infrared image can be decomposed into multiple local areas, which helps to perform independent analysis and feature extraction on each area, thereby improving the accuracy and efficiency of image analysis.
[0022] In step 130, the retinal ultraviolet image is divided into blocks to ensure the accuracy of the blocks and the reasonable block size. Dividing the retinal ultraviolet image into blocks helps to independently analyze and extract features for each local area, providing more detailed information for subsequent image analysis and processing.
[0023] In step 140, a suitable feature extraction algorithm and analysis method are used to extract and analyze the features of the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks, and computer vision and image processing techniques such as convolutional neural network (CNN) and feature descriptors can be used. By extracting and analyzing the features of the retinal infrared image and the retinal ultraviolet image, a sequence of contextual semantic association feature vectors of the local area of the retinal infrared image and a sequence of contextual semantic association feature vectors of the local area of the retinal ultraviolet image can be obtained, which reflects the relationship and semantic information between the image blocks, and provides a basis for subsequent image analysis and interaction.
[0024] In step 150, a fine-grained semantic interaction analysis is performed on the sequence of the local region context semantic association feature vectors of the retinal infrared image and the sequence of the local region context semantic association feature vectors of the retinal ultraviolet image using appropriate image analysis and interaction methods, which can be achieved using image matching, similarity calculation or deep learning methods. Through the fine-grained semantic interaction analysis of image blocks, the local region context semantic association features of the retinal infrared image and the retinal ultraviolet image can be fused to improve the accuracy and robustness of image analysis.
[0025] In step 160, the source domain image is optimized by interactively fusing the contextual semantic association features of the local retinal region, and image enhancement, denoising or reconstruction methods can be used to improve the image quality. By optimizing based on interactively fusing the contextual semantic association features of the local retinal region, a clearer and more accurate retinal image can be generated, providing more reliable information for ophthalmologists' diagnosis and treatment decisions.
[0026] In view of the above technical problems, in the technical solution of the present application, a method for taking retinal images using a non-visible light flash is proposed, which uses a prototype camera and a flash to take retinal images under low light conditions outside the visible light range using infrared and ultraviolet light. This "dark flash" is at least two orders of magnitude lower than the brightness of a traditional flash, but the exposure level is equivalent. Since infrared and ultraviolet light have less stimulation and damage to the human eye, and have weaker reflection and scattering, high-quality retinal images can be obtained.
[0027] Accordingly, considering that the wavelengths of infrared and ultraviolet light are different from those of visible light, retinal images recorded at different wavelengths also have different characteristics. In order to further improve the quality and details of retinal images, the technical concept of the present application is to use the correlation between retinal images recorded at different wavelengths to denoise the environmental image and restore the details, thereby obtaining high-quality results. In this way, higher-quality retinal images can be provided, providing an auxiliary basis for doctors to diagnose eye diseases.
[0028] Specifically, in the technical solution of the present application, first, a retinal infrared image and a retinal ultraviolet image collected by a camera are obtained. Next, considering that the retinal image usually has high resolution and complex structure, it contains a large amount of retinal detail feature information. However, when processing the entire image, the local detail features of the retina may be lost, and processing the entire image may also face the problems of high computational complexity, low efficiency and high memory consumption. Based on this, in the technical solution of the present application, it is necessary to perform image block processing on the retinal infrared image to obtain a sequence of retinal infrared image blocks, and to perform image block processing on the retinal ultraviolet image to obtain a sequence of retinal ultraviolet image blocks. It should be understood that by performing block processing on the retinal infrared image and the retinal ultraviolet image, each image block can be processed independently. In this way, the local features and details in the image can be better captured. In addition, block processing can also improve the parallelism of the algorithm, so that multiple image blocks can be processed simultaneously, thereby improving the processing speed.
[0029] Then, a convolutional neural network model with excellent performance in implicit feature extraction of images is used to perform feature extraction of the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks. In particular, considering that it is difficult to capture the global correlation feature information of image blocks due to the inherent limitations of convolution. Therefore, in the technical solution of the present application, the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks are further subjected to feature extraction in an image feature extractor based on the ViT model, respectively, to extract the local region context semantic association feature information of the retinal infrared image and the local region context semantic association feature information of the retinal ultraviolet image, respectively, so as to obtain a sequence of local region context semantic association feature vectors of the retinal infrared image and a sequence of local region context semantic association feature vectors of the retinal ultraviolet image.
[0030] In a specific embodiment of the present application, feature extraction and analysis are performed on the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks to obtain a sequence of retinal infrared image local area context semantic association feature vectors and a sequence of retinal ultraviolet image local area context semantic association feature vectors, including: passing the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks through an image feature extractor based on the ViT model to obtain a sequence of retinal infrared image local area context semantic association feature vectors and a sequence of retinal ultraviolet image local area context semantic association feature vectors.
[0031] It should be understood that in the retinal infrared image and the retinal ultraviolet image, due to the use of different spectral wavelengths, the information they contain is different and complementary. Therefore, in order to achieve the interaction and fusion of feature information between retinal images of different wavelengths, so as to provide a richer and more accurate retinal feature representation, in the technical solution of the present application, an image block fine-grained semantic interaction module is further used to process the sequence of contextual semantic association feature vectors of the local area of the retinal infrared image and the sequence of contextual semantic association feature vectors of the local area of the retinal ultraviolet image to obtain a sequence of interactively fused retinal local area contextual semantic association feature vectors. It is worth mentioning that the image block fine-grained semantic interaction module can perform interactive processing on the sequence of contextual semantic association feature vectors of the local area of the retinal infrared image and the sequence of contextual semantic association feature vectors of the local area of the retinal ultraviolet image, image block by image block. In this way, the local semantic association information between images of different wavelengths can be transmitted and fused to each other, thereby obtaining a more comprehensive and accurate sequence of interactively fused retinal local area contextual semantic association feature vectors. In this way, the complementary information between images of different wavelengths can be fully utilized to improve the accuracy and robustness of image processing, which helps to better restore the details and structures in retinal images, thereby providing a better basis for subsequent image generation or analysis tasks.
[0032] In a specific embodiment of the present application, an image block fine-grained semantic interaction analysis is performed on the sequence of the local area context semantic association feature vectors of the retinal infrared image and the sequence of the local area context semantic association feature vectors of the retinal ultraviolet image to obtain interactively fused retinal local area context semantic association features, including: using an image block fine-grained semantic interaction module to process the sequence of the local area context semantic association feature vectors of the retinal infrared image and the sequence of the local area context semantic association feature vectors of the retinal ultraviolet image to obtain a sequence of interactively fused retinal local area context semantic association feature vectors; optimizing the sequence of interactively fused retinal local area context semantic association feature vectors to obtain an optimized sequence of interactively fused retinal local area context semantic association feature vectors as the interactively fused retinal local area context semantic association features.
[0033] Furthermore, the sequence of the retinal infrared image local area context semantic association feature vectors and the sequence of the retinal ultraviolet image local area context semantic association feature vectors are processed using an image block fine-grained semantic interaction module to obtain an interactively fused sequence of the retinal local area context semantic association feature vectors, including: performing attention enhancement on the sequence of the retinal infrared image local area context semantic association feature vectors and the sequence of the retinal ultraviolet image local area context semantic association feature vectors to obtain a sequence of attention-enhanced retinal infrared image local area feature vectors and a sequence of attention-enhanced retinal ultraviolet image local area feature vectors; fusing the feature vectors at corresponding positions in the sequence of the retinal infrared image local area context semantic association feature vectors and the sequence of the attention-enhanced retinal infrared image local area feature vectors to obtain a sequence of attention-enhanced retinal infrared image local area feature vectors. A sequence of domain fusion feature vectors is prepared, and the sequence of retinal ultraviolet image local area context semantic association feature vectors and the feature vectors of corresponding positions in the sequence of attention enhanced retinal ultraviolet image local area feature vectors are fused to obtain a sequence of retinal ultraviolet image local area fusion feature vectors; the sequence of retinal infrared image local area fusion feature vectors is subjected to maximum pooling processing to obtain a retinal infrared image local area fusion maximum pooling feature vector, and the sequence of retinal ultraviolet image local area fusion feature vectors is subjected to maximum pooling processing to obtain a retinal ultraviolet image local area fusion maximum pooling feature vector; and, the retinal infrared image local area fusion maximum pooling feature vector and the retinal ultraviolet image local area fusion maximum pooling feature vector are fused to obtain a sequence of interactively fused retinal local area context semantic association feature vectors.
[0034] In particular, in the above technical scheme, the sequence of local area context semantic association feature vectors of the retinal infrared image and the sequence of local area context semantic association feature vectors of the retinal ultraviolet image respectively express the image semantic features of the retinal infrared image and the retinal ultraviolet image based on the local semantic space context association of the image source semantics. Therefore, considering the difference in local image semantic space distribution brought about by the source image semantic difference between the retinal infrared image and the retinal ultraviolet image after the image is partitioned into blocks in the global image semantic space, the sequence of local area context semantic association feature vectors of the retinal infrared image and the sequence of local area context semantic association feature vectors of the retinal ultraviolet image will also have significant differences in the fine-grained semantic correspondence of image blocks.
[0035] Therefore, when the image block fine-grained semantic interaction module is used to process the sequence of the local area context semantic association feature vectors of the retinal infrared image and the sequence of the local area context semantic association feature vectors of the retinal ultraviolet image, the difference in the fine-grained semantic distribution of the features caused by the difference in the semantic space distribution of the source images, and this difference in the fine-grained semantic distribution of the features will cause the sequence of the local area context semantic association feature vectors of the retinal infrared image and the sequence of the local area context semantic association feature vectors of the retinal ultraviolet image to have a difference in the high-dimensional geometric changes in the feature distribution direction corresponding to the geometric transformation in the high-dimensional feature space, thereby causing the local feature overflow of the sequence of the interactively fused local area context semantic association feature vectors of the retinal infrared image. Based on this, the present application optimizes the sequence of the interactively fused local area context semantic association feature vectors of the retinal ultraviolet image.
[0036] Specifically, the sequence of interactively fused retinal local area context semantic association feature vectors is optimized to obtain a sequence of optimized interactively fused retinal local area context semantic association feature vectors as the interactively fused retinal local area context semantic association features, including: cascading the sequence of interactively fused retinal local area context semantic association feature vectors to obtain interactively fused retinal local area context semantic association cascade feature vectors; calculating a first weight matrix and a second weight matrix of the interactively fused retinal local area context semantic association cascade feature vector, wherein the value of each position of the first weight matrix is the mean of the two eigenvalues of the corresponding position of the interactively fused retinal local area context semantic association cascade feature vector, and the value of each position of the second weight matrix is the variance of the two eigenvalues of the corresponding position of the interactively fused retinal local area context semantic association cascade feature vector; taking the transpose of the interactively fused retinal local area context semantic association cascade feature vector as a row feature vector The vector is matrix-multiplied with the first weight matrix to obtain a first intermediate vector and the second weight matrix is matrix-multiplied with the interactively fused retinal local area context semantic association cascade feature vector to obtain a second intermediate vector; the dot sum of the transposed vectors of the first intermediate vector and the second intermediate vector is calculated to obtain a third intermediate vector; the matrix product of the first weight matrix and the second weight matrix is calculated and the transposed vector of the interactively fused retinal local area context semantic association cascade feature vector is matrix-multiplied with the matrix product to obtain a fourth intermediate vector; the dot sum of the transposed vectors of the third intermediate vector and the fourth intermediate vector is calculated to obtain an optimized interactively fused retinal local area context semantic association cascade feature vector; the interactively fused retinal local area context semantic association cascade feature vector is split based on the cascade of the sequence of the interactively fused retinal local area context semantic association feature vectors to obtain a sequence of optimized interactively fused retinal local area context semantic association feature vectors.
[0037] That is, by using the weight matrix of the group aggregation statistical evaluation of the local distribution of the feature value granularity of the sequence of interactively fused retinal local area context semantic association feature vectors as the retrieval and response distribution enhancement of the sequence of interactively fused retinal local area context semantic association feature vectors, and constructing a reference-free distribution retrieval response framework under an open domain based on the group aggregation feature distribution of the sequence of interactively fused retinal local area context semantic association feature vectors, the distribution response redundancy caused by the local overflow characteristics of the sequence of interactively fused retinal local area context semantic association feature vectors can be avoided through response superposition, so as to achieve the faithfulness constraint of the self-aggregation statistical correlation of the response of the sequence of interactively fused retinal local area context semantic association feature vectors to the target domain, so as to enhance the image block fine-grained semantic interaction expression effect of the sequence of interactively fused retinal local area context semantic association feature vectors, thereby improving the image quality of the generated retinal image obtained by the feature matrix obtained by arranging the sequence of interactively fused retinal local area context semantic association feature vectors through the image optimization generator based on the adversarial generative network. In this way, the correlation between retinal images recorded at different wavelengths can be used to denoise the environmental image and restore details, thereby improving the quality and details of the retinal image. In this way, higher quality retinal images can be provided, providing auxiliary basis for doctors to diagnose eye diseases.
[0038] Then, the sequence of the optimized interactive fusion retinal local area context semantic association feature vectors is arranged into a feature matrix and then the retinal image is generated by the image optimization generator based on the adversarial generation network. It should be understood that the purpose of arranging the sequence of the optimized interactive fusion retinal local area context semantic association feature vectors into a feature matrix is to integrate the semantic association features of each local area into an overall representation. By arranging it into a feature matrix, the spatial relationship and context information between the image blocks can be retained, so as to better reconstruct the entire retinal image. In particular, the image optimization generator based on the adversarial generation network is a powerful generation model, which consists of a generator and a discriminator. The task of the generator is to convert the input feature matrix into a realistic retinal image, while the discriminator is responsible for evaluating the authenticity of the generated image. Therefore, in the technical solution of the present application, the generator can reconstruct the image according to the semantic association features in the feature matrix to restore the details and structure of the retinal image as accurately as possible. In this way, the correlation between the retinal images recorded at different wavelengths can be used to denoise the environmental image and restore the details, thereby improving the quality and details of the retinal image.
[0039] In a specific embodiment of the present application, source domain image optimization is performed based on the interactively fused retinal local area contextual semantic association features to generate a retinal image, including: arranging the sequence of the optimized interactively fused retinal local area contextual semantic association feature vectors into a feature matrix and then obtaining the retinal image through an image optimization generator based on a generative adversarial network.
[0040] In one embodiment of the present application, a method for capturing retinal images using a non-visible light flash is provided, the method comprising the following steps: 1. Installing a non-visible light flash on an ophthalmic examination instrument, the flash being capable of emitting infrared light or ultraviolet light.
[0041] 2. Align the examinee’s eyes to the eyepiece of the examination instrument and adjust the focal length and focus.
[0042] 3. Trigger a non-visible light flash to emit one or more flashes while simultaneously capturing an image of the retina with a camera.
[0043] 4. The captured retinal images are digitally processed to enhance contrast and clarity, or converted into visible light images.
[0044] The advantages of the present invention include: the use of non-visible light flash can reduce the discomfort and glare of the examinee, and improve the comfort and efficiency of the examination; the use of non-visible light flash can improve the quality and information content of retinal images, which is conducive to the discovery and diagnosis of fundus lesions; the use of non-visible light flash can avoid the use of expensive and complex fluorescein angiography technology, and reduce the cost and risk of the examination.
[0045] In summary, the method of taking retinal images using a non-visible light flash according to the embodiment of the present invention is explained, which utilizes the correlation between retinal images recorded at different wavelengths to denoise the environmental image and restore details, thereby obtaining high-quality results. In this way, higher-quality retinal images can be provided, providing an auxiliary basis for doctors to diagnose eye diseases.
[0046] Figure 3 FIG. 1 is a block diagram of a system for taking retinal images using a non-visible light flash provided in an embodiment of the present invention. Figure 3As shown, the system 200 for taking retinal images using a non-visible light flash comprises: an image acquisition module 210, used to acquire a retinal infrared image and a retinal ultraviolet image collected by a camera; an infrared image block processing module 220, used to perform image block processing on the retinal infrared image to obtain a sequence of retinal infrared image blocks; an ultraviolet image block processing module 230, used to perform image block processing on the retinal ultraviolet image to obtain a sequence of retinal ultraviolet image blocks; a feature extraction and analysis module 240, used to perform feature extraction and analysis on the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks to obtain a sequence of retinal ultraviolet image blocks. to a sequence of contextual semantic association feature vectors of local areas of retinal infrared images and a sequence of contextual semantic association feature vectors of local areas of retinal ultraviolet images; an image block fine-grained semantic interaction analysis module 250, for performing image block fine-grained semantic interaction analysis on the sequence of contextual semantic association feature vectors of local areas of retinal infrared images and the sequence of contextual semantic association feature vectors of local areas of retinal ultraviolet images to obtain interactively fused retinal local area contextual semantic association features; a source domain image optimization module 260, for performing source domain image optimization based on the interactively fused retinal local area contextual semantic association features to generate a retinal image.
[0047] Those skilled in the art will appreciate that the specific operations of each step in the system for capturing retinal images using a non-visible light flash have been described above with reference to Figure 1 to Figure 2 The method of capturing retinal images using a non-visible light flash has been described in detail, and therefore, its repeated description will be omitted.
[0048] As described above, the system 200 for photographing retinal images using a non-visible light flash according to an embodiment of the present invention can be implemented in various terminal devices, such as a server for photographing retinal images using a non-visible light flash, etc. In one example, the system 200 for photographing retinal images using a non-visible light flash according to an embodiment of the present invention can be integrated into a terminal device as a software module and / or a hardware module. For example, the system 200 for photographing retinal images using a non-visible light flash can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the system 200 for photographing retinal images using a non-visible light flash can also be one of the many hardware modules of the terminal device.
[0049] Alternatively, in another example, the system 200 for capturing retinal images using a non-visible light flash and the terminal device may be separate devices, and the system 200 for capturing retinal images using a non-visible light flash may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0050] Figure 4 FIG. 1 is an application scenario diagram of a method for photographing retinal images using a non-visible light flash provided in an embodiment of the present invention. Figure 4 As shown, in this application scenario, first, a retinal infrared image captured by a camera is obtained (for example, Figure 4 C1) and retinal ultraviolet images (e.g., Figure 4 Then, the acquired retinal infrared image and retinal ultraviolet image are input to a server (for example, Figure 4 In S) illustrated in , the server is capable of processing the retinal infrared image and the retinal ultraviolet image based on an algorithm for taking retinal images using a non-visible light flash to generate a retinal image.
[0051] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for taking retinal images using a non-visible light flash, It is characterized in that include: acquiring a retinal infrared image and a retinal ultraviolet image collected by a camera; Performing image block processing on the retinal infrared image to obtain a sequence of retinal infrared image blocks; Performing image block processing on the retinal ultraviolet image to obtain a sequence of retinal ultraviolet image blocks; Performing feature extraction and analysis on the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks respectively to obtain a sequence of retinal infrared image local area context semantic association feature vectors and a sequence of retinal ultraviolet image local area context semantic association feature vectors; Performing image block fine-grained semantic interaction analysis on the sequence of the retinal infrared image local area context semantic association feature vectors and the sequence of the retinal ultraviolet image local area context semantic association feature vectors to obtain interactively fused retinal local area context semantic association features; Based on the interactive fusion of the contextual semantic association features of the local retinal area, source domain image optimization is performed to generate a retinal image; The process of performing image block fine-grained semantic interaction analysis on the sequence of the local region context semantic association feature vectors of the retinal infrared image and the sequence of the local region context semantic association feature vectors of the retinal ultraviolet image to obtain interactively fused local region context semantic association features of the retinal image includes: Using an image block fine-grained semantic interaction module, the sequence of the retinal infrared image local area context semantic association feature vectors and the sequence of the retinal ultraviolet image local area context semantic association feature vectors are processed to obtain an interactively fused sequence of the retinal local area context semantic association feature vectors; Optimizing the sequence of interactively fused retinal local area context semantic association feature vectors to obtain an optimized sequence of interactively fused retinal local area context semantic association feature vectors as the interactively fused retinal local area context semantic association feature; The method uses an image block fine-grained semantic interaction module to process the sequence of the retinal infrared image local area context semantic association feature vectors and the sequence of the retinal ultraviolet image local area context semantic association feature vectors to obtain an interactively fused sequence of retinal local area context semantic association feature vectors, including: Performing attention enhancement on the sequence of the retinal infrared image local area context semantic association feature vectors and the sequence of the retinal ultraviolet image local area context semantic association feature vectors to obtain a sequence of attention enhanced retinal infrared image local area feature vectors and a sequence of attention enhanced retinal ultraviolet image local area feature vectors; The sequence of the retinal infrared image local area context semantic association feature vectors and the feature vectors at corresponding positions in the sequence of the attention enhanced retinal infrared image local area feature vectors are fused to obtain a sequence of retinal infrared image local area fused feature vectors, and the sequence of the retinal ultraviolet image local area context semantic association feature vectors and the feature vectors at corresponding positions in the sequence of the attention enhanced retinal ultraviolet image local area feature vectors are fused to obtain a sequence of retinal ultraviolet image local area fused feature vectors; Performing maximum pooling processing on the sequence of local area fusion feature vectors of the retinal infrared image to obtain a local area fusion maximum pooling feature vector of the retinal infrared image, and performing maximum pooling processing on the sequence of local area fusion feature vectors of the retinal ultraviolet image to obtain a local area fusion maximum pooling feature vector of the retinal ultraviolet image; and The local area fusion maximum pooling feature vector of the retinal infrared image and the local area fusion maximum pooling feature vector of the retinal ultraviolet image are fused to obtain a sequence of interactively fused local area contextual semantic association feature vectors.
2. The method for photographing retinal images using a non-visible light flash according to claim 1, It is characterized in that Feature extraction and analysis are performed on the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks respectively to obtain a sequence of retinal infrared image local area context semantic association feature vectors and a sequence of retinal ultraviolet image local area context semantic association feature vectors, including: passing the sequence of retinal infrared image blocks and the sequence of retinal ultraviolet image blocks through an image feature extractor based on the ViT model respectively to obtain a sequence of retinal infrared image local area context semantic association feature vectors and a sequence of retinal ultraviolet image local area context semantic association feature vectors.
3. The method for photographing retinal images using a non-visible light flash according to claim 2, It is characterized in that The method comprises: performing source domain image optimization based on the interactive fusion of retinal local area context semantic association features to generate a retinal image, comprising: arranging the sequence of the optimized interactive fusion retinal local area context semantic association feature vectors into a feature matrix and then obtaining the retinal image through an image optimization generator based on a generative adversarial network.
