WO2013026222A1 - Liquid-property detection method and system - Google Patents

Liquid-property detection method and system Download PDF

Info

Publication number
WO2013026222A1
WO2013026222A1 PCT/CN2011/080222 CN2011080222W WO2013026222A1 WO 2013026222 A1 WO2013026222 A1 WO 2013026222A1 CN 2011080222 W CN2011080222 W CN 2011080222W WO 2013026222 A1 WO2013026222 A1 WO 2013026222A1
Authority
WO
WIPO (PCT)
Prior art keywords
liquid
image
scanning
content
tested
Prior art date
Application number
PCT/CN2011/080222
Other languages
French (fr)
Chinese (zh)
Inventor
丁建文
周丰良
Original Assignee
长沙高新技术产业开发区爱威科技实业有限公司
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 长沙高新技术产业开发区爱威科技实业有限公司 filed Critical 长沙高新技术产业开发区爱威科技实业有限公司
Publication of WO2013026222A1 publication Critical patent/WO2013026222A1/en

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

Definitions

  • the present invention relates to the field of biodetection technology, and more particularly to a liquid property detecting method and system. Background technique
  • liquid property detection means that the liquid is positively positive by detecting the content of the formed component in the liquid, which is the core of the liquid detection content.
  • the liquid is positive liquid.
  • the liquid may be abnormal, otherwise it indicates that the liquid is a negative liquid, and the forming component refers to an insoluble visible component in the liquid, which may refer to a useful particle or an impurity contained in the liquid, for example, when urine is detected in the medical field, urine
  • the formed component may refer to red blood cells, white blood cells, fat tube type, granular tube type, waxy tube type, mucus, crystal, calcium oxalate or uric acid crystal.
  • the urine When the content of urine is greater than the standard value, the urine is If the liquid is a positive liquid, there may be an abnormality.
  • the instrument according to the color change of the sphere area meter and the dual-wavelength measuring reagent strip, is used to obtain the detection result, which utilizes the color reaction of forming a component in the liquid, and according to the color of the reagent strip, the formed component content can be obtained. , thereby determining the positive yin of the liquid.
  • the use of dry chemical analysis for liquid property detection has many interfering factors, such as improper use of the reagent strip, or contamination of the reagent strip itself, and problems with the liquid detection environment, which may affect the reliability of the test results. And accuracy. Summary of the invention
  • the present invention provides a liquid property detecting method and system for solving the technical problem of low reliability and accuracy of forming a component in a liquid.
  • the present invention provides the following technical solutions:
  • a method for detecting a liquid property comprising: Scanning the liquid to be tested to obtain a first target image;
  • the liquid is determined to be a positive liquid, and if not, the liquid is determined to be a negative liquid.
  • the formed component information includes a component content
  • the predetermined condition is that the component content is greater than a preset value
  • the method further comprises:
  • the blank data includes a device stain content
  • the formed component information includes a total content of a formed component and a device stain
  • the preset condition is specifically:
  • the difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
  • the method further comprises:
  • the formed component information includes a total content of the liquid to be formed and the stain of the device, and the preset condition is specifically:
  • the difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
  • the scanning the liquid to be tested to obtain the first target image is specifically: scanning the liquid to be tested according to the first preset scanning parameter to obtain a first target image, where the scanning parameters include Scan the amount of view, scan distance, and scan route.
  • the method further comprises: continuing to scan the liquid to be tested according to the second preset scanning parameter to obtain a second target image; acquiring target information of the second target image
  • the target information includes a component content and location information;
  • the formed component is subjected to morphological detection using a machine vision recognition method based on the target information.
  • the method further comprises:
  • a liquid property detecting system comprising:
  • An image scanning device that scans the liquid to be tested to obtain a first target image
  • a server connected to the image scanning device, the server receiving a first target image transmitted by the image scanning device, and acquiring formed information of the first target image, determining whether the formed component information meets a preset condition If yes, it is determined that the liquid is a positive liquid, and if not, the liquid is determined to be a negative liquid.
  • the server includes an interface connected to the image scanning device, and the interface is configured to receive a target image transmitted by the image scanning device;
  • a memory connected to the interface for storing a first target image
  • the processor is configured to acquire the formed part information according to the first target image, and determine whether the formed part information meets a preset condition, and if yes, determine that the liquid is positive Liquid, if not, determines that the liquid is a negative liquid.
  • the processor comprises:
  • a first acquiring unit configured to acquire formed information of the first target image
  • a first determining unit configured to determine whether the formed component information meets a preset condition; and determining, when the first determining unit determines that the result is YES, determining that the liquid to be tested is a positive liquid, when the first When the judgment unit determines that the result is negative, it is determined that the liquid to be tested is a negative liquid.
  • the formed component information includes a component content
  • the predetermined condition is that the component content is greater than a preset value
  • the processor further includes:
  • the processor further includes:
  • a third acquiring unit which acquires first image data of the first image, the first image data includes a solid particle content, and the first image is obtained by the image scanning device scanning a liquid having a known component content;
  • a calculating unit configured to subtract the formed content of the known liquid from the solid particle content, and calculate a stain content of the device
  • the formed component information includes a total content of the liquid to be formed and the stain of the device, and the preset condition is specifically:
  • the difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
  • the image scanning device scans the liquid to be tested according to a first preset scanning parameter, and the first preset scanning parameter is based on a capacity of the liquid to be scanned determined according to the detection sensitivity of the liquid to be tested.
  • the scan parameters include a scan view quantity, a scan path, and a scan route.
  • the processor further includes:
  • a fourth acquiring unit configured to acquire target information of the second target image, where the target information includes a forming content and position information, where the second target image is that the image scanning device continues to scan according to the second preset scanning parameter Obtained by the liquid to be tested;
  • a detecting unit configured to perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
  • the processor further includes:
  • the capacity judging unit is configured to judge whether the liquid volume to be tested reaches a preset scanning capacity, and if so, activate the image scanning device.
  • the present invention provides a liquid property detecting method and system, by scanning a liquid to acquire a first target image, and acquiring formed information of the first target image, and comparing with the prior art.
  • the white positive of the liquid is judged according to the formed component information, and the image is scanned by the image, and the image data obtained by the scanning is judged, thereby avoiding the influence of the interference factor, thereby improving the reliability and accuracy of the detection.
  • Embodiment 1 is a flow chart of Embodiment 1 of a liquid property detecting method according to the present invention.
  • Embodiment 2 is a flow chart of Embodiment 2 of a liquid property detecting method according to the present invention.
  • Embodiment 3 is a flow chart of Embodiment 3 of a liquid property detecting method according to the present invention.
  • FIG. 4 is a schematic structural view of a liquid property detecting system according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic structural view of a server in Embodiment 1 of a liquid property detecting system according to the present invention
  • FIG. 6 is a schematic diagram of a liquid property detecting system according to the present invention
  • FIG. 7 is a schematic structural diagram of a server in Embodiment 3 of a liquid property detecting system according to the present invention
  • the embodiment of the invention discloses a liquid property detecting method and system.
  • the first target image is obtained by scanning the liquid to be tested, and the formed information of the first target image is obtained, and then it is determined whether the formed information meets the preset.
  • the condition if yes, determining that the liquid to be tested is a positive liquid, and if the liquid to be tested is determined to be a negative liquid, the implementation process of the present invention is performed by the image scanning device and the server, and the image processing and the calculation process are used to detect the test. Whether the liquid is formed or not, avoids the influence of interference factors in the dry chemical test method, and improves the reliability and accuracy of the test.
  • FIG. 1 a flow chart of Embodiment 1 of a liquid property detecting method according to the present invention is shown. The method can include the following steps:
  • Step 101 Scan the liquid to be tested to obtain a first target image.
  • This embodiment is for detecting the formed component in the liquid to be tested, and the forming component is a visible component which is insoluble in the liquid, for example, in the medical field for urine detection, red blood cells, white blood cells, and other cell tubes in the urine. Types and the like are all formed.
  • the present invention is also used for liquid detection in other fields.
  • a component is a substance in a liquid.
  • the liquid to be tested When the formation of the liquid to be tested is detected, the liquid to be tested is flushed into the detection tank, and the detection tank is a container for filling the liquid, and the liquid intake amount of the liquid in the detection tank is controlled by the system.
  • the preset scanning capacity of the liquid to be tested may be set.
  • the scanning device When the system detects that the liquid content of the flushing detection pool is equal to the preset scanning capacity, and waits for the liquid to stand for a period of time, the scanning device is started to scan.
  • the first target image is obtained, and when there is a formation point in the liquid, it can be displayed in the first target image obtained by scanning.
  • the scanning when the liquid to be tested is scanned, the scanning may be performed according to the first preset scanning parameter, and the quantity is set.
  • the scanning parameters include the scanning field of view, the scanning distance and the scanning route.
  • the preset scan capacity of the liquid to be tested is determined.
  • the formed component in the liquid to be tested may contain a plurality of species, for example, urine, including red blood cells, white blood cells, tubular type, etc., and different types of formed components
  • the sensitivity required for detection is different, and it is required to be based on the liquid to be tested.
  • the formation type is set to determine the liquid detection sensitivity, and in order to avoid the occurrence of the miss detection, the valley of the liquid to be tested is determined according to a type of formed component having a high detection sensitivity in the formation.
  • the sensitivity of the type A component is less than 1/UL (microliter), that is, every 1 UL exists.
  • One has a forming component the sensitivity of the B-type component is required to be 1/10UL, and the sensitivity of the C-type component is 1/100UL. It can be known that the detection sensitivity of the C-class is the highest, and the liquid to be tested is known.
  • the capacity is at least 100UL. Therefore, it is possible to set a certain value that the preset scan capacity is equal to or greater than 100UL.
  • the scan parameter can be determined according to the preset scan capacity.
  • the determination of the amount of scanning field of view is specifically as follows: Let the thickness of the detection pool container be H, and the field of view area when scanning is S, then the apparent field of view volume in one field of view is SH, according to the calculation
  • the volume of the liquid to be scanned is L, in order to ensure no missing detection, the amount of scanning field of view should be at least: L/SH.
  • the scan path may be determined as follows: If the width of the field of view when scanning is D, the cross-sectional area of the scan is DH. According to the determined liquid volume to be scanned, the scan path should be at least: L/DH.
  • the scanning route can select different routes according to different situations. For example, when scanning a microscope, a bow-shaped scanning route can be adopted.
  • the embodiment is specifically applied in a fully automatic microscope camera system, and the system controls the liquid volume of the detection pool.
  • the microscope is started to scan, and the above-mentioned determined scanning field quantity is determined. This is the amount of scanning field of view of the microscope objective.
  • the scan can be scanned back and forth to ensure that the scan completes the required route.
  • the system can use the motion microscope to perform three-dimensional scanning in the XYZ direction of the liquid to be tested. The required scanning field of view cannot overlap. Of course, it is also possible to fix the microscope and control the detection pool.
  • the magnification can be determined according to different detection sensitivities and the size of the formed fraction. Since only the liquid to be tested or the total content of the formed components in the liquid is obtained, the microscope can be scanned at a low magnification.
  • Step 102 Acquire the formed information of the first target image.
  • the formed component information in this embodiment includes a component content.
  • the formed target information in the first target image includes the content of the formed component, which may further include the positional information of the formed component.
  • the location information refers to the location in the first target image obtained by the forming points under different scanning routes.
  • Step 103 Determine whether the formed component information satisfies a preset condition, and if yes, proceed to step 104, and if no, proceed to step 105.
  • the preset condition is that the formed component content is greater than a preset value.
  • the preset value is a value set according to different actual conditions.
  • the preset value is set according to a medically prescribed standard value, and the standard value may not be in different regions. Similarly, it needs to be specifically set according to the actual application environment.
  • the standard value of the formed content of red blood cells in urine is A per microliter, and the sensitivity of red blood cells to be detected in urine is the highest.
  • the value is the product of the standard value of the red blood cell and the preset scan capacity.
  • urine is considered positive urine and there may be abnormalities.
  • the preset value is set according to the standard value of the impurity content in the beverage.
  • Step 104 Determine that the liquid is a positive liquid.
  • Step 105 Determine that the liquid is a negative liquid.
  • the system determines that it is a positive liquid, and simultaneously prompts the user, and when the predetermined condition is not satisfied, the forming component content is less than or equal to the pre-predetermined condition. If the value is set, the system determines that the liquid is a negative liquid and prompts the user to display the prompt information on the display interface of the system, or can sound an alarm sound, so that the user can judge whether to end the detection process.
  • the formed component information is obtained by scanning the liquid to be tested, and whether the predetermined condition is satisfied according to the formed component information, and if yes, determining that the liquid is a positive liquid, and if not, determining the liquid For the negative liquid, the image is scanned by the system, and the data is calculated by the system, thereby avoiding the influence of interference factors and improving the reliability and accuracy of the detection.
  • Fig. 2 there is shown a flow chart of Embodiment 2 of a liquid property detecting method of the present invention, which may include the following steps:
  • Step 201 Perform a blank scan to obtain a blank image, and acquire blank data of the blank image.
  • the blank data includes the device stain content.
  • the device used to scan the liquid to be tested in the system may be stained.
  • the scanning device is a microscope
  • the objective lens or eyepiece of the microscope may have stains, and the stain will be displayed in the image, because only the low-magnification scan is used, and the image is If the stain and the formed component of the device cannot be distinguished, the measurement result may be inaccurate. Therefore, in this embodiment, before scanning the liquid to be tested, a blank scan is first performed, that is, when the detection pool is not filled with any liquid, the scan is performed. A blank image is obtained. If the device has a stain, the particles displayed on the blank image are stains of the device. Therefore, blank data can be obtained according to the blank image, and the blank data includes the stain content of the device, and may also include The device smears the location information in the image.
  • Step 202 Scan the liquid to be tested according to the first preset scanning parameter to obtain a first target image.
  • the method embodiment 1, which is not described here For the setting of the first preset scanning parameter, refer to the method embodiment 1, which is not described here. Before scanning the liquid to be tested, it is also possible to first detect whether the capacity of the liquid to be tested is equal to the preset scanning. Capacity, if yes, perform the operation of step 202.
  • Step 203 Acquire the formed component information of the first target image, where the formed component information includes a component content.
  • the solid particles in the image Due to the presence of the stain of the device, in the first target image acquired when scanning the liquid to be tested, the solid particles in the image include not only the formed component, but also the device stain, and therefore, the acquired formed information is the liquid to be tested. There is a total content of formation and equipment stains.
  • Step 204 Determine whether the difference between the formed component of the liquid to be tested and the total content of the stain of the device and the stain content of the device is greater than a preset value, and if yes, proceed to step 205, and if no, proceed to step 206.
  • step 205 Calculating the difference between the total content of the formed component information and the stain content of the device according to the stain content of the device obtained during the blank scan, and determining whether the difference is greater than a preset value, and if so, indicating that the content of the liquid is greater than the pre-formation If the value is set, the process proceeds to step 205. If no, it indicates that the formed content in the liquid is less than or equal to the preset value, and then proceeds to step 206.
  • determining whether the difference between the total content and the stain content of the device is greater than a preset value or first, calculating a sum of the stain content of the device and a preset value, and then determining whether the total content is greater than the And the value, if it is, indicates that the content of the component in the liquid is greater than a preset value, and if not, it indicates that the content of the component in the liquid is less than or equal to a preset value.
  • Step 205 Determine that the liquid is a positive liquid, and proceed to step 207.
  • step 207 When it is determined that the content of the formed component is greater than the preset value, it indicates that the liquid to be tested is a positive liquid, and the user may be prompted to perform the operation of step 207 on the system display interface.
  • the obtained first target image is the current first target image
  • the formed target information is the current target data
  • the current target data is the sum of the data in each acquired image, when it is determined
  • the current scan can be stopped, that is, in the case that the scanning field of view and the scanning path are not completed, the current information can be terminated as long as it is determined that the current forming information meets the preset condition.
  • Scan Step 206 Determine that the liquid is a negative liquid.
  • the system can end the detection process.
  • Step 207 Continue scanning the liquid to be tested according to the second preset scanning parameter to obtain a second target image.
  • the type of the formed component in the liquid to be tested may be further detected.
  • the liquid to be tested continues to be left for a period of time, and then the scanning device is controlled to continue scanning the liquid to be tested according to the second preset scanning scan to obtain a second target image.
  • the second preset scan parameter includes a scan view amount, a scan path, and a scan route.
  • Step 208 Acquire target information of the second target image, where the target information includes different types of formed content and location information.
  • Step 209 Perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
  • the existing machine vision recognition method can automatically realize the morphological data analysis of the formed components, and can classify and count various types of formed components, and can obtain the size and shape of each type of formed component. Or information such as color, so that it can be known which type of liquid has a problem.
  • the machine vision recognition method is based on the morphological analysis method of the fully automatic microscope camera system.
  • the system pre-trains various types of models with formed points. Therefore, based on the acquired target information, it is compared with various types of formed data models in the system simulation database. Yes, the morphological examination of the formed fractions can be automatically realized without the need for manual microscopic examination.
  • the morphological detection is continued, and the liquid to be tested is a negative liquid, that is, when the liquid is normal, the process is directly ended, and no morphological detection is required, thereby avoiding no The necessary testing improves the detection efficiency while saving equipment resources.
  • the method can also adopt other methods for morphological detection, and further classify and count the formed components.
  • a blank scan is first performed to obtain an empty The blank data of the white image, that is, the stain content of the device, when the liquid to be tested is scanned, the target data is acquired, and the difference between the total particle content in the acquired target data and the stain content of the device is calculated, and the difference is the liquid Forming a sub-content, determining whether the difference is greater than a preset value, and if so, the liquid to be tested is a positive liquid, continuing to scan, performing morphological analysis using a machine vision recognition method, and if not, the liquid to be tested If it is a negative liquid, the test process can be ended. It avoids the interference of external factors, and also avoids the interference caused by the formation of liquid in the device itself, improves the detection accuracy, and at the same time, can continue the morphological
  • the invention can be applied to the morphological detection, and the negative liquid can be screened out, the negative liquid is not detected, and the positive liquid is continuously subjected to morphological detection, thereby avoiding unnecessary detection and providing the efficiency of morphological detection.
  • FIG. 3 a flow chart of Embodiment 3 of a liquid property detecting method according to the present invention is shown, and the method may include the following steps:
  • Step 301 Scan a liquid having a known component content to obtain a first image, and acquire first image data of the first image.
  • the first image data comprises a solid particle content.
  • the device used to scan the liquid to be tested in the system may have stains.
  • the scanning device is a microscope
  • the objective lens or the eyepiece may be stained, which may result in inaccurate measurement results. Therefore, in this embodiment, the liquid to be tested is scanned.
  • a liquid having a known component content is first scanned, a first image is obtained, and the first image data is acquired according to the first image. Since the scanning device itself has a stain, the known liquid will be displayed in the first image.
  • the solid particle content of the first image data is the total number of formed components of the known liquid and the stain of the device.
  • the scanned image is blurred. Therefore, in order to obtain the stain content of the device more accurately, the formed content can be detected first.
  • the liquid, the first image obtained will show the device stain and the formed component of the liquid.
  • Step 302 Subtracting the solid particle content from the formed content of the known liquid, Calculate the stain content of the equipment.
  • the first image data includes the total content of the formed component of the known liquid and the stain of the device, and the total content is subtracted from the known content of the formed component, that is, the content of the stain of the device.
  • the liquid having a known component content may be selected from a transparent liquid having a content of zero, so that the solid particle content in the obtained first image data is the stain content of the device. .
  • Step 303 Scan the liquid to be tested according to the first preset scanning parameter to obtain a first target image.
  • Step 305 It is determined whether the difference between the total content of the liquid to be measured and the stain of the device and the calculated stain content of the device is greater than a preset value, and if yes, proceed to step 306, and if no, proceed to step 307. .
  • Step 306 Determine that the liquid is a positive liquid, and proceed to step 308.
  • Step 307 Determine that the liquid is a negative liquid.
  • Step 308 Continue scanning the liquid to be tested according to the second preset scanning parameter to obtain a second target image.
  • the liquid to be tested When it is judged that the liquid to be tested is a positive liquid, there is a formation exceeding the standard, indicating that the liquid to be tested is abnormal, and the type of the formed component in the liquid to be tested may be further analyzed.
  • the liquid to be tested is allowed to stand for a certain period of time, and the liquid to be tested is scanned according to the second preset scan number to obtain a second target image.
  • the second preset scan parameter includes a scan view amount, a scan path, and a scan route.
  • Step 309 Acquire target information of the second target image.
  • the target information may include different types of formed content and location information.
  • Step 310 Perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
  • Embodiment 1 of a liquid property detecting system of the present invention is shown, and the system may include:
  • the image scanning device 401 scans the liquid to be tested to obtain a first target image.
  • the server 402 receives the first target image transmitted by the image scanning device, acquires the formed component information of the first target image, and determines whether the formed component information is satisfied.
  • the predetermined condition if yes, determines that the liquid is a positive liquid, and if not, determines that the liquid is a negative liquid.
  • This embodiment is for detecting the formed component in the liquid to be tested, and the forming component is a visible component which is insoluble in the liquid, for example, in the medical field for urine detection, red blood cells, white blood cells, and other cell tubes in the urine. Types and the like are all formed.
  • the present invention is also used for liquid detection in other fields.
  • a component is a substance in a liquid.
  • the liquid to be tested is first flushed into the detection tank, and the detection pool is a container for filling the liquid, and the detection pool is connected to the detection system, and the liquid intake amount of the liquid in the detection pool can be controlled by the system.
  • the system can set a preset scan capacity of the liquid to be tested.
  • the image scanning device 401 is activated to scan to obtain the first target image.
  • the image scanning device 401 may be specifically a microscope, and the server 402 It can be a computer, or an integrated image processing system.
  • the image scanning description device 401 performs scanning according to a first preset scanning parameter, where the first preset scanning parameter is performed according to a preset scanning capacity determined according to the detection sensitivity of the liquid to be tested.
  • the scanning parameters include the scanning field of view, the scanning distance and the scanning route.
  • the specific setting process can be as follows:
  • the preset scan capacity of the liquid to be tested is determined.
  • the formed component in the liquid to be tested may contain a plurality of species, for example, urine including red blood cells, white blood cells, cell tube type and the like, and different types of formed components
  • the sensitivity required for detection is different, and it is required according to the liquid to be tested.
  • Forming the classification type to set the detection sensitivity, in order to avoid causing the missed detection, specifically, the capacity of the liquid to be tested is determined according to the type of formed component having a high detection sensitivity in the formation.
  • the sensitivity for the detection of Class A formation is less than 1/UL (microliter), that is, every 1 UL exists.
  • One has a forming component the sensitivity of the B-type component is required to be 1/10UL, and the sensitivity of the C-type component is 1/100UL. It can be known that the detection sensitivity of the C-class is the highest, and the liquid to be tested is known.
  • the capacity is at least 100UL. Therefore, it is possible to set a certain value that the preset scan capacity is equal to or greater than 100UL.
  • the scan parameters can be determined according to the preset scan capacity.
  • the amount of scanning field of view is determined as follows: Let the thickness of the detection pool container be H, and the field of view area when scanning is S, then the apparent field of view volume in one field of view is SH, according to the calculated
  • the preset scanning capacity L of the liquid to be tested, in order to ensure no missing detection, the scanning field of view should be at least: L/SH.
  • the determination of the scan path may be: The width of the field of view when scanning is D, and the cross-sectional area of the scan is DH. According to the determined scan capacity of the liquid to be tested, the scan path should be at least: L/DH.
  • the scanning route can select different routes according to different situations. For example, when scanning a microscope, a bow-shaped scanning route can be adopted.
  • the server controls the liquid capacity of the detection pool.
  • the image scanning device is started to perform scanning, and the above-mentioned determined scanning field quantity is the scanning field quantity of the microscope objective lens.
  • Scanning back and forth can be used to ensure that the scan completes the required route.
  • the motion microscope can be used to perform three-dimensional scanning in the XYZ direction of the liquid to be measured, and the required scanning field of view cannot be overlapped.
  • the microscope can be fixed and the detection pool can be controlled to scan.
  • the magnification may be determined according to different detection sensitivities and the size of the formed fraction. Since the content of the formed liquid or the formed component in the liquid is obtained by scanning, the microscope may be scanned at a low magnification.
  • the image scanning device scans according to the scanning route, so the image is continuously acquired, and one frame of image is obtained in each scanning field of view, so the formed minute information is currently obtained by the server.
  • the formed component information includes a content of the formed component, and may further include location information of the formed component.
  • the position information refers to a position in the first target image obtained by the forming points under different scanning routes.
  • the process of acquiring the image data may be specifically implemented by using an image recognition function.
  • the server determines whether the formed component information satisfies a preset condition, and the preset condition may specifically mean that the formed component content is greater than a preset value.
  • the standard value may be different in different regions, and needs to be set according to the actual application environment.
  • the standard value of the formed content of red blood cells in urine is A per microliter, and the red blood cells are required to be detected in urine.
  • the sensitivity is the highest, and the preset value is the product of the standard value of the red blood cell and the preset scan capacity. Above this standard value, urine is considered positive urine and there may be lesions.
  • the preset value means that the content of impurities in the beverage meets the prescribed standard value.
  • the server determines that the liquid to be tested is a positive liquid, and simultaneously prompts the user, and if the predetermined condition is not satisfied, the forming component content is less than or If the value is equal to the preset value, the server determines that the liquid to be tested is a negative liquid, and gives a prompt.
  • the prompt information may be displayed on the display interface of the server, so that the user can judge whether to end the detection process.
  • the server may specifically include:
  • a memory 502 storing a first target image.
  • the processor 504 is configured to obtain the formed part information according to the first target image, and determine whether the formed part information meets a preset condition, and if yes, determine the location The liquid is a positive liquid, and if not, it is determined that the liquid is a negative liquid.
  • the processor 503 may specifically include:
  • the first obtaining unit 5031 is configured to acquire the formed information of the first target image.
  • the first determining unit 5032 is configured to determine whether the formed component information meets a preset condition, and the determining unit 5033 is configured to be used by the first When the determination unit 5032 determines that the result is YES, it is determined that the liquid to be tested is a positive liquid, and when the first determination unit 5032 determines that the result is negative, it is determined that the liquid to be tested is a negative liquid.
  • the first target image of the liquid to be tested is obtained by scanning the liquid to be tested by the image scanning device, and the image processing is performed by the server to obtain the formed information of the first target image, and the measured information is determined according to the formed information.
  • the detection process is automatically completed by the system without manual intervention, which avoids the influence of interference factors in dry chemical analysis, thereby improving the accuracy of the detection.
  • the present invention also provides a liquid property detecting system embodiment 2, the system comprising an image processing device and a server connected to the image processing device. Referring to Fig. 6, a schematic structural view of the server in the embodiment is shown.
  • the server includes an interface 601 connected to the image processing device, a memory 602 connected to the interface 601, and a processor 603 connected to the memory 602.
  • the processor 603 includes a first obtaining unit 6031 and a first determining unit. 6032 and the determining unit 6033, the function of each unit is as described in the system embodiment 1.
  • the difference from the first embodiment is that the processor 603 further includes:
  • the capacity judging unit 6034 is configured to determine whether the liquid volume to be tested reaches a preset scanning capacity, and if so, activate the image scanning device.
  • the second obtaining unit 6035 is configured to obtain blank data of a blank image, where the blank image is obtained by performing blank scan by the image scanning device.
  • the blank data includes a device stain content.
  • the image scanning device performs a blank scan, transmits the resulting blank image to an interface of the server, and the memory stores the blank image.
  • the image scanning device itself may be stained, for example, when the scanning device is a microscope, the objective lens or the eyepiece may be stained, which may result in inaccurate measurement results. Therefore, in this embodiment, before scanning the liquid to be tested, a blank scan is first performed. When the detection pool is not filled with any liquid, the scan obtains a blank image. If the device has a stain, the blank image can display the device stain. Therefore, the second obtaining unit 6035 acquires blank data of the blank image, and the blank data includes The device stain content may also include location information of the device stain in the blank image.
  • the solid particles presented in the image include not only the formed component but also the device stain due to the presence of the device stain. Therefore, the formed component information acquired by the first obtaining unit 6031 includes Specifically, the total content of the liquid to be tested and the stain of the equipment.
  • the first determining unit 6032 is specifically configured to determine whether the difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value, and if so, the content of the formed component in the liquid is greater than The preset value, if not, indicates that the formed content in the liquid is less than or equal to the preset value.
  • the difference between the total content included in the formation information and the stain content of the equipment is the content of the tangible component of the liquid to be tested.
  • the first determining unit 6032 may further be a sum value for determining whether the total content of the formed component and the device stain is greater than the device stain content and the preset value.
  • the determining unit 6033 determines that the liquid to be tested is a positive liquid, the morphological detection may be continued on the liquid to be tested, because the first determining unit 6032 determines that the forming component content is greater than a preset value. That is, the image control image scanning device stops scanning, and therefore, when it is necessary to continue scanning, the determining unit 6033 can also be used to activate the image scanning device.
  • the processor may further include:
  • the fourth acquiring unit 6036 is configured to acquire target information of the second target image, where the target information includes a forming component content and location information, where the second target image is that the image scanning device continues according to the second preset scanning parameter. Scanning the liquid to be tested.
  • the formation component is greater than a preset value, indicating that the liquid to be tested is abnormal, and the type and shape of the formed component in the liquid to be tested may be further detected. Shape, to determine which type of component has a lesion.
  • the liquid to be tested is allowed to stand for a certain period of time, and the determining unit 6033 activates the image scanning device, and the image scanning device scans the liquid to be tested according to the second preset scanning number to obtain the second target image.
  • the second preset scan parameter includes a scan view amount, a scan path, and a scan route.
  • the detecting unit 6037 is configured to perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
  • the machine vision recognition method can automatically realize the morphological data analysis of the formed points, and can classify and count various types of formed components, and obtain the size, shape or color of each type of formed component, thereby It can be known which of the liquids has a problem with the formation.
  • the machine vision recognition method is based on a fully automatic microscope camera system.
  • the system pre-trains various types of models with formed points. Therefore, according to the acquired target information, it can be automatically compared with various types of formed data models in the system simulation database. Achieve morphological examination of formed components without the need for manual microscopy.
  • the image scanning device is started to continue scanning, and the morphological detection is performed, and the liquid to be tested is a negative liquid, that is, when the liquid is normal, the process is directly ended, and no morphological is required. Detection, thereby avoiding unnecessary detection, improving detection efficiency, and saving equipment resources.
  • the method can also adopt other methods for morphological detection, and further classify and count the formed components.
  • a blank scan is first performed to obtain blank data of the blank image, that is, the stain content of the device, and when the liquid to be tested is scanned, the target data is acquired, and the acquired target data is calculated.
  • the difference between the total particle content and the stain content of the device, the difference is the content of the liquid formed component, and the difference is judged whether the difference is greater than a preset value, and if so, the liquid to be tested is a positive liquid, and the scanning is continued.
  • the morphological analysis is performed by the machine vision recognition method. If not, the liquid to be tested is a negative liquid, and the detection process can be ended.
  • the invention avoids the interference of external factors, and also avoids the interference caused by the formation of liquid in the device itself, improves the detection accuracy, and at the same time, can continue the morphological detection of the liquid with positive liquid to be tested, and further analyze the formation. kind.
  • the negative liquid can be screened out, the negative liquid is not detected, and the positive liquid is continuously subjected to the morphological detection, thereby avoiding unnecessary detection.
  • the present invention also provides a liquid property detecting system embodiment 3, the system comprising: an image processing device and a server connected to the image processing device, and referring to Fig. 7, a schematic structural view of the server in the embodiment is shown.
  • the server includes an interface 701 connected to the image processing device, a memory 702 connected to the interface 701, and a processor 703 connected to the memory 702.
  • the processor 703 includes a first obtaining unit 7031 and a first determining unit.
  • the difference between the embodiment 703 and the determining unit 7033 is that the processor 703 further includes:
  • the capacity judging unit 7034 is configured to determine whether the liquid capacity to be tested reaches a preset scanning capacity, and if so, activate the image scanning device.
  • the third obtaining unit 7035 is configured to acquire first image data of the first image, where the first image is obtained by scanning, by the image scanning device, a liquid having a known component content.
  • the first image data includes a solid particle content.
  • the device used to scan the liquid to be tested in the system may have stains.
  • the scanning device is a microscope
  • the objective lens or the eyepiece may be stained, which may result in inaccurate measurement results. Therefore, in this embodiment, the liquid to be tested is scanned.
  • a liquid having a known component content is first scanned, a first image is obtained, and the first image data is acquired according to the first image. Since the scanning device itself has a stain, the known liquid will be displayed in the first image. There are formed components and device stains, and the first image data includes the total number of formed components of the known liquid and the stain of the device.
  • the resulting target image will include the device stain and the formed component of the liquid.
  • the liquid having a known content of the component may be a transparent liquid having a content of zero, so that the obtained first image data is For the stain content of the device.
  • the calculating unit 7036 is configured to subtract the formed content of the known liquid from the solid particle content, and calculate a device stain content. Therefore, the target data acquired by the first acquiring unit 7031 includes the total content of the formed component of the liquid to be tested and the stain of the device.
  • the first determining unit 7032 is specifically configured to determine whether a difference between the total content and the device stain content is greater than a preset value.
  • the fourth acquiring unit 6037 is configured to acquire target information of the second target image, where the target information includes a forming content and location information, where the second target image is that the image scanning device continues according to the second preset scanning parameter. Scanning the liquid to be tested.
  • the determining unit 7033 is further used to activate the image scanning device when it is determined that the liquid is a positive liquid.
  • the liquid to be tested continues to be allowed to stand for a period of time, and the determining unit activates the image scanning device to scan the liquid to be tested according to the second preset scanning scan number to obtain the second target image.
  • the second preset scan parameter includes a scan view amount, a scan path, and a scan route.
  • the detecting unit 6038 is configured to perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
  • the machine vision recognition method can automatically realize the morphological data analysis of the formed points, and can classify and count various types of formed components, and obtain the size, shape or color of each type of formed component, thereby It can be known which of the liquids has a problem with the formation.
  • the machine vision recognition method is based on a fully automatic microscope camera system.
  • the system pre-trains various types of models with formed points. Therefore, according to the acquired target information, it can be automatically compared with various types of formed data models in the system simulation database. Achieve morphological examination of formed components without the need for manual microscopy.
  • the image scanning device is started to continue scanning, and the morphological detection is performed, and the liquid to be tested is a negative liquid, that is, when the liquid is normal, the process is directly ended, and no morphological is required. Detection, thereby avoiding unnecessary detection, improving detection efficiency, and saving equipment resources.
  • Image data and formed information and calculating a stain content of the device according to the first image data, determining whether the formed component content is greater than a preset value according to the formed component information and the stain content of the device, that is, the positive liquid when the liquid to be tested is And negative liquid, this implementation avoids the influence of interference factors, and avoids the interference caused by the image scanning equipment itself, improves the accuracy and precision of the detection, and at the same time determines the liquid to be tested as a positive liquid, and can also recognize according to machine vision.
  • the method continues to scan and morphologically detects the formed components.
  • the technical solution of the invention can also be applied to the fields of pharmacy, wine making, beverage making, etc., because in the canning of liquid medicine, wine and beverage, due to hygienic conditions, or negligence of personnel operation, some fibers, swarf, color
  • the impurities such as spots and rubber are mixed into the liquid to cause liquid contamination.
  • the present invention detects the formed component of the liquid, and the formed component includes all insoluble visible matter in the liquid, and when the content of the formed component exceeds a preset value , indicating that the liquid is unqualified, the sample can be recycled and re-produced.

