CN109147911B - Method and device for displaying disease information and computer readable storage medium - Google Patents

Method and device for displaying disease information and computer readable storage medium Download PDF

Info

Publication number
CN109147911B
CN109147911B CN201710461299.4A CN201710461299A CN109147911B CN 109147911 B CN109147911 B CN 109147911B CN 201710461299 A CN201710461299 A CN 201710461299A CN 109147911 B CN109147911 B CN 109147911B
Authority
CN
China
Prior art keywords
identified
matting
image
color state
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710461299.4A
Other languages
Chinese (zh)
Other versions
CN109147911A (en
Inventor
郦会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dasen Intelligent Technology Co ltd
Original Assignee
Shenzhen Dasen Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dasen Intelligent Technology Co ltd filed Critical Shenzhen Dasen Intelligent Technology Co ltd
Priority to CN201710461299.4A priority Critical patent/CN109147911B/en
Publication of CN109147911A publication Critical patent/CN109147911A/en
Application granted granted Critical
Publication of CN109147911B publication Critical patent/CN109147911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The invention discloses a disease information display method, which comprises the following steps: when a disease identification instruction is acquired, determining a feature area to be identified, which is required to be subjected to image matting processing, in a face image to be identified, a retina image to be identified and a tongue image to be identified; carrying out matting processing on the face image to be identified, the retina image to be identified and the tongue image to be identified according to the feature area to be identified so as to separate a matting picture to be identified corresponding to the feature area to be identified; extracting pixel values corresponding to all pixel points in the to-be-identified matting picture, and determining color state parameters corresponding to the to-be-identified matting picture according to the pixel values; acquiring a preset color state parameter corresponding to a feature area to be identified, and judging whether the color state parameter is larger than the preset color state parameter in the color space direction; and when the color state parameter corresponding to the to-be-identified matting picture is larger than the preset color state parameter, displaying the disease information corresponding to the preset color state parameter. The invention also discloses a disease information display device and a computer readable storage medium. The invention improves the identification accuracy of the disease symptoms of the patient.

Description

Method and device for displaying disease information and computer readable storage medium
Technical Field
The present invention relates to the field of medical detection technologies, and in particular, to a method and apparatus for displaying disease information, and a computer readable storage medium.
Background
In the prior art, doctors can identify the diseases suffered by patients through the way of facial diagnosis. However, the traditional diagnosis method of facial diagnosis has very high requirements on the individual diagnosis and treatment experience of doctors, so that the identification of the diseases of patients through facial diagnosis is almost completely realized by the diagnosis and treatment experience of doctors, but the diagnosis and treatment experience of each doctor is not very sufficient in practice, so that the identification of the diseases of patients is inaccurate.
Disclosure of Invention
The present invention provides a method and apparatus for displaying disease information, and a computer readable storage medium, which can improve the accuracy of identifying disease of a patient by improving the existing method for implementing facial diagnosis depending on the personal diagnosis experience of a doctor, thereby solving the problem of inaccurate identification of disease of the patient.
In order to achieve the above object, the present invention provides a method for displaying disease information, comprising:
when a disease identification instruction is acquired, determining a feature area to be identified, which is required to be subjected to image matting processing, in a face image to be identified, a retina image to be identified and a tongue image to be identified;
carrying out matting processing on the face image to be identified, the retina image to be identified and the tongue image to be identified according to the feature area to be identified so as to separate a matting picture to be identified corresponding to the feature area to be identified;
extracting pixel values corresponding to all pixel points in the to-be-identified matting picture, and determining color state parameters corresponding to the to-be-identified matting picture according to the pixel values, wherein the pixel values are vector values of the pixel points in a color space;
acquiring a preset color state parameter corresponding to a feature region to be identified, and judging whether the color state parameter corresponding to a picture to be identified is larger than the preset color state parameter in the direction of a color space, wherein the preset color state parameter is a vector value selected by a pixel point in the color space;
and when the color state parameter corresponding to the to-be-identified matting picture is larger than the preset color state parameter, displaying the disease information corresponding to the preset color state parameter.
Preferably, the step of determining the color state parameter corresponding to the to-be-identified matting picture according to each pixel value includes:
determining the number of pixel points in a to-be-identified matted picture;
calculating a first average pixel value corresponding to the to-be-recognized matting picture according to the number of the pixel points and the pixel value of each pixel point;
and determining a color state parameter corresponding to the to-be-identified matting picture according to the first average pixel value.
Preferably, when the color state parameter is greater than the preset color state parameter, the step of displaying the condition information corresponding to the preset color state parameter further includes:
and storing the face image to be identified, the retina image to be identified, the tongue image to be identified, the picture to be identified, the color state parameters and the disease information in a database in a correlated manner.
Preferably, the disorder information display method further comprises:
acquiring at least one second facial image, a second retina image and a second tongue image, wherein each second facial image, second retina image and second tongue image are acquired facial images of different patients consistent with the disease information;
determining characteristic areas of the second facial images, the second retina images and the second tongue images subjected to the matting processing according to the disease information, and performing the matting processing on the second facial images, the second retina images and the second tongue images according to the characteristic areas so as to separate second matting images corresponding to the characteristic areas;
determining the number of pixel points in each second matting picture, and extracting the pixel value of each pixel point;
calculating a second average pixel value of each second matting picture according to the number of the pixel points and the pixel values;
and calculating the color state parameters of each second matting picture according to each second average pixel value, and determining the color state parameters of the second matting picture as preset color state parameters.
In addition, to achieve the above object, the present invention provides a disorder information display apparatus comprising: a memory, a processor, and a condition information display program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the condition information display method according to any one of claims 1 to 4.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium, wherein a disorder information display program is stored on the computer-readable storage medium, the disorder information display program implementing the steps of the disorder information display method according to any one of claims 1 to 4 when executed by a processor.
According to the invention, the color state parameters corresponding to the to-be-identified picture in the currently acquired to-be-identified facial image, the to-be-identified retina image and the to-be-identified tongue image are matched with the preset color state parameters to further identify the disease information corresponding to the preset color state parameters, so that the existing problem of inaccurate identification of the disease of the patient caused by realizing the facial diagnosis depending on the personal diagnosis experience of a doctor is improved, and the identification accuracy of the disease of the patient is improved.
Drawings
FIG. 1 is a schematic diagram of a terminal/device structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for displaying information of a disease state according to the present invention;
fig. 3 is a flowchart illustrating a refinement step of step S30 in the first embodiment shown in fig. 2;
FIG. 4 is a flowchart of a second embodiment of a method for displaying information of a disease state according to the present invention;
fig. 5 is a flowchart of a third embodiment of a method for displaying disease information according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, or can be a mobile terminal device with a display function, such as a smart phone, a tablet personal computer, an electronic book reader, an MP3 (Moving Picture Experts GroupAudio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts GroupAudio Layer IV, dynamic image expert compression standard audio layer 3) player, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are not described herein.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a disorder information display program may be included in a memory 1005 as one type of computer storage medium.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the condition information display program stored in the memory 1005 and perform the following operations:
when a disease identification instruction is acquired, determining a feature area to be identified, which is required to be subjected to image matting processing, in a face image to be identified, a retina image to be identified and a tongue image to be identified; carrying out matting processing on the face image to be identified, the retina image to be identified and the tongue image to be identified according to the feature area to be identified so as to separate a matting picture to be identified corresponding to the feature area to be identified; extracting pixel values corresponding to all pixel points in the to-be-identified matting picture, and determining color state parameters corresponding to the to-be-identified matting picture according to the pixel values, wherein the pixel values are vector values of the pixel points in a color space; acquiring a preset color state parameter corresponding to a feature region to be identified, and judging whether the color state parameter corresponding to a picture to be identified is larger than the preset color state parameter in the direction of a color space, wherein the preset color state parameter is a vector value selected by a pixel point in the color space; and when the color state parameter corresponding to the to-be-identified matting picture is larger than the preset color state parameter, displaying the disease information corresponding to the preset color state parameter. ' s of
Further, the processor 1001 may call the condition information display program stored in the memory 1005, and also perform the following operations:
determining the number of pixel points in the to-be-identified matting picture;
calculating a first average pixel value corresponding to the to-be-recognized matting picture according to the number of the pixel points and the pixel value of each pixel point;
and determining a color state parameter corresponding to the to-be-identified matting picture according to the first average pixel value. ' s of
Further, the processor 1001 may call the condition information display program stored in the memory 1005, and also perform the following operations:
the face image to be identified, the retina image to be identified, the tongue image to be identified, the matting picture to be identified, the color state parameters and the disease information are stored in a database in a correlated manner. ' s of
Further, the processor 1001 may call the condition information display program stored in the memory 1005, and also perform the following operations:
acquiring at least one second facial image, a second retinal image and a second tongue image, wherein each second facial image, second retinal image and second tongue image is an acquired facial image of a different patient consistent with the condition information;
determining characteristic areas of the matting processing in each second face image, each second retina image and each second tongue image according to the disorder information, and performing matting processing on each second face image, each second retina image and each second tongue image according to the characteristic areas so as to separate each second matting picture corresponding to the characteristic areas;
determining the number of pixel points in each second matting picture, and extracting the pixel value of each pixel point;
calculating a second average pixel value of each second matting picture according to the number of the pixel points and the pixel values;
and calculating the color state parameters of each second matting picture according to each second average pixel value, and determining the color state parameters of the second matting picture as preset color state parameters. ' s of
Based on the above problems, the present invention provides a method for displaying disease information.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a method for displaying condition information according to the present invention.
In this embodiment, the condition information display method includes:
step S10, when a disease identification instruction is acquired, determining a feature area to be identified, which is required to be subjected to matting processing, in a face image to be identified, a retina image to be identified and a tongue image to be identified;
in this embodiment, the face image of the user to be diagnosed is collected under the white background, and the collected face image is subjected to white balance and brightness adjustment to obtain the face image to be recognized, the retina image to be recognized and the tongue image to be recognized, so that the face image to be recognized, the retina image to be recognized and the tongue image to be recognized are not color cast due to light. When a disease identification instruction is acquired, the face image to be identified, the retina image to be identified and the tongue image to be identified are determined, and preset color state parameters corresponding to the feature area to be identified are determined. For example, when a liver disease identification instruction is obtained, determining an image area where eyes are located in a face image to be identified, a retina image to be identified and a tongue image to be identified as a feature area to be identified which needs to be subjected to matting processing, and obtaining a preset color state parameter corresponding to the feature area to be identified, wherein the preset color state parameter can be understood as a color state parameter corresponding to a pre-stored eye image, and the eye image is an eye image of a patient suffering from a liver disease.
It can be understood that the technical scheme of the implementation step can be replaced by: when a disease identification instruction is acquired, a feature area to be identified which needs to be subjected to image matting processing is further determined, and when touch operation triggered by a user on the face image to be identified, the retina image to be identified and the tongue image to be identified is detected, a touch position corresponding to the touch operation is determined to be the feature area to be identified which needs to be subjected to image matting processing in the face image to be identified, the retina image to be identified and the tongue image to be identified.
Step S20, carrying out matting processing on the face image to be identified, the retina image to be identified and the tongue image to be identified according to the feature area to be identified so as to separate a matting picture to be identified corresponding to the feature area to be identified;
step S30, extracting pixel values corresponding to all pixel points in the to-be-identified matting picture, and determining color state parameters corresponding to the to-be-identified matting picture according to the pixel values, wherein the pixel values are vector values of the pixel points in a color space;
and buckling the characteristic region to be identified from the face image to be identified, the retina image to be identified and the tongue image to be identified to obtain the picture surface to be identified. Extracting pixel values corresponding to all pixel points in the to-be-identified matting picture, namely extracting R values, G values and B values corresponding to all pixel points in the to-be-identified matting picture, and determining color state parameters corresponding to the to-be-identified matting picture according to all pixel values, wherein the pixel values are vector values of the pixel points in a certain color space.
Step S40, acquiring a preset color state parameter corresponding to a feature area to be identified, and judging whether the color state parameter corresponding to a picture to be identified is larger than the preset color state parameter in the direction of a color space, wherein the preset color state parameter is a vector value selected by a pixel point in the color space;
step S50, when the color state parameter corresponding to the to-be-identified matting picture is larger than the preset color state parameter, displaying the disease information corresponding to the preset color state parameter.
And matching the color state parameters corresponding to the to-be-identified matting picture with the preset color state parameters to judge whether the color state parameters corresponding to the to-be-identified matting picture are larger than the preset color state parameters in a certain color space direction. When the color state parameter corresponding to the to-be-identified matting picture is greater than or equal to the preset color state parameter in a certain color space direction, displaying the disease information corresponding to the preset color state parameter, wherein the disease information indicates that the patient corresponding to the to-be-identified matting picture has a disease (such as liver disease) corresponding to the disease identification instruction. Wherein the disorder information includes a disorder name, a stage in which the disorder is located.
It should be further noted that, when the average pixel value corresponding to the to-be-identified matting picture is obtained, whether the average pixel value is greater than or equal to the preset color state parameter in the color space direction is determined, and when the color state parameter corresponding to the to-be-identified matting picture is greater than the preset color state parameter, the condition information corresponding to the preset color state parameter is displayed. For example, after determining that the dominant hue corresponding to the to-be-recognized matting picture is yellow through the average pixel value, determining whether the average pixel value is greater than the vector value selected in the yellow direction or not.
According to the invention, the color state parameters corresponding to the to-be-identified picture in the currently acquired to-be-identified facial image, the to-be-identified retina image and the to-be-identified tongue image are matched with the preset color state parameters to further identify the disease information corresponding to the preset color state parameters, so that the existing problem of inaccurate identification of the disease of the patient caused by realizing the facial diagnosis depending on the personal diagnosis experience of a doctor is improved, and the identification accuracy of the disease of the patient is improved.
Further, please refer to fig. 3, which is a flowchart illustrating a refinement step of step S30 in the first embodiment of the present invention, wherein the refinement step of determining the color status parameter corresponding to the to-be-recognized matting picture according to each pixel value in step S30 includes:
step S31, determining the number of pixel points in the picture to be identified;
step S32, calculating a first average pixel value corresponding to the to-be-identified matting picture according to the number of the pixel points and the pixel values of the pixel points;
and step S33, determining color state parameters corresponding to the to-be-identified matting picture according to the first average pixel value.
In this embodiment, the number of pixels in the to-be-identified matting picture is calculated, and the pixel values of each pixel in the to-be-identified matting picture are added, that is, each R value, each G value and each B value of each pixel are added to obtain a weighted pixel value, and the weighted pixel value is divided by the number of pixels to obtain a first average pixel value corresponding to the to-be-identified matting picture. Based on a color analysis algorithm, determining a color state parameter corresponding to the to-be-identified matting picture according to the first average pixel value, for example, calculating that the first average pixel value of the to-be-identified matting picture p is Rp, gp and Bp, and obtaining a main tone d of Rp, gp and Bp through the color analysis algorithm.
According to the method, the number of the pixel points in the picture to be identified is determined, the first average pixel value corresponding to the picture to be identified is calculated according to the number of the pixel points and the pixel value of each pixel point, and the color state parameter corresponding to the picture to be identified is determined according to the first average pixel value, so that the color state parameter corresponding to the picture to be identified is accurately determined, and the display efficiency of the disease information is improved.
Further, based on any of the above embodiments, please refer to fig. 4, which is a flow chart of a second embodiment of a method for displaying disease information according to the present invention, wherein after S50, the method for displaying disease information includes:
step S60, the face image to be identified, the retina image to be identified, the tongue image to be identified, the matting picture to be identified, the color state parameters and the disease information are stored in a database in a correlated manner.
In this embodiment, when it is determined that the color state parameter corresponding to the to-be-identified matting picture is greater than or equal to the preset color state parameter, the to-be-identified face image, the to-be-identified retina image, the to-be-identified tongue image, the to-be-identified matting picture, the color state parameter and the condition information are stored in a database in association, and are used as preset reference values for reference call during subsequent condition information display.
Further, referring to fig. 5, a flow chart of a second embodiment of a method for displaying disease information according to the present invention is shown, wherein the method for displaying disease information includes:
step S70, at least one second facial image, a second retina image and a second tongue image are acquired, wherein each second facial image, second retina image and second tongue image are acquired facial images of different patients consistent with the disease information;
in this embodiment, the database stores a second facial image, a second retinal image, and a second tongue image corresponding to a plurality of patients confirmed to have a certain disease, wherein the second facial image, the second retinal image, and the second tongue image are acquired under a white background, and the acquired second facial image, second retinal image, and second tongue image are all subjected to white balance and brightness adjustment to reduce the color cast effect. And acquiring at least one second facial image, a second retina image and a second tongue image from a database, wherein each second facial image, second retina image and second tongue image is an acquired facial image of different patients consistent with the disease information.
Step S80, determining characteristic areas of the matting process in each second face image, each second retina image and each second tongue image according to the disease information, and performing matting process on each second face image, each second retina image and each second tongue image according to the characteristic areas so as to separate each second matting picture corresponding to the characteristic areas;
step S90, determining the number of pixel points in each second matting picture, and extracting the pixel value of each pixel point;
step S100, calculating a second average pixel value of each second matting picture according to the number of the pixel points and the pixel values;
step S200, calculating color state parameters of each second matting picture according to each second average pixel value, and determining the color state parameters of the second matting picture as preset color state parameters.
For example, the database stores K total images of the second facial image, the second retinal image, and the second tongue image of T patients who have been diagnosed with the early stage of A disease. The first step, the white balance and brightness adjustment are carried out on K second face images, second retina images and second tongue images, so that the color cast influence is reduced; extracting a second matting picture of the face part B on all the photos through a facial feature point recognition algorithm, and storing the second matting picture; thirdly, calculating an average value of RGB pixel values of each pixel point on each second matting picture, wherein the average value is Rk, gk and Bk; and step four, weighting and averaging the average values Rk, gk and Bk according to the number of the pixel points to obtain second average pixel values Ri, gi and Bi, determining the color state parameter of the second matting picture according to the second average pixel values Ri, gi and Bi, namely determining the main tone of the second matting picture as Di, and determining the color state parameter of the second matting picture as a preset color state parameter.
How the above-described solution is implemented will be described in detail below by means of a specific embodiment.
In general, patients suffering from liver diseases will have different degrees of white-to-yellow. The face image, retina image and tongue image of 100 patients with initial liver disease are defaulted, and the partial images of eyes in the face are extracted and stored after the white balance and brightness adjustment of all face images. And (3) utilizing a color algorithm to accumulate and average the color values of the pixels of the black eyeball in the pixels of the partial eye image, and finally obtaining reference values Rg, gg and Bg of the white color of the patient in the early stage of liver diseases, and recording the dominant hue Dg as yellow.
Under the white background, a face image F of a user is collected, and then a partial image of eyes in the face is extracted and stored after the photo is subjected to white balance and brightness adjustment. The color values Ru, gu, bu of the user's eye white are calculated again and the dominant hue Di of Ri, gi, bi is derived using a color algorithm. And judging whether Di is yellow or not, and whether the depth is greater than or equal to Dg or not, if so, judging that the patient is a liver disease patient.
According to the embodiment, the color state parameters of the second matting picture are determined to be the preset color state parameters, so that the identification of the symptoms can be realized through image processing, the existing problem that the identification of the symptoms of a patient is inaccurate due to the fact that the facial color diagnosis is realized by depending on personal diagnosis experience of a doctor is improved, and the diagnosis result of the symptoms is timely and accurately obtained.
The embodiment of the invention also provides a disease information display device, which comprises: a memory, a processor, and a condition information display program stored on the memory and executable on the processor, the condition information display program when executed by the processor performing the operations of:
when a disease identification instruction is acquired, determining a feature area to be identified, which is required to be subjected to image matting processing, in a face image to be identified, a retina image to be identified and a tongue image to be identified;
carrying out matting processing on the face image to be identified, the retina image to be identified and the tongue image to be identified according to the feature area to be identified so as to separate a matting picture to be identified corresponding to the feature area to be identified;
extracting pixel values corresponding to all pixel points in the to-be-identified matting picture, and determining color state parameters corresponding to the to-be-identified matting picture according to the pixel values, wherein the pixel values are vector values of the pixel points in a color space;
acquiring a preset color state parameter corresponding to a feature region to be identified, and judging whether the color state parameter corresponding to a picture to be identified is larger than the preset color state parameter in the direction of a color space, wherein the preset color state parameter is a vector value selected by a pixel point in the color space;
and when the color state parameter corresponding to the to-be-identified matting picture is larger than the preset color state parameter, displaying the disease information corresponding to the preset color state parameter. ' s of
Further, the video recommendation program, when executed by the processor, further performs the following operations:
determining the number of pixel points in the to-be-identified matting picture;
calculating a first average pixel value corresponding to the to-be-recognized matting picture according to the number of the pixel points and the pixel value of each pixel point;
and determining a color state parameter corresponding to the to-be-identified matting picture according to the first average pixel value. ' s of
Further, the video recommendation program, when executed by the processor, further performs the following operations:
the face image to be identified, the retina image to be identified, the tongue image to be identified, the matting picture to be identified, the color state parameters and the disease information are stored in a database in a correlated manner. ' s of
Further, the video recommendation program, when executed by the processor, further performs the following operations:
acquiring at least one second facial image, a second retinal image and a second tongue image, wherein each second facial image, second retinal image and second tongue image is an acquired facial image of a different patient consistent with the condition information;
determining characteristic areas of the matting processing in each second face image, each second retina image and each second tongue image according to the disorder information, and performing matting processing on each second face image, each second retina image and each second tongue image according to the characteristic areas so as to separate each second matting picture corresponding to the characteristic areas;
determining the number of pixel points in each second matting picture, and extracting the pixel value of each pixel point;
calculating a second average pixel value of each second matting picture according to the number of the pixel points and the pixel values;
and calculating the color state parameters of each second matting picture according to each second average pixel value, and determining the color state parameters of the second matting picture as preset color state parameters. ' s of
In addition, an embodiment of the present invention also proposes a computer-readable storage medium having stored thereon a disorder information display program that, when executed by a processor, realizes the following operations:
when a disease identification instruction is acquired, determining a feature area to be identified, which is required to be subjected to image matting processing, in a face image to be identified, a retina image to be identified and a tongue image to be identified; carrying out matting processing on the face image to be identified, the retina image to be identified and the tongue image to be identified according to the feature area to be identified so as to separate a matting picture to be identified corresponding to the feature area to be identified; extracting pixel values corresponding to all pixel points in the to-be-identified matting picture, and determining color state parameters corresponding to the to-be-identified matting picture according to the pixel values, wherein the pixel values are vector values of the pixel points in a color space; acquiring a preset color state parameter corresponding to a feature region to be identified, and judging whether the color state parameter corresponding to a picture to be identified is larger than the preset color state parameter in the direction of a color space, wherein the preset color state parameter is a vector value selected by a pixel point in the color space; and when the color state parameter corresponding to the to-be-identified matting picture is larger than the preset color state parameter, displaying the disease information corresponding to the preset color state parameter. ' s of
Further, the condition information display program, when executed by the processor, further performs the following operations:
determining the number of pixel points in the to-be-identified matting picture;
calculating a first average pixel value corresponding to the to-be-recognized matting picture according to the number of the pixel points and the pixel value of each pixel point;
and determining a color state parameter corresponding to the to-be-identified matting picture according to the first average pixel value. ' s of
Further, the condition information display program, when executed by the processor, further performs the following operations:
the face image to be identified, the retina image to be identified, the tongue image to be identified, the matting picture to be identified, the color state parameters and the disease information are stored in a database in a correlated manner. ' s of
Further, the condition information display program, when executed by the processor, further performs the following operations:
acquiring at least one second facial image, a second retinal image and a second tongue image, wherein each second facial image, second retinal image and second tongue image is an acquired facial image of a different patient consistent with the condition information; determining characteristic areas of the matting processing in each second face image, each second retina image and each second tongue image according to the disorder information, and performing matting processing on each second face image, each second retina image and each second tongue image according to the characteristic areas so as to separate each second matting picture corresponding to the characteristic areas; determining the number of pixel points in each second matting picture, and extracting the pixel value of each pixel point; calculating a second average pixel value of each second matting picture according to the number of the pixel points and the pixel values; and calculating the color state parameters of each second matting picture according to each second average pixel value, and determining the color state parameters of the second matting picture as preset color state parameters. ' s of
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (5)

1. A disorder information display method, characterized in that the disorder information display method comprises the steps of:
when a disease identification instruction is acquired, determining a feature area to be identified, which is required to be subjected to image matting processing, in a face image to be identified, a retina image to be identified and a tongue image to be identified;
carrying out matting processing on the face image to be identified, the retina image to be identified and the tongue image to be identified according to the feature area to be identified so as to separate a matting picture to be identified corresponding to the feature area to be identified;
extracting pixel values corresponding to all pixel points in the to-be-identified matting picture, and determining color state parameters corresponding to the to-be-identified matting picture according to the pixel values, wherein the pixel values are vector values of the pixel points in a color space;
acquiring a preset color state parameter corresponding to a feature region to be identified, and judging whether the color state parameter corresponding to a picture to be identified is larger than the preset color state parameter in the direction of a color space, wherein the preset color state parameter is a vector value selected by a pixel point in the color space;
when the color state parameter corresponding to the to-be-identified matting picture is larger than the preset color state parameter, displaying the disease information corresponding to the preset color state parameter;
the step of determining the color state parameters corresponding to the to-be-identified matting picture according to each pixel value comprises the following steps:
determining the number of pixel points in a to-be-identified matted picture;
calculating a first average pixel value corresponding to the to-be-recognized matting picture according to the number of the pixel points and the pixel value of each pixel point;
and determining a color state parameter corresponding to the to-be-identified matting picture according to the first average pixel value.
2. The method of claim 1, wherein the step of displaying the condition information corresponding to the preset color state parameter further comprises, when the color state parameter is greater than the preset color state parameter:
and storing the face image to be identified, the retina image to be identified, the tongue image to be identified, the picture to be identified, the color state parameters and the disease information in a database in a correlated manner.
3. The condition information display method according to claim 1, characterized in that the condition information display method further comprises:
acquiring at least one second facial image, a second retina image and a second tongue image, wherein each second facial image, second retina image and second tongue image is a facial image of a different patient which is acquired and is consistent with the disease information;
determining characteristic areas of the matting processing in each second face image, each second retina image and each second tongue image according to the disorder information, and performing matting processing on each second face image, each second retina image and each second tongue image according to the characteristic areas so as to separate each second matting picture corresponding to the characteristic areas;
determining the number of pixel points in each second matting picture, and extracting the pixel value of each pixel point;
calculating a second average pixel value of each second matting picture according to the number of the pixel points and the pixel values;
and calculating the color state parameters of each second matting picture according to each second average pixel value, and determining the color state parameters of the second matting picture as preset color state parameters.
4. A disorder information display apparatus, comprising: a memory, a processor, and a condition information display program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the condition information display method according to any one of claims 1 to 3.
5. A computer-readable storage medium, wherein a disorder information display program is stored thereon, which when executed by a processor, implements the steps of the disorder information display method according to any one of claims 1 to 3.
CN201710461299.4A 2017-06-16 2017-06-16 Method and device for displaying disease information and computer readable storage medium Active CN109147911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710461299.4A CN109147911B (en) 2017-06-16 2017-06-16 Method and device for displaying disease information and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710461299.4A CN109147911B (en) 2017-06-16 2017-06-16 Method and device for displaying disease information and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109147911A CN109147911A (en) 2019-01-04
CN109147911B true CN109147911B (en) 2023-12-19

Family

ID=64804170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710461299.4A Active CN109147911B (en) 2017-06-16 2017-06-16 Method and device for displaying disease information and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109147911B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111227795B (en) * 2020-01-13 2022-07-22 天津众阳科技有限公司 Method for extracting color change information of human face reflection area
CN112221021B (en) * 2020-11-02 2023-02-07 中南大学湘雅三医院 Intelligent laser speckle removing control system for dermatology department
CN113033488B (en) * 2021-04-22 2023-11-21 脉景(杭州)健康管理有限公司 Medical feature recognition method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102389291A (en) * 2011-06-09 2012-03-28 广西中医学院 Experimental animal sign information collection and analysis system and collection and analysis method
CN102426652A (en) * 2011-10-10 2012-04-25 北京工业大学 Traditional Chinese medicine face color identifying and retrieving method based on image analysis
CN106725314A (en) * 2016-12-05 2017-05-31 牛欣 The traditional Chinese medical science based on Quick Response Code, topological code quantifies to distinguish color Diagnostic technique and procedure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7444071B2 (en) * 2005-04-28 2008-10-28 Carestream Health, Inc. Method for diagnosing disease from tongue image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102389291A (en) * 2011-06-09 2012-03-28 广西中医学院 Experimental animal sign information collection and analysis system and collection and analysis method
CN102426652A (en) * 2011-10-10 2012-04-25 北京工业大学 Traditional Chinese medicine face color identifying and retrieving method based on image analysis
CN106725314A (en) * 2016-12-05 2017-05-31 牛欣 The traditional Chinese medical science based on Quick Response Code, topological code quantifies to distinguish color Diagnostic technique and procedure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王新志.中医四诊仪.《中国中西医专科专病临床大系 中风脑病诊疗全书》.中国中医药出版社,2017, *

Also Published As

Publication number Publication date
CN109147911A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109101873B (en) Electronic device for providing characteristic information of an external light source for an object of interest
JP6715152B2 (en) Care information acquisition method, care information sharing method and electronic device for these methods
US10366487B2 (en) Electronic apparatus for providing health status information, method of controlling the same, and computer-readable storage medium
AU2015201759B2 (en) Electronic apparatus for providing health status information, method of controlling the same, and computer readable storage medium
US11612314B2 (en) Electronic device and method for determining degree of conjunctival hyperemia by using same
US20180267323A1 (en) Information processing apparatus, information processing method, and program
CN109147911B (en) Method and device for displaying disease information and computer readable storage medium
US10354124B2 (en) Electronic apparatus and controlling method for improve the image quality preference of skin area
CN110533651B (en) Image processing method and device
KR20180108322A (en) Method and device for correcting image processing area corresponding to skin
US11335090B2 (en) Electronic device and method for providing function by using corneal image in electronic device
KR20220010381A (en) Electronic device, sever, and system for tracking skin changes
KR20210077579A (en) Electronic device and operating method for generating high dynamic range image
KR102389201B1 (en) Electronic apparatus and controlling method thereof
CN111610886A (en) Method and device for adjusting brightness of touch screen and computer readable storage medium
KR20190011659A (en) Skin undertone determining method and an electronic device
CN109765990A (en) Picture display control method and picture display control program
CN111543047A (en) Video shooting method and device and computer readable storage medium
CN113282207B (en) Menu display method, menu display device, menu display equipment, storage medium and menu display product
WO2023048153A1 (en) Information processing method, computer program, and information processing device
CN113749614B (en) Skin detection method and apparatus
EP4262190A1 (en) Electronic apparatus and control method thereof
CN115941912A (en) Visual color compensation method, apparatus and computer-readable storage medium
KR20210100341A (en) Method and electronic device for correcting image based on depth information
CN117789262A (en) Face detection method and device based on video

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 518000 Room 003, 5th Floor, Skirt Building, Metropolitan Famous Garden, No. 1 Shucheng Road, Guiyuan Street, Luohu District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN DASEN INTELLIGENT TECHNOLOGY CO.,LTD.

Address before: Room 1203, Tsinghua Information Port Scientific Research Building, North District, Nanshan High-tech Park, Shenzhen, Guangdong 518000

Applicant before: SHENZHEN DASEN INTELLIGENT TECHNOLOGY CO.,LTD.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant