• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2025, Vol. 47 ›› Issue (7): 1274-1284.

• Graphics and Images • Previous Articles     Next Articles

A high-precision contact angle measurement method based on improved LESRCNN superresolution model

ZHANG Maodi1,WANG Jun1,2,SUN Xiaohong1   

  1. (1.School of Electronics & Information Engineering,Suzhou University of Science and Technology,Suzhou 215009;
    2.State Key Laboratory of Applied Optics,Changchun Institute of Optics,
    Fine Mechanics and Physics,Chinese Academy of Sciences,Changchun 130033,China)
  • Received:2023-12-15 Revised:2024-07-16 Online:2025-07-25 Published:2025-08-25

Abstract: To address the current issues of low accuracy and stability in contact angle measurement,this paper proposes a contact angle measurement method based on an improved lightweight enhanced super-resolution network LESRCNN(lightweight enhanced  super-resolution CNN).The improved network replaces the original information extraction module with a feature extractor composed of ConvNeXt Blocks,which are enhanced by borrowing the Swin-T structure from ResNet50,to boost super-resolution performance.Additionally,an enhanced spatial attention (ESA) mechanism is introduced to improve the network's ability to capture fine-grained image details,and the Gaussian error linear unit (GELU) is adopted instead of the rectified linear unit (ReLU) as the activation function to accelerate convergence.Furthermore,to enhance the robustness of the fitting results,this paper employs the Huber function as the weighting function and utilizes an ellipse fitting method based on iteratively reweighted least squares (IRLS) to simultaneously fit the droplet contours from both left and right sides for contact angle calculation.Experimental results demonstrate that,at a scaling factor of 3,the improved network achieves a peak signal-to-noise ratio (PSNR) increase of 0.8 dB and a structural similarity index (SSIM) improvement of 0.0026 compared to the original network when trained on the same droplet dataset.For standard samples with contact angles below 90°,the accuracy and stability of measurements improved by 34.3% and 7.4%,respectively,while for samples with angles of 90° or above,the improvements were 18.2% and 29.4%,respectively.

Key words: contact angle measurement, super-resolution reconstruction, droplet contour fitting