[go: up one dir, main page]

CN106970074A - The Urine test paper image-recognizing method of ability is corrected with color - Google Patents

The Urine test paper image-recognizing method of ability is corrected with color Download PDF

Info

Publication number
CN106970074A
CN106970074A CN201710155125.5A CN201710155125A CN106970074A CN 106970074 A CN106970074 A CN 106970074A CN 201710155125 A CN201710155125 A CN 201710155125A CN 106970074 A CN106970074 A CN 106970074A
Authority
CN
China
Prior art keywords
color
test paper
urine test
image
cloud platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710155125.5A
Other languages
Chinese (zh)
Inventor
李智
李建春
李健
华伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan University
Original Assignee
Sichuan University
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 Sichuan University filed Critical Sichuan University
Priority to CN201710155125.5A priority Critical patent/CN106970074A/en
Publication of CN106970074A publication Critical patent/CN106970074A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Plasma & Fusion (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analysing Biological Materials (AREA)

Abstract

本发明为一种具有色彩矫正能力的尿液试纸图像识别方法。使用该试纸尿检后,将尿检试纸和标准色卡一起生成矫正模型,通过手机拍照,自动采集试纸图像,上传至云平台,之后进行Harris角点检测标定图像,云平台进行色彩的还原,经过处理后将识别结果返回到手机。该识别方法首先获得试纸图像;接着根据图像中的颜色矫正色卡色彩数据及标准色卡数据生成颜色矫正模型,上传至云平台,之后进行Harris角点检测标定图像,对试纸图像进行亮度调整和色彩矫正,进行准确的色彩还原,最后,得到识别结果,返回给手机。该方法效率高操作简单,成本低,避免了环境光干扰和人眼识别准确率低的问题,同时可用于筛选早期慢性肾病患者,降低疾病风险。

The invention relates to a urine test paper image recognition method with color correction capability. After using the test paper for urine test, the urine test paper and the standard color card are used together to generate a correction model, and the image of the test paper is automatically collected through the mobile phone, uploaded to the cloud platform, and then the Harris corner point detection calibration image is performed, and the cloud platform restores the color, after processing After that, the recognition result will be returned to the mobile phone. This recognition method first obtains the test paper image; then generates a color correction model based on the color data of the color correction color card and the standard color card data in the image, uploads it to the cloud platform, and then performs Harris corner detection and calibration of the image, and adjusts the brightness of the test paper image. Color correction, accurate color restoration, and finally, the recognition result is obtained and returned to the mobile phone. The method has high efficiency, simple operation, low cost, avoids the problems of ambient light interference and low accuracy of human eye recognition, and can be used to screen patients with early chronic kidney disease and reduce the risk of disease.

Description

具有色彩矫正能力的尿液试纸图像识别方法Urine test paper image recognition method with color correction ability

技术领域technical field

本发明属于图像识别范畴,特别涉及一种具有色彩矫正能力的尿液试纸图像识别方法,用于医院对患者尿液检测,或患者自我进行尿液检测。The invention belongs to the category of image recognition, and in particular relates to a urine test paper image recognition method with color correction capability, which is used for urine detection of patients in hospitals, or urine detection by patients themselves.

背景技术Background technique

在在医学领域,许多疾病的诊断通常需要参考多种医疗参数进行疾病的诊断,利用试纸检测来获取医疗参数是比较广泛且容易操作的检测方法之一。而在众多检测中,尿液分析是很多疾病检测的重要评估分析手段,尿液的医疗参数在临床诊断中意义重大。目前,很多电子设备已进入医学领域,尿液分析仪也相继出现。尿液分析仪一般都有专用的试剂带,试剂带行包含若干个试剂块,等距分布在试纸上。试纸块上涂有专门用来检测对应项目的化学试剂,试剂块的数目决定了检测项目的多少。试剂块上涂有测量相应项目的化学物质,与尿液接触会发生颜色反应。根据试剂块的颜色变化程度,可以判断出尿液中相应物质的浓度并获得检测结果。In the medical field, the diagnosis of many diseases usually needs to refer to multiple medical parameters for disease diagnosis. Using test strips to detect medical parameters is one of the more extensive and easy-to-operate detection methods. Among many tests, urinalysis is an important evaluation and analysis method for many diseases, and the medical parameters of urine are of great significance in clinical diagnosis. At present, many electronic devices have entered the medical field, and urine analyzers have also appeared one after another. Urine analyzers generally have a dedicated reagent strip, and the reagent strip row contains several reagent blocks, which are equidistantly distributed on the test paper. The test paper blocks are coated with chemical reagents specially used to detect corresponding items, and the number of reagent blocks determines the number of test items. The reagent cubes are coated with chemicals that measure the corresponding item, and react in color when in contact with urine. According to the degree of color change of the reagent block, the concentration of the corresponding substance in the urine can be judged and the detection result can be obtained.

尿液分析在泌尿系统疾病诊断、疗效观察及预后、代谢系统疾病的诊断等方面被广泛应用。采用传统方法进行尿液检查,过程复杂且周期较长。虽然尿液分析仪可以快速准确的测量尿液的各项指标,但大多数尿液分析仪过于昂贵且检测范围有限,必须采用配套的试纸进行检测。而传统的人眼对比识别的方法效率低,并且容易受到工作人员主观因素的影响,为了解决这些问题,提出了一种具有色彩矫正能力的尿液试纸图像识别方法,在移动设备上就可进行尿常规检测,帮助用户在家进行尿液自检,采用了尿液干化学分析的方法,使用移动设备摄像头扫描试纸及矫正色卡即可得到试纸图像颜色值,解析指标浓度,具有成本低廉,检测快捷、使用方便等优点。Urinalysis is widely used in the diagnosis of urinary system diseases, curative effect observation and prognosis, and diagnosis of metabolic system diseases. Using traditional methods for urine testing is complicated and takes a long time. Although urine analyzers can quickly and accurately measure various indicators of urine, most urine analyzers are too expensive and have a limited detection range, so matching test strips must be used for detection. However, the traditional human eye contrast recognition method is inefficient and is easily affected by the subjective factors of the staff. In order to solve these problems, a urine test strip image recognition method with color correction capability is proposed, which can be performed on mobile devices. Routine urine testing helps users to perform urine self-test at home, adopts the method of urine dry chemical analysis, uses the mobile device camera to scan the test paper and correct the color card to get the color value of the test paper image, analyze the index concentration, and has low cost, detection Fast, easy to use and other advantages.

发明内容Contents of the invention

本发明在于提供一种具有色彩矫正能力的尿液试纸图像识别方法,成本低廉,简单直观,缩短了检测时间,具有较高的准确率。The invention aims to provide a urine test paper image recognition method with color correction capability, which is low in cost, simple and intuitive, shortens the detection time and has high accuracy.

本发明在于提供一种具有色彩矫正能力的尿液试纸图像识别方法,包括以下步骤:The present invention is to provide a kind of urine test paper image recognition method with color correction capability, comprising the following steps:

步骤1、获取尿检试纸图像;Step 1, obtaining the image of the urine test strip;

步骤2、将尿液试纸及标准色卡数据生成颜色矫正模型,上传至云平台;Step 2. Generate a color correction model from the urine test strip and standard color card data, and upload it to the cloud platform;

步骤3、云平台Harris角点检测标定图像,云平台进行色彩还原;Step 3, the cloud platform Harris corner detection calibration image, the cloud platform for color restoration;

步骤4、云平台将识别结果发回手机。Step 4, the cloud platform sends the recognition result back to the mobile phone.

附图说明Description of drawings

图1是该尿检试纸的结构示意图。Fig. 1 is a structural schematic diagram of the urine test paper.

图2是尿液试纸及标准色卡数据生成的颜色矫正模型。Figure 2 is a color correction model generated from urine test paper and standard color card data.

图3是尿液试纸色彩矫正能力操作流程图。Fig. 3 is a flowchart of the operation of the urine test paper color correction capability.

具体实施方式detailed description

下面结合附图对本发明所给出基于色彩矫正模式的尿液试纸图像识别方法进行详细说明。The urine test paper image recognition method based on the color correction mode provided by the present invention will be described in detail below in conjunction with the accompanying drawings.

步骤1:结合图1进行详细说明,图1为该尿检试纸结构示意图,包括两部分:涂抹有特定检测试剂的检测区域数字2、3 、4 ,检测试纸的手柄部分数字1区域,病人获得本人的尿液的样本,右手拿住检测的手柄的部分,将涂抹有特定检测试剂的检测区域滴入尿液,待反应完全后,获得待检测尿液试纸样本。Step 1: Describe in detail in conjunction with Figure 1. Figure 1 is a schematic diagram of the structure of the urine test paper, which includes two parts: the detection area numbers 2, 3, and 4 coated with specific detection reagents, and the number 1 area of the handle part of the test paper. For the urine sample, hold the part of the detection handle with the right hand, drop the detection area coated with the specific detection reagent into the urine, and obtain the urine test paper sample to be tested after the reaction is complete.

步骤2:结合图2进行详细说明,图2为矫正模型,共有两部分组成,该模型分为上下两部分,上一部分是待检测尿液试纸样本图1,下一部分是标准色卡,标准色卡有5个色彩标准区域块(区域数字 6 、7 、8 、9、 10)。Step 2: Describe in detail in conjunction with Figure 2. Figure 2 is the correction model, which consists of two parts. The model is divided into upper and lower parts. The card has 5 color standard area blocks (area numbers 6, 7, 8, 9, 10).

步骤3:用手机拍摄该模型,将拍摄的图像上传至云平台,由云平台进行Harris角点检测,所述Harris角点检测标定图像用于消除拍摄过程中的抖动对图像采集结果的影响,Harris处理图像之后,依据标准色卡,对待检测试纸,进行准确的色彩还原。Step 3: Take a picture of the model with a mobile phone, upload the captured image to the cloud platform, and perform Harris corner detection on the cloud platform. The Harris corner detection calibration image is used to eliminate the influence of shaking during the shooting process on the image acquisition results. After Harris processes the image, it performs accurate color reproduction on the test paper to be tested according to the standard color card.

步骤4:将色彩还原之后的图像,以jpg格式存储,重新发回手机客户端,用于患者查看结果。Step 4: Store the image after color restoration in jpg format, and send it back to the mobile client for patients to view the results.

Claims (2)

1.一种具有色彩矫正能力的尿液试纸图像识别方法,其特征在于,包括以下步骤:步骤1、获取尿检试纸图像;步骤2、将尿液试纸及标准色卡数据生成颜色矫正模型,上传至云平台;步骤3、Harris角点检测标定图像;步骤4、云平台获取到矫正模型之后,以标准色卡为对照色彩模型,对病人提供的尿液试纸图像进行亮度调整和色彩矫正,然后云平台根据色彩还原结果,判定,病人提供的尿液试纸图像有哪些尿液检查项目超标。1. a urine test paper image recognition method with color correction capability, is characterized in that, comprises the following steps: step 1, obtains urine test paper image; Step 2, generates color correction model with urine test paper and standard color card data, uploads To the cloud platform; step 3, Harris corner detection and calibration image; step 4, after the cloud platform obtains the corrected model, use the standard color card as the contrast color model, adjust the brightness and color correction of the urine test paper image provided by the patient, and then Based on the color restoration results, the cloud platform determines which urine test items in the urine test strip image provided by the patient exceed the standard. 2.根据权利要求1所述的一种具有色彩矫正能力的尿液试纸图像识别方法,其特征在于:将待检测病人的尿液试纸置于模型内部上方区域,将标准色卡置于模型内部下方区域,生成颜色矫正模型,上传至云平台,云平台采用Harris角点检测标定图像,之后,以标准色卡为对照色彩模型,对病人提供的尿液试纸图像进行亮度调整和色彩矫正,然后云平台根据色彩还原结果,判定,病人提供的尿液试纸图像有哪些尿液检查项目超标。2. A urine test paper image recognition method with color correction capability according to claim 1, characterized in that: the urine test paper of the patient to be detected is placed in the upper area of the model, and the standard color card is placed inside the model In the lower area, a color correction model is generated and uploaded to the cloud platform. The cloud platform uses Harris corner detection to calibrate the image. After that, the standard color card is used as a comparison color model to adjust the brightness and color correction of the urine test strip image provided by the patient, and then Based on the color restoration results, the cloud platform determines which urine test items in the urine test strip image provided by the patient exceed the standard.
CN201710155125.5A 2017-03-16 2017-03-16 The Urine test paper image-recognizing method of ability is corrected with color Pending CN106970074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710155125.5A CN106970074A (en) 2017-03-16 2017-03-16 The Urine test paper image-recognizing method of ability is corrected with color

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710155125.5A CN106970074A (en) 2017-03-16 2017-03-16 The Urine test paper image-recognizing method of ability is corrected with color

Publications (1)

Publication Number Publication Date
CN106970074A true CN106970074A (en) 2017-07-21

Family

ID=59328356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710155125.5A Pending CN106970074A (en) 2017-03-16 2017-03-16 The Urine test paper image-recognizing method of ability is corrected with color

Country Status (1)

Country Link
CN (1) CN106970074A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110887960A (en) * 2019-12-02 2020-03-17 电子科技大学 A system and method for quantitative detection of urine test strips based on machine vision
CN113870151A (en) * 2021-12-03 2021-12-31 武汉楚精灵医疗科技有限公司 Method and device for correcting endoscopic image
CN115019059A (en) * 2022-06-08 2022-09-06 四川大学 Image recognition method of secretion test paper based on color correction mode
CN115032157A (en) * 2022-06-08 2022-09-09 四川大学 Cloud platform-based identification method for mobile phone photography to detect secretions

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1319762A (en) * 2000-01-21 2001-10-31 和光纯药工业株式会社 Method for making multi-item tester and the tester
CN103414810A (en) * 2013-07-29 2013-11-27 王曙光 Method for detecting response image based on mobile terminal, mobile terminal and detection carrier
CN105973885A (en) * 2016-05-27 2016-09-28 宋秀龙 Color-discrimination-based rapid detection system and rapid dry chemistry detection method
CN106124748A (en) * 2016-07-27 2016-11-16 柳州康云互联科技有限公司 Routine urinalysis detection sensor for mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1319762A (en) * 2000-01-21 2001-10-31 和光纯药工业株式会社 Method for making multi-item tester and the tester
CN103414810A (en) * 2013-07-29 2013-11-27 王曙光 Method for detecting response image based on mobile terminal, mobile terminal and detection carrier
CN105973885A (en) * 2016-05-27 2016-09-28 宋秀龙 Color-discrimination-based rapid detection system and rapid dry chemistry detection method
CN106124748A (en) * 2016-07-27 2016-11-16 柳州康云互联科技有限公司 Routine urinalysis detection sensor for mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110887960A (en) * 2019-12-02 2020-03-17 电子科技大学 A system and method for quantitative detection of urine test strips based on machine vision
CN110887960B (en) * 2019-12-02 2021-11-02 电子科技大学 A system and method for quantitative detection of urine test strips based on machine vision
CN113870151A (en) * 2021-12-03 2021-12-31 武汉楚精灵医疗科技有限公司 Method and device for correcting endoscopic image
CN113870151B (en) * 2021-12-03 2022-02-18 武汉楚精灵医疗科技有限公司 Method, device and equipment for correcting endoscopic image and storage medium
CN115019059A (en) * 2022-06-08 2022-09-06 四川大学 Image recognition method of secretion test paper based on color correction mode
CN115032157A (en) * 2022-06-08 2022-09-09 四川大学 Cloud platform-based identification method for mobile phone photography to detect secretions

Similar Documents

Publication Publication Date Title
CN106991679A (en) One kind quantifies recognition methods based on cloud platform urine test paper physical signs
CN106546581B (en) Test paper detection card intelligent detection system and test paper detection card intelligent analysis method
CN105181912B (en) A method for detecting the freshness of rice during storage
CN104198695B (en) A kind of method for the interpretation of result that developed the color to colloidal gold strip
KR101624583B1 (en) Urine Examination Method and Related Devices
CN106970074A (en) The Urine test paper image-recognizing method of ability is corrected with color
US20230366881A1 (en) Image quantification system for estimation of viral load based on detection by rapid antigen test
WO2018194525A1 (en) Biochemical analyser based on a machine learning algorithm using test strips and a smartdevice
JP2019520548A (en) Method and device for measuring the level of an analyte in body fluid
CN204557507U (en) Real-time identification system for quick screening test paper
TWI853122B (en) Method of determining a concentration of an analyte in a bodily fluid
CN104931680A (en) Portable urine protein detection system and method based on mobile Internet
CN109124598A (en) Healthy all-in-one machine and its control method
JP2020507071A (en) Portable digital diagnostic device
TWM588797U (en) Detection system with identification label compensation function
Ghosh et al. A low-cost test for anemia using an artificial neural network
CN101311726A (en) Image detection method of detection disc
CN103197060B (en) Autonomous recognition, positioning and quantitative detecting system and detecting method for colloidal gold immunochromatographic boxes
TWI699703B (en) Detection system with recognition label compensation function
CN105004868B (en) A kind of multichannel thrombelastogram instrument and using method
CN109406506B (en) Shared self-testing health terminal and testing method
TWI746991B (en) Self-learning portable fast screening urine detection system
CN110887960A (en) A system and method for quantitative detection of urine test strips based on machine vision
TWM583942U (en) Portable fast-screening urine detection system with self-learning function
CN210810998U (en) Intelligent physical examination instrument

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170721