Retina image scoring method and device, equipment and storage medium

By dividing the retinal image into image blocks and applying a deep learning model for classification and screening, the problem of low retinal image scoring accuracy in the existing technology is solved and higher scoring accuracy is achieved.

CN118552489AActive Publication Date: 2024-08-27HARBIN INSTITUTE OF TECHNOLOGY (SHENZHEN) (INSTITUTE OF SCIENCE AND TECHNOLOGY INNOVATION HARBIN INSTITUTE OF TECHNOLOGY SHENZHEN)
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410608702.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-27
Estimated Expiration
2044-05-16

AI Technical Summary

Technical Problem

The existing technology only bases on the presence or absence of lesions when scoring retinal images, resulting in reduced accuracy of scoring results.

Method used

Divide the retinal image into several image blocks, apply the trained deep learning model for classification, filter out the target image blocks, and calculate the scoring results of the retinal image based on the target image blocks.

Benefits of technology

The accuracy of retinal image scoring is improved, allowing for a more precise assessment of the extent of lesions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552489A
    Figure CN118552489A
Patent Text Reader

Abstract

The invention relates to the technical field of image processing, in particular to a retina image scoring method and device, equipment and a storage medium. The method comprises the following steps: dividing a retina image into a plurality of image blocks, applying a trained deep learning model to each image block to obtain a classification result of each image block, screening out a target image block from the plurality of image blocks according to the classification result, and obtaining a scoring result of the retina image according to the target image block. According to the analysis, the evaluation result comprises the classification result of each target image block and each target image block, so that the accuracy of the scoring result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a retinal image scoring method, device, equipment and storage medium. Background Art

[0002] A retinal image of a human body is collected and scored. Different scores reflect different degrees of retinal lesions corresponding to the retinal images. The existing technology only scores retinal images based on the presence or absence of lesions, thereby reducing the accuracy of the scoring results.

[0003] In summary, the existing technology reduces the accuracy of the scoring results.

[0004] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a retinal image scoring method, device, equipment and storage medium, which solves the problem that the prior art reduces the accuracy of scoring results.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] In a first aspect, the present invention provides a retinal image scoring method, comprising:

[0008] Acquire a retinal image, divide the retinal image into a plurality of image blocks, and apply a trained deep learning model to each of the image blocks to obtain a classification result for each of the image blocks;

[0009] According to the classification result, selecting a target image block from the plurality of image blocks;

[0010] A scoring result of the retinal image is obtained according to the target image block.

[0011] In one implementation, dividing the retinal image into a plurality of image blocks, and applying a trained deep learning model to each of the image blocks to obtain a classification result of each of the image blocks includes:

[0012] Setting a maximum inscribed square on the retinal image;

[0013] The maximum inscribed square is equally divided into a number of image blocks.

[0014] Applying each trained deep learning model to each of the image blocks to obtain output results of each of the trained deep learning models, each of the trained deep learning models corresponding to a lesion type;

[0015] According to each of the output results, a classification result of each of the image blocks is obtained.

[0016] In one implementation, the step of selecting a target image block from a plurality of image blocks according to the classification result includes:

[0017] Filtering out lesion classification results from the classification results;

[0018] The image block corresponding to the lesion classification result is used as the target image block.

[0019] In one implementation, obtaining a scoring result of the retinal image based on the target image block includes:

[0020] Determining a principal score corresponding to the lesion classification result of the target image block;

[0021] Counting the total number of pixels in the target image block;

[0022] Determining a weight coefficient of the total number of pixels according to the lesion classification result;

[0023] Obtaining a sub-score according to the total number of pixels and the weight coefficient;

[0024] A scoring result of the retinal image is obtained based on the main score and the sub-scores.

[0025] In one implementation, obtaining a sub-score according to the total number of pixels and the weight coefficient includes:

[0026] Determine the maximum number of pixels and the minimum number of pixels corresponding to the lesion classification result;

[0027] Normalizing the total number of pixels according to the maximum number of pixels and the minimum number of pixels to obtain a normalized total number of pixels;

[0028] The normalized total number of pixels is multiplied by the weight coefficient to obtain a sub-score.

[0029] In one implementation, the trained deep learning model is a deep learning model after training, and the deep learning model includes two parallel deep learning sub-models, each of which includes an input layer, a convolutional layer, a fully connected layer and an output layer connected in sequence.

[0030] In one implementation, the training method of the trained deep learning model includes:

[0031] Acquire a plurality of retinal sample images marked with classification information, and divide each of the retinal sample images into a plurality of sub-image sample blocks;

[0032] Filtering out a target sample image block matching the classification information from a plurality of the sub-image sample blocks;

[0033] Acquire a plurality of retinal reference images, and divide each of the retinal reference images into a plurality of sub-image reference blocks;

[0034] Inputting the target sample image block of each of the retinal sample images into one of the deep learning sub-models to obtain a sub-training result output by one of the deep learning sub-models;

[0035] Inputting the sub-image benchmark block of each of the retinal benchmark images into another of the deep learning sub-models to obtain a sub-benchmark result output by another of the deep learning sub-models;

[0036] Obtaining an objective function according to the sub-training result corresponding to each of the target sample image blocks and the sub-benchmark result corresponding to each of the sub-image benchmark blocks;

[0037] According to the objective function, two of the deep learning sub-models are trained, and one of the trained deep learning sub-models is used as a trained deep learning model.

[0038] In a second aspect, an embodiment of the present invention further provides a retinal image scoring device, wherein the device comprises the following components:

[0039] A classification module, configured to obtain a retinal image and apply a trained deep learning model to the retinal image to obtain a primary classification result of the retinal image;

[0040] An image division module, used for dividing the retinal image into a plurality of image blocks, and screening out a target image block matching the main classification result from the plurality of image blocks;

[0041] A scoring module is used to obtain a scoring result of the retinal image based on the main classification result and the target image block.

[0042] In a third aspect, an embodiment of the present invention further provides a terminal device, wherein the terminal device includes a memory, a processor, and a retinal image scoring program stored in the memory and executable on the processor, and when the processor executes the retinal image scoring program, the steps of the above-mentioned retinal image scoring method are implemented.

[0043] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a retinal image scoring program is stored, and when the retinal image scoring program is executed by a processor, the steps of the retinal image scoring method described above are implemented.

[0044] Beneficial effects: The present invention first divides the retinal image into several image blocks, applies the trained deep learning model to each image block to obtain the classification result of each image block, and then selects the target image block from the several image blocks according to the classification result, and obtains the scoring result of the retinal image according to the target image block. From the above analysis, it can be seen that the evaluation result of the present invention includes the classification result of each target image block and each target image block, thereby improving the accuracy of the scoring result. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is the overall flow chart of the present invention;

[0046] Figure 2 A structural diagram of a retinal image scoring device provided by the present invention;

[0047] Figure 3 This is a block diagram of the internal structure principle of the terminal device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following is a clear and complete description of the technical solution of the present invention in combination with the embodiments and the accompanying drawings. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] Research has found that when collecting retinal images of the human body and scoring the retinal images, different scores reflect different degrees of retinal lesions corresponding to the retinal images. The existing technology only scores retinal images based on the presence or absence of lesions, thereby reducing the accuracy of the scoring results.

[0050] In order to solve the above technical problems, the present invention provides a retinal image scoring method, device, equipment and storage medium, which solves the problem that the prior art reduces the accuracy of the scoring results. In specific implementation, the retinal image is first divided into several image blocks, and the trained deep learning model is applied to each image block to obtain the classification result of each image block; then, based on the classification result, the target image block is screened out from the several image blocks; finally, based on the target image block, the scoring result of the retinal image is obtained.

[0051] The retinal image scoring method of this embodiment can be applied to a terminal device, which can be a terminal product with image processing function, such as a computer. Figure 1 As shown in , the retinal image scoring method specifically includes the following steps:

[0052] S100, acquiring a retinal image, and dividing the retinal image into a plurality of image blocks, applying a trained deep learning model to each of the image blocks to obtain a classification result for each of the image blocks.

[0053] S200: Filter out a target image block from a plurality of image blocks according to the classification result.