Abstract

A liquid-property detection method, including: scanning a liquid to be detected to obtain a first target image; acquiring tangible ingredient information about the first target image; and judging whether the tangible ingredient information satisfies predefined conditions or not, if it is yes, then determining the liquid as positive liquid, and if it is no, then determining the liquid as negative liquid. Also disclosed is a liquid-property detection system, including: an image-scanning device scanning a liquid to be detected to obtain a first target image; and a server connected with the image-scanning device, the server receiving the first target image from the image-scanning device, and acquiring tangible ingredient information about the first target image, and judging whether the tangible ingredient information satisfies predefined conditions or not, if it is yes, then determines the liquid as positive liquid, and if it is no, then determines the liquid as negative liquid. By way of image processing and calculation, the embodiments of the present invention effectively avoid the influence of interference factors and improve detection reliability and accuracy.

Description

液体性质检测方法和系统 本申请要求于 2011 年 08 月 22 日提交中国专利局、 申请号为 201110241449.3、发明名称为"液体性质检测方法和系统"的中国专利申请的 优先权, 其全部内容通过引用结合在本申请中。 技术领域  The present invention claims the priority of a Chinese patent application filed on August 22, 2011 by the Chinese Patent Office, Application No. 201110241449.3, entitled "Liquid Property Testing Method and System", the entire contents of which are incorporated by reference. Combined in this application. Technical field
本发明涉及生物检测技术领域, 更具体的说是涉及一种液体性质检测 方法和系统。 背景技术  The present invention relates to the field of biodetection technology, and more particularly to a liquid property detecting method and system. Background technique
在生物检测技术领域, 液体性质检测是指通过检测液体中的有形成分 含量来确定液体的阴阳性, 其是液体检测内容的核心, 有形成分大于规定 值时, 则表明液体为阳性液体, 液体可能异常, 否则表明液体为阴性液体, 有形成分是指液体中的不能溶解的可见成分, 可以是指有用颗粒或者液体 中含有的杂质等, 例如在医学领域中检测尿液时, 尿液的有形成分可以是 指红细胞、 白细胞、 脂肪管型、 颗粒管型、 蜡样管型、 粘液、 结晶、 草酸 钙或尿酸结晶等, 尿液中有形成分含量大于标准值时, 则该尿液为阳性液 体, 则可能存在异常。 仪,根据球面积分仪和双波长测定试剂带上的颜色变化,来得出检测结果, 其利用的是液体中有形成分的呈色反应, 根据试剂带上的颜色, 可以得出 有形成分含量, 从而确定出液体的阴阳性。 但是这种采用干化学分析方法 进行液体性质检测, 存在很多干扰因素, 例如试剂带的不正确使用、 或者 试剂带本身被污染, 以及液体的检测环境出现问题等, 就会影响检测结果 的可靠性和准确度。 发明内容  In the field of bio-detection technology, liquid property detection means that the liquid is positively positive by detecting the content of the formed component in the liquid, which is the core of the liquid detection content. When the formation component is larger than the specified value, the liquid is positive liquid. The liquid may be abnormal, otherwise it indicates that the liquid is a negative liquid, and the forming component refers to an insoluble visible component in the liquid, which may refer to a useful particle or an impurity contained in the liquid, for example, when urine is detected in the medical field, urine The formed component may refer to red blood cells, white blood cells, fat tube type, granular tube type, waxy tube type, mucus, crystal, calcium oxalate or uric acid crystal. When the content of urine is greater than the standard value, the urine is If the liquid is a positive liquid, there may be an abnormality. The instrument, according to the color change of the sphere area meter and the dual-wavelength measuring reagent strip, is used to obtain the detection result, which utilizes the color reaction of forming a component in the liquid, and according to the color of the reagent strip, the formed component content can be obtained. , thereby determining the positive yin of the liquid. However, the use of dry chemical analysis for liquid property detection has many interfering factors, such as improper use of the reagent strip, or contamination of the reagent strip itself, and problems with the liquid detection environment, which may affect the reliability of the test results. And accuracy. Summary of the invention
有鉴于此, 本发明提供一种液体性质检测方法和系统, 用以解决液体 中有形成分检测结果的可靠性和准确度较低的技术问题。  In view of the above, the present invention provides a liquid property detecting method and system for solving the technical problem of low reliability and accuracy of forming a component in a liquid.
为实现上述目的, 本发明提供如下技术方案:  To achieve the above object, the present invention provides the following technical solutions:
一种液体性质检测方法, 包括: 扫描待测液体以得到第一目标图像; A method for detecting a liquid property, comprising: Scanning the liquid to be tested to obtain a first target image;
获取所述第一目标图像的有形成分信息;  Obtaining the formed part information of the first target image;
判断所述有形成分信息是否满足预设条件, 若是, 则确定所述液体为 阳性液体, 若否, 则确定所述液体为阴性液体。  It is judged whether the formed component information satisfies a preset condition, and if so, the liquid is determined to be a positive liquid, and if not, the liquid is determined to be a negative liquid.
优选地, 所述有形成分信息包括有形成分含量, 则所述预设条件为所 述有形成分含量大于预设值。  Preferably, the formed component information includes a component content, and the predetermined condition is that the component content is greater than a preset value.
优选地, 所述扫描待测液体之前还包括:  Preferably, before the scanning the liquid to be tested, the method further comprises:
进行空白扫描以得到空白图像;  Perform a blank scan to get a blank image;
获取所述空白图像的空白数据, 所述空白数据包括设备污点含量; 则所述有形成分信息包括有形成分和设备污点的总含量, 所述预设条 件具体为:  Obtain blank data of the blank image, where the blank data includes a device stain content; and the formed component information includes a total content of a formed component and a device stain, and the preset condition is specifically:
所述有形成分和设备污点的总含量与所述设备污点含量的差值大于预 设值。  The difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
优选地, 所述扫描待测液体之前还包括:  Preferably, before the scanning the liquid to be tested, the method further comprises:
扫描有形成分含量已知的液体以得到第一图像, 并获取所述第一图像 的第一图像数据, 所述第一图像数据包括固体颗粒含量;  Scanning a liquid having a known component content to obtain a first image, and acquiring first image data of the first image, the first image data including a solid particle content;
将所述固体颗粒含量减去所述已知液体的有形成分含量, 计算得出设 备污点含量;  Calculating the stain content of the device by subtracting the content of the solid particles from the content of the known liquid;
则, 所述有形成分信息包括待测液体有形成分和设备污点的总含量, 所述预设条件具体为:  Then, the formed component information includes a total content of the liquid to be formed and the stain of the device, and the preset condition is specifically:
所述待测液体有形成分和设备污点的总含量与所述设备污点含量的差 值大于预设值。  The difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
优选地, 所述扫描待测液体以得到第一目标图像, 具体为: 按照第一预设扫描参数扫描待测液体以得到第一目标图像, 所述第一 行设置的, 所述扫描参数包括扫描视域量、 扫描路程和扫描路线。  Preferably, the scanning the liquid to be tested to obtain the first target image is specifically: scanning the liquid to be tested according to the first preset scanning parameter to obtain a first target image, where the scanning parameters include Scan the amount of view, scan distance, and scan route.
优选地, 当确定所述液体为阳性液体时, 所述方法还包括: 按照第二预设扫描参数继续扫描所述待测液体以得到第二目标图像; 获取所述第二目标图像的目标信息, 所述目标信息包括有形成分含量 和位置信息; 根据所述目标信息利用机器视觉识别法对所述有形成分进行形态学检 测。 Preferably, when it is determined that the liquid is a positive liquid, the method further comprises: continuing to scan the liquid to be tested according to the second preset scanning parameter to obtain a second target image; acquiring target information of the second target image The target information includes a component content and location information; The formed component is subjected to morphological detection using a machine vision recognition method based on the target information.
优选地, 所述扫描待测液体之前还包括:  Preferably, before the scanning the liquid to be tested, the method further comprises:
检测待测液体容量是否达到预设扫描容量, 若是, 再执行所述扫描待 测液体的步骤。  Detecting whether the volume of the liquid to be tested reaches a preset scanning capacity, and if so, performing the step of scanning the liquid to be tested.
一种液体性质检测系统, 包括:  A liquid property detecting system comprising:
扫描待测液体以得到第一目标图像的图像扫描设备;  An image scanning device that scans the liquid to be tested to obtain a first target image;
与所述图像扫描设备相连的服务器, 所述服务器接收图像扫描设备传 输的第一目标图像, 并获取所述第一目标图像的有形成分信息, 判断所述 有形成分信息是否满足预设条件, 若是, 则确定所述液体为阳性液体, 若 否, 则确定所述液体为阴性液体。  a server connected to the image scanning device, the server receiving a first target image transmitted by the image scanning device, and acquiring formed information of the first target image, determining whether the formed component information meets a preset condition If yes, it is determined that the liquid is a positive liquid, and if not, the liquid is determined to be a negative liquid.
优选地, 所述服务器包括与图像扫描设备相连的接口, 所述接口用于 接收图像扫描设备传输的目标图像;  Preferably, the server includes an interface connected to the image scanning device, and the interface is configured to receive a target image transmitted by the image scanning device;
与所述接口相连的, 存储第一目标图像的存储器;  a memory connected to the interface for storing a first target image;
与所述存储器相连的处理器, 所述处理器用于根据所述第一目标图像 获取有形成分信息, 并判断所述有形成分信息是否满足预设条件, 若是, 则确定所述液体为阳性液体, 若否, 则确定所述液体为阴性液体。  a processor connected to the memory, the processor is configured to acquire the formed part information according to the first target image, and determine whether the formed part information meets a preset condition, and if yes, determine that the liquid is positive Liquid, if not, determines that the liquid is a negative liquid.
优选地, 所述处理器包括:  Preferably, the processor comprises:
第一获取单元, 用于获取第一目标图像的有形成分信息;  a first acquiring unit, configured to acquire formed information of the first target image;
第一判断单元, 用于判断所述有形成分信息是否满足预设条件; 确定单元, 当所述第一判断单元判断结果为是时, 确定所述待测液体 为阳性液体, 当所述第一判断单元判断结果为否时, 确定所述待测液体为 阴性液体。  a first determining unit, configured to determine whether the formed component information meets a preset condition; and determining, when the first determining unit determines that the result is YES, determining that the liquid to be tested is a positive liquid, when the first When the judgment unit determines that the result is negative, it is determined that the liquid to be tested is a negative liquid.
优选地, 所述有形成分信息包括有形成分含量, 则所述预设条件为所 述有形成分含量大于预设值。  Preferably, the formed component information includes a component content, and the predetermined condition is that the component content is greater than a preset value.
优选地, 所述处理器还包括:  Preferably, the processor further includes:
第二获取单元, 用于获取空白图像的空白数据, 所述空白图像是所述 图像扫描设备进行空白扫描得到的, 所述空白数据包括设备污点含量; 贝1 h所述有形成分信息 =有形成分和设备污点的总含量,所述预设条件 具体为: 所述有形成分和设备污点的总含量与所述设备污点含量的差值大于预 设值。 A second acquisition unit for acquiring the image blank data of the blank, the blank image in the image scanning device is obtained by scanning the blank, said blank comprising a stain content data apparatus; shellfish 1 h the formed component has information = Forming the total content of the points and equipment stains, the preset conditions are specifically: The difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
优选地, 所述处理器还包括:  Preferably, the processor further includes:
第三获取单元, 获取第一图像的第一图像数据, 所述第一图像数据包 括固体颗粒含量, 所述第一图像是所述图像扫描设备扫描有形成分含量已 知的液体得到的;  a third acquiring unit, which acquires first image data of the first image, the first image data includes a solid particle content, and the first image is obtained by the image scanning device scanning a liquid having a known component content;
计算单元, 用于将所述固体颗粒含量减去所述已知液体的有形成分含 量, 计算得出设备污点含量;  a calculating unit, configured to subtract the formed content of the known liquid from the solid particle content, and calculate a stain content of the device;
则, 所述有形成分信息包括待测液体有形成分和设备污点的总含量, 所述预设条件具体为:  Then, the formed component information includes a total content of the liquid to be formed and the stain of the device, and the preset condition is specifically:
所述有形成分和设备污点的总含量与所述设备污点含量的差值大于预 设值。  The difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
优选地, 所述图像扫描设备具体是按照第一预设扫描参数扫描所述待 测液体, 所述第一预设扫描参数是根据按照待测液体的检测灵敏度所确定 的待扫描液体的容量进行设置的, 所述扫描参数包括扫描视域量、 扫描路 程和扫描路线。  Preferably, the image scanning device scans the liquid to be tested according to a first preset scanning parameter, and the first preset scanning parameter is based on a capacity of the liquid to be scanned determined according to the detection sensitivity of the liquid to be tested. The scan parameters include a scan view quantity, a scan path, and a scan route.
优选地, 则所述处理器还包括:  Preferably, the processor further includes:
第四获取单元, 用于获取第二目标图像的目标信息, 所述目标信息包 括有形成分含量和位置信息, 所述第二目标图像是所述图像扫描设备按照 第二预设扫描参数继续扫描所述待测液体得到的;  a fourth acquiring unit, configured to acquire target information of the second target image, where the target information includes a forming content and position information, where the second target image is that the image scanning device continues to scan according to the second preset scanning parameter Obtained by the liquid to be tested;
检测单元, 用于根据所述目标信息利用机器视觉识别法对所述有形成 分进行形态学检测。  And a detecting unit, configured to perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
优选地, 所述处理器还包括:  Preferably, the processor further includes:
容量判断单元,用于判断待测液体容量是否达到预设扫描容量,若是, 则启动所述图像扫描设备。  The capacity judging unit is configured to judge whether the liquid volume to be tested reaches a preset scanning capacity, and if so, activate the image scanning device.
经由上述的技术方案可知, 与现有技术相比, 本发明提供了一种液体 性质检测方法和系统, 通过扫描液体以获取第一目标图像, 并获取第一目 标图像的有形成分信息, 并根据所述有形成分信息判断液体的阴阳性, 本 发明通过图像扫描的方式, 并对扫描获取的图像数据进行判断, 从而避免 了干扰因素的影响, 从而提高了检测的可靠性和准确度。 附图说明 According to the above technical solution, the present invention provides a liquid property detecting method and system, by scanning a liquid to acquire a first target image, and acquiring formed information of the first target image, and comparing with the prior art. The white positive of the liquid is judged according to the formed component information, and the image is scanned by the image, and the image data obtained by the scanning is judged, thereby avoiding the influence of the interference factor, thereby improving the reliability and accuracy of the detection. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据提供的附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description It is merely an embodiment of the present invention, and those skilled in the art can obtain other drawings according to the provided drawings without any creative work.
图 1为本发明一种液体性质检测方法实施例 1的流程图;  1 is a flow chart of Embodiment 1 of a liquid property detecting method according to the present invention;
图 2为本发明一种液体性质检测方法实施例 2的流程图;  2 is a flow chart of Embodiment 2 of a liquid property detecting method according to the present invention;
图 3为本发明一种液体性质检测方法实施例 3的流程图;  3 is a flow chart of Embodiment 3 of a liquid property detecting method according to the present invention;
图 4为本发明一种液体性质检测系统实施例 1的结构示意图; 图 5为本发明一种液体性质检测系统实施例 1中服务器的结构示意图; 图 6为本发明一种液体性质检测系统实施例 2中服务器的结构示意图; 图 7为本发明一种液体性质检测系统实施例 3中服务器的结构示意图。  4 is a schematic structural view of a liquid property detecting system according to Embodiment 1 of the present invention; FIG. 5 is a schematic structural view of a server in Embodiment 1 of a liquid property detecting system according to the present invention; FIG. 6 is a schematic diagram of a liquid property detecting system according to the present invention; FIG. 7 is a schematic structural diagram of a server in Embodiment 3 of a liquid property detecting system according to the present invention; FIG.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种液体性质检测方法和系统, 通过扫描待测液 体得到第一目标图像, 并获取所述第一目标图像的有形成分信息, 然后判 断有形成分信息是否满足预设条件, 若是, 则确定所述待测液体为阳性液 体, 若否则确定所述待测液体为阴性液体, 本发明的实现过程由图像扫描 设备和服务器执行, 通过图像处理和计算过程来检测待测液体是否存在有 形成分, 避免了干化学测试方法中干扰因素的影响, 提高了检测的可靠性 和准确度。 参见图 1 , 示出了本发明一种液体性质检测方法实施例 1的流程图, 所述方法可以包括以下步骤: The embodiment of the invention discloses a liquid property detecting method and system. The first target image is obtained by scanning the liquid to be tested, and the formed information of the first target image is obtained, and then it is determined whether the formed information meets the preset. The condition, if yes, determining that the liquid to be tested is a positive liquid, and if the liquid to be tested is determined to be a negative liquid, the implementation process of the present invention is performed by the image scanning device and the server, and the image processing and the calculation process are used to detect the test. Whether the liquid is formed or not, avoids the influence of interference factors in the dry chemical test method, and improves the reliability and accuracy of the test. Referring to FIG. 1, a flow chart of Embodiment 1 of a liquid property detecting method according to the present invention is shown. The method can include the following steps:
步骤 101 : 扫描待测液体以得到第一目标图像。  Step 101: Scan the liquid to be tested to obtain a first target image.
本实施是用于检测待测液体中的有形成分, 有形成分是指液体中不能 溶解的可见成分, 例如在医学领域进行尿液检测时, 尿液中的红细胞、 白 细胞、 以及其他细胞管型等都是有形成分, 当然本发明还用于其他领域的 液体检测, 例如, 在饮料制作领域, 有形成分即是指液体中的杂质。  This embodiment is for detecting the formed component in the liquid to be tested, and the forming component is a visible component which is insoluble in the liquid, for example, in the medical field for urine detection, red blood cells, white blood cells, and other cell tubes in the urine. Types and the like are all formed. Of course, the present invention is also used for liquid detection in other fields. For example, in the field of beverage production, a component is a substance in a liquid.
进行待测液体的有形成分检测时, 将待测液体冲入检测池中, 检测池 是用于填充液体的容器, 由系统控制检测池中液体的进液量。 本实施例优 选地, 可以设定待测液体的预设扫描容量, 当系统检测到冲入检测池的液 体含量等于预设扫描容量时, 并等待液体静置一段时间后, 启动扫描设备 进行扫描, 得到第一目标图像, 液体中存在有形成分时, 在扫描得到的第 一目标图像中即可以显示出来。  When the formation of the liquid to be tested is detected, the liquid to be tested is flushed into the detection tank, and the detection tank is a container for filling the liquid, and the liquid intake amount of the liquid in the detection tank is controlled by the system. In this embodiment, the preset scanning capacity of the liquid to be tested may be set. When the system detects that the liquid content of the flushing detection pool is equal to the preset scanning capacity, and waits for the liquid to stand for a period of time, the scanning device is started to scan. The first target image is obtained, and when there is a formation point in the liquid, it can be displayed in the first target image obtained by scanning.
其中, 扫描待测液体时, 可以按照第一预设扫描参数进行扫描, 所述 量进行设置的。 所述扫描参数包括扫描视域量、 扫描路程和扫描路线, 具 体的设置过程可如下所述:  Wherein, when the liquid to be tested is scanned, the scanning may be performed according to the first preset scanning parameter, and the quantity is set. The scanning parameters include the scanning field of view, the scanning distance and the scanning route. The specific setting process can be as follows:
首先确定待测液体的预设扫描容量。  First, the preset scan capacity of the liquid to be tested is determined.
由于待测液体中有形成分可能包含多个种类,例如尿液中包括红细胞、 白细胞, 管型等有形成分, 不同种类的有形成分, 要求检测的灵敏度不同, 需要根据待测液体的有形成分种类设定液体检测灵敏度,为避免导致漏检, 具体是根据有形成分中要求检测灵敏度高的一类有形成分确定待测液体的 谷里。  Since the formed component in the liquid to be tested may contain a plurality of species, for example, urine, including red blood cells, white blood cells, tubular type, etc., and different types of formed components, the sensitivity required for detection is different, and it is required to be based on the liquid to be tested. The formation type is set to determine the liquid detection sensitivity, and in order to avoid the occurrence of the miss detection, the valley of the liquid to be tested is determined according to a type of formed component having a high detection sensitivity in the formation.
以待测液体中存在三类有形成分、 分别为 Α类、 B类、 C类为例, 对 于 A类有形成分要求检测的灵敏度小于 1个 /UL (微升), 即每 1UL中存 在一个有形成分, B类有形成分要求检测的灵敏度为 1个 /10UL, C类有形 成分要求检测的灵敏度为 1个 /100UL,则可知要求 C类的检测灵敏度最高, 则可知待测液体容量至少为 100UL。 因此可以设置预设扫描容量等于或者 大于 100UL的某一值。  There are three types of formed components in the liquid to be tested, which are steroids, B, and C. For example, the sensitivity of the type A component is less than 1/UL (microliter), that is, every 1 UL exists. One has a forming component, the sensitivity of the B-type component is required to be 1/10UL, and the sensitivity of the C-type component is 1/100UL. It can be known that the detection sensitivity of the C-class is the highest, and the liquid to be tested is known. The capacity is at least 100UL. Therefore, it is possible to set a certain value that the preset scan capacity is equal to or greater than 100UL.
确定出待测液体的预设扫描容量后, 根据所述预设扫描容量, 即可确 定扫描参数。 结合检测池的容积量, 扫描视域量的确定具体为: 设检测池容器的厚 度为 H, 进行扫描时的视野面积为 S, 则一个视野内可观察到的视野体积 为 SH, 根据计算出的待扫描液体容量为 L, 则为了保证不漏检, 扫描视域 量至少应为: L/SH。 After determining the preset scan capacity of the liquid to be tested, the scan parameter can be determined according to the preset scan capacity. In combination with the volume of the detection pool, the determination of the amount of scanning field of view is specifically as follows: Let the thickness of the detection pool container be H, and the field of view area when scanning is S, then the apparent field of view volume in one field of view is SH, according to the calculation The volume of the liquid to be scanned is L, in order to ensure no missing detection, the amount of scanning field of view should be at least: L/SH.
扫描路程的确定具体可以为: 设扫描时的视野宽度为 D, 则扫描的截 面积为 DH, 根据确定的待扫描液体容量, 扫描路程应至少为: L/DH。  The scan path may be determined as follows: If the width of the field of view when scanning is D, the cross-sectional area of the scan is DH. According to the determined liquid volume to be scanned, the scan path should be at least: L/DH.
其中,扫描路线可根据不同情况选择不同的路线, 比如显微镜扫描时, 可以采用弓字形扫描路线。  Among them, the scanning route can select different routes according to different situations. For example, when scanning a microscope, a bow-shaped scanning route can be adopted.
实际应用中, 本实施例具体应用在全自动的显微镜摄像系统中, 系统 控制检测池液体容量, 当检测池中液体容量达到预设扫描容量, 则启动显 微镜进行扫描, 上述确定的扫描视域量即为显微镜物镜的扫描视域量。 当 扫描的路程较大而超出检测池的范围时, 可通过来回扫描的方式保证扫描 完成要求的路程。 系统可以采用运动显微镜的方式, 对待测液体进行 XYZ 方向的三维立体扫描, 要求的扫描视域量不能够重叠, 当然, 也可以固定 显微镜, 控制检测池的方式进行扫描。 为了提高检测速度, 可根据不同的 检测灵敏度以及有形成分大小确定放大倍数, 由于只需获取待测液体或者 液体中有形成分的总含量, 因此显微镜采用低倍扫描即可。  In practical applications, the embodiment is specifically applied in a fully automatic microscope camera system, and the system controls the liquid volume of the detection pool. When the liquid volume in the detection pool reaches a preset scanning capacity, the microscope is started to scan, and the above-mentioned determined scanning field quantity is determined. This is the amount of scanning field of view of the microscope objective. When the distance of the scan is large and beyond the scope of the detection pool, the scan can be scanned back and forth to ensure that the scan completes the required route. The system can use the motion microscope to perform three-dimensional scanning in the XYZ direction of the liquid to be tested. The required scanning field of view cannot overlap. Of course, it is also possible to fix the microscope and control the detection pool. In order to increase the detection speed, the magnification can be determined according to different detection sensitivities and the size of the formed fraction. Since only the liquid to be tested or the total content of the formed components in the liquid is obtained, the microscope can be scanned at a low magnification.
步骤 102: 获取所述第一目标图像的有形成分信息。  Step 102: Acquire the formed information of the first target image.
本实施例中的有形成分信息包括有形成分含量。  The formed component information in this embodiment includes a component content.
由步骤 101中, 扫描待测液体时, 由于是按照扫描路线进行扫描, 因 此图像是连续获取的, 每一扫描视野内, 即会得到一帧图像, 因此所述有 形成分信息即是当前获得的第一目标图像中的有形成分信息, 有形成分信 息包括有形成分的含量, 其还可以包括有形成分的位置信息。 而其位置信 息是指有形成分在不同扫描路线下得到的第一目标图像中的位置, 图像数 据的获取过程具体可以采用图像识别函数来实现。  When the liquid to be tested is scanned in step 101, since the image is scanned according to the scanning route, the image is continuously acquired, and one frame of image is obtained in each scanning field, so that the formed information is currently obtained. The formed target information in the first target image includes the content of the formed component, which may further include the positional information of the formed component. The location information refers to the location in the first target image obtained by the forming points under different scanning routes. The process of acquiring the image data may be specifically implemented by using an image recognition function.
步骤 103: 判断所述有形成分信息是否满足预设条件, 若是, 则进入 步骤 104, 若否, 则进入步骤 105。  Step 103: Determine whether the formed component information satisfies a preset condition, and if yes, proceed to step 104, and if no, proceed to step 105.
在本实施例中, 所述预设条件是指所述有形成分含量大于预设值。 所述预设值是根据不同实际情况设置的值, 在医学尿液检测中, 该预 设值即是根据医学上规定的标准值设定的, 该标准值在不同地区可能也不 同, 需要根据实际应用环境具体设定, 例如尿液中红细胞的有形成分含量 标准值为每微升中含量为 A个,而红细胞在尿液中要求检测的灵敏度最高, 则所述预设值即为该红细胞的标准值与预设扫描容量的乘积值。 大于该预 设值, 则认为尿液为阳性尿液, 可能存在异常。 当然, 本发明应用于其他 检测领域时, 例如饮料检测领域, 所述预设值是根据饮料中杂质含量符合 规定的标准值来设定的。 In this embodiment, the preset condition is that the formed component content is greater than a preset value. The preset value is a value set according to different actual conditions. In medical urine detection, the preset value is set according to a medically prescribed standard value, and the standard value may not be in different regions. Similarly, it needs to be specifically set according to the actual application environment. For example, the standard value of the formed content of red blood cells in urine is A per microliter, and the sensitivity of red blood cells to be detected in urine is the highest. The value is the product of the standard value of the red blood cell and the preset scan capacity. Above this preset value, urine is considered positive urine and there may be abnormalities. Of course, when the present invention is applied to other fields of detection, such as the field of beverage detection, the preset value is set according to the standard value of the impurity content in the beverage.
步骤 104: 确定所述液体为阳性液体。  Step 104: Determine that the liquid is a positive liquid.
步骤 105: 确定所述液体为阴性液体。  Step 105: Determine that the liquid is a negative liquid.
有形成分信息满足预设条件时, 即有形成分含量大于预设值, 则系统 确定其为阳性液体, 并同时提示给用户, 不满足预设条件时, 即有形成分 含量小于或等于预设值, 则系统确定液体为阴性液体, 并提示给用户, 可 以在系统的显示界面显示提示信息, 也可以发出警报声, 以便于用户判断 是否结束本次检测流程。  When the forming sub-information meets the preset condition, that is, if the forming component content is greater than the preset value, the system determines that it is a positive liquid, and simultaneously prompts the user, and when the predetermined condition is not satisfied, the forming component content is less than or equal to the pre-predetermined condition. If the value is set, the system determines that the liquid is a negative liquid and prompts the user to display the prompt information on the display interface of the system, or can sound an alarm sound, so that the user can judge whether to end the detection process.
在本实施例中, 通过扫描待测液体获取有形成分信息, 并根据有形成 分信息判定其是否满足预设条件, 若是, 则确定所述液体为阳性液体, 若 否, 则确定所述液体为阴性液体, 采用图像扫描方式, 由系统进行数据计 算, 从而避免了干扰因素的影响, 提高了检测的可靠性和准确度。 参见图 2, 示出了本发明一种液体性质检测方法实施例 2的流程图, 所述方法可以包括以下几个步骤:  In this embodiment, the formed component information is obtained by scanning the liquid to be tested, and whether the predetermined condition is satisfied according to the formed component information, and if yes, determining that the liquid is a positive liquid, and if not, determining the liquid For the negative liquid, the image is scanned by the system, and the data is calculated by the system, thereby avoiding the influence of interference factors and improving the reliability and accuracy of the detection. Referring to Fig. 2, there is shown a flow chart of Embodiment 2 of a liquid property detecting method of the present invention, which may include the following steps:
步骤 201 : 进行空白扫描以得到空白图像, 并获取所述空白图像的空 白数据。  Step 201: Perform a blank scan to obtain a blank image, and acquire blank data of the blank image.
所述空白数据包括设备污点含量。  The blank data includes the device stain content.
系统中用于扫描待测液体的设备本身可能存在污点, 比如扫描设备为 显微镜时, 显微镜的物镜或目镜可能存在污点, 污点在图像中会有显示, 由于只是采用低倍扫描, 从图像中并不能区分设备污点与有形成分, 则就 会导致测量结果的不准确, 因此, 本实施例中, 在扫描待测液体之前, 首 先进行空白扫描, 即检测池中不填充任何液体的时候,扫描得到空白图像, 若设备存在污点时, 空白图像上所显示的颗粒即为设备污点, 因此根据空 白图像可以获取空白数据, 所述空白数据包括设备污点含量, 还可以包括 设备污点在图像中的位置信息。 The device used to scan the liquid to be tested in the system may be stained. For example, when the scanning device is a microscope, the objective lens or eyepiece of the microscope may have stains, and the stain will be displayed in the image, because only the low-magnification scan is used, and the image is If the stain and the formed component of the device cannot be distinguished, the measurement result may be inaccurate. Therefore, in this embodiment, before scanning the liquid to be tested, a blank scan is first performed, that is, when the detection pool is not filled with any liquid, the scan is performed. A blank image is obtained. If the device has a stain, the particles displayed on the blank image are stains of the device. Therefore, blank data can be obtained according to the blank image, and the blank data includes the stain content of the device, and may also include The device smears the location information in the image.
步骤 202: 按照第一预设扫描参数, 扫描待测液体以得到第一目标图 像。  Step 202: Scan the liquid to be tested according to the first preset scanning parameter to obtain a first target image.
所述第一预设扫描参数的设定可参见方法实施例 1中所述, 在此不再 赘述, 其中, 在扫描待测液体前, 还可以首先检测待测液体的容量是否等 于预设扫描容量, 若是, 则执行步骤 202的操作。  For the setting of the first preset scanning parameter, refer to the method embodiment 1, which is not described here. Before scanning the liquid to be tested, it is also possible to first detect whether the capacity of the liquid to be tested is equal to the preset scanning. Capacity, if yes, perform the operation of step 202.
步骤 203: 获取所述第一目标图像的有形成分信息, 所述有形成分信 息包括有形成分含量。  Step 203: Acquire the formed component information of the first target image, where the formed component information includes a component content.
由于设备污点的存在, 在扫描待测液体时获取的第一目标图像中, 图 像中固体颗粒不仅包括有形成分, 其还包括设备污点, 因此, 所述获取的 有形成分信息为待测液体的有形成分和设备污点的总含量。  Due to the presence of the stain of the device, in the first target image acquired when scanning the liquid to be tested, the solid particles in the image include not only the formed component, but also the device stain, and therefore, the acquired formed information is the liquid to be tested. There is a total content of formation and equipment stains.
步骤 204: 判断所述待测液体的有形成分和设备污点的总含量与设备 污点含量的差值是否大于预设值, 若是, 则进入步骤 205 , 若否, 则进入 步骤 206。  Step 204: Determine whether the difference between the formed component of the liquid to be tested and the total content of the stain of the device and the stain content of the device is greater than a preset value, and if yes, proceed to step 205, and if no, proceed to step 206.
根据空白扫描时获取的设备污点含量, 计算有形成分信息中的总含量 与设备污点含量的差值, 判断所述差值是否大于预设值, 若是, 则表明液 体中有形成分含量大于预设值, 进入步骤 205 , 若否, 则表明液体中的有 形成分含量小于或者等于预设值, 则进入步骤 206。  Calculating the difference between the total content of the formed component information and the stain content of the device according to the stain content of the device obtained during the blank scan, and determining whether the difference is greater than a preset value, and if so, indicating that the content of the liquid is greater than the pre-formation If the value is set, the process proceeds to step 205. If no, it indicates that the formed content in the liquid is less than or equal to the preset value, and then proceeds to step 206.
其中, 判断所述总含量与设备污点含量的差值是否大于预设值, 其还 可以是, 首先计算所述设备污点含量和预设值的和值, 然后判断所述总含 量是否大于所述和值, 若是, 则表明液体中有形成分含量大于预设值, 若 否, 则表明液体中的有形成分含量小于或者等于预设值。  And determining whether the difference between the total content and the stain content of the device is greater than a preset value, or first, calculating a sum of the stain content of the device and a preset value, and then determining whether the total content is greater than the And the value, if it is, indicates that the content of the component in the liquid is greater than a preset value, and if not, it indicates that the content of the component in the liquid is less than or equal to a preset value.
步骤 205: 确定所述液体为阳性液体, 进入步骤 207。  Step 205: Determine that the liquid is a positive liquid, and proceed to step 207.
当判断出有形成分含量大于预设值时, 则表明待测液体为阳性液体, 可在系统显示界面提示给用户, 继续执行步骤 207的操作。  When it is determined that the content of the formed component is greater than the preset value, it indicates that the liquid to be tested is a positive liquid, and the user may be prompted to perform the operation of step 207 on the system display interface.
由于扫描待测液体时, 所获得的第一目标图像为当前第一目标图像, 有形成分信息为当前的目标数据, 所述当前目标数据为获取的每帧图像中 数据的总和, 当判断出目标数据满足预设条件时, 则可停止本次的扫描, 即在扫描视域量以及扫描路程未完成的情况下, 只要判断出当前有形成分 信息满足预设条件后, 即可结束本次扫描 步骤 206: 确定所述液体为阴性液体。 When the liquid to be tested is scanned, the obtained first target image is the current first target image, and the formed target information is the current target data, and the current target data is the sum of the data in each acquired image, when it is determined When the target data meets the preset condition, the current scan can be stopped, that is, in the case that the scanning field of view and the scanning path are not completed, the current information can be terminated as long as it is determined that the current forming information meets the preset condition. Scan Step 206: Determine that the liquid is a negative liquid.
当判断出有形成分含量小于或者等于预设值时, 则表明待测液体为阴 性液体, 并在系统显示界面提示给用户, 则系统即可结束本次检测流程。  When it is judged that the content of the formed component is less than or equal to the preset value, it indicates that the liquid to be tested is a negative liquid, and is presented to the user on the system display interface, then the system can end the detection process.
步骤 207: 按照第二预设扫描参数继续扫描所述待测液体以得到第二 目标图像。  Step 207: Continue scanning the liquid to be tested according to the second preset scanning parameter to obtain a second target image.
在判断出待测液体为阳性液体时, 即有形成分超标, 表明所述待测液 体存在异常, 则可以进一步检测待测液体中的有形成分的种类。  When it is judged that the liquid to be tested is a positive liquid, if there is a formation exceeding the standard, indicating that the liquid to be tested is abnormal, the type of the formed component in the liquid to be tested may be further detected.
待测液体继续静置一段时间, 然后控制扫描设备按照第二预设扫描扫 数继续扫描该待测液体, 获取第二目标图像。  The liquid to be tested continues to be left for a period of time, and then the scanning device is controlled to continue scanning the liquid to be tested according to the second preset scanning scan to obtain a second target image.
所述第二预设扫描参数包括扫描视域量、 扫描路程以及扫描路线。 步骤 208: 获取所述第二目标图像的目标信息, 所述目标信息包括不 同种类的有形成分含量和位置信息。  The second preset scan parameter includes a scan view amount, a scan path, and a scan route. Step 208: Acquire target information of the second target image, where the target information includes different types of formed content and location information.
步骤 209: 根据所述目标信息利用机器视觉识别法对所述有形成分进 行形态学检测。  Step 209: Perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
在医学检测领域, 利用现有的机器视觉识别法能够自动实现有形成分 的形态学的数据分析, 可以对各类有形成分进行分类计数, 并可以获得每 一类有形成分的大小、 形态或者颜色等信息, 从而可以得知液体中的哪一 类有形成分出现问题。  In the field of medical testing, the existing machine vision recognition method can automatically realize the morphological data analysis of the formed components, and can classify and count various types of formed components, and can obtain the size and shape of each type of formed component. Or information such as color, so that it can be known which type of liquid has a problem.
机器视觉识别法是基于全自动显微镜摄像系统的形态学分析方法, 系 统预先训练各类有形成分的模型, 因此根据获取的目标信息, 与系统模拟 数据库中的各类有形成分数据模型进行比对, 即可自动实现有形成分的形 态学检测, 无需人为进行镜检。  The machine vision recognition method is based on the morphological analysis method of the fully automatic microscope camera system. The system pre-trains various types of models with formed points. Therefore, based on the acquired target information, it is compared with various types of formed data models in the system simulation database. Yes, the morphological examination of the formed fractions can be automatically realized without the need for manual microscopic examination.
本实施例在检测出待测液体为阳性液体后,则继续进行形态学的检测, 而待测液体为阴性液体, 即液体正常时, 则直接结束流程, 无需进行形态 学检测, 从而避免了不必要的检测, 提高了检测效率, 同时节约了设备资 源。  In this embodiment, after detecting that the liquid to be tested is a positive liquid, the morphological detection is continued, and the liquid to be tested is a negative liquid, that is, when the liquid is normal, the process is directly ended, and no morphological detection is required, thereby avoiding no The necessary testing improves the detection efficiency while saving equipment resources.
当然本发明在检测出待测液体为阳性液体后, 也可采用其他方法进行 形态学的检测, 进一步对有形成分进行分类计数。 在本实施例中, 在进行待测液体扫描前, 首先进行空白扫描, 获取空 白图像的空白数据, 即设备污点含量, 在扫描待测液体时, 获取目标数据, 并计算所获取的目标数据中的颗粒总含量与设备污点含量的差值, 所述差 值即为液体有形成分含量, 判断所述差值是否大于预设值, 若是, 则所述 待测液体为阳性液体, 继续进行扫描, 利用机器视觉识别法进行形态学分 析, 若否, 则所述待测液体为阴性液体, 则可结束本次检测流程。 避免了 外界因素的干扰, 也避免了设备本身对液体有形成分带来的干扰, 提高了 检测准确度, 同时, 还可对待测液体为阳性的液体继续进行形态学检测, 进一步分析有形成分种类。 Of course, after detecting that the liquid to be tested is a positive liquid, the method can also adopt other methods for morphological detection, and further classify and count the formed components. In this embodiment, before the liquid to be tested is scanned, a blank scan is first performed to obtain an empty The blank data of the white image, that is, the stain content of the device, when the liquid to be tested is scanned, the target data is acquired, and the difference between the total particle content in the acquired target data and the stain content of the device is calculated, and the difference is the liquid Forming a sub-content, determining whether the difference is greater than a preset value, and if so, the liquid to be tested is a positive liquid, continuing to scan, performing morphological analysis using a machine vision recognition method, and if not, the liquid to be tested If it is a negative liquid, the test process can be ended. It avoids the interference of external factors, and also avoids the interference caused by the formation of liquid in the device itself, improves the detection accuracy, and at the same time, can continue the morphological detection of the liquid with positive liquid to be tested, and further analyze the formation. kind.
本发明应用在形态学检测时, 可以筛选出阴性液体, 对阴性液体不予 检测, 而对阳性液体在继续进行形态学的检测,从而避免了不必要的检测, 提供了形态学检测的效率。 参见图 3 , 示出了本发明一种液体性质检测方法实施例 3的流程图, 所述方法可以包括以下几个步骤:  The invention can be applied to the morphological detection, and the negative liquid can be screened out, the negative liquid is not detected, and the positive liquid is continuously subjected to morphological detection, thereby avoiding unnecessary detection and providing the efficiency of morphological detection. Referring to FIG. 3, a flow chart of Embodiment 3 of a liquid property detecting method according to the present invention is shown, and the method may include the following steps:
步骤 301 : 扫描有形成分含量已知的液体以得到第一图像, 并获取所 述第一图像的第一图像数据。  Step 301: Scan a liquid having a known component content to obtain a first image, and acquire first image data of the first image.
其中, 所述第一图像数据包括固体颗粒含量。  Wherein the first image data comprises a solid particle content.
系统中用于扫描待测液体的设备本身可能存在污点, 比如扫描设备为 显微镜时, 物镜或目镜可能存在污点, 就会导致测量结果的不准确, 因此, 本实施例中, 在扫描待测液体之前, 首先扫描有形成分含量已知的液体, 获得第一图像, 并根据所述第一图像, 获取第一图像数据, 由于扫描设备 本身存在污点, 因而第一图像中将显示该已知液体中的有形成分和设备污 点, 所述的第一图像数据的固体颗粒含量即为该已知液体的有形成分和设 备污点的总数量。  The device used to scan the liquid to be tested in the system may have stains. For example, when the scanning device is a microscope, the objective lens or the eyepiece may be stained, which may result in inaccurate measurement results. Therefore, in this embodiment, the liquid to be tested is scanned. Previously, a liquid having a known component content is first scanned, a first image is obtained, and the first image data is acquired according to the first image. Since the scanning device itself has a stain, the known liquid will be displayed in the first image. There is a component and a device stain, and the solid particle content of the first image data is the total number of formed components of the known liquid and the stain of the device.
在进行扫描时, 特别是利用显微镜进行扫描, 如果只是空白扫描, 检 测池没有填充液体, 则扫描得到的图像比较模糊, 因此, 为了更准确获得 设备污点含量, 可首先检测有形成分含量已知的液体, 得到的第一图像中 将显示设备污点和该液体的有形成分。  When scanning, especially using a microscope, if the blank is scanned and the test cell is not filled with liquid, the scanned image is blurred. Therefore, in order to obtain the stain content of the device more accurately, the formed content can be detected first. The liquid, the first image obtained will show the device stain and the formed component of the liquid.
步骤 302: 将所述固体颗粒含量减去所述已知液体的有形成分含量, 计算得出设备污点含量。 Step 302: Subtracting the solid particle content from the formed content of the known liquid, Calculate the stain content of the equipment.
所述第一图像数据包括了已知液体的有形成分和设备污点的总含量, 将该总含量数减去已知的有形成分的含量, 即为设备污点的含量。  The first image data includes the total content of the formed component of the known liquid and the stain of the device, and the total content is subtracted from the known content of the formed component, that is, the content of the stain of the device.
本实施例中, 为了减少计算量, 所述有形成分含量已知的液体可以选 用有形成分含量为零的透明液体, 因而所得到的第一图像数据中的固体颗 粒含量即为设备污点含量。  In this embodiment, in order to reduce the amount of calculation, the liquid having a known component content may be selected from a transparent liquid having a content of zero, so that the solid particle content in the obtained first image data is the stain content of the device. .
步骤 303: 按照第一预设扫描参数扫描待测液体以得到第一目标图像。 步骤 304: 获取所述第一目标图像的有形成分信息, 所述有形成分信 息包括待测液体有形成分和设备污点的总含量。  Step 303: Scan the liquid to be tested according to the first preset scanning parameter to obtain a first target image. Step 304: Acquire the formed component information of the first target image, where the formed component information includes a total content of the liquid to be formed and the stain of the device.
步骤 305: 判断所述待测液体有形成分和设备污点的总含量与所述计 算出的设备污点含量的差值是否大于预设值, 若是, 则进入步骤 306, 若 否, 则进入步骤 307。  Step 305: It is determined whether the difference between the total content of the liquid to be measured and the stain of the device and the calculated stain content of the device is greater than a preset value, and if yes, proceed to step 306, and if no, proceed to step 307. .
计算有形成分信息中的总含量与所述设备污点含量的差值, 判断所述 差值是否大于预设值, 若是, 则表明液体中有形成分含量大于预设值, 进 入步骤 306, 若否, 则表明液体中的有形成分含量小于或者等于预设值, 进入步骤 307。  Calculating a difference between the total content in the formed component information and the stain content of the device, determining whether the difference is greater than a preset value, and if yes, indicating that the formed content in the liquid is greater than a preset value, proceeding to step 306, If not, it indicates that the formed content in the liquid is less than or equal to the preset value, and the process proceeds to step 307.
其中, 判断所述待测液体有形成分和设备污点的总含量与所述设备污 点含量的差值是否大于预设值, 其还可以是, 首先计算所述设备污点含量 和预设值的和值, 然后判断所述总含量是否大于所述和值, 若是, 则表明 液体中有形成分含量大于预设值, 若否, 则表明液体中的有形成分含量小 于或者等于预设值。  Wherein, it is determined whether the difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value, or it may be, first, calculating the sum of the stain content and the preset value of the device The value is then judged whether the total content is greater than the sum value, and if so, it indicates that the content of the component in the liquid is greater than a preset value, and if not, it indicates that the content of the component in the liquid is less than or equal to a preset value.
步骤 306: 确定所述液体为阳性液体, 进入步骤 308。  Step 306: Determine that the liquid is a positive liquid, and proceed to step 308.
步骤 307: 确定所述液体为阴性液体。  Step 307: Determine that the liquid is a negative liquid.
步骤 308: 按照第二预设扫描参数继续扫描所述待测液体以得到第二 目标图像。  Step 308: Continue scanning the liquid to be tested according to the second preset scanning parameter to obtain a second target image.
在判断出待测液体为阳性液体时, 即有形成分超标, 表明所述待测液 体存在异常, 可进一步分析检测待测液体中的有形成分的种类。  When it is judged that the liquid to be tested is a positive liquid, there is a formation exceeding the standard, indicating that the liquid to be tested is abnormal, and the type of the formed component in the liquid to be tested may be further analyzed.
待测液体继续静置一定时间,按照第二预设扫描扫数扫描该待测液体, 获取第二目标图像。  The liquid to be tested is allowed to stand for a certain period of time, and the liquid to be tested is scanned according to the second preset scan number to obtain a second target image.
所述第二预设扫描参数包括扫描视域量、 扫描路程以及扫描路线。 步骤 309: 获取所述第二目标图像的目标信息。 The second preset scan parameter includes a scan view amount, a scan path, and a scan route. Step 309: Acquire target information of the second target image.
其中, 所述目标信息可以包括不同种类的有形成分含量和位置信息。 步骤 310: 根据所述目标信息利用机器视觉识别法对所述有形成分进 行形态学检测。  The target information may include different types of formed content and location information. Step 310: Perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
在本实施例中, 进行待测液体扫描前, 先选择有形成分含量已知的液 体进行扫描, 计算设备污点含量, 扫描待测液体, 将获得的目标数据中的 总含量与所述污点含量和预设值进行比较, 判断待测液体有形成分含量是 否大于预设值, 从而确定待测液体的阴阳性, 提高了液体检测的准确度, 且待测液体为阳性液体时, 进行进一步的形态学的检测, 对阳性液体中的 有形成分进行分类计数, 从而可提高形态学检测的效率, 避免了不必要的 检测。 参见图 4, 示出了本发明一种液体性质检测系统实施例 1的结构图, 所述系统可以包括:  In this embodiment, before the liquid to be tested is scanned, the liquid having the known component content is selected for scanning, the stain content of the device is calculated, the liquid to be tested is scanned, and the total content in the target data and the stain content are obtained. Comparing with the preset value, determining whether the formed component content of the liquid to be tested is greater than a preset value, thereby determining the positiveness of the liquid to be tested, improving the accuracy of the liquid detection, and when the liquid to be tested is a positive liquid, performing further The morphological detection classifies and counts the formed components in the positive liquid, thereby improving the efficiency of morphological detection and avoiding unnecessary detection. Referring to FIG. 4, a structural diagram of Embodiment 1 of a liquid property detecting system of the present invention is shown, and the system may include:
扫描待测液体以得到第一目标图像的图像扫描设备 401。  The image scanning device 401 scans the liquid to be tested to obtain a first target image.
与所述图像扫描设备 401相连的服务器 402, 所述服务器 402接收图 像扫描设备传输的第一目标图像,获取所述第一目标图像的有形成分信息, 并判断所述有形成分信息是否满足预设条件, 若是, 则确定所述液体为阳 性液体, 若否, 则确定所述液体为阴性液体。  a server 402 connected to the image scanning device 401, the server 402 receives the first target image transmitted by the image scanning device, acquires the formed component information of the first target image, and determines whether the formed component information is satisfied. The predetermined condition, if yes, determines that the liquid is a positive liquid, and if not, determines that the liquid is a negative liquid.
本实施是用于检测待测液体中的有形成分, 有形成分是指液体中不能 溶解的可见成分, 例如在医学领域进行尿液检测时, 尿液中的红细胞、 白 细胞、 以及其他细胞管型等都是有形成分, 当然本发明还用于其他领域的 液体检测, 例如, 在饮料制作领域, 有形成分即是指液体中的杂质。  This embodiment is for detecting the formed component in the liquid to be tested, and the forming component is a visible component which is insoluble in the liquid, for example, in the medical field for urine detection, red blood cells, white blood cells, and other cell tubes in the urine. Types and the like are all formed. Of course, the present invention is also used for liquid detection in other fields. For example, in the field of beverage production, a component is a substance in a liquid.
在进行待测液体检测时, 先将待测液体冲入检测池中, 检测池是用于 填充液体的容器, 检测池与检测系统相连, 可由系统控制检测池中液体的 进液量。 本实施例优选地, 系统可设定待测液体的预设扫描容量, 当检测 到冲入检测池的液体含量等于预设扫描容量时, 则启动图像扫描设备 401 进行扫描, 得到第一目标图像, 液体中存在有形成分时, 在扫描得到的第 一目标图像中即可以显示出来, 然后将所述第一目标图像传输至服务器 402中。其中所述的图像扫描设备 401可以具体为显微镜,所述服务器 402 可以是计算机, 或者集成的图像处理系统。 When the liquid to be tested is tested, the liquid to be tested is first flushed into the detection tank, and the detection pool is a container for filling the liquid, and the detection pool is connected to the detection system, and the liquid intake amount of the liquid in the detection pool can be controlled by the system. Preferably, the system can set a preset scan capacity of the liquid to be tested. When it is detected that the liquid content of the flushing detection pool is equal to the preset scan capacity, the image scanning device 401 is activated to scan to obtain the first target image. When there is a forming point in the liquid, it can be displayed in the scanned first target image, and then the first target image is transmitted to the server 402. The image scanning device 401 may be specifically a microscope, and the server 402 It can be a computer, or an integrated image processing system.
其中, 扫描待测液体时, 图像扫描述设备 401具体是按照第一预设扫 描参数进行扫描, 所述第一预设扫描参数是根据按照待测液体的检测灵敏 度所确定的预设扫描容量进行设置的。 所述扫描参数包括扫描视域量、 扫 描路程和扫描路线, 具体的设置过程可如下所述:  The image scanning description device 401 performs scanning according to a first preset scanning parameter, where the first preset scanning parameter is performed according to a preset scanning capacity determined according to the detection sensitivity of the liquid to be tested. Set. The scanning parameters include the scanning field of view, the scanning distance and the scanning route. The specific setting process can be as follows:
首先确定待测液体的预设扫描容量。  First, the preset scan capacity of the liquid to be tested is determined.
由于待测液体中有形成分可能包含多个种类, 例如尿液包括红细胞、 白细胞, 细胞管型等有形成分, 不同种类的有形成分, 要求检测的灵敏度 不同, 需要根据待测液体的有形成分种类设定检测灵敏度, 为避免导致漏 检, 具体是根据有形成分中要求检测灵敏度高的一类有形成分确定待测液 体的容量。  Since the formed component in the liquid to be tested may contain a plurality of species, for example, urine including red blood cells, white blood cells, cell tube type and the like, and different types of formed components, the sensitivity required for detection is different, and it is required according to the liquid to be tested. Forming the classification type to set the detection sensitivity, in order to avoid causing the missed detection, specifically, the capacity of the liquid to be tested is determined according to the type of formed component having a high detection sensitivity in the formation.
以待测液体中存在三类有形成分、 分别为 A类、 B类、 C类为例, 对 于 A类有形成分要求检测的灵敏度小于 1个 /UL (微升), 即每 1UL中存 在一个有形成分, B类有形成分要求检测的灵敏度为 1个 /10UL, C类有形 成分要求检测的灵敏度为 1个 /100UL,则可知要求 C类的检测灵敏度最高, 则可知待测液体容量至少为 100UL。 因此可以设置预设扫描容量等于或者 大于 100UL的某一值。  There are three types of formed components in the liquid to be tested, which are classified into Class A, Class B, and Class C. The sensitivity for the detection of Class A formation is less than 1/UL (microliter), that is, every 1 UL exists. One has a forming component, the sensitivity of the B-type component is required to be 1/10UL, and the sensitivity of the C-type component is 1/100UL. It can be known that the detection sensitivity of the C-class is the highest, and the liquid to be tested is known. The capacity is at least 100UL. Therefore, it is possible to set a certain value that the preset scan capacity is equal to or greater than 100UL.
确定出待测液体的预设扫描容量后, 根据所述预设扫描容量, 即可确 定扫描参数。  After determining the preset scan capacity of the liquid to be tested, the scan parameters can be determined according to the preset scan capacity.
结合检测池的容积量, 扫描视域量确定具体为: 设检测池容器的厚度 为 H, 进行扫描时的视野面积为 S, 则一个视野内可观察到的视野体积为 SH, 根据计算出的待测液体的预设扫描容量 L, 为了保证不漏检, 扫描视 域量至少应为: L/SH。  Combined with the volume of the detection pool, the amount of scanning field of view is determined as follows: Let the thickness of the detection pool container be H, and the field of view area when scanning is S, then the apparent field of view volume in one field of view is SH, according to the calculated The preset scanning capacity L of the liquid to be tested, in order to ensure no missing detection, the scanning field of view should be at least: L/SH.
扫描路程的确定具体可以为: 设扫描时的视野宽度为 D, 则扫描的截 面积为 DH,根据确定的待测液体预设扫描容量,扫描路程应至少为: L/DH。  The determination of the scan path may be: The width of the field of view when scanning is D, and the cross-sectional area of the scan is DH. According to the determined scan capacity of the liquid to be tested, the scan path should be at least: L/DH.
其中,扫描路线可根据不同情况选择不同的路线, 比如显微镜扫描时, 可以采用弓字形扫描路线。  Among them, the scanning route can select different routes according to different situations. For example, when scanning a microscope, a bow-shaped scanning route can be adopted.
实际应用中, 服务器控制检测池液体容量, 当检测池中液体容量达到 预设扫描容量时, 则启动图像扫描设备进行扫描, 上述确定的扫描视域量 即为显微镜物镜的扫描视域量。当扫描的路程较大而超出检测池的范围时, 可通过来回扫描的方式保证扫描完成要求的路程。 可以采用运动显微镜的 方式,对待测液体进行 XYZ方向的三维立体扫描,要求的扫描视域量不能 够重叠, 当然, 也可以固定显微镜, 控制检测池的方式进行扫描。 为了提 高检测速度, 可根据不同的检测灵敏度以及有形成分大小确定放大倍数, 由于获取扫描待测液体或者液体中有形成分的含量, 因此显微镜采用低倍 扫描即可。 In practical applications, the server controls the liquid capacity of the detection pool. When the liquid capacity in the detection pool reaches the preset scanning capacity, the image scanning device is started to perform scanning, and the above-mentioned determined scanning field quantity is the scanning field quantity of the microscope objective lens. When the scanned distance is larger and exceeds the range of the detection pool, Scanning back and forth can be used to ensure that the scan completes the required route. The motion microscope can be used to perform three-dimensional scanning in the XYZ direction of the liquid to be measured, and the required scanning field of view cannot be overlapped. Of course, the microscope can be fixed and the detection pool can be controlled to scan. In order to increase the detection speed, the magnification may be determined according to different detection sensitivities and the size of the formed fraction. Since the content of the formed liquid or the formed component in the liquid is obtained by scanning, the microscope may be scanned at a low magnification.
液体中存在有形成分时, 在扫描得到的第一目标图像中即可以显示出 来。 扫描待测液体时, 图像扫描设备由于是按照扫描路线进行扫描, 因此 图像是连续获取的, 每一扫描视野内, 即会得到一帧图像, 因此所述有形 成分信息即是服务器当前获得的每帧图像中的数据的总和, 本实施例中, 所述有形成分信息包括有形成分的含量, 其还可以包括有形成分的位置信 息。 而其位置信息是指有形成分在不同扫描路线下得到的第一目标图像中 的位置, 图像数据的获取过程具体可以采用图像识别函数来实现。  When a component is formed in the liquid, it can be displayed in the first target image obtained by scanning. When scanning the liquid to be tested, the image scanning device scans according to the scanning route, so the image is continuously acquired, and one frame of image is obtained in each scanning field of view, so the formed minute information is currently obtained by the server. The sum of the data in each frame of the image. In this embodiment, the formed component information includes a content of the formed component, and may further include location information of the formed component. The position information refers to a position in the first target image obtained by the forming points under different scanning routes. The process of acquiring the image data may be specifically implemented by using an image recognition function.
服务器判断所述有形成分信息是否满足预设条件, 所述预设条件具体 可以是指所述有形成分含量大于预设值。该标准值在不同地区可能也不同, 需要根据实际应用环境具体设定, 例如尿液中红细胞的有形成分含量标准 值为每微升中含量为 A个, 而红细胞在尿液中要求检测的灵敏度最高, 则 所述预设值即为该红细胞的标准值与预设扫描容量的乘积值。 大于该标准 值, 则认为尿液为阳性尿液, 可能存在病变。 当然, 本发明应用于其他检 测领域时, 例如饮料检测领域, 所述预设值即是指饮料中杂质含量符合规 定的标准值。  The server determines whether the formed component information satisfies a preset condition, and the preset condition may specifically mean that the formed component content is greater than a preset value. The standard value may be different in different regions, and needs to be set according to the actual application environment. For example, the standard value of the formed content of red blood cells in urine is A per microliter, and the red blood cells are required to be detected in urine. The sensitivity is the highest, and the preset value is the product of the standard value of the red blood cell and the preset scan capacity. Above this standard value, urine is considered positive urine and there may be lesions. Of course, when the present invention is applied to other fields of detection, such as the field of beverage detection, the preset value means that the content of impurities in the beverage meets the prescribed standard value.
有形成分信息满足预设条件时, 即有形成分含量大于预设值, 则服务 器确定待测液体为阳性液体, 并同时提示给用户, 不满足预设条件时, 即 有形成分含量小于或等于预设值, 则服务器确定待测液体为阴性液体, 并 给出提示, 如可以在服务器的显示界面显示提示信息, 以便于用户判断是 否结束本次检测流程。  When the forming sub-information meets the preset condition, that is, if the forming component content is greater than the preset value, the server determines that the liquid to be tested is a positive liquid, and simultaneously prompts the user, and if the predetermined condition is not satisfied, the forming component content is less than or If the value is equal to the preset value, the server determines that the liquid to be tested is a negative liquid, and gives a prompt. For example, the prompt information may be displayed on the display interface of the server, so that the user can judge whether to end the detection process.
其中, 参见图 5 , 所述服务器可以具体包括:  The server may specifically include:
与图像扫描设备相连的接口 501 , 所述接口 501用于接收图像扫描设 备 401传输的第一目标图像。  An interface 501 connected to the image scanning device, the interface 501 is configured to receive the first target image transmitted by the image scanning device 401.
与所述接口 501相连的, 存储第一目标图像的存储器 502。 与所述存储器 502相连的处理器 503 , 所述处理器 504用于根据所述 第一目标图像获取有形成分信息, 并判断所述有形成分信息是否满足预设 条件, 若是, 则确定所述液体为阳性液体, 若否, 则确定所述液体为阴性 液体。 Connected to the interface 501, a memory 502 storing a first target image. a processor 503 connected to the memory 502, the processor 504 is configured to obtain the formed part information according to the first target image, and determine whether the formed part information meets a preset condition, and if yes, determine the location The liquid is a positive liquid, and if not, it is determined that the liquid is a negative liquid.
所述处理器 503 , 可以具体包括:  The processor 503 may specifically include:
第一获取单元 5031 , 用于获取第一目标图像的有形成分信息; 第一判断单元 5032, 用于判断所述有形成分信息是否满足预设条件; 确定单元 5033 , 用于当所述第一判断单元 5032判断结果为是时, 确 定所述待测液体为阳性液体, 当所述第一判断单元 5032判断结果为否时, 确定所述待测液体为阴性液体。 The first obtaining unit 5031 is configured to acquire the formed information of the first target image. The first determining unit 5032 is configured to determine whether the formed component information meets a preset condition, and the determining unit 5033 is configured to be used by the first When the determination unit 5032 determines that the result is YES, it is determined that the liquid to be tested is a positive liquid, and when the first determination unit 5032 determines that the result is negative, it is determined that the liquid to be tested is a negative liquid.
在本实施例中, 通过图像扫描设备扫描待测液体获得待测液体的第一 目标图像, 由服务器进行图像处理, 获取第一目标图像的有形成分信息, 并根据有形成分信息确定待测液体为阳性液体还是阴性液体, 检测过程由 系统自动完成, 无需人工参与, 避免了干化学分析时的干扰因素影响, 从 而提高了检测的准确度。 本发明还提供了一种液体性质检测系统实施例 2, 所述系统包括图像 处理设备和与所述图像处理设备相连的服务器, 参见图 6, 示出了本实施 例中服务器的结构示意图。  In this embodiment, the first target image of the liquid to be tested is obtained by scanning the liquid to be tested by the image scanning device, and the image processing is performed by the server to obtain the formed information of the first target image, and the measured information is determined according to the formed information. Whether the liquid is a positive liquid or a negative liquid, the detection process is automatically completed by the system without manual intervention, which avoids the influence of interference factors in dry chemical analysis, thereby improving the accuracy of the detection. The present invention also provides a liquid property detecting system embodiment 2, the system comprising an image processing device and a server connected to the image processing device. Referring to Fig. 6, a schematic structural view of the server in the embodiment is shown.
所述服务器包括与所述图像处理设备相连的接口 601 ,与所述接口 601 相连的存储器 602,与存储器 602相连的处理器 603 ,所述处理器 603包括 第一获取单元 6031、 第一判断单元 6032和确定单元 6033 , 各单元功能可 参见系统实施例 1所述, 与上述实施例 1不同之处在于, 所述处理器 603 还包括:  The server includes an interface 601 connected to the image processing device, a memory 602 connected to the interface 601, and a processor 603 connected to the memory 602. The processor 603 includes a first obtaining unit 6031 and a first determining unit. 6032 and the determining unit 6033, the function of each unit is as described in the system embodiment 1. The difference from the first embodiment is that the processor 603 further includes:
容量判断单元 6034: 用于判断待测液体容量是否达到预设扫描容量, 若是, 则启动所述图像扫描设备。  The capacity judging unit 6034 is configured to determine whether the liquid volume to be tested reaches a preset scanning capacity, and if so, activate the image scanning device.
所述预设扫描容量的设置过程可具体参见上述系统实施例 1。  For the setting process of the preset scan capacity, refer to the system embodiment 1 above.
第二获取单元 6035 , 用于获取空白图像的空白数据, 所述空白图像是 所述图像扫描设备进行空白扫描得到的。  The second obtaining unit 6035 is configured to obtain blank data of a blank image, where the blank image is obtained by performing blank scan by the image scanning device.
其中, 所述空白数据包括设备污点含量。 图像扫描设备进行空白扫面, 将得到的空白图像传输至所述服务器的 接口, 存储器存储所述空白图像。 Wherein, the blank data includes a device stain content. The image scanning device performs a blank scan, transmits the resulting blank image to an interface of the server, and the memory stores the blank image.
由于图像扫描设备本身可能存在污点, 比如扫描设备为显微镜时, 物 镜或目镜可能存在污点, 就会导致测量结果的不准确, 因此, 本实施例中, 在扫描待测液体之前, 首先进行空白扫描, 即检测池中不填充任何液体的 时候, 扫描得到空白图像, 若设备存在污点时, 该空白图像即可显示设备 污点, 因此第二获取单元 6035获取空白图像的空白数据,所述空白数据包 括设备污点含量, 还可以包括设备污点在空白图像中的位置信息。  Since the image scanning device itself may be stained, for example, when the scanning device is a microscope, the objective lens or the eyepiece may be stained, which may result in inaccurate measurement results. Therefore, in this embodiment, before scanning the liquid to be tested, a blank scan is first performed. When the detection pool is not filled with any liquid, the scan obtains a blank image. If the device has a stain, the blank image can display the device stain. Therefore, the second obtaining unit 6035 acquires blank data of the blank image, and the blank data includes The device stain content may also include location information of the device stain in the blank image.
由于设备污点的存在, 图像扫描设备摄取的第一目标图像中, 图像中 所呈现的固体颗粒不仅包括有形成分, 其还包括设备污点, 因此第一获取 单元 6031 获取的有形成分信息所包括的具体为待测液体有形成分和设备 污点的总含量。  In the first target image captured by the image scanning device, the solid particles presented in the image include not only the formed component but also the device stain due to the presence of the device stain. Therefore, the formed component information acquired by the first obtaining unit 6031 includes Specifically, the total content of the liquid to be tested and the stain of the equipment.
因此,所述第一判断单元 6032具体用于判断所述有形成分和设备污点 的总含量与所述设备污点含量的差值是否大于预设值, 若是, 则表明液体 中有形成分含量大于预设值, 若否, 则表明液体中的有形成分含量小于或 者等于预设值。  Therefore, the first determining unit 6032 is specifically configured to determine whether the difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value, and if so, the content of the formed component in the liquid is greater than The preset value, if not, indicates that the formed content in the liquid is less than or equal to the preset value.
有形成分信息包括的总含量与设备污点含量的差值即为待测液体有形 成分含量。  The difference between the total content included in the formation information and the stain content of the equipment is the content of the tangible component of the liquid to be tested.
当然,所述第一判断单元 6032还可以是用于判断所述有形成分和设备 污点的总含量是否大于所述设备污点含量和预设值的和值。  Of course, the first determining unit 6032 may further be a sum value for determining whether the total content of the formed component and the device stain is greater than the device stain content and the preset value.
实际应用中,确定单元 6033确定出待测液体为阳性液体时,还可以对 所述待测液体继续进行形态学的检测,由于在第一判断单元 6032判断出有 形成分含量大于预设值时, 即科控制图像扫描设备停止扫描, 因此, 当需 要继续进行扫描时, 所述确定单元 6033还可以还用于启动图像扫描设备。  In a practical application, when the determining unit 6033 determines that the liquid to be tested is a positive liquid, the morphological detection may be continued on the liquid to be tested, because the first determining unit 6032 determines that the forming component content is greater than a preset value. That is, the image control image scanning device stops scanning, and therefore, when it is necessary to continue scanning, the determining unit 6033 can also be used to activate the image scanning device.
则所述处理器还可以包括:  The processor may further include:
第四获取单元 6036, 用于获取第二目标图像的目标信息, 所述目标信 息包括有形成分含量和位置信息, 所述第二目标图像是所述图像扫描设备 按照第二预设扫描参数继续扫描所述待测液体得到的。  The fourth acquiring unit 6036 is configured to acquire target information of the second target image, where the target information includes a forming component content and location information, where the second target image is that the image scanning device continues according to the second preset scanning parameter. Scanning the liquid to be tested.
在判断出待测液体为阳性液体时, 即有形成分大于预设值, 表明所述 待测液体存在异常, 可以进一步检测待测液体中的有形成分的种类以及形 状, 以判断是哪一类有形成分出现病变。 When it is determined that the liquid to be tested is a positive liquid, the formation component is greater than a preset value, indicating that the liquid to be tested is abnormal, and the type and shape of the formed component in the liquid to be tested may be further detected. Shape, to determine which type of component has a lesion.
待测液体继续静置一定时间,确定单元 6033启动图像扫描设备, 图像 扫描设备按照第二预设扫描扫数扫描该待测液体, 获取第二目标图像。  The liquid to be tested is allowed to stand for a certain period of time, and the determining unit 6033 activates the image scanning device, and the image scanning device scans the liquid to be tested according to the second preset scanning number to obtain the second target image.
所述第二预设扫描参数包括扫描视域量、 扫描路程以及扫描路线。 检测单元 6037, 用于根据所述目标信息利用机器视觉识别法对所述有 形成分进行形态学检测。  The second preset scan parameter includes a scan view amount, a scan path, and a scan route. The detecting unit 6037 is configured to perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
在医学检测领域, 机器视觉识别法能够自动实现有形成分的形态学的 数据分析, 可以对各类有形成分进行分类计数, 并可以获得每一类有形成 分的大小形态或者颜色等, 从而可以得知液体中的哪一类有形成分出现问 题。  In the field of medical detection, the machine vision recognition method can automatically realize the morphological data analysis of the formed points, and can classify and count various types of formed components, and obtain the size, shape or color of each type of formed component, thereby It can be known which of the liquids has a problem with the formation.
机器视觉识别法是基于全自动显微镜摄像系统, 系统预先训练各类有 形成分的模型, 因此根据获取的目标信息, 与系统模拟数据库中的各类有 形成分数据模型进行比对, 即可自动实现有形成分的形态学检测, 无需人 为进行镜检。  The machine vision recognition method is based on a fully automatic microscope camera system. The system pre-trains various types of models with formed points. Therefore, according to the acquired target information, it can be automatically compared with various types of formed data models in the system simulation database. Achieve morphological examination of formed components without the need for manual microscopy.
本实施例在检测出待测液体为阳性液体后, 则启动图像扫描设备继续 扫描, 进行形态学的检测, 而待测液体为阴性液体, 即液体正常时, 则直 接结束流程, 无需进行形态学检测, 从而避免了不必要的检测, 提高了检 测效率, 同时节约了设备资源。  In this embodiment, after detecting that the liquid to be tested is a positive liquid, the image scanning device is started to continue scanning, and the morphological detection is performed, and the liquid to be tested is a negative liquid, that is, when the liquid is normal, the process is directly ended, and no morphological is required. Detection, thereby avoiding unnecessary detection, improving detection efficiency, and saving equipment resources.
当然本发明在检测出待测液体为阳性液体后, 也可采用其他方法进行 形态学的检测, 进一步对有形成分进行分类计数。  Of course, after detecting that the liquid to be tested is a positive liquid, the method can also adopt other methods for morphological detection, and further classify and count the formed components.
本实施例中, 在进行待测液体扫描前, 首先进行空白扫描, 获取空白 图像的空白数据, 即设备污点含量, 在扫描待测液体时, 获取目标数据, 并计算所获取的目标数据中的颗粒总含量与设备污点含量的差值, 所述差 值即为液体有形成分含量, 判断所述差值是否大于预设值, 若是, 则所述 待测液体为阳性液体, 继续进行扫描, 利用机器视觉识别法进行形态学分 析, 若否, 则所述待测液体为阴性液体, 则可结束本次检测流程。 避免了 外界因素的干扰, 也避免了设备本身对液体有形成分带来的干扰, 提高了 检测准确度, 同时, 还可对待测液体为阳性的液体继续进行形态学检测, 进一步分析有形成分种类。 本发明应用在形态学检测时, 可以筛选出阴性液体, 对阴性液体不予 检测, 而对阳性液体在继续进行形态学的检测,从而避免了不必要的检测, In this embodiment, before the liquid to be tested is scanned, a blank scan is first performed to obtain blank data of the blank image, that is, the stain content of the device, and when the liquid to be tested is scanned, the target data is acquired, and the acquired target data is calculated. The difference between the total particle content and the stain content of the device, the difference is the content of the liquid formed component, and the difference is judged whether the difference is greater than a preset value, and if so, the liquid to be tested is a positive liquid, and the scanning is continued. The morphological analysis is performed by the machine vision recognition method. If not, the liquid to be tested is a negative liquid, and the detection process can be ended. It avoids the interference of external factors, and also avoids the interference caused by the formation of liquid in the device itself, improves the detection accuracy, and at the same time, can continue the morphological detection of the liquid with positive liquid to be tested, and further analyze the formation. kind. When the invention is applied to the morphological examination, the negative liquid can be screened out, the negative liquid is not detected, and the positive liquid is continuously subjected to the morphological detection, thereby avoiding unnecessary detection.
本发明还提供了一种液体性质检测系统实施例 3 , 所述系统包括: 图 像处理设备和与所述图像处理设备相连的服务器, 参见图 7 , 示出了本实 施例中服务器的结构示意图。 所述服务器包括与所述图像处理设备相连的 接口 701 , 与所述接口 701相连的存储器 702,与存储器 702相连的处理器 703 , 所述处理器 703包括第一获取单元 7031、 第一判断单元 7032和确定 单元 7033 , 与上述实施例 1不同之处在于, 所述处理器 703还包括: The present invention also provides a liquid property detecting system embodiment 3, the system comprising: an image processing device and a server connected to the image processing device, and referring to Fig. 7, a schematic structural view of the server in the embodiment is shown. The server includes an interface 701 connected to the image processing device, a memory 702 connected to the interface 701, and a processor 703 connected to the memory 702. The processor 703 includes a first obtaining unit 7031 and a first determining unit. The difference between the embodiment 703 and the determining unit 7033 is that the processor 703 further includes:
容量判断单元 7034: 用于判断待测液体容量是否达到预设扫描容量, 若是, 则启动所述图像扫描设备。  The capacity judging unit 7034 is configured to determine whether the liquid capacity to be tested reaches a preset scanning capacity, and if so, activate the image scanning device.
第三获取单元 7035 , 用于获取第一图像的第一图像数据, 所述第一图 像是所述图像扫描设备扫描有形成分含量已知的液体得到的。  The third obtaining unit 7035 is configured to acquire first image data of the first image, where the first image is obtained by scanning, by the image scanning device, a liquid having a known component content.
所述第一图像数据包括固体颗粒含量。  The first image data includes a solid particle content.
系统中用于扫描待测液体的设备本身可能存在污点, 比如扫描设备为 显微镜时, 物镜或目镜可能存在污点, 就会导致测量结果的不准确, 因此, 本实施例中, 在扫描待测液体之前, 首先扫描有形成分含量已知的液体, 获得第一图像, 并根据所述第一图像, 获取第一图像数据, 由于扫描设备 本身存在污点, 因而第一图像中将显示该已知液体中的有形成分和设备污 点, 所述的第一图像数据包括了该已知液体的有形成分和设备污点的总数 量。  The device used to scan the liquid to be tested in the system may have stains. For example, when the scanning device is a microscope, the objective lens or the eyepiece may be stained, which may result in inaccurate measurement results. Therefore, in this embodiment, the liquid to be tested is scanned. Previously, a liquid having a known component content is first scanned, a first image is obtained, and the first image data is acquired according to the first image. Since the scanning device itself has a stain, the known liquid will be displayed in the first image. There are formed components and device stains, and the first image data includes the total number of formed components of the known liquid and the stain of the device.
在进行扫描时, 特别是利用显微镜进行扫描时, 如果只是空白扫描, 检测池没有填充液体, 则扫描得到的图像比较模糊, 因此, 为了更准确获 得设备污点含量, 可首先检测有形成分含量已知的液体, 得到的目标图像 将包括设备污点和该液体的有形成分。  When scanning, especially when scanning with a microscope, if the blank is scanned and the detection pool is not filled with liquid, the scanned image is blurred. Therefore, in order to obtain the stain content of the device more accurately, the formation content can be detected first. Knowing the liquid, the resulting target image will include the device stain and the formed component of the liquid.
本实施例中,为了减少计算量以及可以精确获得设备污点的位置信息, 所述有形成分含量已知的液体可以选用有形成分含量为零的透明液体, 因 而所得到的第一图像数据即为设备的污点含量。 计算单元 7036, 用于将所述固体颗粒含量减去所述已知液体的有形成 分含量,计算得出设备污点含量。 因此所述第一获取单元 7031获取的目标 数据, 包括待测液体有形成分和设备污点的总含量, In this embodiment, in order to reduce the amount of calculation and to accurately obtain the position information of the stain of the device, the liquid having a known content of the component may be a transparent liquid having a content of zero, so that the obtained first image data is For the stain content of the device. The calculating unit 7036 is configured to subtract the formed content of the known liquid from the solid particle content, and calculate a device stain content. Therefore, the target data acquired by the first acquiring unit 7031 includes the total content of the formed component of the liquid to be tested and the stain of the device.
则所述第一判断单元 7032 具体用于判断所述总含量与设备污点含量 的差值是否大于预设值。  The first determining unit 7032 is specifically configured to determine whether a difference between the total content and the device stain content is greater than a preset value.
第四获取单元 6037, 用于获取第二目标图像的目标信息, 所述目标信 息包括有形成分含量和位置信息, 所述第二目标图像是所述图像扫描设备 按照第二预设扫描参数继续扫描所述待测液体得到的。  The fourth acquiring unit 6037 is configured to acquire target information of the second target image, where the target information includes a forming content and location information, where the second target image is that the image scanning device continues according to the second preset scanning parameter. Scanning the liquid to be tested.
则所述确定单元 7033在确定出所述液体为阳性液体时,还用于启动图 像扫描设备。  Then, the determining unit 7033 is further used to activate the image scanning device when it is determined that the liquid is a positive liquid.
在判断出待测液体为阳性液体时, 即有形成分超标, 表明所述待测液 体存在异常, 可以进一步检测待测液体中的有形成分的种类。  When it is judged that the liquid to be tested is a positive liquid, there is a formation exceeding the standard, indicating that the liquid to be tested is abnormal, and the type of the formed component in the liquid to be tested can be further detected.
待测液体继续静置一段时间, 确定单元启动图像扫描设备, 按照第二 预设扫描扫数扫描该待测液体, 获取第二目标图像。  The liquid to be tested continues to be allowed to stand for a period of time, and the determining unit activates the image scanning device to scan the liquid to be tested according to the second preset scanning scan number to obtain the second target image.
所述第二预设扫描参数包括扫描视域量、 扫描路程以及扫描路线。 检测单元 6038, 用于根据所述目标信息利用机器视觉识别法对所述有 形成分进行形态学检测。  The second preset scan parameter includes a scan view amount, a scan path, and a scan route. The detecting unit 6038 is configured to perform morphological detection on the formed component by using a machine vision recognition method according to the target information.
在医学检测领域, 机器视觉识别法能够自动实现有形成分的形态学的 数据分析, 可以对各类有形成分进行分类计数, 并可以获得每一类有形成 分的大小形态或者颜色等, 从而可以得知液体中的哪一类有形成分出现问 题。  In the field of medical detection, the machine vision recognition method can automatically realize the morphological data analysis of the formed points, and can classify and count various types of formed components, and obtain the size, shape or color of each type of formed component, thereby It can be known which of the liquids has a problem with the formation.
机器视觉识别法是基于全自动显微镜摄像系统, 系统预先训练各类有 形成分的模型, 因此根据获取的目标信息, 与系统模拟数据库中的各类有 形成分数据模型进行比对, 即可自动实现有形成分的形态学检测, 无需人 为进行镜检。  The machine vision recognition method is based on a fully automatic microscope camera system. The system pre-trains various types of models with formed points. Therefore, according to the acquired target information, it can be automatically compared with various types of formed data models in the system simulation database. Achieve morphological examination of formed components without the need for manual microscopy.
本实施例在检测出待测液体为阳性液体后, 则启动图像扫描设备继续 扫描, 进行形态学的检测, 而待测液体为阴性液体, 即液体正常时, 则直 接结束流程, 无需进行形态学检测, 从而避免了不必要的检测, 提高了检 测效率, 同时节约了设备资源。  In this embodiment, after detecting that the liquid to be tested is a positive liquid, the image scanning device is started to continue scanning, and the morphological detection is performed, and the liquid to be tested is a negative liquid, that is, when the liquid is normal, the process is directly ended, and no morphological is required. Detection, thereby avoiding unnecessary detection, improving detection efficiency, and saving equipment resources.
当然本发明在检测出待测液体为阳性液体后, 也可采用其他方法进行 形态学的检测, 进一步对有形成分进行分类计数。 在本实施例中, 图像扫描设备首先扫描有形成分含量已知的液体, 然 后扫描待测液体, 服务器接收并存储获得的第一图像和第一目标图像, 由 服务器中的处理器获取第一图像数据和有形成分信息, 并根据第一图像数 据计算设备污点含量, 根据有形成分信息和所述设备污点含量判断有形成 分含量是否大于预设值, 即所述待测液体时阳性液体和阴性液体, 本实施 避免了干扰因素的影响, 并避免了图像扫描设备本身带来的干扰, 提高了 检测的准确度和精度, 同时确定待测液体为阳性液体后, 还可以按照机器 视觉识别法继续进行扫描, 对有形成分进行形态学检测。 Of course, the invention can also be carried out by other methods after detecting that the liquid to be tested is a positive liquid. Morphological detection, further classification and counting of formed components. In this embodiment, the image scanning device first scans a liquid having a known content of the component, and then scans the liquid to be tested, and the server receives and stores the obtained first image and the first target image, and acquires the first image by the processor in the server. Image data and formed information, and calculating a stain content of the device according to the first image data, determining whether the formed component content is greater than a preset value according to the formed component information and the stain content of the device, that is, the positive liquid when the liquid to be tested is And negative liquid, this implementation avoids the influence of interference factors, and avoids the interference caused by the image scanning equipment itself, improves the accuracy and precision of the detection, and at the same time determines the liquid to be tested as a positive liquid, and can also recognize according to machine vision. The method continues to scan and morphologically detects the formed components.
在实际应用中, 本发明的技术方案可以用于进行医学检测, 例如进行 尿液检测, 或其他体液的检测, 检测出的有形成分含量若大于预设值时, 该预设值可以根据临床医学中对于液体中有形成分含量的规定进行设置, 则认为液体为阳性液体, 液体不正常, 若小于或等于预设值, 则表明液体 正常, 本发明可具体应用于对液体中有形成分的形态学检测中, 在进行形 态学检测时, 首先扫描待测液体, 判断待测液体的阴阳性, 当为阳性液体 时, 再进行形态学检测, 因此可以达到一个液体过筛的功能, 先筛选出阴 性液体, 只对阳性液体进行进一步检测, 从而提高了检测效率, 避免了后 续检测进行一些不必要的检测, 而采用现有技术中采用的方法, 由于干扰 因素的影响, 可以将正常的液体检测为不正常, 则会对正常的液体进行后 续的检测, 增加了检测步骤, 造成了资源的浪费, 而采用本发明的技术方 案则避免了这些问题的产生。  In practical applications, the technical solution of the present invention can be used for performing medical tests, for example, performing urine detection or other body fluid detection. When the detected component content is greater than a preset value, the preset value can be based on clinical In medicine, if the prescription of the content of the liquid is set, the liquid is considered to be a positive liquid, and the liquid is abnormal. If it is less than or equal to the preset value, the liquid is normal, and the present invention can be specifically applied to the formation of a liquid. In the morphological test, when performing morphological examination, first scan the liquid to be tested, and judge the positive of the liquid to be tested. When it is a positive liquid, perform morphological examination, so that a liquid sieving function can be achieved. The negative liquid is screened out, and only the positive liquid is further tested, thereby improving the detection efficiency and avoiding unnecessary detection by subsequent detection. However, the method adopted in the prior art can be normal due to the influence of interference factors. If the liquid is detected as abnormal, subsequent detection of normal liquid will be performed. It increases the detection step, resulting in a waste of resources, but the present invention is the technical solution avoids these problems.
本发明的技术方案还可以应用于制药、 酿酒、 饮料制作等领域, 由于 在药液、 酒以及饮料的罐装生成时, 由于卫生情况, 或者人员操作疏忽, 会使得一些纤维、 玻屑、 色斑、 橡胶等杂质混入液体中, 造成液体污染, 本发明检测出液体的有形成分, 所述有形成分即是包括液体中的所有不可 溶解的可见物, 当有形成分含量超出预设值, 则表明液体不合格, 可将该 样品进行回收重新生产。  The technical solution of the invention can also be applied to the fields of pharmacy, wine making, beverage making, etc., because in the canning of liquid medicine, wine and beverage, due to hygienic conditions, or negligence of personnel operation, some fibers, swarf, color The impurities such as spots and rubber are mixed into the liquid to cause liquid contamination. The present invention detects the formed component of the liquid, and the formed component includes all insoluble visible matter in the liquid, and when the content of the formed component exceeds a preset value , indicating that the liquid is unqualified, the sample can be recycled and re-produced.
本说明书中各个实施例采用递进的方式描述, 每个实施例重点说明的 都是与其他实施例的不同之处, 各个实施例之间相同相似部分互相参见即 可。 对于实施例公开的装置而言, 由于其与实施例公开的方法相对应, 所 以描述的比较筒单, 相关之处参见方法部分说明即可。 The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the embodiments are referred to each other. Yes. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the comparison is described, and the relevant parts can be referred to the description of the method.
对所公开的实施例的上述说明, 使本领域专业技术人员能够实现或使 用本发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显 而易见的, 本文中所定义的一般原理可以在不脱离本发明的精神或范围的 情况下, 在其它实施例中实现。 因此, 本发明将不会被限制于本文所示的 这些实施例, 而是要符合与本文所公开的原理和新颖特点相一致的最宽的 范围。  The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but the broadest scopes

