| As the existence of promoting the advancement of laboratory medicine,medical laboratory equipment is constantly developing in the direction of high-grade,precision and advance,but part of them are gradually lacking the applicability of large-scale at the grass-roots level.The urinalysis,one of the “three routine tests”,faces the same problem.The urinalysis has an important position in the diagnosis of many diseases,especially kidney and urinary system diseases,and is also an important basis for prognostic observation.In order to ensure the completeness and accuracy of urinalysis,urine dry chemical analysis and urine sediment test are indispensable.However,the high cost of two types of equipment and the tedious operation are obviously not applicable to the requirements of the grassroots for the portability,low cost,and miniaturization of inspection equipment.Starting from this idea,the urine dry chemical analysis based on image processing and urine sediment detection based on lens-less-digital-holographic can effectively reduce the cost and the size of the device,and provide possibility of combination for two types of urinalysis equipment.Based on the portable urine dry chemical analysis device and lens-less-digital-holographic urine sediment detection platform developed by the laboratory,this paper proposes a portable,low-cost,and small-sized device called Urine Total Analysis System that can simultaneously perform urine dry chemical analysis and urine sediment detection.The design of the system mainly achieved from the application software level.The specific work includes the functional requirements,user requirements and other requirements of software proposed in detail based on the actual scenes and user types.The overall framework design carry out with a layered model;the data collection,image processing and analysis are achieved with Qt,Open CL,and Open CV;the interaction is designed to show the detected image results and calculation results with QSS;the storage and management of user data and test results are completed with database technology.In order to ensure the normal operation of the software functions,this article carried out detailed functional tests on the software sub-modules and debugging of the host computer application software and hardware devices.The debugging results display through the interface feedback.The overall test results are good.The software modules are functioning normally,and the online detection with the hardware is successfully completed.After preliminary experimental verification,the results show that the urine dry chemical analysis in system can be complete and provide semi-quantitative test results,and urine sediment detection can successfully extract the images of the formed components in urine.However,at the same time,it should also be pointed out that the improvement of the hardware design of the overall system,the optimization of the urine sediment extraction algorithm,the development of the automatic identification of sediment type and the more comprehensive patient sample experiments still need to be continued. |