Abstract
The dual camera calibration measurement method can realize low-cost and high-precision bolt dimension measurement by using two microscope cameras. But the height difference between the thread crest and root exceeds the depth of field, and the thread image becomes defocus, which seriously affects the measurement accuracy. For this reason, a super-resolution method for defocus thread image based on cyclic generative adversarial networks is proposed. We collected focus thread images and defocus thread images as training data. Two encoders are used in the generation network to extract image defocus features and content features. And a sub-pixel convolution layer is added to the decoder to achieve image super-resolution. A loss function based on adversarial loss and cycle-consistent loss is constructed to realize unsupervised training of the network, thereby achieve super-resolution of defocus thread images. The experimental results show that, in the simulated defocus images, the method has superiority in image detail preservation, sharpness improvement and peak signal to noise ratio. In the bolt dimension measurement task, it can effectively reconstruct the clear thread image and thus provide the measurement accuracy to 0.01 mm.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Zhang, P.J.: Research on High-Precision Measurement Technology of Complex Workpiece Shape and Size Based on Machine Vision. University of Jinan (2019)
Lan, J.F.: Design and Implementation of a High-Precision Detection System for Piston Shape and Position Based on Machine Vision. University of Jinan (2021)
Yang, Y., Geng, Z., Wang, R., Li, J.: Defocusing and deblurring of traditional cameras with spatial variation. Electr. Opt. Contr. 22(9), 91–95 (2015)
Yang, Y.: Research on Image Restoration Algorithm. Sichuan University (2004)
Gonzalez, R.C., Wentz, P.: Digital Image Processing. Science Press (1981)
Xiaoping, H., Chen, G., Mao, Z., et al.: Research on wiener filter restoration of defocused images. J. Instrum. 28(3), 479–482 (2007)
Yan, H., Yan, W., Li, W.W.: Image restoration based on Lucy-Richardson algorithm. Comput. Eng. 36(15), 204–205 (2010)
Dong, C., Loy, C.C., He, K., Tang, X.: Learning a deep convolutional network for image super-resolution. In: Fleet, D., Pajdla, T., Schiele, B., Tuytelaars, T. (eds.) ECCV 2014. LNCS, vol. 8692, pp. 184–199. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-10593-2_13
Shi, W., Caballero, J., Huszár, F., et al.: Real-time single image and video super-resolution using an efficient sub-pixel convolutional neural network. In: IEEE Conference on Computer Vision and Pattern Recognition 2016, LNCS, pp. 1874–1883. IEEE, Las Vegas (2016)
Kim, J., Lee, J.K., Lee, K.M.: Accurate image super-resolution using very deep convolutional networks. In: IEEE Conference on Computer Vision and Pattern Recognition 2016, LNCS, pp. 1646–1654. IEEE, Las Vegas (2016)
Lai, W.S., Huang, J.B., Ahuja, N., et al.: Deep laplacian pyramid networks for fast and accurate super-resolution. In: IEEE Conference on Computer Vision and Pattern Recognition 2017, LNCS, pp. 5835–5843. IEEE, Hawaii (2017)
Kim, J., Lee, J.K., Lee, K.M.: Deeply-recursive convolutional network for image super-resolution. In: IEEE Conference on Computer Vision and Pattern Recognition 2016, LNCS, pp. 1637–1645. IEEE, Las Vegas (2016)
Haris, M., Shakhnarovich, G., Ukita, N.: Deep back-projection networks for super-resolution. In: IEEE Conference on Computer Vision and Pattern Recognition 2018, LNCS, pp. 1664–1673. IEEE, Salt Lake City (2018)
Zhang, Y., Tian, Y., Kong, Y., et al.: Residual dense network for image super-resolution. In: IEEE Conference on Computer Vision and Pattern Recognition 2018, LNCS, pp. 2472–2481. IEEE, Salt Lake City (2018)
Lim, B., Son, S., Kim, H., et al.: Enhanced deep residual networks for single image super-resolution. In: IEEE Conference on Computer Vision and Pattern Recognition 2017, LNCS, pp. 1132–1140. IEEE, Hawaii (2017)
Ledig, C., Theis, L., Huszar, F., et al.: Photo-realistic single image super-resolution using a generative adversarial network. In: IEEE Conference on Computer Vision and Pattern Recognition 2017, LNCS, pp. 105–114. IEEE, Hawaii (2017)
Wang, X., et al.: ESRGAN: enhanced super-resolution generative adversarial networks. In: Leal-Taixé, L., Roth, S. (eds.) ECCV 2018. LNCS, vol. 11133, pp. 63–79. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-11021-5_5
Zhang, K., Zuo, W., Zhang, L.: Learning a single convolutional super-resolution network for multiple degradations. In: IEEE Conference on Computer Vision and Pattern Recognition 2018, LNCS, pp. 3262–3271. IEEE, Salt Lake City (2018)
Bulat, A., Yang, J., Tzimiropoulos, G.: To learn image super-resolution, use a GAN to learn how to do image degradation first. In: Ferrari, V., Hebert, M., Sminchisescu, C., Weiss, Y. (eds.) ECCV 2018. LNCS, vol. 11210, pp. 187–202. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-01231-1_12
Shocher, A., Cohen, N., Irani, M.: Zero-shot super-resolution using deep internal learning. In: IEEE Conference on Computer Vision and Pattern Recognition 2018, LNCS, pp. 3118–3126. IEEE, Salt Lake City (2018)
Zhang, X., Chen, Q., Ren, N., et al.: Zoom to learn, learn to zoom. In: IEEE Conference on Computer Vision and Pattern Recognition 2019, LNCS, pp. 3757–3765. IEEE, Long Beach (2019)
Zhu, J.Y., Park, T., Isola, P., et al.: Unpaired image-to-image translation using cycle-consistent adversarial networks. In: IEEE International Conference on Computer Vision 2017, LNCS, pp. 2242–2251. IEEE, Venice (2017)
Gao, S.H., Cheng, M.M., Zhao, K., Zhang, X.Y., Yang, M.H., Torr, P.: Res2Net: a new multi-scale backbone architecture. IEEE Trans. Pattern Anal. Mach. Intell. 43(2), 652–662 (2021)
Johnson, J., Alahi, A., Fei-Fei, L.: Perceptual losses for real-time style transfer and super-resolution. In: Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) ECCV 2016. LNCS, vol. 9906, pp. 694–711. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46475-6_43
Funding
This research was supported by the Department of Science & Technology of Shandong Province (2017CXGC0810).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 IFIP International Federation for Information Processing
About this paper
Cite this paper
Jiang, P., Xu, W., Li, J. (2022). Super-Resolution of Defocus Thread Image Based on Cycle Generative Adversarial Networks. In: Shi, Z., Zucker, JD., An, B. (eds) Intelligent Information Processing XI. IIP 2022. IFIP Advances in Information and Communication Technology, vol 643. Springer, Cham. https://doi.org/10.1007/978-3-031-03948-5_37
Download citation
DOI: https://doi.org/10.1007/978-3-031-03948-5_37
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-03947-8
Online ISBN: 978-3-031-03948-5
eBook Packages: Computer ScienceComputer Science (R0)