CN109147911A - Illness information display method and device, computer readable storage medium - Google Patents
Illness information display method and device, computer readable storage medium Download PDFInfo
- Publication number
- CN109147911A CN109147911A CN201710461299.4A CN201710461299A CN109147911A CN 109147911 A CN109147911 A CN 109147911A CN 201710461299 A CN201710461299 A CN 201710461299A CN 109147911 A CN109147911 A CN 109147911A
- Authority
- CN
- China
- Prior art keywords
- identified
- face
- state parameter
- color state
- image
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000004256 retinal image Effects 0.000 claims abstract description 61
- 239000000284 extract Substances 0.000 claims description 7
- 238000006748 scratching Methods 0.000 claims 1
- 230000002393 scratching effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 10
- 201000010099 disease Diseases 0.000 description 10
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 10
- 210000001508 eye Anatomy 0.000 description 10
- 238000003745 diagnosis Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 230000001419 dependent effect Effects 0.000 description 5
- 208000019423 liver disease Diseases 0.000 description 5
- 230000001815 facial effect Effects 0.000 description 4
- 238000012876 topography Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 235000002673 Dioscorea communis Nutrition 0.000 description 1
- 241000544230 Dioscorea communis Species 0.000 description 1
- 208000035753 Periorbital contusion Diseases 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 210000005252 bulbus oculi Anatomy 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000002405 diagnostic procedure Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 210000004185 liver Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002207 retinal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature 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 kind of illness information display methods, comprising: when getting illness identification instruction, determines the characteristic area to be identified that FIG pull handle is needed in face-image to be identified, retinal images to be identified and tongue image to be identified;FIG pull handle is carried out to face-image to be identified, retinal images to be identified and tongue image to be identified according to characteristic area to be identified, to isolate the corresponding stingy picture face to be identified of characteristic area to be identified;The corresponding pixel value of each pixel in stingy picture face to be identified is extracted, and the corresponding color state parameter in stingy picture face to be identified is determined according to each pixel value;The corresponding pre-set color state parameter of characteristic area to be identified is obtained, and judges color state parameter on color space direction, if is greater than pre-set color state parameter;When corresponding color state parameter is greater than pre-set color state parameter when stingy picture face to be identified, illness information corresponding with pre-set color state parameter is shown.The invention also discloses a kind of illness information display devices, computer readable storage medium.The present invention improves the identification accuracy to patient condition.
Description
Technical field
The present invention relates to medical detection technology more particularly to a kind of illness information display method and devices, computer
Readable storage medium storing program for executing.
Background technique
In the prior art, doctor can recognize the disease that patient is suffered from such a way that complexion is examined.But complexion examines this
Kind of the Chinese medicine tradition diagnostic method is very high to the experiences in diagnosis and treatment requirement of doctor individual, it may be said that is examined by complexion and is suffered to recognize patient
Disease is almost completely dependent on the experiences in diagnosis and treatment of doctor to realize, but the experiences in diagnosis and treatment of not actually each doctor is all very
Foot, so as to cause the identification inaccuracy to patient condition.
Summary of the invention
The main purpose of the present invention is to provide a kind of illness information display method and devices, computer-readable storage medium
Matter, by improve it is existing realize that complexion is examined dependent on doctor individual's experiences in diagnosis and treatment, and lead to identification to patient condition not
Accurate problem, to improve the identification accuracy to patient condition.
To achieve the above object, a kind of illness information display method provided by the invention, comprising:
When getting illness identification instruction, face-image, retinal images to be identified and tongue to be identified to be identified are determined
The characteristic area to be identified of FIG pull handle is needed in portion's image;
According to characteristic area to be identified to face-image to be identified, retinal images to be identified and tongue image to be identified into
Row FIG pull handle, to isolate the corresponding stingy picture face to be identified of characteristic area to be identified;
The corresponding pixel value of each pixel in stingy picture face to be identified is extracted, and is determined according to each pixel value to be identified
Scratch the corresponding color state parameter in picture face, wherein the pixel value is vector value of the pixel on color space;
The corresponding pre-set color state parameter of characteristic area to be identified is obtained, and judges the corresponding face in stingy picture face to be identified
Color state parameter is on color space direction, if is greater than pre-set color state parameter, wherein the pre-set color state parameter
For pixel on color space selected vector value;
When stingy picture face to be identified, corresponding color state parameter is greater than pre-set color state parameter, display and default face
The corresponding illness information of color state parameter.
Preferably, the step of corresponding color state parameter in stingy picture face to be identified is determined according to each pixel value packet
It includes:
Determine the number of pixel in stingy picture face to be identified;
It is corresponding first flat according to the calculated for pixel values of the number of pixel and each pixel stingy picture face to be identified
Equal pixel value;
The corresponding color state parameter in stingy picture face to be identified is determined according to the first average pixel value.
Preferably, described when color state parameter is greater than pre-set color state parameter, display is joined with pre-set color state
After the step of number corresponding illness information further include:
By face-image to be identified, retinal images to be identified and tongue image to be identified, stingy picture face to be identified, color
State parameter and the storage of illness information association are in the database.
Preferably, the illness information display method further include:
Obtain at least second face-image, the second retinal images and the second tongue image, wherein each second face
Image, the second retinal images and the second tongue image be acquisition from the face-image of the consistent different patients of illness information;
Each second face-image is determined according to illness information, FIG pull handle in the second retinal images and the second tongue image
Characteristic area, and according to characteristic area each second face-image, the second retinal images and the second tongue image are carried out stingy
Figure processing, to isolate the corresponding each second stingy picture face of characteristic area;
It determines the number of pixel in each second stingy picture face, and extracts the pixel value of each pixel;
According to second average pixel value in the stingy picture face of the number of pixel and calculated for pixel values each second;
Calculate the color state parameter in each second stingy picture face according to each second average pixel value, and by the second stingy picture face
Color state parameter be determined as pre-set color state parameter.
In addition, to achieve the above object, the present invention also provides a kind of illness information display devices, comprising: memory, processing
Device and it is stored in the illness information display program that can be run on the memory and on the processor, the illness information is aobvious
Show the step that illness information display method according to any one of claims 1 to 4 is realized when program is executed by the processor
Suddenly.
In addition, to achieve the above object, the present invention also provides a kind of computer readable storage mediums, which is characterized in that institute
It states and is stored with illness information display program on computer readable storage medium, the illness information display program is executed by processor
The step of Shi Shixian illness information display method according to any one of claims 1 to 4.
The present invention passes through will current collected face-image, retinal images to be identified and tongue figure to be identified to be identified
The corresponding color state parameter in stingy picture face to be identified, is matched with pre-set color state parameter, further to recognize as in
With illness information corresponding with the pre-set color state parameter, to improve existing next dependent on doctor individual's experiences in diagnosis and treatment
It realizes that complexion is examined, and leads to the problem of the identification inaccuracy to patient condition, to improve the identification accuracy to patient condition.
Detailed description of the invention
Fig. 1 be the hardware running environment that the embodiment of the present invention is related to terminal apparatus structure schematic diagram;
Fig. 2 is the flow diagram of the first embodiment of illness information display method of the present invention;
Fig. 3 is the flow diagram of the refinement step of step S30 in first embodiment shown in Fig. 2;
Fig. 4 is the flow diagram of the second embodiment of illness information display method of the present invention;
Fig. 5 is the flow diagram of the 3rd embodiment of illness information display method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be PC, be also possible to smart phone, tablet computer, E-book reader, MP3
(Moving Picture Experts GroupAudio Layer III, dynamic image expert's compression standard audio level 3) is broadcast
Put device, MP4 (Moving Picture Experts GroupAudio Layer IV, dynamic image expert's compression standard audio
Level 3) the packaged type terminal device having a display function such as player, portable computer.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As
One kind of motion sensor, gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, quiet
Size and the direction that can detect that gravity when only, the application that can be used to identify mobile terminal posture are (such as horizontal/vertical screen switching, related
Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are set, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe module, Subscriber Interface Module SIM and illness information display program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor
1001 can be used for calling the illness information display program stored in memory 1005, and execute following operation:
[when getting illness identification instruction, determine face-image, retinal images to be identified and tongue to be identified to be identified
The characteristic area to be identified of FIG pull handle is needed in portion's image;According to characteristic area to be identified to face-image to be identified, wait distinguish
Know retinal images and tongue image to be identified carries out FIG pull handle, it is corresponding to be identified stingy to isolate characteristic area to be identified
Picture face;The corresponding pixel value of each pixel in stingy picture face to be identified is extracted, and is determined according to each pixel value to be identified
Scratch the corresponding color state parameter in picture face, wherein the pixel value is vector value of the pixel on color space;Obtain to
The corresponding pre-set color state parameter of characteristic area is recognized, and judges the corresponding color state parameter in stingy picture face to be identified in face
On colour space direction, if be greater than pre-set color state parameter, wherein the pre-set color state parameter is pixel in color
Spatially selected vector value;When stingy picture face to be identified, corresponding color state parameter is greater than pre-set color state parameter
When, show illness information corresponding with pre-set color state parameter.]
Further, processor 1001 can call the illness information display program stored in memory 1005, also execute
It operates below:
[determine the number of pixel in stingy picture face to be identified;
It is corresponding first flat according to the calculated for pixel values of the number of pixel and each pixel stingy picture face to be identified
Equal pixel value;
The corresponding color state parameter in stingy picture face to be identified is determined according to the first average pixel value.]
Further, processor 1001 can call the illness information display program stored in memory 1005, also execute
It operates below:
[by face-image to be identified, retinal images to be identified and tongue image to be identified, stingy picture face to be identified, face
Color state parameter and the storage of illness information association are in the database.]
Further, processor 1001 can call the illness information display program stored in memory 1005, also execute
It operates below:
[obtain at least second face-image, the second retinal images and the second tongue image, wherein each second face
Portion's image, the second retinal images and the second tongue image be acquisition from the face of the consistent different patients of the illness information
Image;
It is determined according to the illness information and scratches figure in each second face-image, the second retinal images and the second tongue image
The characteristic area of processing, and according to characteristic area to each second face-image, the second retinal images and the second tongue image into
Row FIG pull handle, to isolate the corresponding each second stingy picture face of characteristic area;
It determines the number of pixel in each second stingy picture face, and extracts the pixel value of each pixel;
According to second average pixel value in the stingy picture face of the number of pixel and calculated for pixel values each second;
Calculate the color state parameter in each second stingy picture face according to each second average pixel value, and by the second stingy picture face
Color state parameter be determined as pre-set color state parameter.]
Based on the above issues, the present invention provides a kind of illness information display method.
It is the flow diagram of the first embodiment of illness information display method of the present invention referring to Fig. 2, Fig. 2.
In the present embodiment, the illness information display method includes:
Step S10, when getting illness identification instruction, determine face-image to be identified, retinal images to be identified and
The characteristic area to be identified of FIG pull handle is needed in tongue image to be identified;
In the present embodiment, under white background, acquire the face-image of user to be diagnosed, by the face-image of acquisition into
Row white balance and brightness adjustment obtain face-image, retinal images to be identified and tongue image to be identified to be identified, so that
Face-image, retinal images to be identified and tongue image to be identified to be identified not colour cast due to light reason.Getting disease
When disease identification instruction, face-image, retinal images to be identified and the tongue image to be identified to be identified is determined, and determine wait distinguish
Know the corresponding pre-set color state parameter of characteristic area.For example, determining face figure to be identified when getting hepatopathy identification instruction
As the image-region where eyes in, retinal images to be identified and tongue image to be identified is need FIG pull handle to be identified
Characteristic area, and obtain the corresponding pre-set color state parameter of the characteristic area to be identified, wherein the pre-set color state parameter
It can be understood as the corresponding color state parameter of the eyes image prestored, which is the eye figure of the patient with hepatopathy
Picture.
It is understood that the technical solution of this implementation steps may be replaced by: when getting illness identification instruction,
Also need to further determine that the characteristic area to be identified for needing FIG pull handle, detect user the face-image to be identified, to
When recognizing the touch operation that retinal images and tongue image to be identified trigger, the corresponding touch location of touch operation is determined as
The characteristic area to be identified of FIG pull handle is needed in the face-image to be identified, retinal images to be identified and tongue image to be identified
Domain.
Step S20, according to characteristic area to be identified to face-image to be identified, retinal images to be identified and tongue to be identified
Portion's image carries out FIG pull handle, to isolate the corresponding stingy picture face to be identified of characteristic area to be identified;
Step S30 extracts the corresponding pixel value of each pixel in stingy picture face to be identified, and true according to each pixel value
Determine the corresponding color state parameter in stingy picture face to be identified, wherein the pixel value is vector of the pixel on color space
Value;
By characteristic area to be identified from the face-image to be identified, retinal images to be identified and tongue image to be identified
It takes off out, obtains stingy picture face to be identified.The corresponding pixel value of each pixel in stingy picture face to be identified is extracted, that is, is extracted
The corresponding R value of each pixel, G value and B value, determine stingy picture face to be identified according to each pixel value in stingy picture face to be identified
Corresponding color state parameter, wherein the pixel value is vector value of the pixel on certain color space.
Step S40 obtains the corresponding pre-set color state parameter of characteristic area to be identified, judges that stingy picture to be identified faces
The color state parameter answered is on color space direction, if is greater than pre-set color state parameter, wherein the pre-set color shape
State parameter is pixel selected vector value on color space;
Step S50, when stingy picture face to be identified, corresponding color state parameter is greater than pre-set color state parameter, display
Illness information corresponding with pre-set color state parameter.
The corresponding color state parameter in stingy picture face to be identified is matched with pre-set color state parameter, with judge to
It recognizes and scratches the corresponding color state parameter in picture face on certain color space direction, if be greater than pre-set color state parameter.When
The corresponding color state parameter in stingy picture face to be identified is more than or equal to the pre-set color state on certain color space direction
When parameter, corresponding with pre-set color state parameter illness information is shown, show the corresponding patient's trouble in the stingy picture face to be identified
There is disease (such as hepatopathy) corresponding with illness identification instruction.Wherein, which includes illness title, rank locating for illness
Section.
It should also be noted that, judging mean pixel when getting the corresponding average pixel value in stingy picture face to be identified
Value is on the color space direction, if is more than or equal to the pre-set color state parameter, when stingy picture face to be identified is corresponding
Color state parameter when being greater than pre-set color state parameter, show corresponding with pre-set color state parameter illness information.Example
Such as, after determining that the corresponding mass-tone in stingy picture face to be identified is adjusted to yellow by average pixel value, by judging that average pixel value exists
Whether it is greater than the selected vector value on the direction of yellow on the direction of yellow.
The present invention passes through will current collected face-image, retinal images to be identified and tongue figure to be identified to be identified
The corresponding color state parameter in stingy picture face to be identified, is matched with pre-set color state parameter, further to recognize as in
With illness information corresponding with the pre-set color state parameter, to improve existing next dependent on doctor individual's experiences in diagnosis and treatment
It realizes that complexion is examined, and leads to the problem of the identification inaccuracy to patient condition, to improve the identification accuracy to patient condition.
Further, referring to Fig. 3, being the flow diagram of the refinement step of step S30 in first embodiment of the invention,
The refinement step for determining the corresponding color state parameter in stingy picture face to be identified according to each pixel value in step S30 includes:
Step S31 determines the number of pixel in stingy picture face to be identified;
Step S32, it is corresponding according to the calculated for pixel values of the number of pixel and each pixel stingy picture face to be identified
The first average pixel value;
Step S33 determines the corresponding color state parameter in stingy picture face to be identified according to the first average pixel value.
In the present embodiment, the number of pixel in stingy picture face to be identified is calculated, and will be each in stingy picture face to be identified
The pixel value of a pixel is added, i.e., is added each R value of each pixel, and each G value is added and each B value is added, and obtains one
Pixel value after weighting obtains stingy picture face to be identified corresponding by the pixel value after the weighting divided by the number of pixel
One average pixel value.Based on color analysis algorithm, the corresponding color in stingy picture face to be identified is determined according to the first average pixel value
State parameter, for example, the first average pixel value for calculating stingy picture face p to be identified is Rp, Gp, Bp, by color analysis algorithm,
Obtain the dominant hue d of Rp, Gp, Bp.
The present embodiment is by determining the number of pixel in stingy picture face to be identified, according to the number of pixel and each
Corresponding first average pixel value in the calculated for pixel values of pixel stingy picture face to be identified, according to the first average pixel value determine to
It recognizes and scratches the corresponding color state parameter in picture face, so that accurately determine the corresponding color state parameter in stingy picture face to be identified,
Improve the display efficiency of illness information.
Further, it is based on any of the above-described embodiment, referring to Fig. 4, being illness information display method proposed by the present invention
Second embodiment flow diagram, in this second embodiment, after S50, which includes:
Step S60, by face-image to be identified, retinal images to be identified and tongue image to be identified, stingy figure to be identified
Picture, color state parameter and the storage of illness information association are in the database.
In the present embodiment, determining the corresponding color state parameter in stingy picture face to be identified more than or equal to default face
When color state parameter, by face-image, retinal images to be identified and the tongue image to be identified to be identified, the stingy figure to be identified
Picture, the color state parameter and illness information association storage in the database, as preset reference value, for it is subsequent into
Row illness information carries out reference call when showing.
Further, it is based on any of the above-described embodiment, referring to Fig. 5, being illness information display method proposed by the present invention
Second embodiment flow diagram, in this second embodiment, before S10, which includes:
Step S70 obtains at least second face-image, the second retinal images and the second tongue image, wherein each
Second face-image, the second retinal images and the second tongue image be acquisition with the consistent difference of illness information
The face-image of patient;
In the present embodiment, storage has confirmed that the corresponding second face figure of multiple patients with certain disease in database
Picture, the second retinal images and the second tongue image, wherein second face-image, the second retinal images and the second tongue
What image acquired under white background, and all by the second face-image of acquisition, the second retinal images and the second tongue image
White balance and brightness adjustment are carried out, to reduce colour cast influence.At least second face-image, are obtained from database
Two retinal images and the second tongue image, wherein each second face-image, the second retinal images and the second tongue figure
As for acquisition from the face-image of the consistent different patients of above-mentioned illness information.
Step S80 is determined in each second face-image, the second retinal images and the second tongue image according to illness information
The characteristic area of FIG pull handle, and according to characteristic area to each second face-image, the second retinal images and the second tongue figure
As carrying out FIG pull handle, to isolate the corresponding each second stingy picture face of characteristic area;
Step S90, determines the number of pixel in each second stingy picture face, and extracts the pixel value of each pixel;
Step S100, according to second mean pixel in the stingy picture face of the number of pixel and calculated for pixel values each second
Value;
Step S200, calculates the color state parameter in each second stingy picture face according to each second average pixel value, and by
The color state parameter in two stingy picture faces is determined as pre-set color state parameter.
For example, it is total to be stored with the second face-image of T patient, the second retinal images and the second tongue image in database
K width, the T patient have made a definite diagnosis with A disease initial stage.The first step, by K the second face-image, the second retinal map
Through white balance and brightness adjustment, reducing colour cast influences for picture and the second tongue image;Second step passes through face feature point recognizer
The second stingy picture face of the facial B on whole photos is extracted, and is saved;Third step calculates every second stingy picture face
The average value of the rgb pixel value of upper each pixel, the average value are Rk, Gk, Bk;4th step adds according to the number of pixel
Weight average each average value Rk, Gk, Bk, obtain second average pixel value Ri, Gi, Bi, according to second average pixel value Ri,
Gi, Bi determine the color state parameter in the second stingy picture face, i.e. the mass-tone in the second stingy picture face is adjusted to Di, and second is scratched
The color state parameter in picture face is determined as pre-set color state parameter.
It is described in detail how above scheme is realized below by a specific embodiment.
Patient under normal conditions with disease in terms of liver can there are different degrees of white of the eye flavescence situations.Default
Have the facial picture, retinal images and tongue image of 100 hepatopathy initial stage patients, will all facial pictures by white balance and
The topography of " eyes " is extracted in face after brightness adjustment, is saved.Using color algorithm, by the picture in eyes topography
Then the pixel color value of white of the eye part is added up and is averaged, finally obtains hepatopathy initial stage by the part of black eye ball in vegetarian refreshments
Reference value Rg, Gg, Bg of patient's white of the eye color, and remember that dominant hue Dg is yellow.
Under white background, user's facial image F is acquired, then photo is extracted after white balance and brightness adjustment and appeared
The topography of " eyes " in portion saves.Color value Ru, Gu, Bu of user's white of the eye part are calculated again, and use color algorithm
Obtain the dominant hue Di of Ri, Gi, Bi.Judge whether Di is yellow, and whether depth degree is more than or equal to Dg, if then judging
For hepatopath.
The present embodiment is by being determined as pre-set color state parameter for the color state parameter in the second stingy picture face, so that logical
Crossing image procossing can be realized as the identification of illness, and then improves and existing realize complexion dependent on doctor individual's experiences in diagnosis and treatment
It examines, and leads to the problem of the identification inaccuracy to patient condition, promptly and accurately obtain the diagnostic result of illness.
The embodiment of the present invention also proposes that a kind of illness information display device, the illness information display device include: storage
Device, processor and it is stored in the illness information display program that can be run on the memory and on the processor, the disease
Following operation is realized when disease information display program is executed by the processor:
[when getting illness identification instruction, determine face-image, retinal images to be identified and tongue to be identified to be identified
The characteristic area to be identified of FIG pull handle is needed in portion's image;
According to characteristic area to be identified to face-image to be identified, retinal images to be identified and tongue image to be identified into
Row FIG pull handle, to isolate the corresponding stingy picture face to be identified of characteristic area to be identified;
The corresponding pixel value of each pixel in stingy picture face to be identified is extracted, and is determined according to each pixel value to be identified
Scratch the corresponding color state parameter in picture face, wherein the pixel value is vector value of the pixel on color space;
The corresponding pre-set color state parameter of characteristic area to be identified is obtained, and judges the corresponding face in stingy picture face to be identified
Color state parameter is on color space direction, if is greater than pre-set color state parameter, wherein the pre-set color state parameter
For pixel on color space selected vector value;
When stingy picture face to be identified, corresponding color state parameter is greater than pre-set color state parameter, display and default face
The corresponding illness information of color state parameter.]
Further, following operation is also realized when the video recommendations program is executed by processor:
[determine the number of pixel in stingy picture face to be identified;
It is corresponding first flat according to the calculated for pixel values of the number of pixel and each pixel stingy picture face to be identified
Equal pixel value;
The corresponding color state parameter in stingy picture face to be identified is determined according to the first average pixel value.]
Further, following operation is also realized when the video recommendations program is executed by processor:
[by face-image to be identified, retinal images to be identified and tongue image to be identified, stingy picture face to be identified, face
Color state parameter and the storage of illness information association are in the database.]
Further, following operation is also realized when the video recommendations program is executed by processor:
[obtain at least second face-image, the second retinal images and the second tongue image, wherein each second face
Portion's image, the second retinal images and the second tongue image be acquisition from the face of the consistent different patients of the illness information
Image;
It is determined according to the illness information and scratches figure in each second face-image, the second retinal images and the second tongue image
The characteristic area of processing, and according to characteristic area to each second face-image, the second retinal images and the second tongue image into
Row FIG pull handle, to isolate the corresponding each second stingy picture face of characteristic area;
It determines the number of pixel in each second stingy picture face, and extracts the pixel value of each pixel;
According to second average pixel value in the stingy picture face of the number of pixel and calculated for pixel values each second;
Calculate the color state parameter in each second stingy picture face according to each second average pixel value, and by the second stingy picture face
Color state parameter be determined as pre-set color state parameter.]
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with illness information display program, following operation is realized when the illness information display program is executed by processor:
[when getting illness identification instruction, determine face-image, retinal images to be identified and tongue to be identified to be identified
The characteristic area to be identified of FIG pull handle is needed in portion's image;According to characteristic area to be identified to face-image to be identified, wait distinguish
Know retinal images and tongue image to be identified carries out FIG pull handle, it is corresponding to be identified stingy to isolate characteristic area to be identified
Picture face;The corresponding pixel value of each pixel in stingy picture face to be identified is extracted, and is determined according to each pixel value to be identified
Scratch the corresponding color state parameter in picture face, wherein the pixel value is vector value of the pixel on color space;Obtain to
The corresponding pre-set color state parameter of characteristic area is recognized, and judges the corresponding color state parameter in stingy picture face to be identified in face
On colour space direction, if be greater than pre-set color state parameter, wherein the pre-set color state parameter is pixel in color
Spatially selected vector value;When stingy picture face to be identified, corresponding color state parameter is greater than pre-set color state parameter
When, show illness information corresponding with pre-set color state parameter.]
Further, following operation is also realized when the illness information display program is executed by processor:
[determine the number of pixel in stingy picture face to be identified;
It is corresponding first flat according to the calculated for pixel values of the number of pixel and each pixel stingy picture face to be identified
Equal pixel value;
The corresponding color state parameter in stingy picture face to be identified is determined according to the first average pixel value.]
Further, following operation is also realized when the illness information display program is executed by processor:
[by face-image to be identified, retinal images to be identified and tongue image to be identified, stingy picture face to be identified, face
Color state parameter and the storage of illness information association are in the database.]
Further, following operation is also realized when the illness information display program is executed by processor:
[obtain at least second face-image, the second retinal images and the second tongue image, wherein each second face
Portion's image, the second retinal images and the second tongue image be acquisition from the face of the consistent different patients of the illness information
Image;It is determined in each second face-image, the second retinal images and the second tongue image and is scratched at figure according to the illness information
The characteristic area of reason, and each second face-image, the second retinal images and the second tongue image are carried out according to characteristic area
FIG pull handle, to isolate the corresponding each second stingy picture face of characteristic area;Determine of pixel in each second stingy picture face
Number, and extract the pixel value of each pixel;According to the second of the stingy picture face of the number of pixel and calculated for pixel values each second
Average pixel value;The color state parameter in each second stingy picture face is calculated according to each second average pixel value, and scratches figure for second
The color state parameter of picture is determined as pre-set color state parameter.]
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (6)
1. a kind of illness information display method, which is characterized in that the illness information display method the following steps are included:
When getting illness identification instruction, face-image, retinal images to be identified and tongue figure to be identified to be identified are determined
The characteristic area to be identified of FIG pull handle is needed as in;
Face-image to be identified, retinal images to be identified and tongue image to be identified are carried out according to characteristic area to be identified stingy
Figure processing, to isolate the corresponding stingy picture face to be identified of characteristic area to be identified;
The corresponding pixel value of each pixel in stingy picture face to be identified is extracted, and stingy figure to be identified is determined according to each pixel value
The corresponding color state parameter of picture, wherein the pixel value is vector value of the pixel on color space;
The corresponding pre-set color state parameter of characteristic area to be identified is obtained, and judges the corresponding color shape in stingy picture face to be identified
State parameter is on color space direction, if is greater than pre-set color state parameter, wherein the pre-set color state parameter is picture
Vegetarian refreshments selected vector value on color space;
When stingy picture face to be identified, corresponding color state parameter is greater than pre-set color state parameter, display and pre-set color shape
The corresponding illness information of state parameter.
2. illness information display method as described in claim 1, which is characterized in that described to be determined according to each pixel value wait distinguish
Knowing the step of scratching the corresponding color state parameter in picture face includes:
Determine the number of pixel in stingy picture face to be identified;
According to the calculated for pixel values of the number of pixel and each pixel stingy picture face corresponding first to be identified averagely picture
Element value;
The corresponding color state parameter in stingy picture face to be identified is determined according to the first average pixel value.
3. illness information display method as claimed in claim 1 or 2, which is characterized in that described when color state parameter is greater than
When pre-set color state parameter, show illness information corresponding with pre-set color state parameter the step of after further include:
By face-image to be identified, retinal images to be identified and tongue image to be identified, stingy picture face to be identified, color state
Parameter and the storage of illness information association are in the database.
4. such as the illness information display method of claims 1 or 2, which is characterized in that the illness information display method further include:
Obtain at least second face-image, the second retinal images and the second tongue image, wherein each second face figure
Picture, the second retinal images and the second tongue image are scheming from the face of the consistent different patients of the illness information for acquisition
Picture;
Each second face-image is determined according to the illness information, FIG pull handle in the second retinal images and the second tongue image
Characteristic area, and according to characteristic area each second face-image, the second retinal images and the second tongue image are carried out stingy
Figure processing, to isolate the corresponding each second stingy picture face of characteristic area;
It determines the number of pixel in each second stingy picture face, and extracts the pixel value of each pixel;
According to second average pixel value in the stingy picture face of the number of pixel and calculated for pixel values each second;
Calculate the color state parameter in each second stingy picture face according to each second average pixel value, and by the face in the second stingy picture face
Color state parameter is determined as pre-set color state parameter.
5. a kind of illness information display device, which is characterized in that the illness information display device includes: memory, processor
And it is stored in the illness information display program that can be run on the memory and on the processor, the illness information is shown
Program realizes the step of illness information display method according to any one of claims 1 to 4 when being executed by the processor.
6. a kind of computer readable storage medium, which is characterized in that be stored with illness letter on the computer readable storage medium
Breath display program, is realized according to any one of claims 1 to 4 when the illness information display program is executed by processor
The step of illness information display method.
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 true CN109147911A (en) | 2019-01-04 |
CN109147911B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111227795A (en) * | 2020-01-13 | 2020-06-05 | 天津众阳科技有限公司 | Method for extracting color change information of human face reflection area |
CN112221021A (en) * | 2020-11-02 | 2021-01-15 | 中南大学湘雅三医院 | Intelligent laser speckle removing control system and method for dermatology department |
CN113033488A (en) * | 2021-04-22 | 2021-06-25 | 脉景(杭州)健康管理有限公司 | Medical feature recognition method and device, electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060247502A1 (en) * | 2005-04-28 | 2006-11-02 | Eastman Kodak Company | Method for diagnosing disease from tongue image |
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 recognition and retrieval 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 |
-
2017
- 2017-06-16 CN CN201710461299.4A patent/CN109147911B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060247502A1 (en) * | 2005-04-28 | 2006-11-02 | Eastman Kodak Company | Method for diagnosing disease from tongue image |
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 recognition and retrieval 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)
Title |
---|
王新志: "《中国中西医专科专病临床大系 中风脑病诊疗全书》", 31 March 2017, 中国中医药出版社 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111227795A (en) * | 2020-01-13 | 2020-06-05 | 天津众阳科技有限公司 | Method for extracting color change information of human face reflection area |
CN111227795B (en) * | 2020-01-13 | 2022-07-22 | 天津众阳科技有限公司 | Method for extracting color change information of human face reflection area |
CN112221021A (en) * | 2020-11-02 | 2021-01-15 | 中南大学湘雅三医院 | Intelligent laser speckle removing control system and method for dermatology department |
CN113033488A (en) * | 2021-04-22 | 2021-06-25 | 脉景(杭州)健康管理有限公司 | Medical feature recognition method and device, electronic device and storage medium |
CN113033488B (en) * | 2021-04-22 | 2023-11-21 | 脉景(杭州)健康管理有限公司 | Medical feature recognition method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109147911B (en) | 2023-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109101873B (en) | Electronic device for providing characteristic information of an external light source for an object of interest | |
US20210271321A1 (en) | Method and apparatus for training gaze tracking model, and method and apparatus for gaze tracking | |
EP3965003B1 (en) | Image processing method and device | |
US10365882B2 (en) | Data processing method and electronic device thereof | |
US10110868B2 (en) | Image processing to determine center of balance in a digital image | |
US20190244369A1 (en) | Display device and method for image processing | |
US20180267323A1 (en) | Information processing apparatus, information processing method, and program | |
CN108712603B (en) | Image processing method and mobile terminal | |
CN110570460B (en) | Target tracking method, device, computer equipment and computer readable storage medium | |
KR102500715B1 (en) | Electronic apparatus and controlling method thereof | |
KR20160097974A (en) | Method and electronic device for converting color of image | |
US20230245441A9 (en) | Image detection method and apparatus, and electronic device | |
US20200098145A1 (en) | Method for correcting image processing region corresponding to skin and electronic device | |
CN109919030B (en) | Black eye type identification method and device, computer equipment and storage medium | |
CN111488057B (en) | Page content processing method and electronic equipment | |
US11335090B2 (en) | Electronic device and method for providing function by using corneal image in electronic device | |
KR20180109217A (en) | Method for enhancing face image and electronic device for the same | |
CN109147911A (en) | Illness information display method and device, computer readable storage medium | |
CN108885497B (en) | Information processing apparatus, information processing method, and computer readable medium | |
US10984281B2 (en) | System and method for correcting color of digital image based on the human sclera and pupil | |
CN110321896A (en) | Blackhead recognition methods, device and computer readable storage medium | |
KR20220010381A (en) | Electronic device, sever, and system for tracking skin changes | |
CN108804996B (en) | Face verification method and device, computer equipment and storage medium | |
CN109584150B (en) | Image processing method and terminal equipment | |
KR102034839B1 (en) | Terminal and server providing a video call service |
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 |