[0054] S300, obtaining a scoring result of the retinal image according to the target image block.

[0055] In one embodiment, the deep learning model of step S100 is composed of two parallel deep learning sub-models A and B. There is no information interaction between the two deep learning sub-models. Each deep learning sub-model includes an input layer, a convolutional layer, a fully connected layer and an output layer connected in sequence, wherein the input layer contains 36 neurons, the convolutional layer is 3 convolutional layers connected in series, and the fully connected layer is 3 fully connected layers connected in series. The activation function values ​​of each neuron in the deep learning sub-model are 0, 0.5, and 1, respectively.

[0056] There are eight types of retinal lesions, namely, punctate hemorrhage, microaneurysm, yellow-white hard exudate, white cotton-like soft exudate combined with hemorrhage, retinal neovascular membrane, retinal neovascular membrane combined with retinal vitreous hemorrhage, neovascularization combined with retinal fibrosis, neovascularization combined with retinal hyperplasia, and retinal detachment caused by hyperplastic retinal traction. For each type of lesion, a deep learning model is trained, that is, eight deep learning models are trained. Training each deep learning model includes the following specific steps S01 to S07:

[0057] S01, obtaining a plurality of retinal sample images marked with classification information, and dividing each of the retinal sample images into a plurality of sub-image sample blocks.

[0058] If the original retinal image comes from a human body with retinal punctate hemorrhage, then the classification information of the original retinal image is punctate hemorrhage. All the original retinal images are aligned, and after alignment, all the original retinal images are normalized in size in the form of equal-sized largest inscribed squares. That is, all the original retinal images with the same classification information are aligned in position, and then all the original retinal images are intercepted in the form of inscribed squares of the same size, and the image covered by the largest inscribed square is used as the retinal sample image.

[0059] Each of the above retinal sample images is divided into a number of sub-image sample blocks, and the size of each sub-image sample block is a non-overlapping image block of equal size of 6 pixels x 6 pixels.

[0060] S02: Filter out a target sample image block matching the classification information from a plurality of the sub-image sample blocks.

[0061] For example, if the retinal sample image is divided into eight sub-image sample blocks, two of which have no lesions, then the remaining six sub-image sample blocks are the target sample image blocks. Using only images with lesions to train the deep learning model has the following benefits:

[0062] For image blocks without lesion areas, there is no need to calculate their network output results, nor is there any need to calculate the difference between them and the image blocks corresponding to the comparison data subset. Therefore, not using image blocks without lesion areas can save training time without affecting the final training accuracy.

[0063] S03, acquiring a plurality of retinal reference images, and dividing each of the retinal reference images into a plurality of sub-image reference blocks.

[0064] The retinal reference image is a normal image, that is, an image without any pathological changes. The number of sub-image reference blocks is equal to the number of target sample image blocks.

[0065] S04, inputting the target sample image block of each of the retinal sample images into one of the deep learning sub-models to obtain a sub-training result output by one of the deep learning sub-models.

[0066] S05, inputting the sub-image benchmark block of each of the retinal benchmark images into another of the deep learning sub-models to obtain a sub-benchmark result output by another of the deep learning sub-models.

[0067] The deep learning model of this embodiment is composed of two deep learning sub-models A and B. The two deep learning sub-models are executed in parallel, that is, there is no interaction between the two deep learning sub-models.

[0068] S06, obtaining an objective function f according to the sub-training result corresponding to each of the target sample image blocks and the sub-benchmark result corresponding to each of the sub-image benchmark blocks.

[0069]

[0070] Where a is the total number of retinal sample images contained in each type of classification information, that is, the total number of retinal sample images contained in each typical feature of the lesion, b is the total number of retinal reference images, and J is the number of sub-image reference blocks or the number of target sample image blocks. ij is the sub-training result corresponding to the jth target sample image block of the i-th retinal sample image, q mj is the sub-benchmark result corresponding to the j-th sub-image benchmark block of the m-th retinal benchmark image, p i+k,j is the sub-training result corresponding to the jth target sample image block of the i+kth retinal sample image, q m+n,j is the sub-benchmark result corresponding to the j-th sub-image benchmark block of the m+n-th retinal benchmark image, || || 2 represents the two-norm.

