Abstract
The camera function of a smartphone can be used to quantitatively detect urine parameters anytime, anywhere. However, the color captured by different cameras in different environments is different. A method for color correction is proposed for a urine test strip image collected using a smartphone. In this method, the color correction model is based on the color information of the urine test strip, as well as the ambient light and camera parameters. Conv-TabNet, which can focus on each feature parameter, was designed to correct the color of the color blocks of the urine test strip. The color correction experiment was carried out in eight light sources on four mobile phones. The experimental results show that the mean absolute error of the new method is as low as ${2.8}\;{{\pm}}\;{1.8}$, and the CIEDE2000 color difference is ${1.5}\;{{\pm}}\;{1.5}$. The corrected color is almost consistent with the standard color by visual evaluation. This method can provide a technology for the quantitative detection of urine test strips anytime and anywhere.
© 2023 Optica Publishing Group
Full Article | PDF ArticleCorrections
27 October 2023: A typographical correction was made to the author affiliations.
More Like This
Yang Zhang, Tao Liu, Zhen Shi, and Kaiyuan Dong
J. Opt. Soc. Am. A 40(12) 2287-2297 (2023)
Haoxue Liu, Min Huang, Guihua Cui, M. Ronnier Luo, and Manuel Melgosa
J. Opt. Soc. Am. A 30(4) 616-626 (2013)
Gabriele Simone, Marco Gaiani, Andrea Ballabeni, and Alessandro Rizzi
J. Opt. Soc. Am. A 38(5) 663-674 (2021)