Advertisement

Lévy Flight-Driven Simulated Annealing for B-spline Curve Fitting

  • Carlos Loucera
  • Andrés IglesiasEmail author
  • Akemi Gálvez
Chapter
Part of the Studies in Computational Intelligence book series (SCI, volume 744)

Abstract

Point cloud approximation by spline models, also called curve and surface reconstruction, is an active research field in computer-aided design and manufacturing (CAD/CAM). Due to the physical and mechanical processes used to obtain the data, the measurements are often affected by noise and other distortions. Obtaining a suitable spline model to reconstruct the underlying shape of the data while maintaining a low design complexity leads to a multivariate and highly non-linear optimization problem, also known to be non-convex and multi-modal. In this work, we propose a method to fit a given point cloud by means of a B-spline curve model. Our approach to solve the optimization problem is based on a powerful thermodynamics-driven metaheuristic known as the Simulated Annealing. We compute the model parameters by combining traditional SA techniques with Lévy flights (random walks based on the Lévy distribution). The ability to perform such a flight allows the algorithm to escape from local minima and energy plateaus, a strong requirement when dealing with highly multi-modal problems. The performance and robustness of our algorithm is tested against three illustrative examples. Our experimental results show that our method is able to reconstruct the underlying shape of the data, even in the presence of noise, with acceptable accuracy and in a completely automated way.

Keywords

Data fitting Curve reconstruction Reverse engineering CAD/CAM B-spline functions Metaheuristic techniques Simulated annealing Lévy flights 

Notes

Acknowledgements

This research has been kindly supported by the Computer Science National Program of the Spanish Ministry of Economy and Competitiveness, Project Ref. #TIN2012-30768, Toho University (Funabashi, Japan), and the University of Cantabria (Santander, Spain). The authors are particularly grateful to the Department of Information Science of Toho University for all the facilities given to carry out this work. We also thank the anonymous reviewers who helped us to improve the chapter with their constructive comments and suggestions. A special recognition is also owe to our editor, Prof. Xin-She Yang, for his kind assistance and encouraging support during the process of writing this chapter.