[0071] The first item in f represents the difference between the network output results corresponding to the data subset with typical characteristics of the lesion and the network output results corresponding to the comparison data subset. The second item represents the difference between the network output results corresponding to the data subset with typical characteristics of the lesion. The third item represents the difference between the network output results corresponding to the comparison data subset.

[0072] S07: Train the two deep learning sub-models according to the objective function, and use one of the trained deep learning sub-models as a trained deep learning model.

[0073] Train two deep learning sub-models at the same time. After training, only one of the deep learning sub-models is used as the trained deep learning model. That is, when it is used later, only the image blocks to be classified are input into one of the trained deep learning sub-models to obtain an output result. The reference image blocks marked as free of lesions are input into the other trained deep learning sub-model to obtain another output result. The difference between the two output results is used to determine whether there is a lesion and the type of lesion.

[0074] The initial step of network training sets the network weight coefficients to random numbers between -1 and 1. The network training process aims to maximize the value of the objective function f, that is, to adjust the network weight coefficients to maximize the value of the objective function f.

[0075] The meaning of the objective function f is as follows:

[0076] The difference between the network output results of any retinal image in the lesion typical feature data subset and each retinal image in the contrast data subset, and the maximization of the sum of these difference values ​​and the minimization of the variance of the output values ​​of the two neurons in the output layer of the contrast detection model are used as the training objective function.

[0077] By using the images corresponding to different classification information and adopting the above method to train the deep learning model, there can be a corresponding trained deep learning model for each classification information, that is, there is a trained deep learning model for each typical feature of the lesion, and there are eight trained deep learning models for eight typical features of the lesions.

[0078] In one embodiment, step S100 includes the following specific steps S101 to S104:

[0079] S101, setting a maximum inscribed square on the retinal image.

[0080] S102, dividing the maximum inscribed square into a number of equal image blocks.

[0081] The size of each image patch is 6 pixels x 6 pixels, and there is no overlap between image patches.

[0082] S103, applying each trained deep learning model to each of the image blocks to obtain output results of each of the trained deep learning models, each of the trained deep learning models corresponding to a lesion type.

[0083] S104: Obtain a classification result for each of the image blocks according to each of the output results.

[0084] In this embodiment, there are eight trained deep learning models, which are used to identify eight types of lesions. Each image block is input into the eight trained deep learning models, and each of the eight trained deep learning models outputs a result, that is, each image block has eight output results. The output result of each trained deep learning model is subtracted from the benchmark result corresponding to each trained deep learning model. If the difference is greater than the threshold corresponding to the trained deep learning model, then the classification result of the image block is the lesion type corresponding to the trained deep learning model.

[0085] Use P i′j′ It means that the i′th image block is input into the j′th trained deep learning model. The output result of the trained deep learning model is that if the lesion type corresponding to the j′th trained deep learning model is punctate hemorrhage, the threshold value corresponding to the j′th trained deep learning model is Y j′ , the image benchmark block without lesions is input into the trained deep learning model j′, and the output of the trained deep learning model j′ is the benchmark result X j′ If P i′j′ With the benchmark results X j′ The difference between them is greater than Y j′ , then the classification result of the i′th image block is spot bleeding.

[0086] In this embodiment, if the difference between the output result of no trained deep learning model and its benchmark result is greater than a threshold, then the classification result of the image block is a non-lesion result.

[0087] In one embodiment, the specific process of step S200 is as follows: filtering out a lesion classification result from the classification results; and taking the image block corresponding to the lesion classification result as a target image block.

[0088] That is, a retinal image is divided into several image blocks, some of which have lesion areas, while others do not. The image blocks with lesion areas are used as target image blocks. This is because the evaluation of the final degree of lesion without lesion areas is meaningless, and removing these image blocks can also reduce the amount of calculation.

[0089] In one embodiment, step S300 includes the following specific steps S301 to S307:

[0090] S301, determining the principal score S corresponding to the lesion classification result of the target image block i″ .

[0091] S i″ =NUM i″ *s i″

