CN107807121A - The determination method and apparatus of testing result - Google Patents

The determination method and apparatus of testing result Download PDF

Info

Publication number
CN107807121A
CN107807121A CN201710986803.2A CN201710986803A CN107807121A CN 107807121 A CN107807121 A CN 107807121A CN 201710986803 A CN201710986803 A CN 201710986803A CN 107807121 A CN107807121 A CN 107807121A
Authority
CN
China
Prior art keywords
color
detection reagent
reaction
testing result
aberration
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.)
Pending
Application number
CN201710986803.2A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710986803.2A priority Critical patent/CN107807121A/en
Publication of CN107807121A publication Critical patent/CN107807121A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/75Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated
    • G01N21/77Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated by observing the effect on a chemical indicator
    • G01N21/78Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated by observing the effect on a chemical indicator producing a change of colour
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/8483Investigating reagent band

Landscapes

  • Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Plasma & Fusion (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Engineering & Computer Science (AREA)
  • Molecular Biology (AREA)
  • Image Analysis (AREA)

Abstract

The disclosure is directed to a kind of determination method and apparatus of testing result, methods described includes:Obtain the response diagram picture of detection reagent;The reaction color of the detection reagent is determined according to the response diagram picture;Calculate the aberration between the reaction color and default each contrast color;According to the aberration, the testing result of the detection reagent is determined.The disclosure passes through machine recognition color code, aberration is then calculated by Colorimetry formula, the determination of final detection result is also to carry out objective determination according to the result of calculation of aberration, whole process avoids detection error caused by subjective factor and experience in eye recognition so that the determination of testing result is more accurate.

Description

The determination method and apparatus of testing result
Technical field
This disclosure relates to reagent detection technique field, more particularly to a kind of determination method and apparatus of testing result.
Background technology
In the correlation technique of reagent detection, by by the reaction color after reagent reacting, with the reagent contrastive colours provided Each contrast color contrasted, it is determined that with the immediate contrast color of reaction color, according to determine it is immediate right Than the testing result that color determines the detection reagent.In reality in use, needing to carry out face using human eye by user The contrast and identification of color, often because a variety of causes such as the shortage of the experience of user or subjective factor, causes user to know It is not difficult, it is inaccurate with the recognition result of the immediate contrast color of reaction color, it is final to give the reagent to make mistake detection knot Fruit.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of the determination method and testing result of testing result Determining device, improve reagent testing result determination success rate.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of determination method of testing result, including:
Obtain the response diagram picture of detection reagent;
The reaction color of the detection reagent is determined according to the response diagram picture;
Calculate the aberration between the reaction color and default each contrast color;
According to the aberration, the testing result of the detection reagent is determined.
In a kind of possible implementation, the response diagram picture of detection reagent is obtained, including:
The response diagram picture of detection reagent is obtained by scanning, or
The response diagram picture of detection reagent is obtained by taking pictures.
In a kind of possible implementation, the reaction color of the detection reagent is determined according to the response diagram picture, is wrapped Include:
Each sampled point, the sampling point distributions letter are determined on the response diagram picture according to default sampling point distributions information Breath includes quantity and the position of each sampled point;
According to the color of each sampled point, the reaction color of the detection reagent is determined.
In a kind of possible implementation, according to the color of each sampled point, the reaction color of the detection reagent is determined, Including:
Calculate the color average of at least two sampled points;
The color average is defined as to the reaction color of the detection reagent.
In a kind of possible implementation, the aberration between the reaction color and default each contrast color is calculated, Including:
Reaction color component is determined according to the reaction color;
Each contrast color component is determined according to each contrast color;
According to the reaction color component and each contrast color component, the reaction color and each contrast are calculated Aberration between color.
It is described according to the aberration in a kind of possible implementation, the testing result of the detection reagent is determined, is wrapped Include:
By the contrast color that the aberration with the reaction color is minimum, it is defined as the testing result of the detection reagent.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of testing result determination, including:
Image collection module is reacted, for obtaining the response diagram picture of detection reagent;
Reaction color determining module, for determining the reaction color of the detection reagent according to the response diagram picture;
Colorimetry module, for calculating the aberration between the reaction color and default each contrast color;
Testing result determining module, for according to the aberration, determining the testing result of the detection reagent.
In a kind of possible implementation, the reaction image collection module, including:
Submodule is scanned, for obtaining the response diagram picture of detection reagent by scanning, or
Take pictures submodule, for obtaining the response diagram picture of detection reagent by taking pictures.
In a kind of possible implementation, the reaction color determining module, including:
Sampled point determination sub-module, for determining respectively to adopt on the response diagram picture according to default sampling point distributions information Sampling point, the sampling point distributions information include quantity and the position of each sampled point;
Reaction color determination sub-module, for the color according to each sampled point, determine the reaction color of the detection reagent.
In a kind of possible implementation, the reaction color determination sub-module, including:
Color average computing module, for calculating the color average of at least two sampled points;
Reaction color determining module, for the color average to be defined as to the reaction color of the detection reagent.
In a kind of possible implementation, the Colorimetry module, including:
Color component determination sub-module, for determining reaction color component according to the reaction color, and according to each right Each contrast color component is determined than color;
Colorimetry submodule, for according to the reaction color component and each contrast color component, described in calculating Aberration between reaction color and each contrast color.
In a kind of possible implementation, the testing result determining module, for by the color with the reaction color Poor minimum contrast color, it is defined as the testing result of the detection reagent.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of determining device of testing result, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:Perform the step in the method in the embodiment of the present disclosure.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of non-volatile computer readable storage medium storing program for executing, deposit thereon Computer program instructions are contained, the computer program instructions are executed by processor the method in the embodiment of the present disclosure.
The technical scheme provided by this disclosed embodiment can include the following benefits:The response diagram of detection reagent as The determination of reaction color is then calculated by machine recognition color code, aberration by Colorimetry formula, final detection knot The determination of fruit is also to carry out objective determination according to the result of calculation of aberration, whole process avoid in eye recognition it is subjective because Detection error caused by element and experience so that the determination of testing result is more accurate.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the determination method of testing result according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.
Fig. 3 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.
Fig. 4 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.
Fig. 5 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.
Fig. 6 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.
Fig. 7 is a kind of block diagram of the determining device of testing result according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of the determining device of testing result according to another exemplary embodiment.
Fig. 9 is a kind of block diagram of determining device 800 for testing result according to an exemplary embodiment.
Figure 10 is a kind of block diagram of determining device 1900 for testing result according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the disclosure.On the contrary, they are only and such as institute The example of the consistent apparatus and method of some aspects be described in detail in attached claims, the disclosure.
Fig. 1 is a kind of flow chart of the determination method of testing result according to an exemplary embodiment, such as Fig. 1 institutes Show, this method can apply in the terminal such as mobile phone, tablet personal computer, camera.The determination method of the testing result includes:
Step S100, obtain the response diagram picture of detection reagent.
In the present embodiment, the detection reagent includes but is not limited to the needs such as biological detection reagent, chemical detection reagent The detection reagent of testing result is judged by reaction color.It is understood that on the one hand the response diagram picture is cromogram Picture, mainly including the reacted color of the detection reagent.Response diagram picture can include detection reagent it is reacted a part or Overall color.And be to make final testing result more accurate, response diagram picture can include the reacted entirety of detection reagent Color.On the other hand, the response diagram picture is the image that detection reagent meets testing conditions generation.With test paper for formaldehyde detection Exemplified by, after having reached default detection duration, the color of test paper for formaldehyde detection could be as the basis for estimation of testing result.
It is closest with the real reaction color of the detection reagent in order to get in alternatively possible implementation Response diagram picture, can first detection image obtain the intensity of illumination of environment.When the intensity of illumination meets default image irradiation During scope, then obtain the response diagram picture.Otherwise the response diagram picture is obtained by opening the modes such as flash lamp.Consider environment Intensity of illumination, the color in response diagram picture can be made undistorted, so that testing result is more accurate.
Step S200, the reaction color of the detection reagent is determined according to the response diagram picture.
In the present embodiment, image is made up of pixel.The pixel related to detection reagent is determined in response diagram picture Afterwards, you can by the color for the pixel determined, determine the reaction color of the detection reagent.The reaction color includes Expressed using any one in English code, color designation, hexadecimal color code, RGB color code.
Step S300, calculate the aberration between the reaction color and default each contrast color.
In the present embodiment, aberration refers to the difference of two kinds of colors.Generally refer to non-luminescent body and exclude lighting condition, ring After the difference such as border and viewing distance, the color distortion between standard object, include the difference of color code, lightness and chroma.
By reaction color and default each contrast color, aberration is calculated using Colorimetry formula, for determining to react face Color and which contrast color are identical or closest.The colour difference formula includes CIE1976 colour difference formulas, CMC (l:C) aberration is public Formula, CIE94 colour difference formulas, DIEDE2000 colour difference formulas etc..
Step S400, according to the aberration, determine the testing result of the detection reagent.
In the present embodiment, it can determine that reaction color and which contrast color are identical or closest according to aberration.For example, One in minimum value, median, average value in each aberration, determine with the immediate contrast color of reaction color, It is the testing result of detection reagent.
Response diagram picture by obtaining reaction reagent determines the reaction color of detection reagent, by reaction color and contrast color Aberration is calculated by Colorimetry formula, the testing result of the detection reagent is finally determined according to aberration, whole process avoids Detection error caused by subjective factor and experience in eye recognition so that the determination of testing result is more accurate.
Fig. 2 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.Above-mentioned On the basis of embodiment, as shown in Fig. 2 step S100 includes:
Step S110, the response diagram picture of detection reagent is obtained by scanning, or
Step S120, the response diagram picture of detection reagent is obtained by taking pictures.
In the present embodiment, for convenience of using, the application program (APP) for realizing this method can be developed and load on mobile phone Deng being used on intelligent terminal.Obtain response diagram as when, can by intelligent terminal configure camera arrangement take pictures acquisition or sweep Imaging apparatus scanning obtains, and can also be obtained by way of directly receiving image file from other equipment.
In alternatively possible implementation, when there is other images unrelated with detection reagent in the response diagram picture When, it is necessary in response diagram picture determine detection reagent parts of images after, further according to detection reagent parts of images determine detection The reaction color of reagent.In practical operation, such as in real time obtain response diagram as when, prompting frame can be set in view-finder.Will Prompting frame can prompt photographer to obtain the response diagram picture for meeting the conditions such as preset area or predeterminated position, not lost to obtain Genuine response diagram picture.
Pass through the acquisition modes of different response diagram pictures so that the implementation of the detection method of the detection reagent of the disclosure Flexibly, it is more to be applicable scene.
Fig. 3 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.Above-mentioned On the basis of embodiment, as shown in figure 3, step S200 includes:
Step S210, each sampled point is determined on the response diagram picture according to default sampling point distributions information, it is described to adopt Sampling point distributed intelligence includes quantity and the position of each sampled point.
In the present embodiment, can be by the face of all pixels in whole image when determining reaction color according to response diagram picture Colour determines reaction color after carrying out averagely., can be in response diagram picture because reaction reagent reaction color generally has homogeneity In sampled after reaction color determined according to sampled point, is imitated so as on the premise of recognition accuracy is ensured, improve identification Rate.
The sampled point can include the single pixel in response diagram picture, or including multiple pictures in default sample range Element.Sampled point can be one or more, and 100 sampled points such as can be set for guarantee recognition accuracy.
Wherein, multiple sampled points can be uniformly distributed in response diagram picture, be arranged according to default arrangement mode.This Outside, according to the demand of different application scene, the ad-hoc location in the intermediate region of response diagram picture and fringe region is sampled.
Step S220, according to the color of each sampled point, determine the reaction color of the detection reagent.
In the present embodiment, can be by the color of the sampled point determined when determining reaction color according to the color of sampled point Average value is defined as the reaction color of the detection reagent;Also default color can be utilized according to the response characteristic of reaction reagent Selection standard, as color is most deep or most shallow, to determine the reaction color of the detection reagent.
By way of determining sampled point on response diagram picture, the anti-of the detection reagent is determined using the color of sampled point Color is answered, while the accuracy rate of testing result is ensured, improves detection efficiency.
Fig. 4 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.Above-mentioned On the basis of embodiment, as shown in figure 4, step S220 includes:
Step S221, calculate the color average of at least two sampled points.
In the present embodiment, generally determined on response diagram picture after multiple sampled points, it is necessary to calculate at least two sampled points Color average.For example, by after the determination of color progress (R, G, B) triple of sampled point, each face in sampled point is calculated The average value of colour.
It is understood that to be further ensured that color average, can be with setpoint color closest to the color of response diagram picture Screening criteria screens to sampled point.Then, color average is calculated, such as deletes the color distortion mistake with other sampled points Big sampled point.
Step S222, the color average is defined as to the reaction color of the detection reagent.
In the present embodiment, by color corresponding after calculate three color averages composition triples, it is defined as The reaction color of the detection reagent.
The reaction color of detection reagent is determined by the color average of sampled point so that the reaction color determined is more The reacted true colors of proximity test reagent.
Fig. 5 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.Above-mentioned On the basis of embodiment, as shown in figure 5, step S300 includes:
Step S310, reaction color component is determined according to the reaction color.
In the present embodiment, can be different colour difference meters because the calculating parameter of different Colorimetry formula is different Calculate formula and select corresponding color component.
Step S320, each contrast color component is determined according to each contrast color.
Step S330, according to the reaction color component and each contrast color component, calculate the reaction color and Aberration between each contrast color.
For example, the color component in LAB Colorimetry formula is lightness difference, red green difference and champac difference.CMC(l: C) color component in Colorimetry formula is lightness, chroma and tone.Color point in RGB triple Colorimetry formula Measure as red component, green component and blue component.
Corresponding color component is determined according to used Colorimetry formula.For example, when color uses RGB color code When, Colorimetry formula includes Euclidean distance calculation formula.It is determined that reaction color and it is each contrast color RGB (it is red, green, It is blue) after triple, reaction color and each contrast color are calculated in the R of color space, G, B linear dimension.Euclidean distance aberration Calculation formula is as follows:
Aberration=(R2-R1)2+(G2-G1)2+(B2-B1)2
Wherein, R, G, B are respectively the color component of the red of two colors, green and blueness.
Reaction color and contrast color are calculated into aberration by way of color component, while ensureing Detection accuracy, Improve detection efficiency.
Fig. 6 is a kind of flow chart of the determination method of testing result according to another exemplary embodiment.Above-mentioned On the basis of embodiment, as shown in fig. 6, step S400 includes:
Step S410, by the contrast color that the aberration with the reaction color is minimum, it is defined as the inspection of the detection reagent Survey result.
In the present embodiment, if aberration minimum represents, color is closest, can select the minimum contrast color of aberration.This The testing result that sample is determined, it is simple and reliable.
Fig. 7 is a kind of block diagram of the determining device of testing result according to an exemplary embodiment.Reference picture 7, should Device includes:
Image collection module 100 is reacted, for obtaining the response diagram picture of detection reagent.
Reaction color determining module 200, for determining the reaction color of the detection reagent according to the response diagram picture.
Colorimetry module 300, for calculating the aberration between the reaction color and default each contrast color.
Testing result determining module 400, for according to the aberration, determining the testing result of the detection reagent.
In a kind of possible implementation, the testing result determining module 400, for by with the reaction color The minimum contrast color of aberration, it is defined as the testing result of the detection reagent.
Response diagram picture by obtaining reaction reagent determines the reaction color of detection reagent, by reaction color and contrast color Aberration is calculated by Colorimetry formula, the testing result of the detection reagent is finally determined according to aberration, whole process avoids Detection error caused by subjective factor and experience in eye recognition so that the determination of testing result is more accurate.
Fig. 8 is a kind of block diagram of the determining device of testing result according to another exemplary embodiment.Can in one kind In the implementation of energy, as shown in figure 8, the reaction image collection module 100 includes:
Submodule 110 is scanned, for obtaining the response diagram picture of detection reagent by scanning, or
Take pictures submodule 120, for obtaining the response diagram picture of detection reagent by taking pictures.
In a kind of possible implementation, the reaction color determining module 200, including:
Sampled point determination sub-module 210, for being determined according to default sampling point distributions information on the response diagram picture Each sampled point, the sampling point distributions information include quantity and the position of each sampled point;
Reaction color determination sub-module 220, for the color according to each sampled point, determine the reaction face of the detection reagent Color.
In a kind of possible implementation, the reaction color determination sub-module 220, including:
Color average computing unit 221, for calculating the color average of at least two sampled points;
Reaction color determining unit 222, for the color average to be defined as to the reaction color of the detection reagent.
In a kind of possible implementation, the Colorimetry module 300, including:
Color component determination sub-module 310, for determining reaction color component according to the reaction color, and according to each Contrast color determines each contrast color component;
Colorimetry submodule 320, for according to the reaction color component and each contrast color component, calculating institute State the aberration between reaction color and each contrast color.
Response diagram picture by obtaining reaction reagent determines the reaction color of detection reagent, by reaction color and contrast color Aberration is calculated by Colorimetry formula, the testing result of the detection reagent is finally determined according to aberration, whole process avoids Detection error caused by subjective factor and experience in eye recognition so that the determination of testing result is more accurate.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram of determining device 800 for testing result according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and flat board is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 9, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, The interaction being easy between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, with side Just the interaction between multimedia groupware 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also detect the duration and pressure related to the touch or slide.In certain embodiments, Multimedia groupware 808 includes a front camera and/or rear camera.When device 800 is in operator scheme, such as shoot When pattern or video mode, front camera and/or rear camera can receive outside multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, the relative positioning of component, such as institute The display and keypad that component is device 800 are stated, sensor cluster 814 can be with detection means 800 or 800 1, device The position of component changes, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 temperature change.Sensor cluster 814 can include proximity transducer, be configured in no any physical contact When detect nearby object presence.Sensor cluster 814 can also include optical sensor, such as CMOS or CCD imaging sensors, For being used in imaging applications.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, top Spiral shell instrument sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary reality Apply in example, communication component 816 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel Breath.In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote short distance to lead to Letter.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based in NFC module Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Figure 10 is a kind of block diagram of determining device 1900 for testing result according to an exemplary embodiment.Example Such as, device 1900 may be provided in a server.Reference picture 10, device 1900 include processing component 1922, and its is further , can be by processing component for storing including one or more processors, and as the memory resource representated by memory 1932 The instruction of 1922 execution, such as application program.The application program stored in memory 1932 can include one or one with On each correspond to the module of one group of instruction.In addition, processing component 1922 is configured as execute instruction, it is above-mentioned to perform Step in method.
Device 1900 can also include a power supply module 1926 and be configured as the power management of performs device 1900, one Wired or wireless network interface 1950 is configured as device 1900 being connected to network, and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1932 of instruction, above-mentioned instruction can be performed to complete the above method by the processing component 1922 of device 1900. For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (8)

1. a kind of determination method of testing result, it is characterised in that including:
Obtain the response diagram picture of detection reagent;
The reaction color of the detection reagent is determined according to the response diagram picture;
Calculate the aberration between the reaction color and default each contrast color;
According to the aberration, the testing result of the detection reagent is determined.
2. according to the method for claim 1, it is characterised in that the response diagram picture of detection reagent is obtained, including:
The response diagram picture of detection reagent is obtained by scanning, or
The response diagram picture of detection reagent is obtained by taking pictures.
3. method according to claim 1 or 2, it is characterised in that the detection reagent is determined according to the response diagram picture Reaction color, including:
Each sampled point, the sampling point distributions packet are determined on the response diagram picture according to default sampling point distributions information Include quantity and the position of each sampled point;
According to the color of each sampled point, the reaction color of the detection reagent is determined.
4. according to the method for claim 3, it is characterised in that according to the color of each sampled point, determine the detection reagent Reaction color, including:
Calculate the color average of at least two sampled points;
The color average is defined as to the reaction color of the detection reagent.
5. method according to any one of claims 1 to 4, it is characterised in that calculate the reaction color and default each right Than the aberration between color, including:
Reaction color component is determined according to the reaction color;
Each contrast color component is determined according to each contrast color;
According to the reaction color component and each contrast color component, the reaction color and each contrast color are calculated Between aberration.
6. method according to any one of claims 1 to 4, it is characterised in that it is described according to the aberration, determine the detection The testing result of reagent, including:
By the contrast color that the aberration with the reaction color is minimum, it is defined as the testing result of the detection reagent.
A kind of 7. determining device of testing result, it is characterised in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:In perform claim requirement 1 to 6 the step of any one methods described.
8. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer program instructions, it is characterised in that described The method any one of claim 1 to 6 is realized when computer program instructions are executed by processor.
CN201710986803.2A 2017-10-20 2017-10-20 The determination method and apparatus of testing result Pending CN107807121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710986803.2A CN107807121A (en) 2017-10-20 2017-10-20 The determination method and apparatus of testing result

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710986803.2A CN107807121A (en) 2017-10-20 2017-10-20 The determination method and apparatus of testing result

Publications (1)

Publication Number Publication Date
CN107807121A true CN107807121A (en) 2018-03-16

Family

ID=61592642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710986803.2A Pending CN107807121A (en) 2017-10-20 2017-10-20 The determination method and apparatus of testing result

Country Status (1)

Country Link
CN (1) CN107807121A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108593645A (en) * 2018-04-24 2018-09-28 沈阳普泽众康医药科技有限公司 A kind of testing result of Urine test paper determines method and determining device
CN108961345A (en) * 2018-06-01 2018-12-07 沈阳普泽众康医药科技有限公司 A kind of effective determination method and determining device of color in Urine test paper

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485759A (en) * 2016-09-23 2017-03-08 北京小米移动软件有限公司 Color indicating means and device
CN107144531A (en) * 2017-04-19 2017-09-08 黄建国 A kind of content of material detection method, system and device analyzed based on color data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485759A (en) * 2016-09-23 2017-03-08 北京小米移动软件有限公司 Color indicating means and device
CN107144531A (en) * 2017-04-19 2017-09-08 黄建国 A kind of content of material detection method, system and device analyzed based on color data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜代红: "《复杂环境下监控图像拼接与识别》", 28 February 2017, 中国矿业大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108593645A (en) * 2018-04-24 2018-09-28 沈阳普泽众康医药科技有限公司 A kind of testing result of Urine test paper determines method and determining device
CN108961345A (en) * 2018-06-01 2018-12-07 沈阳普泽众康医药科技有限公司 A kind of effective determination method and determining device of color in Urine test paper
CN108961345B (en) * 2018-06-01 2021-02-23 沈阳普泽众康医药科技有限公司 Method and device for determining effective color in urine test paper

Similar Documents

Publication Publication Date Title
CN105100764B (en) Image pickup method and device
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN105760884B (en) The recognition methods of picture type and device
CN109345485A (en) A kind of image enchancing method, device, electronic equipment and storage medium
KR20170023759A (en) Method and device for switching color gamut mode
CN107155060A (en) Image processing method and device
CN109360261A (en) Image processing method, device, electronic equipment and storage medium
CN107426088A (en) Pictorial information processing method and processing device
CN106408567A (en) Imaging quality detection method and apparatus of camera
CN107463052A (en) Shoot exposure method and device
CN105528765A (en) Method and device for processing image
CN106251369A (en) Image processing method and device
CN105825490A (en) Gaussian blur method and device of image
CN108040204A (en) A kind of image capturing method based on multi-cam, device and storage medium
CN107808626B (en) Method and device for adjusting color temperature of display screen and computer readable storage medium
CN104881342B (en) terminal test method and device
CN107845094A (en) Pictograph detection method, device and computer-readable recording medium
CN105791790A (en) Image processing method and apparatus
CN105959594A (en) Metering method and device for photographic equipment
CN104010129A (en) Image processing method, device and terminal
CN104407727B (en) screen protection method and device
CN107807121A (en) The determination method and apparatus of testing result
CN105677352B (en) Method and device for setting application icon color
CN106557294A (en) Color adjustment method and device
CN109803051A (en) Ambient brightness value-acquiring method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180316

RJ01 Rejection of invention patent application after publication