Abstract
Today, advances in 3D modeling make it possible to identically reproduce objects, animals, humans and even entire scenes. The broad applications concern video games, virtual reality or augmented reality and cinema, for example. In this article, we propose a new method to build a 3D scene directly from several complementary photographs. The positions of the objects for which we already have a 3D model will be determined by triangulation, thanks to the information extracted from the photographs, such as the outline of the objects on the images. Each pixel of the images is converted into a value that gives its distance to the nearest outline. The 3D model of the objects is then projected on the converted images, and the triangulation is done using a cost function that gives the distance of each projection of the objects to their respective outlines. A projection is considered perfect when its distance to its outlines is null, which means that the cost function gives a score of zero as well. We propose to solve this optimization problem by means of two algorithms, namely Simulated Annealing (SA) and quantum particle swarm optimization (QUAPSO).
Similar content being viewed by others
Code availability
Custom code.
References
Peng, S., Liu, Y., Huang, Q., Zhou, X., Bao, H.: Pixel-wise voting network for 6dof pose estimation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4561–4570 (2019)
Wang, C., Xu, D., Zhu, Y., Martin-Martin, R., Lu, C., Fei-Fei, L., Savarese, S.: Densefusion: 6d object pose estimation by iterative dense fusion. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3343–3352 (2019)
Li, Y., Wang, G., Ji, X., Xiang, Y., Fox, D.: DeepIM: deep iterative matching for 6D pose estimation. In: Proceedings of the European Conference on Computer Vision and Pattern Recognition (ECCV), pp. 683–698 (2018)
Xiang, Y., Schmidt, T., Narayanan, V., Fox, D.: Posecnn: a convolutional neural network for 6d object pose estimation in cluttered scenes. In: Proceedings of Conference on Computer Vision and Pattern Recognition (2017)
Zakharov, S., Shugurov, I., Ilic S.: Dpod: 6D pose object detector and refiner. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1941–1950 (2019)
Li, C., Bai, J., Hager, G.D.: A unified framework for multi-view multi-class object pose estimation. In: Proceedings of the European Conference on Computer Vision and Pattern Recognition (ECCV), pp. 254–269 (2018)
Kimmel, R., Kiryati, N., Bruckstein, A.M.: Distance maps and weighted distance transforms. J. Math. Imaging Vis., Spec. Issue Topol. Geom. Comput. Vis. 6, 223–233 (1996)
Kirkpatrick, S., Gelatt, C.D., Jr., Vecchi, M.P.: Optimization by simulated annealing. Science 220(4598), 671–680 (1983)
Cerny, V.: Thermodynamical approach to the traveling salesman problem: an efficient simulation algorithm. J. Optim. Theory Appl. 45(1), 41–51 (1985)
Flori, A., Oulhadj, H., Siarry, P.: A new neighborhood topology for quantum particle swarm optimization (QUAPSO). In: Proceedings of the Genetic and Evolutionary Computation Companion, Prague, Czech Republic, pp. 255–256 (2019)
Flori, A., Oulhadj, H., Siarry, P.: Quantum particle swarm optimization: performance analysis for various particle neighborhood topologies. In: Proceedings of ROADEF 2020, Montpellier, France, (2020)
Beni, G., Wang, J.: Swarm intelligence in cellular robotic systems. In: Proceedings of NATO Advanced Workshop on Robots and Biological Systems, vol. 120, pp.703–712. Ciocco, Italy (1989)
Kennedy, J., Eberhart, R.: Particle swarm optimization. In: Proceedings of IEEE International Conference on Neural Networks, Perth, Australia, vol. 4, pp. 1942–1948 (1995)
Fleury, G.: Méthodes stochastiques et déterministes pour les problèmes NP-difficiles. PhD Thesis in Applied Science, University of Clermont-Ferrand II, France (1993)
Ben-Ameur, W.: Computing the initial temperature of simulated annealing. Comput. Optim. Appl. 29, 369–385 (2004)
Zhang, L., Wu, L.: A robust hybrid restarted simulated annealing particle swarm optimization technique. Adv. Comput. Sci. Appl. 1(1), 5–8 (2012)
Xi-Huai, W., Jun-Jun, L.: Hybrid particle swarm optimization with simulated annealing. In: Proceedings of 2004 International Conference on Machine Learning and Cybernetics, Shanghai, China, vol. 4, pp. 2402–2405 (2004)
Harrison, K.R., Engelbrecht, A.P., Ombuki-Berman, M.: Optimal parameter regions and the time-dependence of control parameter values for the particle swarm optimization algorithm. Swarm Evol. Comput. 41, 20–35 (2018)
Peer, E. S., van den Bergh, F., Engelbrecht, A. P.: Using neighbourhoods with the guaranteed convergence PSO. In: Proceedings of the 2003 IEEE Swarm Intelligence Symposium, SIS'03, Indianapolis, USA (2003)
Lynn, N., Ali, M.Z., Suganthan, P.N.: Population topologies for particle swarm optimization and differential evolution. Swarm Evol. Comput. 39, 24–35 (2018)
Kennedy, J.: Small worlds and mega-minds: effects of neighborhood topology on particle swarm performance. In: Proceedings of 1999 IEEE Congress on Evolutionary Computation, Washington, DC, USA, vol. 3, pp. 1931–1938 (1999)
Ahandani, M.A., Vakil-Bagmisheh, M., Talebi, M.: Hybridizing local search algorithms for global optimization. Comput. Optim. Appl. 59, 725–748 (2014)
Masehia, E., Akbaripour, H., Mohabbati-Kalejahi, N.: Landscape analysis and efficient metaheuristics for solving the n-queens problem. Comput. Optim. Appl. 56, 735–764 (2013)
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Flori, A., Oulhadj, H. & Siarry, P. Metaheuristics for the positioning of 3D objects based on image analysis of complementary 2D photographs. Machine Vision and Applications 32, 105 (2021). https://doi.org/10.1007/s00138-021-01229-y
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00138-021-01229-y