Method for hospital visit guidance for medical treatment for active thyroid eye disease, and system for performing same
A method using digital cameras to predict clinical activity scores for thyroid eye disease addresses the challenge of early diagnosis by enabling remote monitoring, improving detection and reducing the necessity for hospital visits.
Patent Information
- Application Number
- JP2024097895
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-06-30
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-18
AI Technical Summary
Early diagnosis of thyroid eye disease is challenging due to the lack of clear prognostic symptoms, making it difficult to diagnose without a direct hospital visit, which is necessary for existing evaluation methods like the clinical activity score (CAS).
A computer-implemented method using digital cameras available to the general public to predict clinical activity scores for thyroid eye disease by training models on images captured by these cameras, allowing for continuous monitoring without a physician's assistance.
Enables early detection of thyroid eye disease through image analysis, facilitating continuous monitoring and reducing the need for in-person hospital visits.
Smart Images

Figure 2024125332000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a method for clinic visit guidance for the medical treatment of active thyroid eye disease, and a system for carrying out the method. [Background technology]
[0002] Eye diseases are diseases that occur in the eye and the surrounding area. Many people around the world suffer from eye diseases, which can cause significant inconvenience in daily life, such as impairing vision in severe cases, and therefore it is necessary to monitor the occurrence or extent of eye diseases.
[0003] On the other hand, eye disease may be one of several complications caused by other diseases, for example, thyroid eye disease is a complication caused by thyroid dysfunction.
[0004] When thyroid eye disease worsens, the eyeballs protrude and cannot be treated without surgery. Therefore, early diagnosis of thyroid eye disease is very important for its treatment. However, since thyroid eye disease does not show obvious prognostic symptoms, it is difficult to diagnose the disease early. In the medical community, efforts have been made to diagnose thyroid eye disease early through an evaluation method using the Clinical Activity Score (CAS), which was proposed in 1989.
[0005] A total of seven items are considered in determining the clinical activity score for thyroid eye disease: 1) spontaneous retrobulbar pain, 2) pain on attempting to gaze upward or downward, 3) eyelid redness, 4) conjunctival redness, 5) eyelid swelling, 6) conjunctival swelling, and 7) swelling of the lacrimal caruncle.
[0006] In order to determine the clinical activity score, it is essential that the individual visits the hospital or clinic in person and that the doctor conducts an examination through interview and macroscopic observation. For example, spontaneous retrobulbar pain and pain when attempting to gaze upward or downward can be examined through interview by the doctor, and eyelid redness, conjunctival redness, eyelid swelling, conjunctival swelling, and lacrimal caruncle swelling can be examined through macroscopic observation by the doctor. The macroscopic examination and interview method by the doctor to determine the clinical activity score requires, as a prerequisite, that the patient visits the hospital in person to diagnose thyroid eye disease, which makes it difficult to diagnose thyroid eye disease early.
[0007] It is therefore desirable to develop methods that allow individuals to more easily and quickly recognize their risk of eye disease without having to make an in-person clinic visit so that continuous monitoring can be performed. Summary of the Invention [Problem to be solved by the invention]
[0008] The disclosure herein is directed to providing a learning model that can be used to predict clinical activity scores for thyroid eye disease by using images captured with digital cameras available to the general public rather than professional medical diagnostic devices.
[0009] Additionally, the disclosure herein is directed to providing methods and systems for enabling the general public to continuously monitor clinical activity scores for thyroid eye disease without the assistance of a physician and an in-person hospital visit.
[0010] The technical problems to be solved by the present application are not limited to the above-mentioned technical problems, and other technical problems not mentioned will be clearly understood by those skilled in the art from this specification and the accompanying drawings. [Means for solving the problem]
[0011] According to one aspect of the present application, a computer-implemented method is disclosed. The method includes training a conjunctival hyperemia prediction model using a training set, the training set including training images, a score for conjunctival hyperemia, a score for chemotherapy, a score for eyelid redness, a score for eyelid edema, and a score for caruncular edema, the training images being annotated with the scores according to a diagnosis of the training images; acquiring a first image including at least one eye of a subject and an outer region of a contour of the at least one eye; outputting, by the conjunctival hyperemia prediction model running on a processor, a first predictive value for conjunctival hyperemia, a first predictive value for the chemotherapy, a first predictive value for eyelid redness, a first predictive value for eyelid edema, and a first predictive value for caruncular edema; selecting the first predictive value for conjunctival hyperemia from among five first predictive values based on a predetermined setting; and generating a score for the conjunctival hyperemia based on the selected first predictive value for conjunctival hyperemia.
[0012] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0013] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer area of a contour of the other eye; outputting a second predictive value for the conjunctival hyperemia, a second predictive value for the chemosis, a second predictive value for the eyelid redness, a second predictive value for the eyelid edema, and a second predictive value for the caruncular edema by the conjunctival hyperemia prediction model running on the processor; and selecting the second predictive value for the conjunctival hyperemia from among five second predictive values based on a predetermined setting, wherein the generating a score for the conjunctival hyperemia comprises generating the score for the conjunctival hyperemia by taking into account the selected first predictive value for the conjunctival hyperemia and the selected second predictive value for the conjunctival hyperemia.
[0014] In some embodiments, generating the score for the conjunctival hyperemia comprises assigning a predetermined value to the score in response to determining that the first predictive value for the conjunctival hyperemia is greater than a threshold, in response to determining that the second predictive value for the conjunctival hyperemia is greater than the threshold, or in response to determining that the first predictive value and the second predictive value for the conjunctival hyperemia are greater than the threshold.
[0015] According to one aspect of the present application, a computer-implemented method is disclosed. The method includes the steps of: training a chemosis prediction model using a training set, the training set including training images, a conjunctival injection score, a chemosis score, an eyelid redness score, an eyelid edema score, and a caruncle edema score, the training images including a first image including at least one eye of a subject and an outer region of a contour of the at least one eye, the first image being annotated with the scores according to a diagnosis of the training images; outputting, by the chemosis prediction model running on a processor, a first prediction value for conjunctival injection, a first prediction value for the chemosis, a first prediction value for the eyelid redness, a first prediction value for the eyelid edema, and a first prediction value for the caruncle edema; selecting the first prediction value for chemosis from among five first prediction values based on a predetermined setting; and generating a score for chemosis based on the selected first prediction value for chemosis.
[0016] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0017] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer region of the contour of the other eye; outputting a second predicted value for the conjunctival hyperemia, a second predicted value for the conjunctival edema, a second predicted value for the eyelid redness, a second predicted value for the eyelid edema, and a second predicted value for the caruncle edema by the chemo-chemo prediction model running on the processor; and selecting the second predicted value for the conjunctival edema from among five second predicted values based on a predetermined setting, wherein the generating a score for the chemo-chemo is a step of generating the score for the chemo-chemo ...
[0018] In some embodiments, generating the score for the chemosis comprises assigning a predetermined value to the score in response to determining that the first predictive value for the chemosis is greater than a threshold, in response to determining that the second predictive value for the chemosis is greater than the threshold, or in response to determining that the first predictive value and the second predictive value for the chemosis are greater than the threshold.
[0019] According to one aspect of the present application, a computer-implemented method is disclosed, comprising: training a caruncular edema prediction model using a training set, the training set including training images, a rating value for conjunctival hyperemia, a rating value for the caruncular edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, the training images including a first image including at least one eye of a subject and an outer region of a contour of the at least one eye, the first image being annotated with the rating values according to a diagnosis of the training images; The method includes a step of obtaining a score for each of five first predictive values for conjunctival congestion, a first predictive value for conjunctival edema, a first predictive value for eyelid redness, a first predictive value for eyelid edema, and a first predictive value for caruncular edema by the caruncular edema prediction model executed on a processor, a step of selecting the first predictive value for caruncular edema from among five first predictive values based on a predetermined setting, and a step of generating a score for the caruncular edema based on the selected first predictive value for caruncular edema.
[0020] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0021] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer area of the contour of the other eye; outputting a second predicted value for the conjunctival hyperemia, a second predicted value for the conjunctival edema, a second predicted value for the eyelid redness, a second predicted value for the eyelid edema, and a second predicted value for the caruncular edema by the caruncular edema prediction model running on the processor; and selecting the second predicted value for the caruncular edema from among five second predicted values based on a predetermined setting, wherein the generating a score for the caruncular edema comprises generating the score for the caruncular edema by taking into account the selected first predicted value for the caruncular edema and the selected second predicted value for the caruncular edema.
[0022] In some embodiments, generating the score for the caruncular edema comprises assigning a predetermined value to the score in response to determining that the first predictive value for the caruncular edema is greater than a threshold, in response to determining that the second predictive value for the caruncular edema is greater than the threshold, or in response to determining that the first predictive value and the second predictive value for the caruncular edema are greater than the threshold.
[0023] According to one aspect of the present application, a computer-implemented method is disclosed, comprising: training an eyelid redness prediction model using a training set, the training set including training images, a rating value for conjunctival injection, a rating value for the conjunctival edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, the training images including a first image including at least one eye of a subject and an outer region of a contour of the at least one eye, the first image being annotated with the rating values according to a diagnosis of the training images. outputting a first predicted value for conjunctival congestion, a first predicted value for conjunctival edema, a first predicted value for eyelid redness, a first predicted value for eyelid edema, and a first predicted value for caruncular edema by the eyelid redness prediction model executed on a processor; selecting the first predicted value for eyelid redness from among five first predicted values based on a predetermined setting; and generating a score for eyelid redness based on the selected first predicted value for eyelid redness.
[0024] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0025] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer area of the contour of the other eye; outputting a second predicted value for the conjunctival hyperemia, a second predicted value for the conjunctival edema, a second predicted value for the eyelid redness, a second predicted value for the eyelid edema, and a second predicted value for the caruncle edema by the eyelid redness prediction model running on the processor; and selecting the second predicted value for eyelid redness from among five second predicted values based on a predetermined setting, wherein generating the score for eyelid redness comprises generating the score for eyelid redness taking into account the selected first predicted value for eyelid redness and the selected second predicted value for eyelid redness.
[0026] In some embodiments, generating the score for the eyelid redness comprises assigning a predetermined value to the score in response to determining that the first predicted value for the eyelid redness is greater than a threshold, in response to determining that the second predicted value for the eyelid redness is greater than the threshold, or in response to determining that the first predicted value and the second predicted value for the eyelid redness are greater than the threshold.
[0027] According to one aspect of the present application, a computer-implemented method is disclosed, comprising: training an eyelid edema prediction model using a training set, the training set including training images, a rating value for conjunctival injection, a rating value for the conjunctival edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, the training images including a first image including at least one eye of a subject and an outer region of a contour of the at least one eye, the first image being annotated with the rating values according to a diagnosis of the training images; The method includes the steps of: acquiring; outputting a first predicted value for conjunctival congestion, a first predicted value for conjunctival edema, a first predicted value for eyelid redness, a first predicted value for eyelid edema, and a first predicted value for caruncular edema by the eyelid edema prediction model executed on a processor; selecting the first predicted value for eyelid edema from among five first predicted values based on a predetermined setting; and generating a score for the eyelid edema based on the selected first predicted value for the eyelid edema.
[0028] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0029] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer area of the contour of the other eye; outputting a second predicted value for the conjunctival hyperemia, a second predicted value for the conjunctival edema, a second predicted value for the eyelid redness, a second predicted value for the eyelid edema, and a second predicted value for the caruncle edema by the eyelid edema prediction model running on the processor; and selecting the second predicted value for the eyelid edema from among five second predicted values based on a predetermined setting, wherein the generating a score for the eyelid edema comprises generating the score for the eyelid edema taking into account the selected first predicted value for the eyelid edema and the selected second predicted value for the eyelid edema.
[0030] In some embodiments, the step of generating the score for the eyelid edema includes the step of assigning a predetermined value to the score in response to determining that the first predicted value for the eyelid edema is greater than a threshold, in response to determining that the second predicted value for the eyelid edema is greater than the threshold, or in response to determining that the first predicted value and the second predicted value for the eyelid edema are greater than the threshold. Effect of the Invention
[0031] According to the disclosure herein, clinical activity scores for thyroid eye disease can be predicted using images acquired through digital cameras available to the general public, rather than professional medical diagnostic devices. [Brief description of the drawings]
[0032] [Figure 1] FIG. 1 illustrates a system for predicting a clinical activity score for thyroid eye disease according to one embodiment described herein.
[0033] [Diagram 2] FIG. 2 is a block diagram illustrating a user terminal provided in the present application.
[0034] [Diagram 3] FIG. 2 is a block diagram illustrating a server according to the present application.
[0035] [Figure 4] FIG. 2 shows the eye and surrounding tissues exposed to the outside so that they are captured by the camera when a picture of the face is taken using the camera.
[0036] [Diagram 5] FIG. 2 is a diagram showing an eyeball exposed to the outside.
[0037] [Figure 6]FIG. 2 shows the exposed cornea.
[0038] [Figure 7] FIG. 1 shows the exposed conjunctiva.
[0039] [Figure 8] FIG. 2 is a diagram showing a face image and a binocular image.
[0040] [Figure 9] FIG. 1 illustrates a method for detecting eye contours.
[0041] [Figure 10] FIG. 2 illustrates a first cropping region.
[0042] [Figure 11] FIG. 2 is a diagram showing an example of a first cropped image.
[0043] [Figure 12] 11A-11C are diagrams illustrating examples of second cropping regions determined in various ways.
[0044] [Figure 13] FIG. 11 is a diagram showing an example of a second cropped image.
[0045] [Figure 14] FIG. 11 illustrates a method for determining a third cropping region.
[0046] [Figure 15] FIG. 11 is a diagram illustrating an example of a third cropping region.
[0047] [Figure 16] FIG. 11 is a diagram showing an example of a third cropped image.
[0048] [Figure 17] 1A to 1C are diagrams showing various examples of an original image and a horizontally inverted image.
[0049] [Figure 18] FIG. 13 is a diagram illustrating an example of a resized image.
[0050] [Figure 19] 1 is a flowchart showing a method for predicting conjunctival hyperemia.
[0051] [Figure 20] 1 is a flowchart showing a method for predicting chemosis.
[0052] [Figure 21] 1 is a flow chart showing a method for predicting caruncular edema.
[0053] [Figure 22] 1 is a flowchart showing a method for predicting eyelid redness.
[0054] [Diagram 23] 1 is a flowchart showing a method for predicting eyelid edema.
[0055] [Figure 24] FIG. 1 shows a method for predicting clinical activity score for thyroid eye disease. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0056] The above-mentioned objects, features, and advantages of the present application will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Furthermore, various modifications may be made to the present application, and various embodiments of the present application may be practiced. Accordingly, the following detailed description of specific embodiments will be given with reference to the accompanying drawings.
[0057] Throughout the specification, the same reference numerals refer to the same elements in principle. Furthermore, elements having the same functions within the same scope shown in the drawings of the embodiment are described using the same reference numerals, and redundant descriptions are omitted.
[0058] Detailed descriptions of well-known functions or configurations of the present application will be omitted if they are deemed to obscure the nature and spirit of the present application. Furthermore, throughout this specification, the terms first, second, etc. are used only to distinguish one element from another.
[0059] Furthermore, the terms "module" and "section" used to list elements in the following description are used solely for ease of writing, and are not intended to have any distinct special meaning or function, and therefore may be used individually or interchangeably.
[0060] In the following embodiments, expressions used in the singular form also include expressions in the plural form unless it has a clearly different meaning in the context.
[0061] In the following embodiments, it should be understood that terms such as "comprise", "have", and the like are intended to indicate the presence of features or elements disclosed in the specification, and are not intended to exclude the possibility that one or more other features or elements may be added.
[0062] The size of elements in the drawings may be exaggerated or reduced for convenience of explanation. For example, any size and thickness of each element shown in the drawings is shown for convenience of explanation, and the present disclosure is not limited thereto.
[0063] In cases where particular embodiments are otherwise implemented, certain processes may be performed out of the order described. For example, two processes described as successive may be performed substantially simultaneously or may proceed in the reverse order from that described.
[0064] In the following embodiments, when elements are referred to as being connected to each other, the elements are directly connected to each other, or the elements are indirectly connected to each other with intervening elements between them. For example, in this specification, when elements are referred to as being electrically connected to each other, the elements are directly electrically connected to each other, or the elements are indirectly electrically connected to each other with intervening elements between them.
[0065] According to one aspect of the present application, a computer-implemented method is disclosed. The method includes training a conjunctival hyperemia prediction model using a training set, the training set including training images, a score for conjunctival hyperemia, a score for chemotherapy, a score for eyelid redness, a score for eyelid edema, and a score for caruncular edema, the training images being annotated with the scores according to a diagnosis of the training images; acquiring a first image including at least one eye of a subject and an outer region of a contour of the at least one eye; outputting, by the conjunctival hyperemia prediction model running on a processor, a first predictive value for conjunctival hyperemia, a first predictive value for the chemotherapy, a first predictive value for eyelid redness, a first predictive value for eyelid edema, and a first predictive value for caruncular edema; selecting the first predictive value for conjunctival hyperemia from among five first predictive values based on a predetermined setting; and generating a score for the conjunctival hyperemia based on the selected first predictive value for conjunctival hyperemia.
[0066] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0067] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer area of a contour of the other eye; outputting a second predictive value for the conjunctival hyperemia, a second predictive value for the chemosis, a second predictive value for the eyelid redness, a second predictive value for the eyelid edema, and a second predictive value for the caruncular edema by the conjunctival hyperemia prediction model running on the processor; and selecting the second predictive value for the conjunctival hyperemia from among five second predictive values based on a predetermined setting, wherein the generating a score for the conjunctival hyperemia comprises generating the score for the conjunctival hyperemia by taking into account the selected first predictive value for the conjunctival hyperemia and the selected second predictive value for the conjunctival hyperemia.
[0068] In some embodiments, generating the score for the conjunctival hyperemia comprises assigning a predetermined value to the score in response to determining that the first predictive value for the conjunctival hyperemia is greater than a threshold, in response to determining that the second predictive value for the conjunctival hyperemia is greater than the threshold, or in response to determining that the first predictive value and the second predictive value for the conjunctival hyperemia are greater than the threshold.
[0069] According to one aspect of the present application, a computer-implemented method is disclosed. The method includes the steps of: training a chemosis prediction model using a training set, the training set including training images, a conjunctival injection score, a chemosis score, an eyelid redness score, an eyelid edema score, and a caruncle edema score, the training images including a first image including at least one eye of a subject and an outer region of a contour of the at least one eye, the first image being annotated with the scores according to a diagnosis of the training images; outputting, by the chemosis prediction model running on a processor, a first prediction value for conjunctival injection, a first prediction value for the chemosis, a first prediction value for the eyelid redness, a first prediction value for the eyelid edema, and a first prediction value for the caruncle edema; selecting the first prediction value for chemosis from among five first prediction values based on a predetermined setting; and generating a score for chemosis based on the selected first prediction value for chemosis.
[0070] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0071] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer region of the contour of the other eye; outputting a second predicted value for the conjunctival hyperemia, a second predicted value for the conjunctival edema, a second predicted value for the eyelid redness, a second predicted value for the eyelid edema, and a second predicted value for the caruncle edema by the chemo-chemo prediction model running on the processor; and selecting the second predicted value for the conjunctival edema from among five second predicted values based on a predetermined setting, wherein the generating a score for the chemo-chemo is a step of generating the score for the chemo-chemo ...
[0072] In some embodiments, generating the score for the chemosis comprises assigning a predetermined value to the score in response to determining that the first predictive value for the chemosis is greater than a threshold, in response to determining that the second predictive value for the chemosis is greater than the threshold, or in response to determining that the first predictive value and the second predictive value for the chemosis are greater than the threshold.
[0073] According to one aspect of the present application, a computer-implemented method is disclosed, comprising: training a caruncular edema prediction model using a training set, the training set including training images, a rating value for conjunctival hyperemia, a rating value for the caruncular edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, the training images including a first image including at least one eye of a subject and an outer region of a contour of the at least one eye, the first image being annotated with the rating values according to a diagnosis of the training images; The method includes a step of obtaining a score for each of five first predictive values for conjunctival congestion, a first predictive value for conjunctival edema, a first predictive value for eyelid redness, a first predictive value for eyelid edema, and a first predictive value for caruncular edema by the caruncular edema prediction model executed on a processor, a step of selecting the first predictive value for caruncular edema from among five first predictive values based on a predetermined setting, and a step of generating a score for the caruncular edema based on the selected first predictive value for caruncular edema.
[0074] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0075] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer area of the contour of the other eye; outputting a second predicted value for the conjunctival hyperemia, a second predicted value for the conjunctival edema, a second predicted value for the eyelid redness, a second predicted value for the eyelid edema, and a second predicted value for the caruncular edema by the caruncular edema prediction model running on the processor; and selecting the second predicted value for the caruncular edema from among five second predicted values based on a predetermined setting, wherein the generating a score for the caruncular edema comprises generating the score for the caruncular edema by taking into account the selected first predicted value for the caruncular edema and the selected second predicted value for the caruncular edema.
[0076] In some embodiments, generating the score for the caruncular edema comprises assigning a predetermined value to the score in response to determining that the first predictive value for the caruncular edema is greater than a threshold, in response to determining that the second predictive value for the caruncular edema is greater than the threshold, or in response to determining that the first predictive value and the second predictive value for the caruncular edema are greater than the threshold.
[0077] According to one aspect of the present application, a computer-implemented method is disclosed, comprising: training an eyelid redness prediction model using a training set, the training set including training images, a rating value for conjunctival injection, a rating value for the conjunctival edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, the training images including a first image including at least one eye of a subject and an outer region of a contour of the at least one eye, the first image being annotated with the rating values according to a diagnosis of the training images. outputting a first predicted value for conjunctival congestion, a first predicted value for conjunctival edema, a first predicted value for eyelid redness, a first predicted value for eyelid edema, and a first predicted value for caruncular edema by the eyelid redness prediction model executed on a processor; selecting the first predicted value for eyelid redness from among five first predicted values based on a predetermined setting; and generating a score for eyelid redness based on the selected first predicted value for eyelid redness.
[0078] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0079] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer area of the contour of the other eye; outputting a second predicted value for the conjunctival hyperemia, a second predicted value for the conjunctival edema, a second predicted value for the eyelid redness, a second predicted value for the eyelid edema, and a second predicted value for the caruncle edema by the eyelid redness prediction model running on the processor; and selecting the second predicted value for eyelid redness from among five second predicted values based on a predetermined setting, wherein generating the score for eyelid redness comprises generating the score for eyelid redness taking into account the selected first predicted value for eyelid redness and the selected second predicted value for eyelid redness.
[0080] In some embodiments, generating the score for the eyelid redness comprises assigning a predetermined value to the score in response to determining that the first predicted value for the eyelid redness is greater than a threshold, in response to determining that the second predicted value for the eyelid redness is greater than the threshold, or in response to determining that the first predicted value and the second predicted value for the eyelid redness are greater than the threshold.
[0081] According to one aspect of the present application, a computer-implemented method is disclosed, comprising: training an eyelid edema prediction model using a training set, the training set including training images, a rating value for conjunctival injection, a rating value for the conjunctival edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, the training images including a first image including at least one eye of a subject and an outer region of a contour of the at least one eye, the first image being annotated with the rating values according to a diagnosis of the training images; The method includes the steps of: acquiring; outputting a first predicted value for conjunctival congestion, a first predicted value for conjunctival edema, a first predicted value for eyelid redness, a first predicted value for eyelid edema, and a first predicted value for caruncular edema by the eyelid edema prediction model executed on a processor; selecting the first predicted value for eyelid edema from among five first predicted values based on a predetermined setting; and generating a score for the eyelid edema based on the selected first predicted value for the eyelid edema.
[0082] In some embodiments, the first image is generated for one of both eyes, and the generated prediction is for the one of the eyes.
[0083] In some embodiments, the method further comprises acquiring a second image including the subject's other eye and an outer area of the contour of the other eye; outputting a second predicted value for the conjunctival hyperemia, a second predicted value for the conjunctival edema, a second predicted value for the eyelid redness, a second predicted value for the eyelid edema, and a second predicted value for the caruncle edema by the eyelid edema prediction model running on the processor; and selecting the second predicted value for the eyelid edema from among five second predicted values based on a predetermined setting, wherein the generating a score for the eyelid edema comprises generating the score for the eyelid edema taking into account the selected first predicted value for the eyelid edema and the selected second predicted value for the eyelid edema.
[0084] In some embodiments, the step of generating the score for the eyelid edema includes the step of assigning a predetermined value to the score in response to determining that the first predicted value for the eyelid edema is greater than a threshold, in response to determining that the second predicted value for the eyelid edema is greater than the threshold, or in response to determining that the first predicted value and the second predicted value for the eyelid edema are greater than the threshold.
[0085]
[0086] According to the present application, a system for predicting a user's Clinical Activity Score (CAS) for thyroid eye disease is disclosed.
[0087]
[0088] 1. System-wide
[0089] [(1) System hardware construction]
[0090] FIG. 1 is a diagram illustrating a system for predicting a clinical activity score for thyroid eye disease according to one embodiment described herein.
[0091] Referring to FIG. 1, a system 1 includes a plurality of user terminals 10 and a server 20 .
[0092] The multiple user terminals 10 and the server 20 will now be described in detail.
[0093]
[0094] [(2) Functions of the user device]
[0095] A plurality of user terminals 10 transmit information to and receive information from a server 20 via various networks.
[0096] The multiple user terminals 10 acquire images of the user's upper eyelid, lower eyelid, and eyeball exposed by the upper and lower eyelids (hereinafter referred to as eye images). The multiple user terminals 10 may perform necessary processing on the acquired eye images, or may transmit the acquired eye images or the processed eye images to the server 20.
[0097] A number of user terminals 10 may receive from the server 20 the predicted results for the clinical activity scores processed by the server 20 .
[0098]
[0099] [(3) Server Functions]
[0100] The server 20 transmits information to and receives information from a plurality of user terminals 10 via various networks.
[0101] The server 20 may receive eye images from multiple user terminals 10. Here, the server 20 may process the eye images. Alternatively, the server 20 may receive processed eye images.
[0102] The server 20 may obtain a predicted outcome for the user's clinical activity score for thyroid eye disease based on the processed eye image.
[0103] The server 20 may transmit the prediction results for the clinical activity score to multiple user terminals 10.
[0104]
[0105] (4) System software construction
[0106] In order for System 1 to operate, several software components are required.
[0107] To implement communication between the user terminals 10 and the server 20, terminal software needs to be installed on the user terminals 10, and server software needs to be installed on the server 20.
[0108] A variety of pre-processing algorithms may be used to perform the necessary pre-processing of the eye images.
[0109] A number of predictive models may be used to predict the clinical activity score based on the pre-processed ocular images.
[0110] The pre-processing algorithms may be executed by terminal software installed on the user terminal 10 or by software installed on the server 20. Alternatively, some of the pre-processing algorithms may be executed by the user terminal 10 and others by the server 20.
[0111] The multiple prediction models may be executed by software installed on the server 20. Alternatively, the multiple prediction models may be executed by terminal software installed on the user terminal 10. Alternatively, some of the multiple prediction models may be executed by the user terminal 10 and others by the server 20.
[0112] (5) User device elements
[0113] FIG. 2 is a block diagram illustrating a user terminal as described herein.
[0114] Referring to FIG. 2, the user terminal 10 described in the present application includes an output unit 110, a communication unit 120, a memory 130, a camera 140, and a controller 150.
[0115] The output unit 110 outputs various types of information according to control commands of the controller 150. According to one embodiment, the output unit 110 may include a display 112 for visually outputting information to the user. Alternatively, although not shown in the drawings, the output unit 110 may include a speaker for audibly outputting information to the user and a vibration motor for tactilely outputting information to the user.
[0116] The communication unit 120 may include a wireless communication module and / or a wired communication module, where examples of the wireless communication module include a Wi-Fi (registered trademark) communication module, a cellular communication module, and the like.
[0117] The memory 130 stores executable codes readable by the controller 150, processed result values, necessary data, etc. Examples of the memory 130 may include a hard disk drive (HDD), a solid state disk (SSD), a silicon disk drive (SDD), a ROM, a RAM, etc. The memory 130 may store the above-mentioned terminal software, and may store executable codes for implementing the above-mentioned various pre-processing algorithms and / or learning models. Furthermore, the memory 130 may store eye images acquired through the camera 140, pre-processed eye images, etc.
[0118] The camera 140 is a digital camera and may include an image sensor and an image processor. The image sensor is a device for converting an optical image into an electrical signal, and may be provided as a chip incorporating a number of photodiodes. Examples of the image sensor may include a charge-coupled device (CCD), a complementary metal-oxide semiconductor (CMOS), and the like. Meanwhile, the image processor may perform image processing on the captured result and generate image information.
[0119] The controller 150 may include at least one processor, where each of the processors may perform a certain operation by executing at least one instruction stored in the memory 130. Specifically, the controller 150 may process information according to terminal software, pre-processing algorithms, and / or learning models running on the user terminal 10. Meanwhile, the controller 150 controls the overall operation of the user terminal 10.
[0120] Although not shown in the drawings, the user terminal 10 may have a user input unit. The user terminal 10 may receive various types of information required for the operation of the user terminal 10 from a user through the user input unit.
[0121]
[0122] (6) Server elements
[0123] FIG. 3 is a block diagram illustrating a server according to the present application.
[0124] Referring to FIG. 3, the server 20 described herein includes a communication unit 210, a memory 220, and a controller 230.
[0125] The communication unit 210 may include a wireless communication module and / or a wired communication module, where examples of the wireless communication module include a Wi-Fi communication module, a cellular communication module, and the like.
[0126] The memory 220 stores executable code readable by the controller 230, processed result values, necessary data, etc. Examples of the memory 220 may include a hard disk drive (HDD), a solid state disk (SSD), a silicon disk drive (SDD), a ROM, a RAM, etc. The memory 220 may store the server software described above, and may store executable code for implementing the various pre-processing algorithms and / or learning models described above. Furthermore, the memory 220 may store eye images received from the user terminal 10, pre-processed eye images, etc.
[0127] The controller 230 may include at least one processor, where each of the processors may perform a certain operation by executing at least one instruction stored in the memory 220. In particular, the controller 230 may process information according to server software, pre-processing algorithms, and / or learning models running on the server 20. Meanwhile, the controller 230 controls the overall operation of the server 20.
[0128]
[0129] In order to more clearly and readily understand the technology described herein, the following provides a brief description of the eye, eyeball, and tissues surrounding the eyeball, including the upper eyelid, lower eyelid, and caruncle, and defines terms related to the eye and surrounding area used in this specification.
[0130]
[0131] 2. Structure of the eye and definition of terms
[0132] [(1) Eyeball and surrounding tissues]
[0133] FIG. 4 illustrates the eye and surrounding tissues exposed to the outside so that they are captured by the camera when a picture of the face is taken using the camera.
[0134] FIG. 4 shows: the eyelids (upper and lower); the caruncle; the conjunctiva or white of the eye partially exposed and partially covered by the upper eyelid, lower eyelid, and caruncle; the cornea or iris; and the eyebrows.
[0135] In general, the eye or eyeball is larger than shown in Figure 4. However, the eyeball is protected from the outside by tissues such as the upper and lower eyelids, and therefore, even when a person has their eye open, only a portion of the eyeball is exposed to the outside.
[0136]
[0137] (2) Definitions of terms
[0138] Conjunctiva, white of the eye
[0139] Hereinafter, the conjunctiva corresponds generally to the location of the white of the eye, and so the terms conjunctiva and white of the eye may be used interchangeably.
[0140] cornea, iris
[0141] Hereinafter, the cornea corresponds generally to the location of the iris of the eye, and so the terms cornea and iris may be used interchangeably, whereas in this specification the term "iris" is used to include the pupil area.
[0142] eyelids
[0143] The eyelids are two folds of skin, upper and lower, that cover the front of the eyeball. Eyelids are also called palpebrae. The upper eyelid is called the upper eyelid, and the lower eyelid is called the lower eyelid. The outer and inner surfaces of the skin are the conjunctiva, and between them is the tarsal plate, which contains the muscles that move the eyelids and the sebaceous glands, the meibomian glands, thus maintaining the shape of the eyelids. The eyelids protect the eyeball and at the same time clean it with tears when you blink, or make the cornea shiny and clear.
[0144] eyebrow
[0145] Eyebrows are the arched mass of hair that grows along the bone ridge above the eye.
[0146] eyelashes
[0147] Eyelashes are hairs approximately 10 mm long that are found on the margins of the upper and lower eyelids.
[0148] Exposed eyeball
[0149] Hereinafter, the term "exposed eyeball" refers to the part of the eye that is not covered by the upper eyelid, the lower eyelid, and the caruncle when a person has his / her eye open, i.e., the part exposed to the outside by the upper eyelid, the lower eyelid, and the caruncle. For example, the inside of the dotted line shown in FIG. 5 is called the "exposed eyeball."
[0150] Eye contour
[0151] Hereinafter, the term "eye contour" refers to the boundary between the eyeball and eyelids (upper eyelid and lower eyelid) exposed to the outside when a person has his / her eyes open. That is, the contour of the eyeball exposed to the outside is called the "eye contour." For example, the dotted line shown in FIG. 5 is called the "eye contour."
[0152] Exposed cornea (exposed iris)
[0153] Hereinafter, the term "exposed cornea" refers to a portion of the cornea that is not covered by the upper and lower eyelids when a person has his / her eyes open, i.e., a portion of the cornea that is exposed to the outside by the upper and lower eyelids. For example, the inside of the dotted line shown in FIG. 6 is called the "exposed cornea."
[0154] Exposed conjunctiva (exposed white of the eye)
[0155] Hereinafter, the term "exposed conjunctiva" refers to the part of the conjunctiva that is not covered by the upper eyelid, the lower eyelid, and the caruncle, i.e., the part of the conjunctiva that is exposed to the outside by the upper eyelid, the lower eyelid, and the caruncle when a person has his or her eye open. For example, the area inside the dotted line shown in FIG. 7 is called the "exposed conjunctiva."
[0156]
[0157] In the following, various image pre-processing algorithms are described for performing the image pre-processing described in this application.
[0158]
[0159] 3. Image Preprocessing Algorithms
[0160] [(1) The necessity of image preprocessing]
[0161] The present application is directed to providing a learning model for predicting clinical activity scores for thyroid eye disease by using images acquired by digital cameras available to the general public rather than professional medical diagnostic devices.
[0162] For this reason, in predicting the clinical activity score for thyroid eye disease, images of the eye and tissues near the eye that can be easily obtained by ordinary people should be used. For example, the image analysis uses digital images obtained by a digital camera or a camera built into a smartphone that can be easily used by ordinary people, rather than digital images obtained by a special medical device used in a medical institution.
[0163] In this environment, it is difficult to standardize the digital images acquired by users, and various types of pre-processing of the acquired images are required to more accurately and quickly recognize the digital images acquired by users.
[0164] On the other hand, the inventors of the present application have developed a system for predicting scores on five items related to thyroid eye disease by using facial images such as those shown in Figure 8, but found that the accuracy of the prediction was low.
[0165] The inventors of the present application determined that the prediction accuracy was low because the face image contained many areas unnecessary for analysis, and that a more precise cropped image needed to be obtained.
[0166]
[0167] (2) The need to apply different cropping methods
[0168] On the other hand, it was explained that five of the seven items for assessing the clinical activity score for thyroid eye disease are evaluated by a doctor through macroscopic observation of the user's eyeball and surrounding area. The five items evaluated by a doctor through macroscopic observation are as follows:
[0169] 1) Conjunctival congestion (redness of the conjunctiva),
[0170] 2) Chemotherapy (swelling of the conjunctiva),
[0171] 3) Caruncular edema (swelling of the lacrimal caruncle),
[0172] 4) Redness of the eyelids, and
[0173] 5) Eyelid edema (swelling of the eyelids).
[0174] As described below, for the evaluation of clinical activity scores for thyroid eye disease provided in the present application, it was determined that the accuracy of the prediction models could be improved by generating a total of three prediction models capable of predicting a total of five symptoms by focusing on dividing the object of observation with the naked eye into three parts, namely, "conjunctiva," "caruncle," and "eyelid." That is, it was determined that in training the three prediction models, it would be more advantageous for the prediction models to have different cropping methods for images to be used as training data.
[0175] Below, a cropping method that is more advantageous for the analysis of the "conjunctiva," a cropping method that is more advantageous for the analysis of the "caruncle," and a cropping method that is more advantageous for the analysis of the "eyelid" will be described.
[0176]
[0177] [(3) First cropping (external exposure eyeball cropping)]
[0178] In the following, a more advantageous cropping method for conjunctival analysis is described. This cropping method is called the first cropping or external exposure eye cropping. The first cropping may be applied to both right-eye and left-eye images, but for convenience, a description is given based on obtaining a left-eye cropped image.
[0179] First cropping objective
[0180] The first cropping is to generate images that will be used as input images for models for predicting whether there is conjunctival redness and whether there is conjunctival swelling, among other predictive models that will be described later, and the second cropping is to generate images in which information about the exposed cornea is maximized and information about other regions is minimized.
[0181] Input image
[0182] A first crop may be applied to the face image or the portion of the face image that includes both eyes.
[0183] Eye contour detection
[0184] According to one embodiment, a landmark detection algorithm may be used to detect the eye contours, for example, the face landmark detection algorithm provided by dlib may be used to detect pixels located at the eye contours.
[0185] The number of pixels corresponding to the eye contour may vary depending on the type of landmark detection algorithm. However, according to the face landmark detection algorithm described above, six pixels may correspond to each of the eye contours and may be detected. One of the six pixels (e.g., P1 shown in (a) of FIG. 9) may be detected. 4 ) may correspond to the pixel determined to be the leftmost part of the eye contour in the image. Another one of the six pixels (e.g., P 1 ) may correspond to the pixel determined to be the rightmost part of the eye contour in the image. Two other pixels of the six pixels (e.g., P 2 and P 3 ) may be pixels corresponding to the boundary between the eyeball and the upper eyelid exposed in the image. The other two of the six pixels (e.g., P 5 and P 6 ) may be the pixel in the image that corresponds to the boundary between the exposed eyeball and the lower eyelid.
[0186] In this specification, detecting the eye contour may mean detecting all pixels that correspond to the eye contour, or may mean detecting some of the pixels that correspond to the eye contour, such as by using landmark detection.
[0187] In the following, a description will be given assuming that six pixels corresponding to the eye contour are detected.
[0188] Determining the first cropping area
[0189] When determining which pixels are found, a rectangle of the minimum size that contains all six pixels is set. For example, the maximum X coordinate value of the six pixels is X max , the minimum of the X coordinate values of the six pixels min , the maximum Y coordinate value of the six pixels max , and the minimum Y coordinate value of the six pixels min is judged. The judged X max , X min , Y max , and Y min Based on this, a rectangle having the following four points as vertices may be generated, and the area contained inside this rectangle may be determined as the first cropping area.
[0190] (X min ,Y max ),
[0191] (X max ,Y max ),
[0192] (X max ,Y min ), and
[0193] (X min ,Y min )
[0194] 10 is a diagram showing a first cropping region. In particular, (a) of FIG. 10 shows the maximum X coordinate value of the above-mentioned six pixels. max , the minimum of the X coordinate values of the six pixels min , the maximum Y coordinate value of the six pixels max , and the minimum Y coordinate value of the six pixels min 10(b) is a diagram showing a first cropping region generated using the determined maximum and minimum values of the X coordinate and the determined maximum and minimum values of the Y coordinate.
[0195] As explained above, the first cropping region may be determined in the same manner as for the right eye.
[0196] Generate the first cropped image
[0197] A first cropping region is determined, and based on the determined first cropping region, a first cropped image may be generated from the face image or a portion of the face image including both eyes by using pixels included inside the first cropping region, as shown in Fig. 11 as an example. The first cropped image includes a first right-eye cropped image (Fig. 11(b)) generated for the right eye and a first left-eye cropped image (Fig. 11(a)) generated for the left eye.
[0198]
[0199] Hereinafter, the terms "first cropped image" and "exterior exposed eye cropped image" may be used interchangeably. The terms "first right eye cropped image" and "right exterior exposed eye cropped image" may be used interchangeably. The terms "first left eye cropped image" and "left exterior exposed eye cropped image" may be used interchangeably.
[0200] Further, unless otherwise specified below, the term "first cropped image (or external exposure eye cropped image)" may mean either the first right-eye cropped image or the first left-eye cropped image, or may mean both, depending on the context.
[0201] The first cropped image means an image cropped in such a way that the ratio between the number of pixels corresponding to the externally exposed eye and the number of all pixels contained in the cropped image is maximized. A cropped image generated in a manner different from the above-mentioned one is called a first cropped image (externally exposed eye cropped image) if its cropping area is generated in such a way that it contains as much information as possible about the externally exposed eye.
[0202] On the other hand, the X and Y coordinate values in this application have different sizes and directions depending on the relative positions to the reference point, so the terms maximum and minimum should be understood in a relative sense, not an absolute sense. That is, when the position of the origin of the coordinate system changes, the maximum value of the above-mentioned X coordinate value may be the minimum value of the X coordinate value in the coordinate system whose origin has changed, and the minimum value of the X coordinate value may be the maximum value of the X coordinate value in the coordinate system whose origin has changed. This can be equally applied to the Y coordinate value.
[0203]
[0204] [(4) Second cropping (eyelid-inclusive cropping)]
[0205] In the following, a more advantageous cropping method for eyelid analysis is described. This cropping method is called second cropping or eyelid-inclusive cropping. The second cropping may be applied to both right-eye and left-eye images, but for convenience, a description is given based on obtaining a left-eye cropped image.
[0206] Second cropping objective
[0207] The second cropping is to generate an image that will be used as an input image for a model for predicting whether there is eyelid redness and a model for predicting whether there is eyelid swelling, among other predictive models that will be described later. The second cropping includes information about the eyelids in the image. Here, instead of cropping only at pixels corresponding to the eyelids, it may be better to generate a cropped image that includes all pixels included in the eye contour. This is because inferences and judgments are required regarding color values to predict whether there is eyelid redness, and color values of pixels corresponding to the iris and / or white of the eye may be used.
[0208] Input image
[0209] A second crop may be applied to the face image or the portion of the face image that includes both eyes.
[0210] Detecting the eye contour and determining the maximum and minimum X and Y coordinates of the contour pixels
[0211] According to one embodiment, the eye contour detection method described in the first cropping may be applied as is. The contour pixels corresponding to the outermost part of the eye contour may be detected. When determining the detected pixels, the maximum X coordinate value X max , the minimum X coordinate value X min , the maximum Y coordinate value max , and the minimum Y coordinate value Y min may be determined. Hereinafter, for convenience of explanation, a rectangle generated with the points determined using the above-mentioned method as vertices is called a reference rectangle. Meanwhile, the horizontal length of the reference rectangle is called a reference horizontal length or a horizontal length of the eye contour. The vertical length of the reference rectangle is called a reference vertical length or a vertical length of the eye contour.
[0212] Cropping area determination
[0213] To determine a second cropping region having a rectangular shape, the vertical length, horizontal length, and center point of the second cropping region are determined. If the coordinates of the vertices of the second cropping region are (Xa,Ya), (Xa,Yb), (Xb,Ya), and (Xb,Yb), where the value of Xa is smaller than the value of Xb and the value of Ya is smaller than the value of Yb, the coordinates of the center point are determined to be ((Xa+Xb) / 2, (Ya+Yb) / 2) or ((Xa+(Xb-Xa) / 2, Ya+(Yb+Ya) / 2).
[0214] Vertical and horizontal length determination #1
[0215] According to some embodiments, the vertical length of the second cropping region may be obtained by multiplying the reference vertical length by a predetermined number. The predetermined number may be 1.6, 1.7, 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, or 4.0. Furthermore, the horizontal length of the second cropping region may be obtained by multiplying the reference horizontal length by a predetermined number. The predetermined number may be 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, or 2.5. Here, the predetermined number by which the reference vertical length is multiplied and the predetermined number by which the reference horizontal length is multiplied are determined independently of each other. Therefore, the shape of the generated second cropping region may be rectangular.
[0216] Vertical and horizontal length determination #2
[0217] According to other embodiments, the shape of the second cropping area may be a square. The length of one side of the square second cropping area may be determined based on a value obtained by multiplying the reference vertical length by a predetermined number and a value obtained by multiplying the reference horizontal length by a predetermined number. For example, the greater value of the value obtained by multiplying the reference vertical length by a predetermined number and the value obtained by multiplying the reference horizontal length by a predetermined number may be determined as the length of one side. Here, the predetermined number by which the reference vertical length is multiplied and the predetermined number by which the reference horizontal length is multiplied are determined independently of each other.
[0218] Determining the location of the center point
[0219] The position of the center point of the second cropping region may be different from the position of the center point of the reference rectangle. The reason why the position of the center point of the reference rectangle and the position of the center point of the second cropping region are determined to be different from each other is because the shapes of the upper eyelid and the lower eyelid are not symmetrical to each other, and the shapes of the upper eyelid and the lower eyelid are usually not line-symmetrical with respect to a vertical line passing through the center of the reference rectangle.
[0220] In general, the greater the Y coordinate value of the center point of the second cropping region compared to the Y coordinate value of the center point of the reference rectangle, the more information about the eyebrows is stored, and the smaller the Y coordinate value of the center point of the second cropping region compared to the Y coordinate value of the center point of the reference rectangle, the less information about the eyebrows is stored.
[0221] For the left eye, in general, the greater the X-coordinate value of the center point of the second cropping region is compared to the X-coordinate value of the center point of the reference rectangle, the less information there is about the area between the eyes, and the smaller the X-coordinate value of the center point of the second cropping region is compared to the X-coordinate value of the center point of the reference rectangle, the less information there is about the area between the eye and the temple.
[0222] In several embodiments of the present application, the Y coordinate value of the center point of the second cropping region may be smaller than the Y coordinate value of the center point of the reference rectangle.
[0223] In some embodiments of the present application, for the left eye, the X-coordinate value of the center point of the second cropping region may be greater than the X-coordinate value of the center point of the reference rectangle, but for the right eye, the X-coordinate value of the center point of the second cropping region may be less than the X-coordinate value of the center point of the reference rectangle.
[0224] However, it will be apparent to a person skilled in the art that in order to achieve the objectives of the present application, the relationship between the position of the center point of the second cropping area and the position of the center point of the reference rectangle does not necessarily have to be as described above, and appropriate modifications are acceptable within the scope capable of achieving the objectives of the present application.
[0225] FIG. 12 illustrates examples of second cropping areas determined in various ways. FIG. 12(a) illustrates an example of a second cropping area where the second cropping area is rectangular and the center point of the second cropping area and the center point of the reference rectangle coincide. FIG. 12(b) illustrates an example of a second cropping area where the second cropping area is rectangular and the center point of the second cropping area and the center point of the reference rectangle do not coincide. FIG. 12(c) illustrates an example of a second cropping area where the second cropping area is square and the center point of the second cropping area and the center point of the reference rectangle coincide. FIG. 12(d) illustrates an example of a second cropping area where the second cropping area is square and the center point of the second cropping area and the center point of the reference rectangle do not coincide.
[0226] For convenience, the following description will be given based on the case where the second cropping region is set as shown in FIG. 12(d).
[0227] Generate a second cropped image
[0228] A second cropping region may be determined, and based on the determined second cropping region, a second cropped image may be generated from the face image or a portion of the face image including both eyes by using pixels included inside the second cropping region, as shown in Fig. 13. The second cropped image includes a second right-eye cropped image (Fig. 13(b)) generated for the right eye and a second left-eye cropped image (Fig. 13(a)) generated for the left eye.
[0229] Hereinafter, the terms "second cropped image" and "eyelid-inclusive cropped image" may be used interchangeably. The terms "second right-eye cropped image" and "right-eyelid-inclusive cropped image" may be used interchangeably. The terms "second left-eye cropped image" and "left-eyelid-inclusive cropped image" may be used interchangeably.
[0230] Further, unless otherwise specified below, the term "second cropped image (or eyelid-inclusive cropped image)" may mean either the second right-eye cropped image or the second left-eye cropped image, or may mean both, depending on the context.
[0231] The second cropped image means an image generated such that it includes information about the eyelids. A cropped image generated in a manner different from that described above is called a second cropped image (eyelid-inclusive cropped image) if the border of the cropping region is determined such that the image additionally includes pixels corresponding to the eyelids.
[0232]
[0233] [(5) Third cropping (caruncle-including cropping)]
[0234] In the following, a more advantageous cropping method for caruncle analysis is described. This cropping method is called the third cropping or caruncle-inclusive cropping. The third cropping may be applied to both right-eye and left-eye images, but for convenience, a description is given based on obtaining a left-eye cropped image.
[0235] Third cropping objective
[0236] The third cropping is to generate an image that will be used as an input image for a model to predict whether or not there is caruncular swelling, among other predictive models to be described later. The third cropping is to include information about the caruncle in the image.
[0237] Input image
[0238] A third crop may be applied to the face image or the portion of the face image that includes both eyes.
[0239] Eye contour detection
[0240] According to one embodiment, the eye contour detection method in the first cropping may be directly applied, that is, through eye contour detection, six pixel values may be obtained.
[0241] Cropping area determination
[0242] Below, a description is given based on the left eye.
[0243] Among the six pixels, the following pixels are selected (Figure 14(a)): the pixel closest to the caruncle (P in Figure 9) 4 , hereinafter referred to as the first pixel); two pixels on the boundary between the upper eyelid or the eyelashes on the upper eyelid side and the eyeball exposed to the outside (P 3 and P 2 ), the pixels closest to the caruncle (P in Fig. 9) 3, hereinafter referred to as the second pixel); and two pixels at the boundary between the lower eyelid or the eyelashes on the lower eyelid side and the externally exposed eyeball (P 5 and P 6 ), the pixels closest to the caruncle (P in Fig. 9) 5 , hereafter referred to as the third pixel).
[0244] Next, four pixels (P 3 , P 2 , P 5 , and P 6 ) is determined (FIG. 14(b)).
[0245] Next, for the four pixels (first to fourth pixels) mentioned above, the maximum X coordinate value X max , the minimum X coordinate value X min , the maximum Y coordinate value max , and the minimum Y coordinate value Y min may be determined.
[0246] Determined X max , X min , Y max , and Y min Based on this, a rectangle having the following four points as vertices may be generated, and the area included inside this rectangle may be determined as the third cropping area.
[0247] (X min ,Y max ),
[0248] (X max ,Y max ),
[0249] (X max ,Y min ), and
[0250] (X min ,Y min )
[0251] 15 is a diagram showing the third cropping region. In particular, (a) of FIG. 15 shows the maximum X coordinate value of the above-mentioned four pixels (first to fourth pixels). max , the minimum of the X coordinate values of the four pixels min , the maximum Y coordinate value of the four pixels max , and the minimum Y coordinate value of the four pixels min 15(b) is a diagram showing a third cropping region generated using the determined maximum and minimum values of the X coordinate and the determined maximum and minimum values of the Y coordinate.
[0252] As explained above, the third cropping region may be determined in the same manner as for the right eye.
[0253] Generate the third cropped image
[0254] A third cropping region may be determined, and based on the determined third cropping region, a third cropped image may be generated from the face image or a portion of the face image including both eyes by using pixels included inside the third cropping region, as shown in Fig. 16. The third cropped image includes a third right-eye cropped image (Fig. 16(b)) generated for the right eye and a third left-eye cropped image (Fig. 16(a)) generated for the left eye.
[0255] Hereinafter, the terms "third cropped image" and "caruncle-inclusive cropped image" may be used interchangeably. The terms "third right-eye cropped image" and "right caruncle-inclusive cropped image" may be used interchangeably. The terms "third left-eye cropped image" and "left caruncle-inclusive cropped image" may be used interchangeably.
[0256] Further, unless otherwise specified below, the term "third cropped image (or caruncle-including cropped image)" may mean either a third right-eye cropped image or a third left-eye cropped image, or may include both, depending on the context.
[0257] The third cropped image means an image generated such that it includes information about the caruncle. A cropped image generated in a manner different from the above-mentioned manner is called a third cropped image (caruncle-inclusive cropped image) if the border of the cropping region is determined such that the pixels corresponding to the caruncle are additionally included.
[0258]
[0259] [(6) Flip Horizontal]
[0260] The necessity of left-right inversion
[0261] According to the method of predicting clinical activity score for thyroid eye disease provided herein, instead of using binocular images, cropped images of the left and right eyes are used.
[0262] On the other hand, the eye contour is asymmetric: for example, for the right eye, the caruncle is at the left edge of the right eye, but the natural meeting point of the upper and lower eyelids is at the right edge of the right eye.
[0263] Therefore, it is more effective to use the prediction models trained on the right eye and the prediction models trained on the left eye separately for faster learning and more accurate prediction.
[0264] However, when the left eye is rotated to become the right eye based on the axis of symmetry between the left and right eyes, the shape features of the right and left eyes are similar to each other.
[0265] Thus, according to the present application, either the right eye or the left eye is used without left-right flipping, and the other eye is used with left-right flipping, so that only one predictive model can be used. Alternatively, if it is intended to train separate predictive models for the left and right eyes, the training data set may be doubled.
[0266] Flip horizontally
[0267] Flipping an image horizontally (transforming the left and right sides of an image) means that if a first pixel value corresponds to pixel (a+△,Y) in an image and a second pixel value corresponds to pixel (a-△,Y), then the pixel value of (a+△,Y) is changed from a first pixel value to a second pixel value and the pixel value of (a-△,Y) is changed from the second pixel value to the first pixel value, according to a horizontal reference line (X=a) that runs through the image to be flipped and divides the image in half horizontally.
[0268] Horizontally inverted target image
[0269] It is sufficient to mirror-flipped either the left-eye image or the right-eye image, which one is mirror-flipped being determined according to which one of the left-eye image and the right-eye image is based on when the predictive model, described below, is trained.
[0270] Fig. 17 is a diagram showing various examples of an original image and a mirror-inverted image. In particular, Fig. 17(a) shows a first cropped image and its mirror-inverted image. Fig. 17(b) shows a second cropped image and its mirror-inverted image. Fig. 17(c) shows a third cropped image and its mirror-inverted image.
[0271] Flip Horizontal Option
[0272] However, as explained above, left-right flipping is applied to integrate the prediction models for the left and right eyes or to increase the amount of training data, and therefore, if necessary, left-right flipping preprocessing may be omitted.
[0273]
[0274] [(8) Resize]
[0275] Need for resizing
[0276] As explained above, if the image is cropped about the eye contour and the cropped image is used, the eye size will vary from person to person and the cropped image will vary in size from person to person.
[0277] On the other hand, if the left-eye and right-eye images are cropped and acquired independently, the left-eye cropped image and the right-eye cropped image of the same person will differ from each other due to the size difference between the left and right eyes.
[0278] For this reason, before the eye images are input into the prediction models described below, they need to be resized to a standard size corresponding to the respective prediction model.
[0279] Standard size for each predictive model
[0280] The standard sizes corresponding to the first to fifth prediction models may be different from each other.
[0281] The standard size corresponding to the predictive model using the second cropped image as the input image may be the same.
[0282] The standard size corresponding to the predictive model using the third cropped image as the input image may be the same.
[0283] The standard size corresponding to a predictive model that uses the second cropped image as an input image may be different from the standard size corresponding to a predictive model that uses the third cropped image as an input image.
[0284] Alternatively, the standard sizes corresponding to the first to fifth prediction models may be the same.
[0285] FIG. 18 shows an example of resizing when the first to fifth prediction models have the same standard size.
[0286] How to resize
[0287] The size of the resize target image is adjusted to fit the standard size.
[0288] If the width or height of the resized target image is larger than the width or height of the standard size, the width or height of the resized target image may be decreased.
[0289] If the width or height of the resized target image is smaller than the width or height of the standard size, the width or height of the resized target image may be increased.
[0290] In resizing, the aspect ratio of the image before resizing may be different from the aspect ratio of the image after resizing.
[0291]
[0292] 4. Predictive Model
[0293] [(1) First prediction model]
[0294] Purpose and operation of the first predictive model
[0295] The first prediction model is a model for predicting whether or not conjunctival hyperemia is present.
[0296] The first prediction model may receive an eye image as input data and may output a probability value of conjunctival hyperemia captured in the input eye image. In particular, the first prediction model is a prediction model trained to predict whether or not conjunctival hyperemia is present, and thus the above-mentioned first cropped image may be used for the first prediction model.
[0297] When the first prediction model includes a first left eye prediction model and a first right eye prediction model, the first left eye prediction model may receive a left eye image and output a probability value that the conjunctiva captured in the left eye image is hyperemic, and the first right eye prediction model may receive a right eye image and output a probability value that the conjunctiva captured in the right eye image is hyperemic.
[0298] If the first prediction model is not dualized and is realized as a single model, the first prediction model may receive either a right eye image or a left eye image and output a probability value that the conjunctiva captured in the input image is conjunctival hyperemia, and may receive the other image and output a probability value that the conjunctiva captured in the input image is conjunctival hyperemia.
[0299] The eye image may be an image that has been preprocessed according to the preprocessing algorithms described above.
[0300] For example, the eye image may be an image that has been pre-processed according to a first cropping.
[0301] As another example, the eye image may be an image that has undergone pre-processing, including first cropping and resizing.
[0302] As yet another example, the eye image may be an image that has been pre-processed, including first cropping, flipping, and resizing.
[0303] In this specification, the first prediction model may be referred to as a conjunctival hyperemia prediction model. However, the first prediction model described in this application may output a result value for conjunctival edema prediction, a result value for caruncular edema prediction, and a result value for eyelid redness and eyelid edema prediction in addition to a result value for conjunctival hyperemia prediction.
[0304] Artificial Intelligence Model Structure
[0305] An artificial intelligence model may be prepared to train the first predictive model.
[0306] Examples of artificial intelligence models may be Support Vector Machine (SVM), Random Forest, Gradient Boosting algorithm, ResNet, VGG, GoogLeNet, MobileNet, and Vision Transformer.
[0307] The first predictive model may utilize ViT as a backbone architecture. The ViT model is a simple non-hierarchical model using single-scale feature maps that has been proven effective for visual recognition.
[0308] ViT is composed of a linear embedding, a transformer encoder, and a classifier. When an input image is input to the model, the input image may be divided into multiple input patches. The resulting input patches are fed to the encoder and the classifier, which predicts multiple labels.
[0309] In this application, the artificial intelligence model may have five output nodes.
[0310] Preparing the training dataset
[0311] To train the first predictive model, multiple training datasets may be prepared.
[0312] The training data set includes an eye image and a plurality of corresponding evaluation values, the eye image being the first cropped image described above, and the plurality of evaluation values including five evaluation values corresponding to the eye image: an evaluation value for conjunctival hyperemia, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema.
[0313] That is, while a training data set including only the first cropped image and its corresponding evaluation value regarding conjunctival hyperemia may be used to train a first predictive model for analyzing conjunctival hyperemia, in the present application, the first cropped image and all of the five types of evaluation values described above are used to train the first predictive model.
[0314] Thus, the first predictive model described in the present application is trained to take into account the symptoms of chemosis, caruncular edema, eyelid redness, and eyelid edema in the analysis of conjunctival hyperemia, and is therefore determined to more accurately predict conjunctival hyperemia.
[0315] Training the first predictive model
[0316] Using the multiple training data sets prepared as described above, eye images contained in the multiple training data sets prepared are input into an artificial intelligence model, and training is performed using evaluation values corresponding to each of the input eye images and output values output from the artificial intelligence model.
[0317] When the first prediction model includes a first left eye prediction model and a first right eye prediction model, the multiple training datasets for training the first left eye prediction model may include left eye images and evaluation values for conjunctival congestion, conjunctival edema, caruncle edema, eyelid redness, and eyelid edema corresponding to the left eye images, and the multiple training datasets for training the first right eye prediction model may include right eye images and evaluation values for conjunctival congestion, conjunctival edema, caruncle edema, eyelid redness, and eyelid edema corresponding to the right eye images. On the other hand, in order to increase the number of training datasets, the multiple training datasets for training the first left eye prediction model may include right eye images that have been mirror-inverted and five types of evaluation values corresponding to the right eye images, and the multiple training datasets for training the first right eye prediction model may include left eye images that have been mirror-inverted and five types of evaluation values corresponding to the left eye images.
[0318] In the case where the first prediction model is not dualized but is intended to be realized as one model, the multiple training data sets may include a right eye image and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for lacrimal caruncle edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the right eye image, or may include a left eye image on which left-right inversion has been performed and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for lacrimal caruncle edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the left eye image. Alternatively, the multiple training data sets may include a left eye image and five types of evaluation values corresponding to the left eye image, or may include a right eye image on which left-right inversion has been performed and five types of evaluation values corresponding to the right eye image.
[0319] On the other hand, in training the first prediction model, in order to predict whether or not there is conjunctival congestion without distinguishing between right eye images and left eye images, all right eye images, right eye images with left-right inversion, left eye images, and left eye images with left-right inversion are used as training data for training one model.
[0320] For example, when the first prediction model includes a first left eye prediction model and a first right eye prediction model, the multiple training datasets for training the first left eye prediction model may include left eye images and five types of evaluation values corresponding to the left eye images; and right eye images on which left-right flipping has been performed and five types of evaluation values corresponding to the right eye images, and the multiple training datasets for training the first right eye prediction model may include right eye images and five types of evaluation values corresponding to the right eye images; and left eye images on which left-right flipping has been performed and five types of evaluation values corresponding to the left eye images.
[0321] If the first prediction model is not dualized, but rather is intended to be realized as a single model, the multiple training datasets may include right eye images and five types of evaluation values corresponding to right eye images; right eye images and five types of evaluation values corresponding to right eye images on which left-right flipping has been performed; left eye images and five types of evaluation values corresponding to left eye images; and left eye images and five types of evaluation values corresponding to left eye images on which left-right flipping has been performed.
[0322]
[0323] [(2) Second prediction model]
[0324] Purpose and operation of the second predictive model
[0325] The second prediction model is a model for predicting whether or not chemosis is present.
[0326] The second predictive model may receive an eye image as input data and may output a probability value of the presence of chemosis captured in the input eye image. In particular, the second predictive model is a predictive model trained to predict whether chemosis is present or not, and thus the first cropped image described above may be used for the second predictive model.
[0327]
[0328] When the second prediction model includes a second left eye prediction model and a second right eye prediction model, the second left eye prediction model may receive a left eye image and output a probability value of the presence of chemosis captured in the left eye image, and the second right eye prediction model may receive a right eye image and output a probability value of the presence of chemosis captured in the right eye image.
[0329] If the second predictive model is not dualized and is implemented as a single model, the second predictive model may receive either a right eye image or a left eye image and output a probability value of the presence of chemosis captured in the input image, and may receive the other image and output a probability value of the presence of chemosis captured in the input image.
[0330] The eye image may be an image that has been preprocessed according to the preprocessing algorithms described above.
[0331] For example, the eye image may be an image that has been pre-processed according to a first cropping.
[0332] As another example, the eye image may be an image that has undergone pre-processing, including first cropping and resizing.
[0333] As yet another example, the eye image may be an image that has been pre-processed, including first cropping, flipping, and resizing.
[0334] In this specification, the second prediction model may be referred to as a chemosis prediction model. However, the second prediction model described in this application may output a result value for conjunctival hyperemia prediction, a result value for caruncular edema prediction, and a result value for eyelid redness and eyelid edema prediction in addition to a result value for chemosis prediction.
[0335] Artificial Intelligence Model Structure
[0336] An artificial intelligence model may be prepared to train the second predictive model.
[0337] Examples of artificial intelligence models may be Support Vector Machine (SVM), Random Forest, Gradient Boosting algorithm, ResNet, VGG, GoogLeNet, MobileNet, and Vision Transformer.
[0338] In this application, the artificial intelligence model may have five output nodes.
[0339] The description of the artificial intelligence model for training the second predictive model is the same or very similar to that for training the first predictive model described above, and a detailed description will be omitted here.
[0340] Preparing the training dataset
[0341] To train the second predictive model, multiple training datasets may be prepared.
[0342] The training data set includes an eye image and a plurality of corresponding evaluation values, the eye image being the first cropped image described above, and the plurality of evaluation values including five evaluation values corresponding to the eye image: an evaluation value for conjunctival hyperemia, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema.
[0343] That is, a training data set including only the first cropped images and their corresponding evaluation values for chemosis may be used to train a second predictive model for analyzing chemosis, whereas in the present application, the first cropped images and all of the five types of evaluation values described above are used to train the second predictive model.
[0344] Therefore, the second predictive model described in the present application is trained to take into account the symptoms of conjunctival injection, caruncular edema, eyelid redness, and eyelid edema in the analysis of chemosis, and is therefore determined to more accurately predict chemosis.
[0345] Training a second predictive model
[0346] Using the multiple training data sets prepared as described above, eye images contained in the multiple training data sets prepared are input into an artificial intelligence model, and training is performed using evaluation values corresponding to each of the input eye images and output values output from the artificial intelligence model.
[0347] When the second prediction model includes a second left eye prediction model and a second right eye prediction model, the multiple training datasets for training the second left eye prediction model may include left eye images and evaluation values for conjunctival congestion, conjunctival edema, caruncle edema, eyelid redness, and eyelid edema corresponding to the left eye images, and the multiple training datasets for training the second right eye prediction model may include right eye images and evaluation values for conjunctival congestion, conjunctival edema, caruncle edema, eyelid redness, and eyelid edema corresponding to the right eye images. On the other hand, to increase the number of training datasets, the multiple training datasets for training the second left eye prediction model may include right eye images that have been mirror-inverted and five types of evaluation values corresponding to the right eye images, and the multiple training datasets for training the second right eye prediction model may include left eye images that have been mirror-inverted and five types of evaluation values corresponding to the left eye images.
[0348] In the case where the second prediction model is not dualized but is intended to be realized as one model, the multiple training data sets may include a right eye image and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the right eye image, or a left eye image on which left-right inversion has been performed and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the left eye image. Alternatively, the multiple training data sets may include a left eye image and five types of evaluation values corresponding to the left eye image, or a right eye image on which left-right inversion has been performed and five types of evaluation values corresponding to the right eye image.
[0349] On the other hand, in training the second prediction model, in order to predict whether or not there is chemosis without distinguishing between right eye images and left eye images, all right eye images, right eye images with left-right inversion, left eye images, and left eye images with left-right inversion are used as training data for training one model.
[0350] For example, when the second prediction model includes a second left eye prediction model and a second right eye prediction model, the multiple training datasets for training the second left eye prediction model may include left eye images and five types of evaluation values corresponding to the left eye images; and right eye images and five types of evaluation values corresponding to the right eye images on which left-right flipping has been performed, and the multiple training datasets for training the second right eye prediction model may include right eye images and five types of evaluation values corresponding to the right eye images; and left eye images and five types of evaluation values corresponding to the left eye images on which left-right flipping has been performed.
[0351] If the second prediction model is not dualized, but rather is intended to be realized as a single model, the multiple training datasets may include right eye images and five types of evaluation values corresponding to right eye images; right eye images and five types of evaluation values corresponding to right eye images on which left-right flipping has been performed; left eye images and five types of evaluation values corresponding to left eye images; and left eye images and five types of evaluation values corresponding to left eye images on which left-right flipping has been performed.
[0352]
[0353] [(3) The third prediction model]
[0354] Purpose and operation of the third prediction model
[0355] The third prediction model is a model for predicting whether or not there is caruncular edema.
[0356] The third prediction model may receive an eye image as input data and may output a probability value of the presence of caruncular edema captured in the input eye image. In particular, the third prediction model is a prediction model trained to predict whether or not caruncular edema is present, and thus the above-mentioned third cropped image may be used for the third prediction model.
[0357] When the third prediction model includes a third left eye prediction model and a third right eye prediction model, the third left eye prediction model may receive a left eye image and output a probability value of the presence of caruncular edema captured in the left eye image, and the third right eye prediction model may receive a right eye image and output a probability value of the presence of caruncular edema captured in the right eye image.
[0358] If the third prediction model is not dualized and is realized as a single model, the third prediction model may receive either a right eye image or a left eye image and output a probability value of the presence of caruncular edema captured in the input image, and may receive the other image and output a probability value of the presence of caruncular edema captured in the input image.
[0359] The eye image may be an image that has been preprocessed according to the preprocessing algorithms described above.
[0360] For example, the eye image may be an image that has been pre-processed according to a third cropping.
[0361] As another example, the eye image may be an image that has undergone pre-processing including a third cropping and resizing.
[0362] As yet another example, the eye image may be an image that has undergone pre-processing including third cropping, horizontal flipping, and resizing.
[0363] In this specification, the third prediction model may be referred to as a caruncular edema prediction model. However, the third prediction model described in this specification may output a result value for conjunctival hyperemia prediction, a result value for conjunctival edema prediction, and a result value for eyelid redness and eyelid edema prediction, in addition to a result value for caruncular edema prediction.
[0364] Artificial Intelligence Model Structure
[0365] An artificial intelligence model may be prepared to train the third predictive model.
[0366] Examples of artificial intelligence models may be Support Vector Machine (SVM), Random Forest, Gradient Boosting algorithm, ResNet, VGG, GoogLeNet, MobileNet, and Vision Transformer.
[0367] In this application, the artificial intelligence model may have five output nodes.
[0368] The description of the artificial intelligence model for training the third predictive model is the same or very similar to that for training the first predictive model described above, and a detailed description will be omitted here.
[0369] Preparing the training dataset
[0370] To train the third predictive model, multiple training datasets may be prepared.
[0371] The training data set includes an eye image and a plurality of corresponding evaluation values, the eye image being the third cropped image described above, and the plurality of evaluation values including five evaluation values corresponding to the eye image: an evaluation value for conjunctival hyperemia, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema.
[0372] That is, to train a third predictive model for analyzing caruncular edema, a training data set including only the third cropped image and its corresponding evaluation value for caruncular edema may be used, whereas in the present application, the third cropped image and all of the five types of evaluation values described above are used to train the third predictive model.
[0373] Therefore, the third predictive model described in the present application is trained to take into account the symptoms of conjunctival congestion, chemosis, eyelid redness, and eyelid edema in the analysis of caruncular edema, and is therefore determined to more accurately predict caruncular edema.
[0374] Training the third predictive model
[0375] Using the multiple training data sets prepared as described above, eye images contained in the multiple training data sets prepared are input into an artificial intelligence model, and training is performed using evaluation values corresponding to each of the input eye images and output values output from the artificial intelligence model.
[0376] When the third prediction model includes a third left eye prediction model and a third right eye prediction model, the multiple training datasets for training the third left eye prediction model may include left eye images and, corresponding to the left eye images, evaluation values for conjunctival congestion, evaluation values for conjunctival edema, evaluation values for caruncular edema, evaluation values for eyelid redness, and evaluation values for eyelid edema, and the multiple training datasets for training the third right eye prediction model may include right eye images and, corresponding to the right eye images, evaluation values for conjunctival congestion, evaluation values for conjunctival edema, evaluation values for caruncular edema, evaluation values for eyelid redness, and evaluation values for eyelid edema. On the other hand, to increase the number of training datasets, the multiple training datasets for training the third left eye prediction model may include right eye images that have been mirror-inverted and five types of evaluation values corresponding to the right eye images, and the multiple training datasets for training the third right eye prediction model may include left eye images that have been mirror-inverted and five types of evaluation values corresponding to the left eye images.
[0377] When the third prediction model is not dualized, but rather intended to be realized as one model, the multiple training data sets may include a right eye image and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the right eye image, or may include a left eye image on which left-right inversion has been performed, and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the left eye image. Alternatively, the multiple training data sets may include a left eye image and five types of evaluation values corresponding to the left eye image, or may include a right eye image on which left-right inversion has been performed, and five types of evaluation values corresponding to the right eye image.
[0378] On the other hand, in training the third prediction model, in order to predict whether or not there is caruncular edema without distinguishing between right eye images and left eye images, all right eye images, right eye images with left-right inversion performed, left eye images, and left eye images with left-right inversion performed are used as training data for training one model.
[0379] For example, when the third prediction model includes a third left eye prediction model and a third right eye prediction model, the multiple training datasets for training the third left eye prediction model may include left eye images and five types of evaluation values corresponding to the left eye images; and right eye images and five types of evaluation values corresponding to the right eye images on which left-right flipping has been performed, and the multiple training datasets for training the third right eye prediction model may include right eye images and five types of evaluation values corresponding to the right eye images; and left eye images and five types of evaluation values corresponding to the left eye images on which left-right flipping has been performed.
[0380] If the third prediction model is not dualized, but rather is intended to be realized as a single model, the multiple training datasets may include right eye images and five types of evaluation values corresponding to right eye images; right eye images and five types of evaluation values corresponding to right eye images on which left-right flipping has been performed; left eye images and five types of evaluation values corresponding to left eye images; and left eye images and five types of evaluation values corresponding to left eye images on which left-right flipping has been performed.
[0381]
[0382] [(4) Fourth prediction model]
[0383] Purpose and operation of the fourth prediction model
[0384] The fourth prediction model is a model for predicting whether or not eyelid redness will occur.
[0385] The fourth predictive model may receive an eye image as input data and may output a probability value of the presence of eyelid redness captured in the input eye image.
[0386] When the fourth prediction model includes a fourth left eye prediction model and a fourth right eye prediction model, the fourth left eye prediction model may receive a left eye image and output a probability value of the presence of eyelid redness captured in the left eye image, and the fourth right eye prediction model may receive a right eye image and output a probability value of the presence of eyelid redness captured in the right eye image.
[0387] If the fourth prediction model is not dualized and is implemented as a single model, the fourth prediction model may receive either a right eye image or a left eye image and output a probability value of the presence of eyelid redness captured in the input image, and may receive the other image and output a probability value of the presence of eyelid redness captured in the input image.
[0388] The eye image may be an image that has been preprocessed according to the preprocessing algorithms described above.
[0389] For example, the eye image may be an image that has been pre-processed according to a second cropping.
[0390] As another example, the eye image may be an image that has undergone pre-processing, including a second cropping and resizing.
[0391] As yet another example, the eye image may be an image that has undergone pre-processing including a second crop, horizontal flip, and resizing.
[0392] In this specification, the fourth prediction model may be referred to as an eyelid redness prediction model. However, the fourth prediction model described in this specification may output a result value for conjunctival hyperemia prediction, a result value for conjunctival edema prediction, a result value for caruncular edema prediction, and a result value for eyelid edema prediction in addition to a result value for eyelid redness prediction.
[0393] Artificial Intelligence Model Structure
[0394] An artificial intelligence model may be prepared to train the fourth predictive model.
[0395] Examples of artificial intelligence models may be Support Vector Machine (SVM), Random Forest, Gradient Boosting algorithm, ResNet, VGG, GoogLeNet, MobileNet, and Vision Transformer.
[0396] In this application, the artificial intelligence model may have five output nodes.
[0397] The description of the artificial intelligence model for training the fourth predictive model is the same or very similar to that for training the first predictive model described above, and a detailed description will be omitted here.
[0398] Preparing the training dataset
[0399] To train the fourth predictive model, multiple training datasets may be prepared.
[0400] The training data set includes an eye image and a plurality of corresponding evaluation values, the eye image being the second cropped image described above, and the plurality of evaluation values including five evaluation values corresponding to the eye image: an evaluation value for conjunctival hyperemia, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema.
[0401] That is, a training data set including only the second cropped images and corresponding evaluation values for eyelid redness may be used to train a fourth predictive model for analyzing eyelid redness, whereas in the present application, the second cropped images and all five types of evaluation values described above may be used to train the fourth predictive model.
[0402] Thus, the fourth predictive model described herein is trained to take into account the symptoms of conjunctival congestion, chemosis, caruncle edema, and eyelid edema in the analysis of eyelid redness, and is therefore determined to more accurately predict eyelid redness.
[0403] Training the fourth predictive model
[0404] Using the multiple training data sets prepared as described above, eye images contained in the multiple training data sets prepared are input into an artificial intelligence model, and training is performed using evaluation values corresponding to each of the input eye images and output values output from the artificial intelligence model.
[0405] When the fourth prediction model includes a fourth left eye prediction model and a fourth right eye prediction model, the multiple training datasets for training the fourth left eye prediction model may include left eye images and evaluation values for conjunctival congestion, conjunctival edema, caruncle edema, eyelid redness, and eyelid edema corresponding to the left eye images, and the multiple training datasets for training the fourth right eye prediction model may include right eye images and evaluation values for conjunctival congestion, conjunctival edema, caruncle edema, eyelid redness, and eyelid edema corresponding to the right eye images. On the other hand, to increase the number of training datasets, the multiple training datasets for training the fourth left eye prediction model may include right eye images that have been mirror-inverted and five types of evaluation values corresponding to the right eye images, and the multiple training datasets for training the fourth right eye prediction model may include left eye images that have been mirror-inverted and five types of evaluation values corresponding to the left eye images.
[0406] When the fourth prediction model is not dualized, but is intended to be realized as one model, the multiple training data sets may include a right eye image and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the right eye image, or may include a left eye image on which left-right inversion has been performed, and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the left eye image. Alternatively, the multiple training data sets may include a left eye image and five types of evaluation values corresponding to the left eye image, or may include a right eye image on which left-right inversion has been performed, and five types of evaluation values corresponding to the right eye image.
[0407] On the other hand, in training the fourth prediction model, in order to predict whether or not there is eyelid redness without distinguishing between right eye images and left eye images, all right eye images, right eye images with left-right inversion, left eye images, and left eye images with left-right inversion are used as training data for training one model.
[0408] For example, if the fourth prediction model includes a fourth left eye prediction model and a fourth right eye prediction model, the multiple training datasets for training the fourth left eye prediction model may include left eye images and five types of evaluation values corresponding to the left eye images; and right eye images and five types of evaluation values corresponding to the right eye images on which left-right flipping has been performed, and the multiple training datasets for training the fourth right eye prediction model may include right eye images and five types of evaluation values corresponding to the right eye images; and left eye images and five types of evaluation values corresponding to the left eye images on which left-right flipping has been performed.
[0409] If the fourth predictive model is not dualized, but rather is intended to be realized as a single model, the multiple training datasets may include right eye images and five types of evaluation values corresponding to right eye images; right eye images and right eye images on which left-right flipping has been performed; five types of evaluation values corresponding to left eye images and left eye images; and five types of evaluation values corresponding to left eye images and left eye images on which left-right flipping has been performed.
[0410]
[0411] [(5) Fifth prediction model]
[0412] Purpose and operation of the fifth prediction model
[0413] The fifth prediction model is a model for predicting whether or not eyelid edema is present.
[0414] The fifth predictive model may receive an eye image as input data and may output a probability value of the presence of eyelid edema captured in the input eye image.
[0415] When the fifth prediction model includes a fifth left eye prediction model and a fifth right eye prediction model, the fifth left eye prediction model may receive a left eye image and output a probability value of the presence of eyelid edema captured in the left eye image, and the fifth right eye prediction model may receive a right eye image and output a probability value of the presence of eyelid edema captured in the right eye image.
[0416] If the fifth predictive model is not dualized and is realized as a single model, the fifth predictive model may receive either a right eye image or a left eye image and output a probability value of the presence of eyelid edema captured in the input image, and may receive the other image and output a probability value of the presence of eyelid edema captured in the input image.
[0417] The eye image may be an image that has been preprocessed according to the preprocessing algorithms described above.
[0418] For example, the eye image may be an image that has been pre-processed according to a second cropping.
[0419] As another example, the eye image may be an image that has undergone pre-processing, including a second cropping and resizing.
[0420] As yet another example, the eye image may be an image that has undergone pre-processing including a second crop, horizontal flip, and resizing.
[0421] In this specification, the fifth prediction model may be referred to as an eyelid edema prediction model. However, the fifth prediction model described in this specification may output a result value for conjunctival hyperemia prediction, a result value for conjunctival edema prediction, a result value for caruncular edema prediction, and a result value for eyelid redness prediction in addition to a result value for eyelid edema prediction.
[0422] Artificial Intelligence Model Structure
[0423] An artificial intelligence model may be prepared to train the fifth predictive model.
[0424] Examples of artificial intelligence models may be Support Vector Machine (SVM), Random Forest, Gradient Boosting algorithm, ResNet, VGG, GoogLeNet, MobileNet, and Vision Transformer.
[0425] In this application, the artificial intelligence model may have five output nodes.
[0426] The description of the artificial intelligence model for training the fifth predictive model is the same or very similar to that for training the first predictive model described above, and a detailed description will be omitted here.
[0427] Preparing the training dataset
[0428] To train the fifth predictive model, multiple training datasets may be prepared.
[0429] The training data set includes an eye image and a plurality of corresponding evaluation values, the eye image being the second cropped image described above, and the plurality of evaluation values including five evaluation values corresponding to the eye image: an evaluation value for conjunctival hyperemia, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema.
[0430] That is, to train a fifth predictive model for analyzing eyelid edema, a training data set including only the second cropped images and their corresponding evaluation values for eyelid edema may be used, whereas in the present application, the second cropped images and all of the five types of evaluation values described above are used to train the fifth predictive model.
[0431] Thus, the fifth predictive model described in the present application is trained to take into account the symptoms of conjunctival congestion, chemosis, caruncle edema, and eyelid redness in the analysis of eyelid edema, and is therefore determined to more accurately predict eyelid edema.
[0432] Training the fifth predictive model
[0433] Using the multiple training data sets prepared as described above, eye images contained in the multiple training data sets prepared are input into an artificial intelligence model, and training is performed using evaluation values corresponding to each of the input eye images and output values output from the artificial intelligence model.
[0434] When the fifth prediction model includes a fifth left eye prediction model and a fifth right eye prediction model, the multiple training datasets for training the fifth left eye prediction model may include left eye images and evaluation values for conjunctival congestion, conjunctival edema, caruncle edema, eyelid redness, and eyelid edema corresponding to the left eye images, and the multiple training datasets for training the fifth right eye prediction model may include right eye images and evaluation values for conjunctival congestion, conjunctival edema, caruncle edema, eyelid redness, and eyelid edema corresponding to the right eye images. On the other hand, to increase the number of training datasets, the multiple training datasets for training the fifth left eye prediction model may include right eye images that have been mirror-inverted and five types of evaluation values corresponding to the right eye images, and the multiple training datasets for training the fifth right eye prediction model may include left eye images that have been mirror-inverted and five types of evaluation values corresponding to the left eye images.
[0435] In the case where the fifth prediction model is not dualized but is intended to be realized as one model, the multiple training data sets may include a right eye image and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the right eye image, or may include a left eye image on which left-right inversion has been performed and an evaluation value for conjunctival congestion, an evaluation value for conjunctival edema, an evaluation value for caruncular edema, an evaluation value for eyelid redness, and an evaluation value for eyelid edema corresponding to the left eye image. Alternatively, the multiple training data sets may include a left eye image and five types of evaluation values corresponding to the left eye image, or may include a right eye image on which left-right inversion has been performed and five types of evaluation values corresponding to the right eye image.
[0436] On the other hand, in training the fifth prediction model, in order to predict whether or not there is eyelid edema without distinguishing between right eye images and left eye images, all right eye images, right eye images with left-right inversion, left eye images, and left eye images with left-right inversion are used as training data for training one model.
[0437] For example, if the fifth prediction model includes a fifth left eye prediction model and a fifth right eye prediction model, the multiple training datasets for training the fifth left eye prediction model may include left eye images and five types of evaluation values corresponding to the left eye images; and right eye images and five types of evaluation values corresponding to the right eye images on which left-right flipping has been performed, and the multiple training datasets for training the fifth right eye prediction model may include right eye images and five types of evaluation values corresponding to the right eye images; and left eye images and five types of evaluation values corresponding to the left eye images on which left-right flipping has been performed.
[0438] If the fifth predictive model is not dualized, but rather is intended to be realized as a single model, the multiple training datasets may include right eye images and five types of evaluation values corresponding to right eye images; right eye images and right eye images on which left-right flipping has been performed; five types of evaluation values corresponding to left eye images and left eye images; and five types of evaluation values corresponding to left eye images and left eye images on which left-right flipping has been performed.
[0439]
[0440] The training of the predictive model may be performed by the electronic device, in particular by the server 20 described above. Moreover, the training of the predictive model by the electronic device or the server 20 refers to a series of processes that allow the output value of the predictive model for the input data to be similar to the output value labeled in the input data. To this end, the electronic device or the server 20 may use the difference between the output value of the predictive model and the labeled value to change the weight value of each of the nodes included in the predictive model. Here, the electronic device or the server 20 may determine the amount of change in the weight value of each of the nodes by using various feedback functions.
[0441]
[0442] The following methods are described below through the above-mentioned system 1: a method for predicting each symptom associated with a clinical activity score for thyroid eye disease by preprocessing an eye image and inputting the preprocessed eye image into the above-mentioned prediction model; a method for predicting a clinical activity score based on the prediction results of each symptom; and a method for monitoring the prediction results of the clinical activity score and providing guidance or recommendation to a user to visit a hospital for a medical examination according to the monitored results.
[0443]
[0444] 5. Method for predicting conjunctival congestion
[0445] The conjunctival hyperemia prediction method described herein may be performed by the server 20.
[0446] FIG. 19 is a flowchart showing a method for predicting conjunctival congestion.
[0447] Referring to FIG. 19, the server 20 acquires a facial image in step S100, preprocesses the acquired facial image in step S110, inputs the preprocessed image into the above-mentioned first prediction model (conjunctival hyperemia prediction model) in step S120, and acquires an output value of the first prediction model in step S130.
[0448] Acquiring face images
[0449] The server 20 acquires a face image in step S100. The server 20 may acquire the face image from the user terminal 10.
[0450] Facial image preprocessing
[0451] The server 20 may pre-process the facial image acquired in step S110. The server 20 may perform the first cropping, horizontal flipping, and resizing described above on the acquired facial image.
[0452] Cropping
[0453] The server 20 may crop the face image or a portion of the face image including both eyes. The server 20 may crop the face image or the like to generate a left eye cropped image and a right eye cropped image. In performing the conjunctival hyperemia prediction method, the server 20 may use the first cropping (external exposure eye cropping) method among the three cropping methods described above. The first cropping method has already been described in detail, so a detailed description thereof will be omitted here.
[0454] Resize and flip processing
[0455] The server 20 may resize the sizes of the left-eye cropped image and the right-eye cropped image to a predetermined size.
[0456] Meanwhile, the server 20 may horizontally flip either the left-eye cropped image or the right-eye cropped image as described above. The server 20 does not horizontally flip the other of the left-eye cropped image and the right-eye cropped image. Here, it has been determined that the criteria for determining whether the left-eye image or the right-eye image is to be horizontally flipped is the same as the criteria applied when the first prediction model is trained. That is, in training the first prediction model, if the left-eye image is flipped and the right-eye image is not flipped, the server 20 will flip the left-eye image and will not flip the right-eye image similarly.
[0457] As described above, in implementing the first prediction model, if the first prediction model is binarized into a first left eye prediction model and a first right eye prediction model, the server 20 does not need to perform left-right inversion processing.
[0458] On the other hand, while it has been explained that when preprocessing is performed, cropping processing, resizing processing, and left-right flipping processing are performed, the order of these types of preprocessing may be changed within a range that can achieve the objective of the conjunctival hyperemia prediction method disclosed in the present application.
[0459] Input preprocessed images
[0460] The server 20 may input the preprocessed image into a first prediction model in step S120.
[0461] If the first prediction model is not dualized and is realized as a single model, the server 20 sequentially inputs the right eye preprocessed image and the left eye preprocessed image that is flipped left and right into the first prediction model.
[0462] In implementing the first prediction model, when the first prediction model is binarized into a first left eye prediction model and a first right eye prediction model, the server 20 inputs the left eye preprocessed image into the first left eye prediction model, and inputs the right eye preprocessed image into the first right eye prediction model. Alternatively, the server 20 may input the left eye preprocessed image and the right eye preprocessed image that is horizontally inverted into the first left eye prediction model, and may input the right eye preprocessed image and the left eye preprocessed image that is horizontally inverted into the first right eye prediction model.
[0463] In implementing the first prediction model, if the first prediction model is not binarized but implemented as one model, and is simultaneously trained to be able to determine whether or not there is conjunctival hyperemia without distinguishing between the left eye image and the right eye image, the server 20 may input the left eye preprocessed image and the right eye preprocessed image to the first prediction model without flipping them horizontally. Alternatively, the server 20 may input the left eye preprocessed image, the left eye preprocessed image that is flipped horizontally, the right eye preprocessed image, and the right eye preprocessed image that is flipped horizontally to the first prediction model.
[0464] Conjunctival congestion prediction result
[0465] The server 20 may output a result value output from the first prediction model in step S130. The result value may be a predicted probability value for conjunctival hyperemia captured in the image. However, as described above, since the first prediction model is trained to output a conjunctival edema prediction value, a caruncular edema prediction value, a lid redness prediction value, and an eyelid edema prediction value in addition to the conjunctival hyperemia prediction value, the server 20 may obtain all result values related to the five types of evaluation values from the first prediction model. Here, the server 20 selects only the conjunctival hyperemia prediction value among the conjunctival hyperemia prediction value, the conjunctival edema prediction value, the caruncular edema prediction value, the lid redness prediction value, and the eyelid edema prediction value. Furthermore, based on the relationship between the selected conjunctival hyperemia prediction value and the threshold value and the prediction results for the left eye and the right eye, a result regarding whether or not there is conjunctival hyperemia is finally output.
[0466] When the server 20 inputs a left-eye preprocessed image into a first left-eye prediction model, inputs a left-right-flipped left-eye preprocessed image into a first right-eye prediction model, inputs a right-eye preprocessed image into a first right-eye prediction model, and inputs a left-right-flipped right-eye preprocessed image into a first left-eye prediction model, the server 20 may obtain a prediction result for the left eye that takes into account both the result obtained by inputting the left-eye preprocessed image into the first left-eye prediction model and the result obtained by inputting the left-right-flipped left-eye preprocessed image into the first right-eye prediction model. Here, the server 20 may obtain a prediction result for the right eye that takes into account both the result obtained by inputting the right-eye preprocessed image into the first right-eye prediction model and the result obtained by inputting the right-left-flipped right-eye preprocessed image into the first left-eye prediction model.
[0467] For example, the server 20 may obtain a predicted result for the left eye based on whether an average value of a result obtained by inputting a left eye preprocessed image into a first left eye prediction model and a result obtained by inputting a left-right inverted left eye preprocessed image into a first right eye prediction model is equal to or higher than a threshold value.
[0468] As another example, if either the value of the result obtained by inputting a left eye preprocessed image into a first left eye prediction model or the value of the result obtained by inputting a left-right inverted left eye preprocessed image into a first right eye prediction model is equal to or higher than the above-mentioned threshold value, the server 20 may predict that the conjunctiva of the left eye is hyperemic.
[0469] As another example, if both the result obtained by inputting the left eye preprocessed image into the first left eye prediction model and the result obtained by inputting the left-right inverted left eye preprocessed image into the first right eye prediction model are equal to or higher than the above-mentioned threshold, the server 20 may predict that the conjunctiva of the left eye is hyperemic.
[0470] When the server 20 inputs a left eye preprocessed image, a left eye preprocessed image that is horizontally inverted, a right eye preprocessed image, and a right eye preprocessed image that is horizontally inverted into a first prediction model that is not binarized, the server 20 may obtain a prediction result for the left eye that takes into account both a result obtained by inputting the left eye preprocessed image into the first prediction model and a result obtained by inputting the left eye preprocessed image that is horizontally inverted into the first prediction model. Here, the server 20 may obtain a prediction result for the right eye that takes into account both a result obtained by inputting the right eye preprocessed image into the first prediction model and a result obtained by inputting the right eye preprocessed image that is horizontally inverted into the first prediction model.
[0471] For example, the server 20 may obtain a predicted result for the left eye based on whether an average value of a result obtained by inputting a left eye preprocessed image into a first prediction model and a result obtained by inputting a left-right inverted left eye preprocessed image into the first prediction model is equal to or higher than a threshold value.
[0472] As another example, if either the value of the result obtained by inputting a left eye pre-processed image into the first prediction model or the value of the result obtained by inputting a left eye pre-processed image that has been mirrored into the first prediction model is equal to or higher than the above-mentioned threshold value, the server 20 may predict that the conjunctiva of the left eye is hyperemic.
[0473] As another example, if both the results obtained by inputting a left eye pre-processed image into the first prediction model and the results obtained by inputting a left eye pre-processed image that has been flipped left side into the first prediction model are equal to or higher than the above-mentioned threshold value, the server 20 may predict that the conjunctiva of the left eye is hyperemic.
[0474] The above-described method may be similarly applied to determining whether or not there is conjunctival injection in the right eye.
[0475]
[0476] 6. Method for predicting conjunctival edema
[0477] The chemosis prediction method described herein may be performed by the server 20.
[0478] FIG. 20 is a flowchart showing a method for predicting chemosis.
[0479] Referring to FIG. 20, the server 20 acquires a facial image in step S200, preprocesses the acquired facial image in step S210, inputs the preprocessed image into the above-mentioned second prediction model (conjunctival edema prediction model) in step S220, and acquires an output value of the second prediction model in step S230.
[0480] The chemosis prediction method is the same as or very similar to the conjunctival hyperemia prediction method, except that a second prediction model is used instead of the first prediction model, and the final result value obtained is a prediction value regarding whether or not there is chemosis (among the five types of result values, only the result value regarding chemosis is selected), and therefore a detailed description of the chemosis prediction method is omitted.
[0481]
[0482] 7. Method for predicting caruncular edema
[0483] The caruncular edema prediction method described herein may be performed by the server 20.
[0484] FIG. 21 is a flow chart showing a method for predicting caruncular edema.
[0485] Referring to FIG. 21, the server 20 acquires a facial image in step S300, preprocesses the acquired facial image in step S310, inputs the preprocessed image into the above-mentioned third prediction model (caruncular edema prediction model) in step S320, and acquires an output value of the third prediction model in step S330.
[0486] The caruncular edema prediction method is the same as or very similar to the conjunctival congestion prediction method, except that a third prediction model is used instead of the first prediction model, a third cropped image is used instead of the first cropped image, and the final result value obtained is a prediction value regarding whether or not there is caruncular edema (among the five types of result values, only the result value regarding caruncular edema is selected), and therefore a detailed description of the caruncular edema prediction method is omitted.
[0487]
[0488] 8. Eyelid redness prediction method
[0489] The eyelid redness prediction methods described herein may be performed by the server 20.
[0490] FIG. 22 is a flowchart showing a method for predicting eyelid redness.
[0491] Referring to FIG. 22, the server 20 acquires a facial image in step S400, preprocesses the acquired facial image in step S410, inputs the preprocessed image into the above-mentioned fourth prediction model (eyelid redness prediction model) in step S420, and acquires an output value of the fourth prediction model in step S430.
[0492] The eyelid redness prediction method is the same as or very similar to the conjunctival congestion prediction method, except that a fourth prediction model is used instead of the first prediction model, a second cropped image is used instead of the first cropped image, and the final result value obtained is a prediction value regarding whether or not there is eyelid redness (among the five types of result values, only the result value regarding eyelid redness is selected), and therefore a detailed description of the eyelid redness prediction method is omitted.
[0493]
[0494] 9. Eyelid edema prediction method
[0495] The eyelid edema prediction method described herein may be performed by the server 20.
[0496] FIG. 23 is a flowchart showing a method for predicting eyelid edema.
[0497] Referring to FIG. 23, the server 20 acquires a facial image in step S500, preprocesses the acquired facial image in step S510, inputs the preprocessed image into the above-mentioned fifth prediction model (eyelid edema prediction model) in step S520, and acquires an output value of the fifth prediction model in step S530.
[0498] The eyelid edema prediction method is the same as or very similar to the conjunctival congestion prediction method, except that the fifth prediction model is used instead of the first prediction model, the second cropped image is used instead of the first cropped image, and the final result value obtained is a prediction value regarding whether or not there is eyelid edema (among the five types of result values, only the result value regarding eyelid edema is selected), and therefore a detailed description of the eyelid edema prediction method is omitted.
[0499]
[0500] 10. Method for predicting clinical activity score for thyroid eye disease
[0501] The method for predicting a clinical activity score for thyroid eye disease described in the present application is described below.
[0502] FIG. 24 is a diagram showing a method for predicting clinical activity score for thyroid eye disease.
[0503] The server 20 may acquire a facial image.
[0504] The server 20 performs three different types of pre-processing on one face image. The first pre-processing (hereinafter, the first pre-processing) includes a first cropping (external exposure eyeball cropping), resizing, and left-right flipping. The second pre-processing (hereinafter, the second pre-processing) includes a second cropping (eyelid inclusion cropping), resizing, and left-right flipping. The third pre-processing (hereinafter, the third pre-processing) includes a third cropping (caruncle inclusion cropping), resizing, and left-right flipping. However, as described above, whether to perform left-right flipping may be omitted in all pre-processing methods, and whether to perform left-right flipping may be determined according to which method is used for each training method of the prediction model.
[0505] The server 20 obtains a first preprocessed image by performing a first preprocessing on the acquired face image, and the first preprocessed image includes a first left eye preprocessed image and a first right eye preprocessed image. Here, either the first left eye preprocessed image or the first right eye preprocessed image may be a left-right flipped image. Alternatively, a first left eye preprocessed image, a left-right flipped first left eye preprocessed image, a first right eye preprocessed image, and a left-right flipped first right eye preprocessed image may be generated. Furthermore, as already described in detail, the first preprocessed image is an image obtained using a first cropping, in which the number of pixels corresponding to eyelids in the first preprocessed image is minimized, and pixels corresponding to externally exposed eyes are included.
[0506] Further, the server 20 obtains a second preprocessed image by performing a second preprocessing on the obtained face image, and the second preprocessed image includes a second left-eye preprocessed image and a second right-eye preprocessed image. Here, either the second left-eye preprocessed image or the second right-eye preprocessed image may be a left-right flipped image. Alternatively, a second left-eye preprocessed image, a left-right flipped second left-eye preprocessed image, a second right-eye preprocessed image, and a left-right flipped second right-eye preprocessed image may be generated. Furthermore, as already described in detail, the second preprocessed image is an image obtained by using a second cropping, and the second preprocessed image includes sufficient pixels corresponding to the eyelids.
[0507] Furthermore, the server 20 obtains a third preprocessed image by performing a third preprocessing on the obtained face image, and the third preprocessed image includes a third left-eye preprocessed image and a third right-eye preprocessed image. Here, either the third left-eye preprocessed image or the third right-eye preprocessed image may be a left-right inverted processed image. Alternatively, a third left-eye preprocessed image, a left-right inverted third left-eye preprocessed image, a third right-eye preprocessed image, and a left-right inverted third right-eye preprocessed image may be generated. Furthermore, as already described in detail, since the third preprocessed image is an image obtained by using a third cropping, the third preprocessed image includes sufficient pixels corresponding to the caruncle.
[0508] The server 20 sequentially inputs the first preprocessed images (the first left eye preprocessed image and the first right eye preprocessed image) into the first prediction model. The server 20 obtains a result value (probability value) of the first prediction model for the first left eye preprocessed image, and determines whether or not there is conjunctival hyperemia of the left eye based on the result value. Furthermore, the server 20 obtains a result value (probability value) of the first prediction model for the first right eye preprocessed image, and determines whether or not there is conjunctival hyperemia of the right eye based on the result value.
[0509] The server 20 combines the judgment result regarding the left eye and the judgment result regarding the right eye to finally judge whether or not there is conjunctival hyperemia in both eyes. For example, when it is judged that there is conjunctival hyperemia in either the left eye or the right eye or both, the server 20 finally judges that there is conjunctival hyperemia.
[0510] Next, the server 20 inputs the first preprocessed images (the first left eye preprocessed image and the first right eye preprocessed image) into the second prediction model in sequence. The server 20 obtains a result value (probability value) of the second prediction model for the first left eye preprocessed image, and determines whether or not there is chemosis of the left eye based on the result value. Furthermore, the server 20 obtains a result value (probability value) of the second prediction model for the first right eye preprocessed image, and determines whether or not there is chemosis of the right eye based on the result value.
[0511] The server 20 combines the judgment result regarding the left eye and the judgment result regarding the right eye to finally judge whether or not there is chemosis in both eyes. For example, when it is judged that there is chemosis in either the left eye or the right eye or both, the server 20 finally judges that there is chemosis.
[0512] Next, the server 20 inputs the third preprocessed images (the third left-eye preprocessed image and the third right-eye preprocessed image) into the third prediction model in sequence. The server 20 obtains a result value (probability value) of the third prediction model for the third left-eye preprocessed image, and determines whether or not there is caruncular edema of the left eye based on the result value. Furthermore, the server 20 obtains a result value (probability value) of the third prediction model for the third right-eye preprocessed image, and determines whether or not there is caruncular edema of the right eye based on the result value.
[0513] The server 20 combines the judgment result for the left eye and the judgment result for the right eye to finally judge whether or not there is lacrimal caruncle edema in both eyes. For example, when it is judged that there is lacrimal caruncle edema in either or both of the left eye and the right eye, the server 20 finally judges that there is lacrimal caruncle edema.
[0514] The server 20 sequentially inputs the second preprocessed images (the second left-eye preprocessed image and the second right-eye preprocessed image) into the fourth prediction model. The server 20 obtains a result value (probability value) of the fourth prediction model for the second left-eye preprocessed image, and determines whether or not there is left-eyelid redness based on the result value. Furthermore, the server 20 obtains a result value (probability value) of the fourth prediction model for the second right-eye preprocessed image, and determines whether or not there is right-eyelid redness based on the result value.
[0515] The server 20 combines the judgment result for the left eye and the judgment result for the right eye to make a final judgment as to whether or not there is eyelid redness in both eyes. For example, if it is judged that there is eyelid redness in either or both of the left eye or the right eye, the server 20 finally judges that there is eyelid redness.
[0516] The server 20 sequentially inputs the second preprocessed images (the second left eye preprocessed image and the second right eye preprocessed image) into the fifth prediction model. The server 20 obtains a result value (probability value) of the fifth prediction model for the second left eye preprocessed image, and determines whether or not there is eyelid edema of the left eye based on the result value. Furthermore, the server 20 obtains a result value (probability value) of the fifth prediction model for the second right eye preprocessed image, and determines whether or not there is eyelid edema of the right eye based on the result value.
[0517] The server 20 combines the judgment result for the left eye and the judgment result for the right eye to make a final judgment as to whether or not there is eyelid edema in both eyes. For example, if it is judged that there is eyelid edema in either the left eye or the right eye, or in both eyes, the server 20 finally judges that there is eyelid edema.
[0518] If a symptom is determined to be present through the predictive models, the server 20 may provide a predefined score for the symptom (e.g., a score of 1). The server may provide scores for each of the five symptoms according to the determination results for the five predictive models, and may also obtain a value obtained by adding up all the scores.
[0519] Meanwhile, the server 20 may transmit to the user terminal 10 information regarding the result determined by the predictive model and / or the score awarded based on this result.
[0520] Further, the user terminal 10 or the server 20 may obtain the user's responses to two items including spontaneous retrobulbar pain and pain when attempting to gaze upward or downward, and based on the obtained user's responses, the user terminal 10 or the server 20 may give a predefined score (e.g., a score of 1) for each of the items. For example, if the user provides an input that the user has spontaneous retrobulbar pain, a score of 1 may be given. Further, if the user provides an input that the user has pain when attempting to gaze upward or downward, a score of 1 may be given.
[0521] The server 20 or the user terminal 10 may recommend that the user visit a hospital for a detailed examination, taking into account the score based on the results determined by the predictive model and the scores determined for spontaneous retrobulbar pain and pain when attempting to gaze upward or downward.
[0522]
[0523] The above-mentioned method for predicting a clinical activity score for thyroid eye disease described in the present application has been described as being executed by the server 20. However, the above-mentioned method may be executed by the user terminal 10. Alternatively, the pre-processing of the above-mentioned method may be executed by the user terminal 10, and the determination for each of the symptoms may be executed by the server. That is, the above-mentioned steps may be appropriately distributed and executed by the user terminal 10 and the server 20.
[0524]
[0525] 11. Experimental Example #1
[0526] [(1) Preparation of face image]
[0527] 1,020 facial images were prepared. Each facial image included both the left and right eyes and was acquired according to a predetermined imaging configuration.
[0528] [(2) Securing labeling information for facial images]
[0529] For each of the 1,020 facial images, information regarding conjunctival congestion, chemosis, caruncle edema, eyelid redness, and eyelid edema for the left eye, and information regarding conjunctival congestion, chemosis, caruncle edema, eyelid redness, and eyelid edema for the right eye was obtained, and this data was used as labeling data.
[0530] Among the 1,020 datasets, 714 datasets were used as training datasets, 102 datasets were used as validation sets, and 204 datasets were used as test sets.
[0531] Furthermore, splitting the 1,020 datasets into a training dataset, a validation set, and a test set was performed randomly 30 times, thus creating the first to thirtieth training dataset groups.
[0532] [(3) Obtaining pre-processed facial images]
[0533] For each of the 1,020 face images, a first cropping process (external exposure eye cropping) was performed for each of the left and right eyes in the manner described above to obtain a first left-eye preprocessed image and a first right-eye preprocessed image, where a left-right inverted image was used as the first right-eye preprocessed image, and a non-left-right inverted image was used as the first left-eye preprocessed image.
[0534] For each of the 1,020 face images, a second cropping process (eyelid-inclusive cropping) was performed for each of the left and right eyes in the manner described above to obtain a second left-eye preprocessed image and a second right-eye preprocessed image, where a horizontally inverted image was used as the second right-eye preprocessed image and a non-horizontally inverted image was used as the second left-eye preprocessed image.
[0535] For each of the 1,020 face images, a third cropping process (caruncle-inclusive cropping) was performed for each of the left and right eyes in the manner described above to obtain a third left-eye preprocessed image and a third right-eye preprocessed image, where a left-right inverted image was used as the third right-eye preprocessed image and a non-left-right inverted image was used as the third left-eye preprocessed image.
[0536] The image processing described above was performed on all 30 datasets.
[0537] [(4) Training of the first to fifth prediction models according to Experimental Example #1]
[0538] A prediction model was trained using the obtained preprocessed images and the obtained multiple labeling information. As the prediction model, a model using the above-mentioned ViT as a backbone architecture was used, and finally five output nodes were designed. As a training method, a method in which all five types of evaluation values are used in each training of the model was used as described above.
[0539] On the other hand, a model using the above-mentioned ViT as the backbone architecture was used as the prediction model, and each of the prediction models was trained integrated as one model without being divided into a left eye prediction model and a right eye prediction model.
[0540] [(5) Obtaining a prediction result for each symptom by using a prediction model]
[0541] The prediction results were obtained using the test dataset for the trained first to fifth prediction models, where the left-right flipped preprocessed image was used as the right-eye image and the left-right non-flip preprocessed image was used as the left-eye image.
[0542] [(6) Accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) of the predictive model from Experimental Example #1]
[0543] The values shown in Table 1 are the average accuracy, sensitivity, specificity, PPV, and NPV measured for the first through fifth predictive models trained on each of the 30 datasets according to Experimental Example #1 described above.
[0544] [Table 1]
[0545] 12. Comparative Example #1
[0546] [(1) Preparation of face image]
[0547] The face images used in Experimental Example #1 were used as is.
[0548] [(2) Securing labeling information for facial images]
[0549] The labeling information of the face images used in the experimental example #1 was used as is. However, in generating the dataset, a method was used in which a dataset was generated by matching different evaluation values for each of the models, rather than by matching all five types of evaluation values to each of the images.
[0550] [(3) Ensuring pre-processed facial images that include eyebrows]
[0551] The pre-processed images used in Example #1 were used as is.
[0552] The image processing described above was performed on all 30 datasets.
[0553] [(4) Training of the first to fifth prediction models according to Comparative Example #2]
[0554] Using the obtained preprocessed images and the obtained labeling information, a prediction model was trained. Different from Experimental Example #1, a model using the above-mentioned ViT as a backbone architecture was used as a prediction model, and finally, one output node was designed.
[0555] Here, a first prediction model was trained using an evaluation value for conjunctival hyperemia, a second prediction model was trained using an evaluation value for conjunctival edema, a third prediction model was trained using an evaluation value for caruncular edema, a fourth prediction model was trained using an evaluation value for eyelid redness, and a fifth prediction model was trained using an evaluation value for eyelid edema.
[0556] [(5) Obtaining a prediction result for each symptom by using a prediction model]
[0557] The prediction results were obtained using the test dataset for the trained first to fifth prediction models, where the left-right flipped preprocessed image was used as the right-eye image and the left-right non-flip preprocessed image was used as the left-eye image.
[0558] [(6) Accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) of the predictive model according to Comparative Example #2]
[0559] The values shown in [Table 2] are the average accuracy, sensitivity, specificity, PPV, and NPV measured for the first through fifth predictive models trained on each of the 30 datasets according to Experimental Example #2 described above.
[0560] [Table 2]
[0561] 13. Experimental Example #2
[0562] [(1) Preparation of face image]
[0563] The face images used in Experimental Example #1 were used as is.
[0564] [(2) Securing labeling information for facial images]
[0565] The multiple labeling information of the face images used in Experimental Example #1 was used as is.
[0566] [(3) Ensuring pre-processed facial images that include eyebrows]
[0567] For each of the 1,020 face images, a second cropping process (eyelid-inclusive cropping) was performed for each of the left and right eyes in the manner described above to obtain a second left-eye preprocessed image and a second right-eye preprocessed image, where a horizontally inverted image was used as the first right-eye preprocessed image and a non-horizontally inverted image was used as the first left-eye preprocessed image.
[0568] [(4) Training the fourth and fifth prediction models using experimental example #2]
[0569] A prediction model was trained using the obtained preprocessed images and the obtained multiple labeling information. As the prediction model, a model using the above-mentioned ViT as a backbone architecture was used, and finally five output nodes were designed. As a training method, a method in which all five types of evaluation values are used in each training of the model was used as described above.
[0570] [(5) Accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) of the eyelid redness prediction model and eyelid edema prediction model from Experimental Example #2]
[0571] The values shown in Table 3 are the average accuracy, sensitivity, specificity, PPV, and NPV measured for the fourth and fifth predictive models trained on each of the 30 datasets according to Example #2 above.
[0572] [Table 3]
[0573] 14. Experimental Example #3
[0574] [(1) Preparation of face image]
[0575] The face images used in Experimental Example #1 were used as is.
[0576] [(2) Securing labeling information for facial images]
[0577] The multiple labeling information of the face images used in Experimental Example #1 was used as is.
[0578] [(3) Ensuring pre-processed facial images that include eyebrows]
[0579] For each of the 1,020 face images, a second cropping process (eyelid-inclusive cropping) was performed for each of the left and right eyes in the manner described above. However, unlike Experimental Example #2, the second cropping area was determined such that the center position of the second cropping area was higher than the center position of the reference rectangle. Thus, the second cropped image included the eyebrows. Here, in obtaining the second left-eye pre-processed image and the second right-eye pre-processed image, a left-right flip process was not performed.
[0580] [(4) Training the fourth and fifth prediction models using experimental example #3]
[0581] A prediction model was trained using the obtained preprocessed images and the obtained multiple labeling information. As the prediction model, a model using the above-mentioned ViT as a backbone architecture was used, and finally five output nodes were designed. As a training method, a method in which all five types of evaluation values are used in each training of the model was used as described above.
[0582] [(5) Accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) of the eyelid redness prediction model and eyelid edema prediction model from Experimental Example #3]
[0583] The values shown in Table 4 are the average accuracy, sensitivity, specificity, PPV, and NPV measured for the fourth and fifth predictive models trained on each of the 30 datasets according to Example #3 above.
[0584] [Table 4]
[0585]
[0586] 1: System
[0587] 10: User terminal
[0588] 20: Server (Other possible items) [Item 1] training a conjunctival hyperemia prediction model using a training set, wherein the training set includes training images, a rating value for conjunctival hyperemia, a rating value for conjunctival edema, a rating value for eyelid redness, a rating value for eyelid edema, and a rating value for caruncular edema, wherein the training images are annotated with the rating values according to a diagnosis of the training images. acquiring a first image including at least one eye of a subject and an area outside a contour of the at least one eye; outputting, by the conjunctival hyperemia prediction model running on a processor, a first predictive value for conjunctival hyperemia, a first predictive value for conjunctival chemosis, a first predictive value for eyelid redness, a first predictive value for eyelid chemosis, and a first predictive value for caruncular chemosis; selecting the first predictive value for conjunctival hyperemia from among the five predictive values based on a predetermined setting; and generating a score for the conjunctival hyperemia based on a selected first predictive value for the conjunctival hyperemia. A computer-implemented method comprising: [Item 2] The first image is generated for one of the two eyes; and The generated prediction is a prediction for the one eye. Item 1. The computer-implemented method of item 1. [Item 3] acquiring a second image including the subject's other eye and an area outside the outline of the other eye; outputting, by the conjunctival hyperemia prediction model running on the processor, a second predictive value for the conjunctival hyperemia, a second predictive value for the chemosis, a second predictive value for the eyelid redness, a second predictive value for the eyelid edema, and a second predictive value for the caruncular edema; and selecting the second predictive value for conjunctival hyperemia from among the five predictive values based on a predetermined setting; Further equipped with Here, the step of generating a score related to conjunctival hyperemia includes generating the score related to conjunctival hyperemia by taking into account the selected first predictive value related to conjunctival hyperemia and the selected second predictive value related to conjunctival hyperemia. Item 3. The computer-implemented method of item 2. [Item 4] The step of generating the score for the conjunctival hyperemia comprises: in response to determining that the first predictive value for conjunctival hyperemia is greater than a threshold value, in response to determining that the second predictive value for conjunctival hyperemia is greater than the threshold value; or in response to determining that the first predictive value and the second predictive value for the conjunctival hyperemia are greater than the threshold value, assigning a predetermined value to said score. 4. The computer-implemented method of claim 3, comprising: [Item 5] training a chemosis prediction model using a training set, wherein the training set includes training images, a rating value for conjunctival hyperemia, a rating value for chemosis, a rating value for eyelid redness, a rating value for eyelid edema, and a rating value for caruncular edema, wherein the training images are annotated with the rating values according to a diagnosis of the training images; acquiring a first image including at least one eye of a subject and an area outside a contour of the at least one eye; outputting, by the chemosis prediction model running on a processor, a first predictive value for conjunctival injection, a first predictive value for chemosis, a first predictive value for eyelid redness, a first predictive value for eyelid edema, and a first predictive value for caruncular edema; selecting the first predictive value for chemosis from among the five predictive values based on a predefined setting; and generating a score for the chemosis based on the selected first predictive value for the chemosis; A computer-implemented method comprising: [Item 6] The first image is generated for one of the two eyes; and The generated prediction is a prediction for the one eye. Item 6. The computer-implemented method of item 5. [Item 7] acquiring a second image including the subject's other eye and an area outside the outline of the other eye; outputting, by the chemosis prediction model running on the processor, a second predictive value for the chemosis, a second predictive value for the eyelid redness, a second predictive value for the eyelid edema, and a second predictive value for the caruncular edema; and selecting said second predictive value for chemosis from among said five predictive values based on a predefined setting; Further equipped with Here, the step of generating a score for chemosis includes generating a score for chemosis by taking into account the selected first predictive value for chemosis and the selected second predictive value for chemosis. Item 7. The computer-implemented method of item 6. [Item 8] The step of generating the score for the chemosis comprises: In response to determining that the first predictive value for chemosis is greater than a threshold value, in response to determining that the second predictive value for chemosis is greater than the threshold value; or in response to determining that the first predictive value and the second predictive value for the chemosis are greater than the threshold value, assigning a predetermined value to said score. 8. The computer-implemented method of claim 7, comprising: [Item 9] training a caruncular edema prediction model using a training set, wherein the training set includes training images, a rating value for conjunctival hyperemia, a rating value for the caruncular edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, wherein the training images are annotated with the rating values according to a diagnosis of the training images. acquiring a first image including at least one eye of a subject and an area outside a contour of the at least one eye; outputting, by the caruncular edema prediction model running on a processor, a first predictive value for conjunctival injection, a first predictive value for conjunctival edema, a first predictive value for eyelid redness, a first predictive value for eyelid edema, and a first predictive value for caruncular edema; selecting a first predictive value for caruncular edema from among the five predictive values based on a predefined setting; and generating a score for the caruncular edema based on the first predictive value for the selected caruncular edema; A computer-implemented method comprising: [Item 10] The first image is generated for one of the two eyes; and The generated prediction is a prediction for the one eye. Item 10. The computer-implemented method of item 9. [Item 11] acquiring a second image including the subject's other eye and an area outside the outline of the other eye; outputting, by the caruncular edema prediction model running on the processor, a second predictive value for the conjunctival injection, a second predictive value for the conjunctival edema, a second predictive value for the eyelid redness, a second predictive value for the eyelid edema, and a second predictive value for the caruncular edema; and selecting said second predictive value for caruncular edema from among said five predictive values based on a predefined setting; Further equipped with Here, the step of generating a score for the caruncular edema includes generating the score for the caruncular edema by taking into consideration the selected first predictive value for the caruncular edema and the selected second predictive value for the caruncular edema. Item 11. The computer-implemented method of item 10. [Item 12] The step of generating the score for the caruncular edema comprises: In response to determining that the first predictive value for caruncular edema is greater than a threshold value, in response to determining that the second predictive value for caruncular edema is greater than the threshold value; or In response to determining that the first predictive value and the second predictive value for the caruncular edema are greater than the threshold value, assigning a predetermined value to said score. Item 12. The computer-implemented method of item 11, comprising: [Item 13] training an eyelid redness prediction model using a training set, wherein the training set includes training images, a rating value for conjunctival hyperemia, a rating value for the conjunctival edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, wherein the training images are annotated with the rating values according to a diagnosis of the training images. acquiring a first image including at least one eye of a subject and an area outside a contour of the at least one eye; outputting, by the eyelid redness prediction model running on a processor, a first predictive value for conjunctival injection, a first predictive value for conjunctival edema, a first predictive value for eyelid redness, a first predictive value for eyelid edema, and a first predictive value for caruncular edema; selecting a first predictive value for eyelid redness from among the five predictive values based on a predetermined setting; and generating a score for the eyelid redness based on the first predictive value for the selected eyelid redness. A computer-implemented method comprising: [Item 14] The first image is generated for one of the two eyes; and The generated prediction is a prediction for the one eye. Item 14. The computer-implemented method of item 13. [Item 15] acquiring a second image including the subject's other eye and an area outside the outline of the other eye; outputting, by the eyelid redness prediction model running on the processor, a second predictive value for the conjunctival injection, a second predictive value for the chemosis, a second predictive value for the eyelid redness, a second predictive value for the eyelid edema, and a second predictive value for the caruncular edema; and selecting the second predictive value for eyelid redness from among the five predictive values based on a predefined setting. Further equipped with Here, the step of generating a score for eyelid redness includes generating the score for eyelid redness by taking into account the selected first predicted value for eyelid redness and the selected second predicted value for eyelid redness. Item 15. The computer-implemented method of item 14. [Item 16] The step of generating the score for the eyelid redness comprises: in response to determining that the first predictive value for eyelid redness is greater than a threshold value, in response to determining that the second predictive value for eyelid redness is greater than the threshold value; or in response to determining that the first predictive value and the second predictive value for eyelid redness are greater than the threshold value, assigning a predetermined value to said score. Item 16. The computer-implemented method of item 15, comprising: [Item 17] training an eyelid edema prediction model using a training set, wherein the training set includes training images, a rating value for conjunctival hyperemia, a rating value for the conjunctival edema, a rating value for the eyelid redness, a rating value for the eyelid edema, and a rating value for the caruncular edema, wherein the training images are annotated with the rating values according to a diagnosis of the training images. acquiring a first image including at least one eye of a subject and an area outside a contour of the at least one eye; outputting, by the eyelid edema prediction model running on a processor, a first predictive value for conjunctival injection, a first predictive value for conjunctival edema, a first predictive value for eyelid redness, a first predictive value for eyelid edema, and a first predictive value for caruncular edema; selecting the first predictive value for eyelid edema from the five predictive values based on a predetermined setting; and generating a score for the eyelid edema based on the selected first predictive value for the eyelid edema. A computer-implemented method comprising: [Item 18] The first image is generated for one of the two eyes; and The generated prediction is a prediction for the one eye. Item 18. The computer-implemented method of item 17. [Item 19] acquiring a second image including the subject's other eye and an area outside the outline of the other eye; outputting, by the eyelid edema prediction model running on the processor, a second predictive value for the conjunctival injection, a second predictive value for the conjunctival edema, a second predictive value for the eyelid redness, a second predictive value for the eyelid edema, and a second predictive value for the caruncular edema; and selecting the second predictive value for eyelid edema from among the five predictive values based on a predefined setting; Further equipped with Here, the step of generating a score for eyelid edema includes generating the score for eyelid edema by taking into account the selected first predicted value for eyelid edema and the selected second predicted value for eyelid edema. Item 19. The computer-implemented method of item 18. [Item 20] The step of generating the score for the eyelid edema comprises: In response to determining that the first predictive value for eyelid edema is greater than a threshold value, in response to determining that the second predictive value for eyelid edema is greater than the threshold value; or In response to determining that the first predictive value and the second predictive value for eyelid edema are greater than the threshold value, assigning a predetermined value to said score. 20. The computer-implemented method of claim 19, comprising:
Claims
[Claim 1] training a conjunctival hyperemia prediction model using a training set, wherein the training set includes training images, a rating value for conjunctival hyperemia, a rating value for conjunctival edema, a rating value for eyelid redness, a rating value for eyelid edema, and a rating value for caruncular edema, wherein the training images are annotated with the rating values according to a diagnosis of the training images. acquiring a first image including at least one eye of a subject and an area outside a contour of the at least one eye; outputting, by the conjunctival hyperemia prediction model running on a processor, a first predictive value for conjunctival hyperemia, a first predictive value for conjunctival chemosis, a first predictive value for eyelid redness, a first predictive value for eyelid chemosis, and a first predictive value for caruncular chemosis; selecting the first predictive value for conjunctival hyperemia from among the five predictive values based on a predetermined setting; and generating a score for the conjunctival hyperemia based on a selected first predictive value for the conjunctival hyperemia. A computer-implemented method comprising:
Citation Information
Patent Citations
Augmented reality display system for the assessment and correction of neurological disorders, including disorders of visual processing and perception
JP2019521379A
Systems and methods for capturing and analyzing pupil images to determine toxicity and neurophysiology
JP2020528817A
Electronic device and method for determining degree of conjunctival hyperemia by using same
US11612314B2
Methods and systems for patient specific identification and assessmentof ocular disease risk factors and treatment efficacy
US20180289253A1