Claims

1、 一种液体性质检测方法, 其特征在于, 包括: A method for detecting a liquid property, comprising:
扫描待测液体以得到第一目标图像;  Scanning the liquid to be tested to obtain a first target image;
获取所述第一目标图像的有形成分信息;  Obtaining the formed part information of the first target image;
判断所述有形成分信息是否满足预设条件, 若是, 则确定所述液体为 阳性液体, 若否, 则确定所述液体为阴性液体。  It is judged whether the formed component information satisfies a preset condition, and if so, the liquid is determined to be a positive liquid, and if not, the liquid is determined to be a negative liquid.
2、根据权利要求 1所述权的方法, 其特征在于, 所述有形成分信息包括 有形成分含量, 则所述预设条件为所述有形成分含量大于预设值。  The method according to claim 1, wherein the formed component information comprises a component content, and the predetermined condition is that the component content is greater than a preset value.
利 _  Profit _
3、根据权利要求 1所述的方法, 2其特征在于, 所述扫描待测液体之前  3. The method according to claim 1, 2, wherein said scanning the liquid to be tested
3  3
还包括: 要 Also included:
进行空白扫描以得到空白图像; 求  Perform a blank scan to get a blank image;
获取所述空白图像的空白数据, 所述空白数据包括设备污点含量; 则所述有形成分信息包括有形成分和设备污点的总含量, 所述预设条 件具体为:  Obtain blank data of the blank image, where the blank data includes a device stain content; and the formed component information includes a total content of a formed component and a device stain, and the preset condition is specifically:
所述有形成分和设备污点的总含量与所述设备污点含量的差值大于预 设值。  The difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
4、根据权利要求 1所述的方法, 其特征在于, 所述扫描待测液体之前 还包括:  4. The method according to claim 1, wherein the scanning the liquid to be tested further comprises:
扫描有形成分含量已知的液体以得到第一图像, 并获取所述第一图像 的第一图像数据, 所述第一图像数据包括固体颗粒含量;  Scanning a liquid having a known component content to obtain a first image, and acquiring first image data of the first image, the first image data including a solid particle content;
将所述固体颗粒含量减去所述已知液体的有形成分含量, 计算得出设 备污点含量;  Calculating the stain content of the device by subtracting the content of the solid particles from the content of the known liquid;
则, 所述有形成分信息包括待测液体有形成分和设备污点的总含量, 所述预设条件具体为:  Then, the formed component information includes a total content of the liquid to be formed and the stain of the device, and the preset condition is specifically:
所述待测液体有形成分和设备污点的总含量与所述设备污点含量的差 值大于预设值。  The difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
5、根据权利要求 1所述的方法, 其特征在于, 所述扫描待测液体以得 到第一目标图像, 具体为:  The method according to claim 1, wherein the scanning the liquid to be tested to obtain the first target image is specifically:
按照第一预设扫描参数扫描待测液体以得到第一目标图像, 所述第一 行设置的, 所述扫描参数包括扫描视域量、 扫描路程和扫描路线。 Scanning the liquid to be tested according to the first preset scanning parameter to obtain a first target image, the first Set in the row, the scan parameters include a scan view amount, a scan path, and a scan route.
6、根据权利要求 1所述的方法, 其特征在于, 当确定所述液体为阳性 液体时, 所述方法还包括:  The method according to claim 1, wherein when the liquid is determined to be a positive liquid, the method further comprises:
按照第二预设扫描参数继续扫描所述待测液体以得到第二目标图像; 获取所述第二目标图像的目标信息, 所述目标信息包括有形成分含量 和位置信息;  And continuing to scan the liquid to be tested according to the second preset scanning parameter to obtain a second target image; acquiring target information of the second target image, where the target information includes a formed content and position information;
根据所述目标信息利用机器视觉识别法对所述有形成分进行形态学检 测。  Morphological detection of the formed component is performed by machine vision recognition based on the target information.
7、根据权利要求 1所述的方法, 其特征在于, 所述扫描待测液体之前 还包括:  The method according to claim 1, wherein the scanning the liquid to be tested further comprises:
检测待测液体容量是否达到预设扫描容量, 若是, 再执行所述扫描待 测液体的步骤。  Detecting whether the volume of the liquid to be tested reaches a preset scanning capacity, and if so, performing the step of scanning the liquid to be tested.
8、 一种液体性质检测系统, 其特征在于, 包括:  8. A liquid property detecting system, comprising:
扫描待测液体以得到第一目标图像的图像扫描设备;  An image scanning device that scans the liquid to be tested to obtain a first target image;
与所述图像扫描设备相连的服务器, 所述服务器接收图像扫描设备传 输的第一目标图像, 并获取所述第一目标图像的有形成分信息, 判断所述 有形成分信息是否满足预设条件, 若是, 则确定所述液体为阳性液体, 若 否, 则确定所述液体为阴性液体。  a server connected to the image scanning device, the server receiving a first target image transmitted by the image scanning device, and acquiring formed information of the first target image, determining whether the formed component information meets a preset condition If yes, it is determined that the liquid is a positive liquid, and if not, the liquid is determined to be a negative liquid.
9、根据权利要求 8所述的系统, 其特征在于, 所述服务器包括与图像 扫描设备相连的接口, 所述接口用于接收图像扫描设备传输的目标图像; 与所述接口相连的, 存储第一目标图像的存储器;  The system according to claim 8, wherein the server comprises an interface connected to the image scanning device, the interface is configured to receive a target image transmitted by the image scanning device; and connected to the interface, storing a memory of a target image;
与所述存储器相连的处理器, 所述处理器用于根据所述第一目标图像 获取有形成分信息, 并判断所述有形成分信息是否满足预设条件, 若是, 则确定所述液体为阳性液体, 若否, 则确定所述液体为阴性液体。  a processor connected to the memory, the processor is configured to acquire the formed part information according to the first target image, and determine whether the formed part information meets a preset condition, and if yes, determine that the liquid is positive Liquid, if not, determines that the liquid is a negative liquid.
10、 根据权利要求 9所述的系统, 其特征在于, 所述处理器包括: 第一获取单元, 用于获取第一目标图像的有形成分信息;  The system according to claim 9, wherein the processor comprises: a first acquiring unit, configured to acquire formed information of the first target image;
第一判断单元, 用于判断所述有形成分信息是否满足预设条件; 确定单元, 当所述第一判断单元判断结果为是时, 确定所述待测液体 为阳性液体, 当所述第一判断单元判断结果为否时, 确定所述待测液体为 阴性液体。 a first determining unit, configured to determine whether the formed component information meets a preset condition; and determining, when the first determining unit determines that the result is YES, determining that the liquid to be tested is a positive liquid, when the first When the judgment unit determines that the result is negative, it is determined that the liquid to be tested is Negative liquid.
11、根据权利要求 8~10任一项所述的系统, 其特征在于, 所述有形成 分信息包括有形成分含量, 则所述预设条件为所述有形成分含量大于预设 值。  The system according to any one of claims 8 to 10, wherein the formed component information includes a component content, and the predetermined condition is that the component content is greater than a preset value.
12、 根据权利要求 10所述的系统, 其特征在于, 所述处理器还包括: 第二获取单元, 用于获取空白图像的空白数据, 所述空白图像是所述 图像扫描设备进行空白扫描得到的, 所述空白数据包括设备污点含量; 贝1 h所述有形成分信息 =有形成分和设备污点的总含量,所述预设条件 具体为: The system according to claim 10, wherein the processor further comprises: a second acquiring unit, configured to acquire blank data of a blank image, where the blank image is blank scan of the image scanning device The blank data includes the device stain content; the total amount of the formed sub-information = the formed component and the device stain as described in the shell 1 h, the preset condition is specifically:
所述有形成分和设备污点的总含量与所述设备污点含量的差值大于预 设值。  The difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
13、 根据权利要求 10所述的系统, 其特征在于, 所述处理器还包括: 第三获取单元, 获取第一图像的第一图像数据, 所述第一图像数据包 括固体颗粒含量, 所述第一图像是所述图像扫描设备扫描有形成分含量已 知的液体得到的;  The system according to claim 10, wherein the processor further comprises: a third acquiring unit, acquiring first image data of the first image, the first image data comprising a solid particle content, The first image is obtained by the image scanning device scanning a liquid having a known component content;
计算单元, 用于将所述固体颗粒含量减去所述已知液体的有形成分含 量, 计算得出设备污点含量;  a calculating unit, configured to subtract the formed content of the known liquid from the solid particle content, and calculate a stain content of the device;
则, 所述有形成分信息包括待测液体有形成分和设备污点的总含量, 所述预设条件具体为:  Then, the formed component information includes a total content of the liquid to be formed and the stain of the device, and the preset condition is specifically:
所述有形成分和设备污点的总含量与所述设备污点含量的差值大于预 设值。  The difference between the total content of the formed component and the stain of the device and the stain content of the device is greater than a preset value.
14、根据权利要求 8或 10所述的系统, 其特征在于, 所述图像扫描设 备具体是按照第一预设扫描参数扫描所述待测液体, 所述第一预设扫描参 数是根据按照待测液体的检测灵敏度所确定的待扫描液体的容量进行设置 的, 所述扫描参数包括扫描视域量、 扫描路程和扫描路线。  The system according to claim 8 or 10, wherein the image scanning device scans the liquid to be tested according to a first preset scanning parameter, and the first preset scanning parameter is based on The capacity of the liquid to be scanned determined by the detection sensitivity of the liquid is set, and the scanning parameters include a scanning field of view, a scanning path, and a scanning route.
15、根据权利要求 14所述的系统,其特征在于,则所述处理器还包括: 第四获取单元, 用于获取第二目标图像的目标信息, 所述目标信息包 括有形成分含量和位置信息, 所述第二目标图像是所述图像扫描设备按照 第二预设扫描参数继续扫描所述待测液体得到的;  The system according to claim 14, wherein the processor further comprises: a fourth acquiring unit, configured to acquire target information of the second target image, wherein the target information includes a formed content and a position Information, the second target image is obtained by the image scanning device continuing to scan the liquid to be tested according to the second preset scanning parameter;
检测单元, 用于根据所述目标信息利用机器视觉识别法对所述有形成 分进行形态学检测。 a detecting unit, configured to form the image by using a machine vision recognition method according to the target information Morphological examination was performed.
16、 根据权利要求 10所述的系统, 其特征在于, 所述处理器还包括: 容量判断单元,用于判断待测液体容量是否达到预设扫描容量,若是, 则启动所述图像扫描设备。  The system according to claim 10, wherein the processor further comprises: a capacity determining unit, configured to determine whether the volume of the liquid to be tested reaches a preset scanning capacity, and if so, activate the image scanning device.
PCT/CN2011/080222 2011-08-22 2011-09-27 Liquid-property detection method and system WO2013026222A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201110241449 CN102323281B (en) 2011-08-22 2011-08-22 Liquid property detection method and system
CN201110241449.3 2011-08-22

