Home-use urinalysis method
Technical field
The present invention provides a kind of home-use urinalysis method, belongs to medical inspection field.
Background technology
Dry analysis in routine urine examination,urine for routine analysis, at present using the method for test strips analysis.In test strips, have several
Special component, constituent concentration and amount are contained by particular design, a corresponding inspection in a indicator paper block, each indicator paper block, inside
Test project.These projects include:Urobilinogen, bilirubin, occult blood, leucocyte, nitrite, proportion, pH value, sugar, protein, ketone
Body, vitamin C, micro- albumin etc..After urine immerses test strips, each indicator paper block sucks urine, is immersed in indicator paper block
Urine react with original liquid, the color of indicator paper block is made to change.It is specific in the degree and urine of color change
There are conversion relations for the concentration of ingredient.
All it is the test paper that urine is immersed by analysis at present in urinalysis instrument used in urine test analysis field
The color change situation of color lump on item, converses the concentration of ingredient in urine, technology used in analyzer, has the multi-wavelength anti-
Penetrate method, color sensor method.
Wherein, the technical characterstic of multi-wavelength bounce technique is that, using the light source of multiple specific wavelengths, irradiation respectively is sent out with urine
The test strips color lump of raw reaction measures the reflectivity of the light irradiation color lump of these specific wavelengths, color lump is determined according to reflectivity
Color, so that it is determined that in urine specimen ingredient concentration.This technology needs the light source of multiple specific wavelengths, and one measures reflection
The sensor of luminous intensity and the mechanism of other mating driving test strips movements;The technical characterstic of color sensor method is to make
The light source that there is continuous spectrum with one, generally white or broken white, the test strips color lump that irradiation reacts with urine,
Using color sensor measure reflected light color, so that it is determined that in urine specimen ingredient concentration.This technology needs specific
Light source and dedicated color sensor and the mechanism of mating driving test strips movement.
The prior art is required for, dependent on specific urinalysis instrument, realizing test.And use the most main of particular instrument
Reason is wanted, is to need to carry out accurate color analysis to the color lump in urinalysis test strips.Specific urinalysis instrument one
As all volumes it is larger, it is difficult to carry, cost is also larger, is not particularly suited for the conventional urine test of family or other occasions.
Invention content
In order to overcome the deficiencies of the prior art, the purpose of the present invention is to provide a kind of home-use urinalysis methods, it is intended to
The analysis of urine can be realized using test strips and intelligent terminal by this method, without special large-scale Urine Analyzer
Device, and ensure that the precision of the result of urinalysis, accuracy are higher.
To achieve the above object, the invention is realized by the following technical scheme:
A kind of home-use urinalysis method, includes the following steps:
S1) standard information typing:The first identical standard color article of color and the second standard color article are individually placed to
One position and the second position are taken the first standard color item and the second standard color item together using intelligent terminal
In one photo, the first photo is obtained;
S2) urine data input:Urinalysis test strips are dripped upper or immerse urine specimen, ensure the urinalysis examination
Each color lump on paper slip immerses urine, and the urinalysis test strips then are placed on the second position and are placed on institute
The the first standard color item for stating first position together, shoots and obtains the second photo;
S3) image analysis:The urinalysis software for calculation of the intelligent terminal installation is judged in first photo
The first position of the first standard color item and the second position of the second standard color item, and by described first
Standard color item and the second standard color item are divided from the background of the first photo to be extracted;And judge described
Immersed in two photos the urinalysis test strips of urine the second position and first of the first standard color item
It puts, and the urinalysis test strips and the first standard color item from the background of the second photo is divided and are extracted;
S4) color lump extracts:According to step S3) segmentation gained image carry out secondary splitting, the secondary splitting mistake respectively
Journey is as follows:
A secondary splitting) is carried out to the first standard color item in first photo, by described first in the first photo
The blank parts between each color lump and color lump on standard color item extract respectively;
B secondary splitting) is carried out to the second standard color item in first photo, it will be on the second standard color item
Each color lump and color lump between blank parts extract respectively;
C secondary splitting) is carried out to the urinalysis test strips in second photo, it will be in the urinalysis test strips
Each color lump and color lump between blank parts extract respectively;
D secondary splitting) is carried out to the first standard color item in second photo, by described first in the second photo
The blank parts between each color lump and color lump on standard color item extract respectively;
S5) calculation position difference:To be located at the first standard color item of the first position in first photo
Color lump as standard color, in the first photo described in comparing calculation be located at the second position the second standard color item
Color lump, so as to calculate the color difference of the second position and first position;
S6 urine color) is calculated:White portion is made between the color lump of the first standard color item in second photo
For reference white, the color of part between the color lump of the urinalysis test strips in the second photo described in comparing calculation is superimposed institute
The color difference of the second position and first position is stated, so as to restore the color of urine;
S7 color lump color) is calculated:Using the color lump of the first standard color item in second photo as reference colour, comparison
The color of the corresponding color lump of the urinalysis test strips in second photo is calculated, is superimposed the second position and first position
Color difference, so as to restore the true colors of color lump;
S8) interpretation of result:According to step S7) gained color lump true colors are calculated, urinalysis is provided as a result, and being shown in
On the intelligent terminal.
Preferably, the urinalysis method, wherein, first in first photo and second photo
Put has roughly the same illumination condition in respective photo respectively, and the second position in first photo and described the
The second position in two photos has roughly the same illumination condition in respective photo respectively.
Preferably, the urinalysis method, wherein, the intelligent terminal is mobile phone, tablet computer, has
One kind in the intelligent wearable device of data processing function, terminal.
Preferably, the urinalysis method, wherein, the standard color item includes following several forms of expression:
A the urinalysis test strips of urine) are not immersed;
B) the card with standard color, the standard color include but not limited to red, green, blue, yellow, white,
Black;
C) pallet allows the urinalysis test strips to be placed on the specific position in the pallet;
D) pallet is applied in combination with the card with standard color;
E) pallet is applied in combination with not immersing the urinalysis test strips of urine.
Preferably, the urinalysis method, wherein, the first standard color item included in first photo
The image non-overlapping copies of image and the second standard color item.
Preferably, the urinalysis method, wherein, the first standard color item included in second photo
The image non-overlapping copies of image and urinalysis test strips.
Preferably, the urinalysis method, wherein, step S1) and step S2) described in the first photo
The first standard color item and urinalysis test strips in one standard color item and the second standard color item and the second photo,
It is to put together side by side respectively, and makes the color lump difference of two test strips in each photo corresponding so that is obtained when taking pictures
Each photo in two test strips it is parallel.
Beneficial effects of the present invention:Urinalysis method based on intelligent terminal only needs urinalysis test strips and intelligence
Terminal device can be realized, and without special urinalysis instrument, greatly reduces cost, is also equipped with advantages below in addition:
(1) this method is easy to operate, to operating personnel without technology requirement, layman is suitble to use, and old children is all
Preferably, wide application of the crowd, it is convenient to detect urine situation at any time;
(2) intelligent terminal of this method can be conventional mobile phone, tablet computer, the intelligence with data processing function
One kind in energy wearable device, terminal, these equipment are all the equipment being in daily use, easy to carry, applied widely,
The Urine Analyzer of profession is eliminated the reliance on, so as to which urinalysis be pushed to enter average family;
(3) using the color lump of the first standard color item described in first photo as standard color, described in comparing calculation
The color lump of second standard color item described in first photo, so as to calculate the face of the second position and first position in the photo
Value of chromatism;The color difference of the second position and first position is superimposed, so as to restore the color of urine, is improved precisely
Degree, avoids some influences of shooting factor to photo so that the result of analysis is more reliable.
Description of the drawings
Fig. 1 is the flow diagram of the urinalysis method described in one embodiment of the invention;
Fig. 2 is software algorithm schematic diagram in the urinalysis method described in one embodiment of the invention.
Wherein, 1- first positions, the 2- second positions, the first photos of 411-, the second photos of 422-, the second standard colors of 322-
Item, 333- urinalysis test strips, the first standard color item in the first photos of 211-, 322-a- the second standard color items it is every
One color lump, the blank parts of 322-b- the second standard color items, the first standard color item 211 in the first photos of 211-a-
Each color lump, the blank parts of the first standard color item 211 in the first photos of 211-b-, in the second photos of 222-a-
Each color lump of one standard color item 211, the blank parts of the first standard color item 211 in the second photos of 222-b-,
Each color lump of 333-a- urinalysis test strips, the blank parts of 333-b- urinalysis test strips.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings, to enable those skilled in the art with reference to specification text
Word can be implemented according to this.
A kind of home-use urinalysis method, please refers to attached drawing 1, includes the following steps:
S1) standard information typing:The first identical standard color article of color and the second standard color article are individually placed to
One position and the second position are taken the first standard color item and the second standard color item together using intelligent terminal
In one photo, the first photo is obtained;
S2) urine data input:Urinalysis test strips are dripped upper or immerse urine specimen, ensure the urinalysis examination
Each color lump on paper slip immerses urine, and the urinalysis test strips then are placed on the second position and are placed on institute
The the first standard color item for stating first position together, shoots and obtains the second photo;
S3) image analysis:The urinalysis software for calculation of the intelligent terminal installation is judged in first photo
The first position of the first standard color item and the second position of the second standard color item, and by described first
Standard color item and the second standard color item are divided from the background of the first photo to be extracted;And judge described
Immersed in two photos the urinalysis test strips of urine the second position and first of the first standard color item
It puts, and the urinalysis test strips and the first standard color item from the background of the second photo is divided and are extracted;
S4) color lump extracts:According to step S3) segmentation gained image carry out secondary splitting, the secondary splitting mistake respectively
Journey is as follows:
A secondary splitting) is carried out to the first standard color item in first photo, by described first in the first photo
The blank parts between each color lump and color lump on standard color item extract respectively;
B secondary splitting) is carried out to the second standard color item in first photo, it will be on the second standard color item
Each color lump and color lump between blank parts extract respectively;
C secondary splitting) is carried out to the urinalysis test strips in second photo, it will be in the urinalysis test strips
Each color lump and color lump between blank parts extract respectively;
D secondary splitting) is carried out to the first standard color item in second photo, by described first in the second photo
The blank parts between each color lump and color lump on standard color item extract respectively;
S5) calculation position difference:To be located at the first standard color item of the first position in first photo
Color lump as standard color, in the first photo described in comparing calculation be located at the second position the second standard color item
Color lump, so as to calculate the color difference of the second position and first position;
S6 urine color) is calculated:White portion is made between the color lump of the first standard color item in second photo
For reference white, the color of part between the color lump of the urinalysis test strips in the second photo described in comparing calculation is superimposed institute
The color difference of the second position and first position is stated, so as to restore the color of urine;
S7 color lump color) is calculated:Using the color lump of the first standard color item in second photo as reference colour, comparison
The color of the corresponding color lump of the urinalysis test strips in second photo is calculated, is superimposed the second position and first position
Color difference, so as to restore the true colors of color lump;
S8) interpretation of result:According to step S7) gained color lump true colors are calculated, urinalysis is provided as a result, and being shown in
On the intelligent terminal.
Further, the first position in first photo and second photo has in respective photo respectively
Roughly the same illumination condition, and the second position in the second position and second photo in first photo exists respectively
There is roughly the same illumination condition in respective photo.
Further, the intelligent terminal for mobile phone, tablet computer, have data processing function intelligence it is wearable
One kind in equipment, terminal.Further, the intelligent terminal includes taking module, light source and color identification
Module, color lump extraction module, data memory module, LCD MODULE, data transmission module, arithmetic element, data analysis mould
Block.Step S6) described in the data analysis module result and standard of the urinalysis test strips that are calculated to the arithmetic element
The data or curve of color bar compare, analyze test result.The data transmission module includes bluetooth communication module, WIFI communication
Module, usb interface module, 4G communication modules.
Further, the standard color item includes following several forms of expression:
A the urinalysis test strips of urine) are not immersed;
B) the card with standard color, the standard color include but not limited to red, green, blue, yellow, white,
Black;
C) pallet allows the urinalysis test strips to be placed on the specific position in the pallet;
D) pallet is applied in combination with the card with standard color;
E) pallet is applied in combination with not immersing the urinalysis test strips of urine.
Preferably, using the pallet, the urinalysis test strips is allow to be placed on the certain bits in the pallet
It puts, can be realized simply by the structure of pallet in itself and the standard color item and the urinalysis test strips are determined
Position.Using the card with standard color, the standard color include but not limited to red, green, blue, yellow, white,
Black, the color analysis that can make urinalysis test strips are more accurate.Pallet is combined with the card with standard color to be made
With can realize the positioning for the standard color item and the urinalysis test strips by the structure of pallet in itself, together
When the color analysis of urinalysis test strips can be made more accurate by the colour match of pallet and card.
Further, the image of the first standard color item included in first photo and the figure of the second standard color item
As non-overlapping copies.
Further, the image of the first standard color item and the figure of urinalysis test strips included in second photo
As non-overlapping copies.
Further, step S1) and step S2) described in the first standard color item and the second standard face in the first photo
The first standard color item and urinalysis test strips in vitta and the second photo, are to put together side by side respectively, and are made every
The color lump difference of two test strips in a photo is corresponding so that two test strips phases in each photo obtained when taking pictures
It is parallel.
Specifically, attached drawing 2 is please referred to, takes two standard color items, is the first standard color item 211 and the second standard respectively
Color bar 322 is individually placed to first position 1 and the second position 2, is taken pictures to obtain the first photo 411;Then by urinalysis
Test strips 333 immerse urine, are placed on the second position 2, and 1 the first standard color item 211 is put again with described place above the other things
It is secondary to be taken pictures to obtain the second photo 422;The first standard color item 211, it is mark to take the image in the first photo 411
Quasi- color bar 211, it is standard color item 211 to take the image in the second photo 422;It is shone using intelligent terminal first
The first standard color item in the first standard color item 211, the second standard color item 322 and the second photo 422 in piece 411
211st, the test strips 333 for immersing urine are compared analysis, and urinalysis result is calculated.
To the computational methods that the first photo 411 and the second photo 422 are analyzed, include the following steps:
1) judge the position of the second standard color item 322 described in first photo 411 and first standard color
The position of item 211, and by the second standard color item 322 and the first standard color item 211 from the back of the body of the first photo 411
Segmentation extracts in scape;
2) judge to immerse the position of the test strips 333 of urine and the first standard face described in second photo 422
The position of vitta 211, and by the test strips 333 for immersing urine and the first standard color item 211 from the second photo 422
Background in divide and extract;
3) secondary splitting is carried out to the second standard color item 322 described in first photo 411, by second standard
The blank parts 322-b between each color lump 322-a and color lump on color bar 322 is extracted respectively;
4) secondary splitting is carried out to the first standard color item 211 described in first photo 411, by first standard
The blank parts 211-b between each color lump 211-a and color lump on color bar 211 is extracted respectively;
5) secondary splitting is carried out to the test strips 333 that urine is immersed described in second photo 422, described immerse is urinated
The blank parts 333-b between each color lump 333-a and color lump in the test strips 333 of liquid is extracted respectively;
6) secondary splitting is carried out to the first standard color item 211 described in second photo 422, by first standard
The blank parts 222-b between each color lump 222-a and color lump on color bar 211 is extracted respectively;
7) calculation position difference:Made with the color lump 211-a of the first standard color item 211 described in first photo 411
For standard color, the color lump 322-a of the second standard color item 322 described in the first photo 411 described in comparing calculation, so as to calculate
Go out the color difference of the second position and first position;
8) urine color is calculated:It is white between the color lump of the first standard color item 211 described in second photo 422
Part 222-b as reference white, immersed described in the second photo 422 described in comparing calculation urine 333 color lump of test strips it
Between part 333-b color, the color difference of the second position and first position is superimposed, so as to restore the color of urine;
10) color lump color is calculated:With the color lump color lump of the first standard color item 211 described in second photo 422
322-a immerses the 333 corresponding color lump 333-a of test strips of urine as reference colour described in the second photo 422 described in comparing calculation
Color, the color difference of the second position and first position is superimposed, so as to restore the true colors of color lump 333-a;
11) according to gained color lump 333-a true colors are calculated, urinalysis result is provided.
Although the embodiments of the present invention have been disclosed as above, but its be not restricted in specification and embodiment it is listed
With it can be fully applied to various fields suitable for the present invention, for those skilled in the art, can be easily
Realize other modification, therefore without departing from the general concept defined in the claims and the equivalent scope, it is of the invention and unlimited
In specific details and legend shown and described herein.