Meibomian gland characteristic index acquisition method based on interpretability technology
Through the meibomian gland detection method based on interpretable technology, combined with the deep learning model, the characteristic indicators of the meibomian glands are obtained, which solves the problems of complexity of meibomian gland detection and low diagnostic accuracy in the existing technology, and achieves higher diagnostic accuracy and efficiency.
Patent Information
- Application Number
- CN202410703810.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-10-01
AI Technical Summary
Meibomian gland detection in the existing technology is relatively complex and cannot effectively obtain characteristic indicators, resulting in low diagnostic accuracy.
Using a method based on interpretability technology, the meibomian gland image is obtained, classified and segmented, and a classification heat map and a model heat map are generated. Combined with the deep learning model, the characteristic indicators of the meibomian glands are obtained to improve the comprehensiveness and accuracy of diagnosis. .
Effectively obtain the characteristic indicators of the meibomian glands, improve the accuracy of determining abnormality of the meibomian glands, reduce the reliance on doctor identification, and improve diagnostic efficiency.
Smart Images

Figure CN118735856A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of meibomian gland detection, and in particular to a method for acquiring meibomian gland characteristic indicators based on explainability technology. Background Art
[0002] At present, the detection of meibomian gland abnormalities is relatively complicated, and the level of meibomian gland abnormalities needs to be classified according to multiple aspects such as the degree of meibomian gland atrophy and blockage. In addition, the instrument detection in the existing technology is relatively rough, and no effective characteristic indicators can be obtained during the meibomian gland detection process to determine the actual situation of the meibomian gland. After the instrument detection is completed, doctors are still required to identify it, resulting in a low accuracy rate of meibomian gland diagnosis. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a method for obtaining characteristic indicators of meibomian glands based on interpretability technology, which can effectively obtain characteristic indicators of meibomian glands and improve the accuracy of meibomian gland diagnosis.
[0004] In a first aspect, an embodiment of the present invention provides a method for obtaining characteristic indicators of meibomian glands based on explainability technology, comprising:
[0005] Acquire a first tarsal plate image of a sample to be detected, classify the first tarsal plate image, and obtain abnormality level information of the sample to be detected;
[0006] generating a first classification heat map of the first tarsal plate image according to the abnormality level information, and performing a first segmentation on the first tarsal plate image according to the abnormality level information and the first classification heat map to obtain a second tarsal plate image;
[0007] Acquire meibomian gland information of the second meibomian image, and perform a second segmentation on the second meibomian image according to the meibomian gland information to obtain a second model heat map;
[0008] Performing meibomian gland segmentation on the second model heat map to obtain a meibomian gland marked image;
[0009] The meibomian gland marking image is superimposed on the second meibomian image to obtain a meibomian gland segmentation image, and characteristic indicators are obtained according to the meibomian gland segmentation image.
[0010] In some embodiments of the present invention, after generating the first classification heat map of the first tarsal plate image according to the abnormality level information, the method further includes:
[0011] Determining a first region and a second region of the first classification model heat map;
[0012] Acquire a plurality of first pixel points in the first area and a second pixel point in the second area;
[0013] When the first tarsal plate image is subjected to the first segmentation, the first pixel points of the first area are retained, and the second pixel points of the second area are segmented from the classification model heat map.
[0014] In some embodiments of the present invention, after segmenting the second pixel point of the second area from the classification model heat map, the method further includes:
[0015] Acquire a plurality of tarsal plate edge pixel points of the first tarsal plate image;
[0016] Delineating a plurality of tarsal edge pixel points to determine the position of the meibomian glands in the first tarsal image;
[0017] When the plurality of tarsal edge pixel points are delineated, a third region of the first tarsal image is obtained, and a second model heat map is generated according to the third region.
[0018] In some embodiments of the present invention, performing a second segmentation on the second meibomian image according to the meibomian gland information includes:
[0019] Acquire a first segmentation result of the first segmentation heat map, and obtain second image information having the same tarsal plate area as the sample to be detected according to the first segmentation result;
[0020] A second model heat map of the second image information is obtained, and the second model heat map is secondly segmented from the second image information according to the meibomian gland information.
[0021] In some embodiments of the present invention, the step of obtaining a feature index based on the meibomian gland segmentation image includes:
[0022] Acquiring area information and meibomian gland quantity information of the meibomian gland segmentation image, and calculating the area and meibomian gland quantity of the segmented image according to the area information and the meibomian gland quantity information;
[0023] Acquire characteristic information of the meibomian gland segmentation image, and determine the abnormality level of the meibomian gland segmentation image according to the characteristic information and the abnormality level information.
[0024] In some embodiments of the present invention, superimposing the meibomian gland mark image with the second meibomian image comprises:
[0025] Obtaining a plurality of meibomian gland pixels and segmentation labels of the second model heat map;
[0026] Delineating the plurality of meibomian gland pixels according to the segmentation labels to obtain a meibomian gland region of the second model heat map;
[0027] The meibomian gland region is superimposed on the second meibomian image to generate a meibomian gland segmentation image.
[0028] In some embodiments of the present invention, after acquiring the feature index according to the meibomian gland segmentation image, the method further includes:
[0029] Calculating indicator information of the characteristic indicator;
[0030] Feature recognition is performed on the first tarsal plate image according to the indicator information.
[0031] In a second aspect, an embodiment of the present invention provides a device for acquiring characteristic indicators of meibomian glands, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the method for acquiring characteristic indicators of meibomian glands based on explainability technology as described in the first aspect above.
[0032] In a third aspect, an embodiment of the present invention provides an electronic device, comprising the device for acquiring characteristic indexes of meibomian glands as described in the second aspect above.
[0033] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method for obtaining meibomian gland characteristic indicators based on explainability technology as described in the first aspect above.
[0034] The method for obtaining the characteristic index of meibomian glands based on the explainability technology according to the embodiment of the present invention has at least the following beneficial effects:
[0035] Acquire the first tarsal plate image of the sample to be detected, classify the first tarsal plate image, and obtain the abnormal level information of the sample to be detected; generate a first classification heat map of the first tarsal plate image according to the abnormal level information, perform a first segmentation on the first tarsal plate image according to the abnormal level information and the first classification heat map, and obtain a second tarsal plate image; acquire the meibomian gland information of the second tarsal plate image, perform a second segmentation on the second tarsal plate image according to the meibomian gland information, and obtain a second model heat map; perform meibomian gland segmentation on the second model heat map according to the meibomian gland information, and obtain a meibomian gland marking image; superimpose the meibomian gland marking image with the second tarsal plate image, obtain a meibomian gland segmentation image, and obtain gland indicators according to the meibomian gland segmentation image. According to the technical solution of this embodiment, by combining the deep learning model and the explanatory technology, it is possible to effectively obtain the characteristic indicators of the sample to be detected, and improve the comprehensiveness and accuracy of the determination of meibomian gland abnormalities. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1It is a flow chart of a method for obtaining characteristic indicators of meibomian glands based on explainability technology provided by an embodiment of the present invention;
[0037] Figure 2 is a flow chart after the present invention generates a first classification heat map of a first tarsal plate image according to abnormal level information;
[0038] Figure 3 is a flow chart after the present invention segments the second pixel point of the second area from the classification model heat map;
[0039] Figure 4 is a flow chart of performing a second segmentation of the second tarsal plate image according to the meibomian gland information of the present invention;
[0040] Figure 5 is a flow chart of obtaining characteristic indicators based on the meibomian gland segmentation image of the present invention;
[0041] Figure 6 is a flow chart of the present invention for superimposing a meibomian gland marking image with a second meibomian image;
[0042] Figure 7 This is a flow chart of the present invention after obtaining the diagnosis index of meibomian glands based on the meibomian gland segmentation image;
[0043] Figure 8 is a structural diagram of a device for acquiring characteristic indices of meibomian glands provided by another embodiment of the present invention;
[0044] Fig. 9 This is a structural block diagram of the method for obtaining meibomian gland characteristic indicators based on explainable technology of the present invention. DETAILED DESCRIPTION
[0045] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0046] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0047] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0048] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0049] The embodiment of the present invention provides a method for obtaining characteristic indicators of meibomian glands based on interpretable technology, including obtaining a first tarsal plate image of a sample to be detected, classifying the first tarsal plate image to obtain abnormal level information of the sample to be detected; generating a first classification heat map of the first tarsal plate image according to the abnormal level information, performing a first segmentation on the first tarsal plate image according to the abnormal level information and the first classification heat map to obtain a second tarsal plate image; obtaining meibomian gland information of the second tarsal plate image, performing a second segmentation on the second tarsal plate image according to the meibomian gland information to obtain a second model heat map; performing meibomian gland segmentation on the second model heat map according to the meibomian gland information to obtain a meibomian gland marking image; superimposing the meibomian gland marking image with the second tarsal plate image to obtain a meibomian gland segmentation image, and obtaining characteristic indicators according to the meibomian gland segmentation image. According to the technical solution of this embodiment, by combining a deep learning model with interpretable technology, the characteristic indicators of the meibomian glands of the sample to be detected can be effectively obtained, and the comprehensiveness and accuracy of the determination of meibomian gland abnormalities can be improved.
[0050] The control method of the embodiment of the present invention is further described below based on the accompanying drawings.
[0051] Reference Figure 1 and Fig. 9 , Figure 1 A flowchart of a method for obtaining a characteristic index of a meibomian gland based on an explainable technology provided by an embodiment of the present invention, the method for obtaining a characteristic index of a meibomian gland based on an explainable technology includes but is not limited to the following steps:
[0052] Step S11, obtaining a first tarsal plate image of the sample to be detected, classifying the first tarsal plate image, and obtaining abnormality level information of the sample to be detected;
[0053] It should be noted that by acquiring the image of the sample to be detected and classifying the first tarsal plate image, the abnormal level information of the meibomian glands of the sample to be detected is divided into four categories of 0, 1, 2 and 3 from low to high.
[0054] In this embodiment, the ResNet34 neural network model is used to classify the first tarsal plate image. The ResNet neural network model can automatically classify the first tarsal plate image, thereby realizing automatic and accurate identification of abnormal grade information of the meibomian glands.
[0055] Step S12, generating a first classification heat map of the first tarsal plate image according to the abnormality level information, and performing a first segmentation on the first tarsal plate image according to the abnormality level information and the first classification heat map to obtain a second tarsal plate image;
[0056] It should be noted that the first classification heat map of the first tarsal plate image is generated by the gradient weighted class technology, and the feature map of the first tarsal plate image is extracted by using the RseNet neural network model to reflect the different levels of information of the first tarsal plate image, and the feature map is input into the gradient weighted technology, and the first classification heat map is generated by the ResNet neural network model, and the basis for classification is displayed. The first tarsal plate image is first segmented according to the generated first classification heat map and abnormal level information, and the eyelid image of the sample to be tested is first segmented with the first tarsal plate image, thereby obtaining the second tarsal plate image. Among them, in the second tarsal plate image, the pixels in the first classification heat map are used to distinguish the meibomian glands according to the abnormal level information.
[0057] Specifically, the first classification heat map is a two-dimensional heat map, and the pixels in the first classification heat map correspond to the four categories in the abnormal level information. In this embodiment, the Grad-CAM heat map generated by ResNet34 is used as a guide, and the first segmentation of the first tarsal image is performed in combination with the Unet network.
[0058] Step S13, obtaining meibomian gland information of the second tarsal plate image, performing a second segmentation on the second tarsal plate image according to the meibomian gland information, and obtaining a second model heat map;
[0059] It should be noted that the second meibomian image is segmented for the second time according to the meibomian gland information to obtain the meibomian gland information. Specifically, the meibomian gland information includes the position and shape information of the meibomian glands, and a second model heat map of the same size as the second meibomian image is generated.
[0060] Step S14, performing meibomian gland segmentation on the second model heat map to obtain a meibomian gland marked image;
[0061] It should be noted that the meibomian gland structure in the eyelid area is accurately located by performing meibomian gland segmentation on the second model heat map. The Gard-CAM heat map segmented by Unet (i.e., the second model heat map) is used as a guide and combined with the DeepLabV3 model to perform more refined meibomian gland segmentation, and finally obtain the meibomian gland labeled image.
[0062] Step S15, superimposing the meibomian gland marking image and the second meibomian gland image to obtain a meibomian gland segmentation image, and obtaining feature indicators according to the meibomian gland segmentation image.
[0063] It should be noted that by superimposing the meibomian gland marking image with the second meibomian gland image, the position and contour of the meibomian gland can be accurately segmented from the sample to be tested, and the characteristic indicators of the meibomian gland can be extracted through the meibomian gland segmentation image, thereby displaying the morphology and distribution of the meibomian glands of the tested person.
[0064] Specifically, characteristic indicators include but are not limited to the area, length, width and density of the meibomian glands. The patient's eye health is evaluated by calculating the area, length, curvature, width and density of the meibomian glands, so that medical staff can conduct quantitative analysis, compare the morphology and distribution of meibomian glands in different patients, and observe the changes of meibomian glands in different disease states, thereby improving the accuracy of meibomian gland diagnosis.
[0065] It should be noted that by adopting deep learning models and explainability technology, the first tarsal image of the sample to be tested is graded according to the abnormal level information, and the first classification heat map of the first tarsal image is obtained. By performing multiple segmentation on the first classification heat map, the meibomian gland structure in the eyelid area is finally determined, and the meibomian gland marking image is obtained. The meibomian gland marking image is superimposed with the second tarsal image to obtain the meibomian gland segmentation image, and finally the characteristic indicators are obtained to assist medical staff in completing the diagnosis of the meibomian glands.
[0066] In addition, in one embodiment, referring to Figure 2 and Fig. 9 ,exist Figure 1 Step S12 of the illustrated embodiment also includes but is not limited to the following steps:
[0067] Step S21, determining a first region and a second region of a first classification model heat map;
[0068] Step S22, acquiring a plurality of first pixel points in the first area and a second pixel point in the second area;
[0069] Step S23, when the first tarsal plate image is first segmented, the first pixel point of the first area is retained, and the second pixel point of the second area is segmented from the classification model heat map.
[0070] It should be noted that, by using the first classification model heat map generated by the first classification model, the heat map distribution of different areas of the eyelid part is obtained, the part with higher heat is marked as the area where the meibomian glands are located (i.e., the first area), and the area with lower heat is the eyelid and / or eyeball area, and the first classification model heat map is divided into a first area and a second area; by obtaining the first pixel point and the second pixel point, the first tarsal image is segmented according to the first classification model heat map, the first pixel point of the first area is retained, and the second pixel point of the area is reduced for segmentation, thereby obtaining the second tarsal image carrying the meibomian gland information.
[0071] In addition, in one embodiment, referring to Figure 3 and Fig. 9 ,exist Figure 2 After step S23 in the illustrated embodiment, the following steps are also included but not limited to:
[0072] Step S31, obtaining a plurality of tarsal plate edge pixel points of the first tarsal plate image;
[0073] Step S32, outlining a plurality of tarsal edge pixel points to determine the position of the meibomian glands in the first tarsal image;
[0074] Step S33: After the multiple tarsal edge pixel points are delineated, a third area of the first tarsal image is obtained, and a second model heat map is generated according to the third area.
[0075] It should be noted that the multiple tarsal edge pixel points of the first tarsal image are outlined, and the Gard-CAM heat map segmented by Unet is used as a guide, and the DeepLabV3 model is combined to perform more refined meibomian gland segmentation. In this embodiment, multiple tarsal edge pixel points in the first tarsal image are determined using multiple thermal imaging points of the first classification heat map, and when the multiple tarsal edge pixel points are outlined, the third area of the first tarsal image is obtained, and the image of the third area is used as input to generate the second model heat map through the Grad-CAM technology. The second model heat map can accurately display the position and distribution density of the eyelids and meibomian glands in the first tarsal image, and the eyelid part in the first tarsal image is based on the first model heat map, and the tarsal edge pixel points are used as the cutting point to separate the eyelids from the first tarsal image and present it in the form of an image, extract the eyelid area separately, accurately separate the eyelids from the first tarsal image, and more intuitively display the position of the meibomian glands in the eyelids.
[0076] In addition, in one embodiment, referring to Figure 4 and Fig. 9 ,exist Figure 1 Step S13 of the illustrated embodiment also includes but is not limited to the following steps:
[0077] Step S41, obtaining a first segmentation result of the first segmentation heat map, and obtaining second image information having the same tarsal plate area as the sample to be detected according to the first segmentation result;
[0078] Step S42, obtaining a second model heat map of the second image information, and performing a second segmentation on the second model heat map from the second image information according to the meibomian gland information.
[0079] It should be noted that the meibomian area of the sample to be tested is first determined based on the first segmentation heat map generated by the first model. The second image information with the same area as the meibomian area is obtained by acquiring the meibomian gland information of the meibomian area. The second image information generates a second model heat map through the second model, and the second image information is segmented according to the meibomian gland information, so that the first model can accurately locate the position and range of the meibomian glands in the meibomian area. By using image processing and model analysis, the processing efficiency and accuracy of the sample to be tested are improved, and the need for manual intervention is reduced.
[0080] It should be noted that in this embodiment, the first model is the RES-Net model, the second model is the Grad-CAM model, the first segmentation of the meibomian glands is performed by the Unet network, and the second segmentation of the meibomian glands is performed by DeepLabV3. Among them, ResNet is a deep residual network model, Grad-CAM is a model for explaining deep neural network predictions, Unet network is a convolutional neural network architecture for segmentation, and DeepLabV3 is a deep convolutional neural network architecture for segmentation.
[0081] In addition, in one embodiment, referring to Figure 5 and Fig. 9 ,exist Figure 1 Step S15 of the illustrated embodiment also includes but is not limited to the following steps:
[0082] Step S51, obtaining the area information and the number information of the meibomian glands of the segmented image, and calculating the area and the number of the meibomian glands of the segmented image according to the area information and the number information of the meibomian glands;
[0083] Step S52, acquiring characteristic information of the meibomian gland segmentation image, and determining the abnormality level of the meibomian gland segmentation image according to the characteristic information and the abnormality level information.
[0084] It should be noted that for the meibomian gland segmentation image that has completed the meibomian gland segmentation, the area information is obtained by calculating the number of pixels of the meibomian gland segmentation image or the actual area based on the pixel size according to the area information and the number of meibomian glands. Furthermore, the area conversion is performed according to the proportional relationship between the pixel size and the actual size to count the number of pixels in the segmented area; by evaluating the abnormal level and morphological characteristics of the meibomian gland segmentation image, such as length and curvature, the signs of eye diseases are detected early, and the abnormal conditions of the meibomian glands are further analyzed. Such as dry eye, meibomianitis, etc., it is helpful for early treatment and prevention of further deterioration of the disease.
[0085] In addition, in one embodiment, referring to Figure 6 and Fig. 9 ,exist Figure 1 Step S15 of the illustrated embodiment also includes but is not limited to the following steps:
[0086] Step S61, obtaining a plurality of meibomian gland pixels and segmentation labels of the second model heat map;
[0087] Step S62, outlining a plurality of meibomian gland pixels according to the segmentation labels to obtain a meibomian gland region of a second model heat map;
[0088] Step S63: superimpose the meibomian gland area with the second meibomian image to generate a meibomian gland segmentation image.
[0089] It should be noted that by extracting multiple meibomian gland pixels and segmentation labels of the second model heat map, the meibomian glands are distinguished from the rest of the tarsal tissue structure. This embodiment uses DeepLabV3 to delineate the meibomian glands and the rest of the tarsal tissue structure using the heat map, thereby obtaining the meibomian gland area of the second model heat map, in which the edge area of the meibomian gland pixels is highlighted (or other obvious colors), and the rest of the area is a grayscale image. Finally, the meibomian gland area is superimposed with the second tarsal image to generate a meibomian gland segmentation image, and then the characteristic indicators used to determine the actual situation of the meibomian glands are obtained, further improving the accuracy of the diagnosis process.
[0090] Since the first tarsal plate image is segmented multiple times, the meibomian glands become too fine, and it is possible that the part that is originally the meibomian gland linea is not segmented out. Since the edge of the meibomian gland is relatively thin, multiple meibomian gland lines are outlined to ensure that all meibomian gland lines in the first tarsal plate image can be identified.
[0091] In addition, in one embodiment, referring to Figure 7 and Fig. 9 ,exist Figure 1 After step S15 in the illustrated embodiment, the following steps are also included but not limited to:
[0092] Step S71, calculating the index information of the characteristic index;
[0093] Step S72: performing feature recognition on the first tarsal plate image according to the index information.
[0094] It should be noted that the second tarsal plate image is judged by calculating the density, length, curvature and number of the meibomian glands. Analyzing the size, shape and other indicators of the meibomian glands helps medical staff assess the health of the meibomian glands. By obtaining the effective characteristic indicators of the meibomian glands, the samples to be tested do not need to be identified by doctors after the instrument has completed the test, thereby improving the accuracy of meibomian gland diagnosis.
[0095] like Figure 8 As shown, Figure 8 : is a structural diagram of a characteristic index acquisition device for meibomian glands provided by an embodiment of the present invention. The present invention also provides a characteristic index acquisition device for meibomian glands, comprising:
[0096] The processor 801 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0097] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 802, and the processor 801 calls and executes the method for obtaining the characteristic index of the meibomian gland based on the explainability technology in the embodiment of this application;
[0098] Input / output interface 803, used to implement information input and output;
[0099] The communication interface 804 is used to realize the communication interaction between the present apparatus and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WI FI, Bluetooth, etc.);
[0100] A bus 805 that transmits information between the various components of the device (e.g., the processor 801, the memory 802, the input / output interface 803, and the communication interface 804);
[0101] The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus 805 .
[0102] An embodiment of the present application also provides an electronic device, including the device for acquiring characteristic indicators of meibomian glands as described above.
[0103] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for obtaining meibomian gland characteristic indicators based on explainability technology is implemented.
[0104] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0105] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media generally include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0106] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A method for obtaining characteristic indicators of meibomian glands based on explainability technology, characterized in that: include: Acquire a first tarsal plate image of a sample to be detected, classify the first tarsal plate image, and obtain abnormality level information of the sample to be detected; generating a first classification heat map of the first tarsal plate image according to the abnormality level information, and performing a first segmentation on the first tarsal plate image according to the abnormality level information and the first classification heat map to obtain a second tarsal plate image; Acquire meibomian gland information of the second meibomian image, and perform a second segmentation on the second meibomian image according to the meibomian gland information to obtain a second model heat map; Performing meibomian gland segmentation on the second model heat map to obtain a meibomian gland marked image; The meibomian gland marking image is superimposed on the second meibomian image to obtain a meibomian gland segmentation image, and characteristic indicators are obtained according to the meibomian gland segmentation image.
2. The method for obtaining characteristic indexes of meibomian glands based on interpretability technology according to claim 1, characterized in that: After generating the first classification heat map of the first tarsal plate image according to the abnormality level information, the method further includes: Determining a first region and a second region of the first classification model heat map; Acquire a plurality of first pixel points in the first area and a second pixel point in the second area; When the first tarsal plate image is subjected to the first segmentation, the first pixel points of the first area are retained, and the second pixel points of the second area are segmented from the classification model heat map.
3. The method for obtaining characteristic indexes of meibomian glands based on interpretability technology according to claim 2, characterized in that: After segmenting the second pixel point of the second area from the classification model heat map, the method further includes: Acquire a plurality of tarsal plate edge pixel points of the first tarsal plate image; Delineating a plurality of tarsal edge pixel points to determine the position of the meibomian glands in the first tarsal image; When the plurality of tarsal edge pixel points are delineated, a third region of the first tarsal image is obtained, and a second model heat map is generated according to the third region.
4. The method for obtaining characteristic indexes of meibomian glands based on interpretability technology according to claim 1, characterized in that: The performing a second segmentation on the second meibomian image according to the meibomian gland information includes: Acquire a first segmentation result of the first segmentation heat map, and obtain second image information having the same tarsal plate area as the sample to be detected according to the first segmentation result; A second model heat map of the second image information is obtained, and the second model heat map is secondly segmented from the second image information according to the meibomian gland information.
5. The method for obtaining characteristic indexes of meibomian glands based on explainability technology according to claim 1, characterized in that: The step of obtaining characteristic indicators according to the meibomian gland segmentation image includes: Acquiring area information and meibomian gland quantity information of the meibomian gland segmentation image, and calculating the area and meibomian gland quantity of the segmented image according to the area information and the meibomian gland quantity information; Acquire characteristic information of the meibomian gland segmentation image, and determine the abnormality level of the meibomian gland segmentation image according to the characteristic information and the abnormality level information.
6. The method for obtaining characteristic indexes of meibomian glands based on interpretability technology according to claim 1, characterized in that: The step of superimposing the meibomian gland mark image with the second meibomian image comprises: Obtaining a plurality of meibomian gland pixels and segmentation labels of the second model heat map; Delineating the plurality of meibomian gland pixels according to the segmentation labels to obtain a meibomian gland region of the second model heat map; The meibomian gland region is superimposed on the second meibomian image to generate a meibomian gland segmentation image.
7. The method for obtaining characteristic indexes of meibomian glands based on interpretability technology according to claim 1, characterized in that: After obtaining the characteristic index according to the meibomian gland segmentation image, the method further includes: Calculating indicator information of the characteristic indicator; Feature recognition is performed on the first tarsal plate image according to the indicator information.
8. A device for acquiring characteristic indexes of meibomian glands, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the method for obtaining meibomian gland characteristic indicators based on interpretable technology as described in any one of claims 1 to 7.
9. An electronic device, characterized in that: It includes the device for acquiring characteristic indexes of meibomian glands as described in claim 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method for obtaining meibomian gland characteristic indices based on interpretability technology as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Image region segmentation method, model training method and device
CN110232696A
Multi-modal data meibomian gland dysfunction detection based on interpretability algorithm
CN116919333A
Prediction method for latent peritoneal metastasis of pancreatic duct adenocarcinoma and related device
CN117291869A
Image classification model training method and device, equipment and medium
CN117636010A
Image segmentation method and apparatus, readable medium, and electronic device
WO2022105622A1
