Abstract
Designing parallel versions of sequential algorithms has attracted renewed attention, due to recent hardware advances, including various general-purpose multi-core and many-core processors, as well as special-purpose FPGA implementations. P systems consist of networks of autonomous cells, such that each cell transforms its input signals in accord with its symbol-rewriting rules and feeds the output results into its immediate neighbours. Inherent massive intra- and inter-cell parallelisms make P systems a prospective theoretical testbed for designing efficient parallel and parallel-sequential algorithms. This paper discusses the capabilities of P systems to implement the symmetric dynamic programming stereo (SDPS) matching algorithm, which explicitly accounts for binocular or monocular visibility of 3D surface points. Given enough cells, the P system implementation speeds up the inner algorithm loop from O(nd) to O(n+d), where n is the width of a stereo image and d is the disparity range. The implementation gives also an insight into a more general SDPS that accounts for a possible multiplicity of solutions of the ill-posed problem of optimal stereo matching.
Similar content being viewed by others
References
Bălănescu, T., Nicolescu, R., Wu, H.: Asynchronous P systems. Int. J. Nat. Comput. Res. 2(2), 1–18 (2011)
Carnero, J., Díaz-Pernil, D., Molina-Abril, H., Real, P.: Image segmentation inspired by cellular models using hardware programming. In: González-Díaz, R., Real-Jurado, P. (eds.) 3rd International Workshop on Computational Topology in Image Context, pp. 143–150 (2010)
Christinal, H.A., Díaz-Pernil, D., Real, P.: P systems and computational algebraic topology. Math. Comput. Model. 52(11–12), 1982–1996 (2010)
Dinneen, M.J., Kim, Y.B., Nicolescu, R.: A faster P solution for the Byzantine agreement problem. In: Gheorghe, M., Hinze, T., Păun, G. (eds.) Conference on Membrane Computing. Lecture Notes in Computer Science, vol. 6501, pp. 175–197. Springer, Berlin (2010)
Dinneen, M.J., Kim, Y.B., Nicolescu, R.: P systems and the Byzantine agreement. J. Log. Algebr. Program. 79(6), 334–349 (2010)
Gimel’farb, G.L.: Probabilistic regularisation and symmetry in binocular dynamic programming stereo. Pattern Recognit. Lett. 23(4), 431–442 (2002)
Gimel’farb, G.L., Nicolescu, R., Ragavan, S.: P systems in stereo matching. In: Real, P., et al. (eds.) Computer Analysis of Images and Patterns—14th International Conference, CAIP 2011, Proceedings, Part II, Seville, Spain, August 29–31, 2011. LNCS, vol. 6855, pp. 285–292. Springer, Berlin (2011)
Middlebury stereo vision webpage (2001). URL http://vision.middlebury.edu/stereo/
Morris, J., Jawed, K., Gimel’farb, G.: Intelligent vision: A first step—real time stereovision. In: Proc. 11th Int. Conf. on Advanced Concepts for Intelligent Vision Systems (ACIVS 2009), Bordeaux, France, Sept. 28–Oct. 2, 2009. LNCS, vol. 5807, pp. 355–366. Springer, Berlin (2009)
Nicolescu, R., Wu, H.: BFS solution for disjoint paths in P systems. In: Calude, C., Kari, J., Petre, I., Rozenberg, G. (eds.) Unconventional Computation. Lecture Notes in Computer Science, vol. 6714, pp. 164–176. Springer, Berlin (2011)
Nicolescu, R., Dinneen, M.J., Kim, Y.B.: Towards structured modelling with hyperdag P systems. Int. J. Comput. Commun. Control 2, 209–222 (2010)
Păun, G.: Computing with membranes. J. Comput. Syst. Sci. 61(1), 108–143 (2000)
Păun, G.: Membrane Computing: An Introduction. Springer, New York (2002)
Păun, G.: Introduction to membrane computing. In: Ciobanu, G., Pérez-Jiménez, M.J., Păun, G. (eds.) Applications of Membrane Computing. Natural Computing Series, pp. 1–42. Springer, Berlin (2006)
Păun, G., Pérez-Jiménez, M.J.: Solving problems in a distributed way in membrane computing: dP systems. Int. J. Comput. Commun. Control 5(2), 238–252 (2010)
Paun, G., Rozenberg, G., Salomaa, A.: The Oxford Handbook of Membrane Computing. Oxford University Press, New York (2010)
Peña-Cantillana, F., Díaz-Pernil, D., Berciano, A., Gutiérrez-Naranjo, M.A.: A parallel implementation of the thresholding problem by using tissue-like p systems. In: Real, P., et al. (eds.) Computer Analysis of Images and Patterns—14th International Conference, CAIP 2011, Proceedings, Part II, Seville, Spain, August 29–31, 2011. LNCS, vol. 6855, pp. 277–284. Springer, Berlin (2011)
Real, P., Díaz-Pernil, D., Molina-Abril, H., Berciano, A., Kropatsch, W.G. (eds.): Computer Analysis of Images and Patterns—14th International Conference, CAIP 2011, Proceedings, Part II, Seville, Spain, August 29–31, 2011. LNCS, vol. 6855, pp. 277–284. Springer, Berlin (2011)
The P systems webpage. URL http://ppage.psystems.eu
Acknowledgements
The authors wish to acknowledge the contributions of P. Delmas, M.J. Dinneen, Y.-B. Kim, J. Morris, D. Nicolescu and the assistance received via the University of Auckland FRDF grants 9843/3626216 and 3624475.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Gimel’farb, G., Nicolescu, R. & Ragavan, S. P System Implementation of Dynamic Programming Stereo. J Math Imaging Vis 47, 13–26 (2013). https://doi.org/10.1007/s10851-012-0367-6
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10851-012-0367-6