[0092] NUM i″ is the total number of target image blocks belonging to the i″th lesion classification result, s i″ is the score corresponding to the i″th lesion classification result.

[0093] The relationship between the lesion classification result and the main score is shown in Table 1. That is, when the lesion classification result is punctate hemorrhage, the score of the lesion classification result is 5; when the lesion classification result is microaneurysm, the score of the lesion classification result is 7, and so on.

[0094] S302, counting the total number of pixels h of the target image block belonging to the same lesion classification result i″ .

[0095] h i″ =NUM i″ ·36

[0096] h i″ is the total number of pixels belonging to the i″th lesion classification result. For example, the number of target image blocks belonging to the lesion classification result of punctate hemorrhage is three. Since the number of pixels in each target image block in this embodiment is 36, the total number of pixels corresponding to the lesion classification result of punctate hemorrhage is 108.

[0097] S303, determining the total number of pixels h according to the lesion classification result i″ The weight coefficient w i″ .

[0098] As shown in Table 1, when the target image block corresponding to the total number of pixels belongs to the lesion classification result of punctate hemorrhage, the weight coefficient of the total number of pixels is 1.

[0099] Table 1

[0100]

[0101] S304: Determine the maximum number of pixels and the minimum number of pixels corresponding to the lesion classification result.

[0102] For an entire image, the maximum number of pixels x and the minimum number of pixels y corresponding to each lesion classification result are fixed, that is, x and y are obtained based on statistics.

[0103] S305: According to the maximum number of pixels and the minimum number of pixels, the total number of pixels h i″ Perform normalization to obtain the total number of pixels z after normalization i″ .

[0104]

[0105] z i″ The value of is between 0 and 1, and the statistics of x and y need to be performed on a batch of retinal images containing typical features of the lesions (that is, the lesion classification results).

[0106] S306, the total number of pixels z after normalization i″ Multiply by the weight coefficient w i″ , and get the sub-score.

[0107] S307: Obtain a scoring result R of the retinal image according to the main score and the sub-scores.

[0108]

[0109] In summary, the scoring method of the present invention is suitable for the identification of diabetic retinopathy. The present invention can finely evaluate the degree of the disease. For example, different patients with the same type of diabetic retinopathy have different degrees of disease. For example, the number of the same type of lesion areas such as bleeding spots means a certain degree of difference in their condition. The method of the present invention can identify the above differences to better evaluate the degree of disease.

[0110] This embodiment also provides a retinal image scoring device, such as Figure 2 As shown, the device comprises the following components:

[0111] The classification module 01 is used to obtain a retinal image, divide the retinal image into a plurality of image blocks, and apply a trained deep learning model to each of the image blocks to obtain a classification result of each of the image blocks;

[0112] An image screening module 02, configured to screen out a target image block from a plurality of image blocks according to the classification result;

[0113] The scoring module 03 is used to obtain a scoring result of the retinal image according to the target image block.

[0114] Based on the above embodiments, the present invention further provides a terminal device, whose principle block diagram can be shown as follows: Figure 3 As shown. The terminal device includes a processor, a memory, a network interface, and a display screen connected via a system bus. Among them, the processor of the terminal device is used to provide computing and control capabilities. The memory of the terminal device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the terminal device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a retinal image scoring method is implemented. The display screen of the terminal device can be a liquid crystal display screen or an electronic ink display screen.

[0115] Those skilled in the art will understand that Figure 3 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal device to which the scheme of the present invention is applied. The specific terminal device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0116] In one embodiment, a terminal device is provided. The terminal device includes a memory, a processor, and a retinal image scoring program stored in the memory and executable on the processor. When the processor executes the retinal image scoring program, the following operation instructions are implemented:

[0117] Acquire a retinal image, divide the retinal image into a plurality of image blocks, and apply a trained deep learning model to each of the image blocks to obtain a classification result for each of the image blocks;

[0118] According to the classification result, selecting a target image block from the plurality of image blocks;

[0119] A scoring result of the retinal image is obtained according to the target image block.

[0120] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A retinal image scoring method, characterized in that: include: Acquire a retinal image, divide the retinal image into a plurality of image blocks, and apply a trained deep learning model to each of the image blocks to obtain a classification result for each of the image blocks; According to the classification result, selecting a target image block from the plurality of image blocks; A scoring result of the retinal image is obtained according to the target image block.