Publications (1)

Publication Number Publication Date
WO2013026222A1 true WO2013026222A1 (en) 2013-02-28

Family

ID=45451066

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/080222 WO2013026222A1 (en) 2011-08-22 2011-09-27 Liquid-property detection method and system

Country Status (2)

Country Link
CN (1) CN102323281B (en)
WO (1) WO2013026222A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117214125A (en) * 2023-11-09 2023-12-12 南京盛略科技有限公司 Liquid component detection system and method based on detection optical fiber

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662048B (en) * 2012-05-21 2014-07-16 爱威科技股份有限公司 Method and device for analyzing urine
CN105654107B (en) * 2015-09-21 2020-01-17 迪瑞医疗科技股份有限公司 Visible component classification method based on SVM
CN108474786B (en) * 2015-12-28 2021-05-18 东洋纺株式会社 Analysis device, analysis method, and analysis system
CN108710852B (en) * 2018-05-21 2021-08-03 山东大学 Particle size distribution image recognition method and system for limiting shooting depth
CN111198182A (en) * 2018-11-20 2020-05-26 苏州迈瑞科技有限公司 Dry chemical detection method and device
CN114373349B (en) * 2020-12-15 2023-02-28 西安赛德欧医疗研究院有限公司 Whole abdominal cavity viscera operation training system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437025A (en) * 2002-02-08 2003-08-20 丁建文 Intelligent microimage analyzer
US20040232239A1 (en) * 2003-05-22 2004-11-25 Veutron Corporation Method of automatically detecting a test result of a probe zone of a test strip
CN1563988A (en) * 2004-04-10 2005-01-12 重庆天海医疗设备有限公司 Urine grain stillage analysis integrated concentration and detecting analysis
CN1727902A (en) * 2003-09-04 2006-02-01 合肥新月电子技术有限责任公司 Full-automatic urine analysis system
US20100086956A1 (en) * 2008-10-06 2010-04-08 Morehouse School Of Medicine Detection of hiv-related proteins in urine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3395627B2 (en) * 1998-02-06 2003-04-14 株式会社日立製作所 Classification method of particle image of living body

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437025A (en) * 2002-02-08 2003-08-20 丁建文 Intelligent microimage analyzer
US20040232239A1 (en) * 2003-05-22 2004-11-25 Veutron Corporation Method of automatically detecting a test result of a probe zone of a test strip
CN1727902A (en) * 2003-09-04 2006-02-01 合肥新月电子技术有限责任公司 Full-automatic urine analysis system
CN1563988A (en) * 2004-04-10 2005-01-12 重庆天海医疗设备有限公司 Urine grain stillage analysis integrated concentration and detecting analysis
US20100086956A1 (en) * 2008-10-06 2010-04-08 Morehouse School Of Medicine Detection of hiv-related proteins in urine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117214125A (en) * 2023-11-09 2023-12-12 南京盛略科技有限公司 Liquid component detection system and method based on detection optical fiber
CN117214125B (en) * 2023-11-09 2024-01-26 南京盛略科技有限公司 Liquid component detection system and method based on detection optical fiber