References

  1. 1.
    Farin, G.: Curves and Surfaces for CAGD, 5th edn. Morgan Kaufmann, San Francisco, CA, USA (2002)Google Scholar
  2. 2.
    Varady, T., Martin, R.R., Cox, J.: Reverse engineering of geometric models—an introduction. Comput. Aided Des. 29(4), 255–268 (1997)Google Scholar
  3. 3.
    Jupp, D.L.B.: Approximation to data by splines with free knots. SIAM J. Numer. Anal. 15, 328–343 (1978)Google Scholar
  4. 4.
    Kennedy, J., Eberhart, R.C., Shi, Y.: Swarm Intelligence. Morgan Kaufmann Publishers, San Francisco (2001)Google Scholar
  5. 5.
    Engelbretch, A.P.: Fundamentals of Computational Swarm Intelligence. Wiley, Chichester, England (2005)Google Scholar
  6. 6.
    Yang, X.S.: Nature-Inspired Metaheuristic Algorithms, 2nd edn. Luniver Press, Frome, UK (2010)Google Scholar
  7. 7.
    Yang, X.S.: Engineering Optimization: An Introduction with Metaheuristic Applications. Wiley, NJ (2010)Google Scholar
  8. 8.
    Gálvez, A., Iglesias, A., Cobo, A., Puig-Pey, J., Espinola, J.: Bézier curve and surface fitting of 3D point clouds through genetic algorithms, functional networks and least-squares approximation. Lect. Notes Comput. Sci. 4706, 680–693 (2007)Google Scholar
  9. 9.
    Gálvez, A., Iglesias, A.: Firefly algorithm for polynomial Bézier surface parameterization. J. Appl. Math. Article ID 237984, 9 pages (2013)Google Scholar
  10. 10.
    Zhao, L., Jiang, J., Song, C., Bao, L., Gao, J.: Parameter optimization for Bézier curve fitting based on genetic algorithm. In: Advances Swarm Intelligence, pp. 451–458 (2013)Google Scholar
  11. 11.
    Gálvez, A., Iglesias, A.: Cuckoo search with Lévy flights for weighted Bayesian energy functional optimization in global–support curve data fitting. Sci. World J. 11 pages, Article ID 138760 (2014)Google Scholar
  12. 12.
    Loucera, C., Gálvez, A., Iglesias, A.: Simulated annealing algorithm for Bezier curve approximation. In: Proceedings of Cyberworlds. pp. 182–189, IEEE Computer Society Press, Los Alamitos, CA (2014)Google Scholar
  13. 13.
    Iglesias, A., Gálvez, A., Collantes, M.: Global–support rational curve method for data approximation with bat algorithm. In: Proceedings of International Conference Artificial Intelligence and Applications, AIAI’2015, Bayonne (France). IFIP Advances in Information and Communication Technology, vol. 458, pp. 191–205 (2015)Google Scholar
  14. 14.
    Iglesias, A., Gálvez, A.: Memetic firefly algorithm for data fitting with rational curves. In: Congress Evolutionary Computation–CEC’2015, Sendai (Japan). pp. 507–514, IEEE CS Press, CA (2015)Google Scholar
  15. 15.
    Iglesias, A., Gálvez, A., Avila, A.: Hybridizing mesh adaptive search algorithm and artificial immune systems for discrete rational Bzier curve approximation. Vis. Comput. 32(3), 393–402 (2016)Google Scholar
  16. 16.
    Iglesias, A., Gálvez, A., Collantes, M.: Four adaptive memetic bat algorithm schemes for Bézier curve parameterization. Trans. Comput. Sci. 28, 127–145 (2016)Google Scholar
  17. 17.
    Yoshimoto, F., Moriyama, M., Harada, T.: Automatic knot adjustment by a genetic algorithm for data fitting with a spline. In: Proceedings of Shape Modeling International’99, IEEE Computer Society Press, 162–169 (1999)Google Scholar
  18. 18.
    Yoshimoto, F., Harada, T., Yoshimoto, Y.: Data fitting with a spline using a real-coded algorithm. Comput. Aided Des. 35, 751–760 (2003)Google Scholar
  19. 19.
    Park, H.: An error-bounded approximate method for representing planar curves in B-splines. Comput. Aided Geom. Des. 21, 479–497 (2004)Google Scholar
  20. 20.
    Park, H., Lee, J.H.: B-spline curve fitting based on adaptive curve refinement using dominant points. Comput. Aided Des. 39, 439–451 (2007)Google Scholar
  21. 21.
    Ulker, E., Arslan, A.: Automatic knot adjustment using an artificial immune system for B-spline curve approximation. Inf. Sci. 179, 1483–1494 (2009)Google Scholar
  22. 22.
    Gálvez, A., Iglesias, A.: Efficient particle swarm optimization approach for data fitting with free knot B-splines. Comput. Aided Des. 43(12), 1683–1692 (2011)Google Scholar
  23. 23.
    Gálvez, A., Iglesias, A., Puig-Pey, J.: Iterative two-step genetic-algorithm method for efficient polynomial B-spline surface reconstruction. Inf. Sci. 182(1), 56–76 (2012)Google Scholar
  24. 24.
    Gálvez, A., Iglesias, A.: Particle swarm optimization for non-uniform rational B-spline surface reconstruction from clouds of 3D data points. Inf. Sci. 192(1), 174–192 (2012)Google Scholar
  25. 25.
    Gálvez, A., Iglesias, A.: A new iterative mutually-coupled hybrid GA-PSO approach for curve fitting in manufacturing. Appl. Soft Comput. 13(3), 1491–1504 (2013)Google Scholar
  26. 26.
    Ulker, E.: B-Spline curve approximation using Pareto envelope-based selection algorithm-PESA. Intl. J. Comput. Commun. Eng. 2(1), 60–63 (2013)Google Scholar
  27. 27.
    Gálvez, A., Iglesias, A.: Firefly algorithm for explicit B-Spline curve fitting to data points. Math. Prob. Eng. Article ID 528215, 12 pages (2013)Google Scholar
  28. 28.
    Gálvez, A., Iglesias, A., Avila, A., Otero, C., Arias, R., Manchado, C.: Elitist clonal selection algorithm for optimal choice of free knots in B-spline data fitting. Appl. Soft Comput. 26, 90–106 (2015)Google Scholar
  29. 29.
    Gálvez, A., Iglesias, A.: Elitist clonal selection algorithm for optimal choice of free knots in B-spline data fitting. Particle-based meta-model for continuous breakpoint optimization in smooth local-support curve fitting. Appl. Math. Comput. 275, 195–212 (2016)Google Scholar
  30. 30.
    Gálvez, A., Iglesias, A.: New memetic self-adaptive firefly algorithm for continuous optimization. Intl. J. Bio-Inspired Comput. 8(5), 300–317 (2016)Google Scholar
  31. 31.
    Iglesias, A., Gálvez, A.: Nature-Inspired Swarm Intelligence for Data Fitting in Reverse Engineering: Recent Advances and Future Trends. In: Yang, X.S. (ed.) Nature-Inspired Computation in Engineering. Studies in Computational Intelligence, Vol. 637, pp. 151–175 (2016)Google Scholar
  32. 32.
    Powell, M.J.D.: A direct search optimization method that models the objective and constraint functions by linear interpolation. In: Gómez, S., Hennart, J.P. (eds.) Advances in Optimization and Numerical Analysis, pp. 51–67. Springer, Netherlands (1994)Google Scholar
  33. 33.
    Piegl, L., Tiller, W.: The NURBS Book. Springer, Berlin Heidelberg (1997)Google Scholar
  34. 34.
    de Boor, C.A.: Practical Guide to Splines. Springer (2001)Google Scholar
  35. 35.
    Laurent-Gengoux, P., Mekhilef, M.: Optimization of a NURBS representation. Comput. Aided Des. 25(11), 699–710 (1993)Google Scholar
  36. 36.
    Kirkpatrick, S., Gelatt, C.D., Vecchi, M.P.: Optimization by simulated annealing. Science 220(4598), 671–680 (1983)Google Scholar
  37. 37.
    Dowsland, K.A., Thompson, J.M.: Simulated annealing. In: Rozenberg, G., Bäck, T., Kok, J.N. (eds.) Handbook of Natural Computing, pp. 1623–1655. Springer, Berlin, Heidelberg (2012)Google Scholar
  38. 38.
    Yang, X.S., Deb, S.: Cuckoo search via Lévy flights. In: Proceedings World Congress on Nature & Biologically Inspired Computing (NaBIC). pp. 210–214, IEEE (2009)Google Scholar
  39. 39.
    Iglesias, A., Gálvez, A.: Cuckoo search with Lévy flights for reconstruction of outline curves of computer fonts with rational Bézier curves. In: Congress Evolutionary Computation–CEC’2016, Vancouver (Canada). pp. 2247–2254, IEEE CS Press, CA (2016)Google Scholar
  40. 40.
    Jensi, R.: Jiji, G W.: An enhanced particle swarm optimization with Lévy flight for global optimization. Appl. Soft Comput. 43, 248–261 (2016)Google Scholar
  41. 41.
    Yang, X.S..: Flower pollination algorithm for global optimization. In: Proc. Int. Conf. on Unconventional Computing and Natural Computation. Springer, pp. 240–249 (2012)Google Scholar
  42. 42.
    Iglesias, A., Gálvez, A., Loucera, C.: Two simulated annealing optimization schemas for rational Bézier curve fitting in the presence of noise. Math. Prob. Eng. 13 pages, Article ID 351648 (2014)Google Scholar
  43. 43.
    Vanderbilt, D., Louie, S.G.: A Monte Carlo simulated annealing approach to optimization over continuous variables. J. Comput. Phys. 56(2), 259–271 (1984)Google Scholar
  44. 44.
    Bohachevsky, I.O., Johnson, M.E., Stein, M.L.: Generalized simulated annealing for function optimization. Technometrics 28(3), 209–217 (1986)Google Scholar
  45. 45.
    Szu, H., Hartley, R.: Fast simulated annealing. Phys Lett. A 122(3), 157–162 (1987)Google Scholar
  46. 46.
    Ingber, L.: Adaptive simulated annealing (ASA): lessons learned. Control cybern. 25, 33–54 (1996)Google Scholar
  47. 47.
    Johnson, D.S., Aragon, C.R., McGeoch, L.A., Schevon, C.: Optimization by simulated annealing: An experimental evaluation; part I, graph partitioning. Oper. Res. 37(6), 865–892 (1989)Google Scholar
  48. 48.
    Johnson, D.S., Aragon, C.R., McGeoch, L.A., Schevon, C.: Optimization by simulated annealing: An experimental evaluation; part II, graph coloring and number partitioning. Oper. Res. 39(3), 378–406 (1991)Google Scholar
  49. 49.
    Locatelli, M.: Simulated annealing algorithms for continuous global optimization. In: Handbook of Global Optimization, pp. 179–229. Springer (2002)Google Scholar
  50. 50.
    Metropolis, N., Rosenbluth, A.W., Rosenbluth, M.N., Teller, A.H., Teller, E.: Equation of state calculations by fast computing machines. J. Chem. Phys. 21(6), 1087 (1953)Google Scholar
  51. 51.
    Mantegna, R.N.: Fast, accurate algorithm for numerical simulation of Lévy stable stochastic processes. Phys. Rev. E 49(5), 4677–4683 (1994)Google Scholar
  52. 52.
    Johnson, S.: The NLopt nonlinear-optimization package. http://ab-initio.mit.edu/nlopt
  53. 53.
    Loucera, C., Iglesias, A., Gálvez, A.: Simulated annealing and natural neighbor for rational Bézier surface reconstruction from scattered data points. In: International Conference on Harmony Search Algorithm, pp. 354–364. Springer (2017)Google Scholar
  54. 54.
    Loucera, C., Iglesias, A., Gálvez, A.: Memetic simulated annealing for data approximation with local-support curves. Procedia Comput. Sci. 1364–1373 (2017)Google Scholar

Copyright information

© Springer International Publishing AG 2018

Authors and Affiliations

  • Carlos Loucera
    • 1
  • Andrés Iglesias
    • 2
    • 3
    Email author
  • Akemi Gálvez
    • 2
    • 3
  1. 1.Department of Communications EngineeringUniversidad de CantabriaSantanderSpain
  2. 2.Faculty of Sciences, Department of Information ScienceToho UniversityFunabashiJapan
  3. 3.Department of Applied Mathematics and Computational SciencesUniversity of CantabriaSantanderSpain

Personalised recommendations