2. The retinal image scoring method according to claim 1, characterized in that: The step of dividing the retinal image into a plurality of image blocks and applying a trained deep learning model to each of the image blocks to obtain a classification result for each of the image blocks includes: Setting a maximum inscribed square on the retinal image; The maximum inscribed square is equally divided into a number of image blocks. Applying each trained deep learning model to each of the image blocks to obtain output results of each of the trained deep learning models, each of the trained deep learning models corresponding to a lesion type; According to each of the output results, a classification result of each of the image blocks is obtained.

3. The retinal image scoring method according to claim 1, characterized in that: The step of selecting a target image block from a plurality of image blocks according to the classification result includes: Filtering out lesion classification results from the classification results; The image block corresponding to the lesion classification result is used as the target image block.

4. The retinal image scoring method according to claim 3, characterized in that: The step of obtaining a scoring result of the retinal image based on the target image block includes: Determining a principal score corresponding to the lesion classification result of the target image block; Counting the total number of pixels of the target image block belonging to the same lesion classification result; Determining a weight coefficient of the total number of pixels according to the lesion classification result; Obtaining a sub-score according to the total number of pixels and the weight coefficient; A scoring result of the retinal image is obtained based on the main score and the sub-scores.

5. The retinal image scoring method according to claim 4, characterized in that: The obtaining of sub-scores according to the total number of pixels and the weight coefficients includes: Determine the maximum number of pixels and the minimum number of pixels corresponding to the lesion classification result; Normalizing the total number of pixels according to the maximum number of pixels and the minimum number of pixels to obtain a normalized total number of pixels; The normalized total number of pixels is multiplied by the weight coefficient to obtain a sub-score.

6. The retinal image scoring method according to claim 1, characterized in that: The trained deep learning model is a deep learning model after training, and the deep learning model includes two parallel deep learning sub-models, each of which includes an input layer, a convolutional layer, a fully connected layer and an output layer connected in sequence.

7. The retinal image scoring method according to claim 6, characterized in that: The training method of the trained deep learning model includes: Acquire a plurality of retinal sample images marked with classification information, and divide each of the retinal sample images into a plurality of image sample blocks; Filtering out a target sample image block matching the classification information from a plurality of the image sample blocks; Acquire a plurality of retinal reference images, and divide each of the retinal reference images into a plurality of image reference blocks; Inputting the target sample image block of each of the retinal sample images into one of the deep learning sub-models to obtain a sub-training result output by one of the deep learning sub-models; Inputting the image reference block of each of the retinal reference images into another of the deep learning sub-models to obtain a sub-reference result output by another of the deep learning sub-models; Obtaining an objective function according to the sub-training result corresponding to each of the target sample image blocks and the sub-benchmark result corresponding to each of the sub-image benchmark blocks; According to the objective function, two of the deep learning sub-models are trained, and one of the trained deep learning sub-models is used as a trained deep learning model.

8. A retinal image scoring device, characterized in that: The device comprises the following components: A classification module, used to obtain a retinal image, divide the retinal image into a plurality of image blocks, and apply a trained deep learning model to each of the image blocks to obtain a classification result for each of the image blocks; An image screening module, used for screening out a target image block from a plurality of image blocks according to the classification result; A scoring module is used to obtain a scoring result of the retinal image according to the target image block.

9. A terminal device, characterized in that: The terminal device includes a memory, a processor, and a retinal image scoring program stored in the memory and executable on the processor. When the processor executes the retinal image scoring program, the steps of the retinal image scoring method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a retinal image scoring program, and when the retinal image scoring program is executed by the processor, the steps of the retinal image scoring method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Training method, image retrieval method, image processing method, device and equipment

    CN114782771A

  • Image detection method and device and computer equipment

    CN114820483A

  • Image recognition method, device and equipment and computer storage medium

    CN115153427A

  • Pathological picture interpretation method and device, equipment and storage medium

    CN117315649A

  • Personalized difference analysis method for retinopathy

    CN117877692A