Also Published As

Publication number Publication date
CN102323281B (en) 2013-09-18
CN102323281A (en) 2012-01-18

Similar Documents

Publication Publication Date Title
US11499908B2 (en) Urine analysis system, image capturing apparatus, urine analysis method
WO2013026222A1 (en) Liquid-property detection method and system
CA2771219C (en) Methods and apparatus for ascertaining interferents and physical dimensions in liquid samples and containers to be analyzed by a clinical analyzer
US7968832B2 (en) Analyzer and use thereof
US9915675B2 (en) Methods and apparatus for determining aspiration and/or dispensing volume and/or pipette positioning
US9002096B2 (en) Method and apparatus for determining a liquid level in a container using imaging
US20010016061A1 (en) Method for analyzing circuit pattern defects and a system thereof
KR101904037B1 (en) Urine testing kit and device
JP2001165752A (en) Instrument and method for measuring serum quantity
JP5078920B2 (en) Liquid level detection apparatus and method
JP2012008077A (en) Automatic analyzer
JP6791170B2 (en) Analytical instruments, analytical methods, and analytical systems
US9754383B1 (en) Automated methods for assessment of celiac disease
JPWO2008059934A1 (en) Aggregation judgment method
JPH04295764A (en) Automatic chemical analyzer
WO2012126346A1 (en) Method for rapidly determining dna content in cell nucleus
JP2007205763A (en) Autoanalyzer, carry-over checking method, carry-over checking program, and carry-over checking kit
JP7330785B2 (en) automatic analyzer
JP2018036187A (en) Test kit for specimen inspection device and method of calibrating specimen inspection device
JP6491922B2 (en) Automatic analyzer
CN111337696B (en) In-vitro diagnosis equipment and sample analysis method thereof
JP2592837B2 (en) Automatic chemical analyzer
CN105353112A (en) Urine formed element candidate reference measuring method based on quantitative counting method principle
WO2021220652A1 (en) Particle size distribution measurement device, particle analysis unit, program for particle size distribution measurement device, and bubble removal method
JP2011013142A (en) Automatic analyzer

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11871283

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11871283

Country of ref document: EP

Kind code of ref document: A1