Conv-TabNet: an efficient adaptive color correction network for smartphone-based urine component analysis

J Opt Soc Am A Opt Image Sci Vis. 2023 Sep 1;40(9):1724-1732. doi: 10.1364/JOSAA.491776.

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±1.8, and the CIEDE2000 color difference is 1.5±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.