skip to main content
research-article

Synthesis of tiled patterns using factor graphs

Published:07 February 2013Publication History
Skip Abstract Section

Abstract

Patterns with pleasing structure are common in art, video games, and virtual worlds. We describe a method for synthesizing new patterns of tiles on a regular grid that are similar in appearance to a set of example patterns. Exemplars are used both to specify valid tile arrangements and to emphasize multi-tile structures. We model a pattern as a probabilistic graphical model called a factor graph. Factors represent the hard logical constraints between tiles, the soft statistical relationships that determine style, and the local dependencies between tiles at neighboring sites. We describe a simple method for learning factor functions from a small exemplar. We then synthesize new patterns through a stochastic search method that is inspired by MC-SAT. Efficient synthesis is challenging because of the combination of hard and soft constraints. Our synthesis algorithm, called BlockSS, scales linearly with the number of tiles and the hardness of the problem. We use our technique to model building facades, cities, and decorative patterns.

Skip Supplemental Material Section

Supplemental Material

tp140.mp4

References

  1. Ashikhmin, M. 2001. Synthesizing natural textures. In Proceedings of the Symposium on Interactive 3D Graphics. ACM, 217--226. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Bokeloh, M., Wand, M., and Seidel, H.-P. 2010. A connection between partial symmetry and inverse procedural modeling. ACM Trans. Graph. 29, 4. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Campbell, C. 2006. Vitruvius Britannicus: The Classic of Eighteenth-Century British Architecture. Dover Publications.Google ScholarGoogle Scholar
  4. Cho, T. S., Avidan, S., and Freeman, W. T. 2010. A probabilistic image jigsaw puzzle solver. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR).Google ScholarGoogle Scholar
  5. Cohen, M., Shade, J., Hiller, S., and Deussen, O. 2003. Wang tiles for image and texture generation. ACM Trans. Graph. 22, 3, 287--294. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Edwards, R. and Sokal, A. 1988. Generalization of the Fortuin-Kasteleyn-Swendsen-Wang representation and Monte Carlo algorithm. Phys. Rev. D 38, 6, 2009--2012.Google ScholarGoogle ScholarCross RefCross Ref
  7. Efros, A. and Freeman, W. 2001. Image quilting for texture synthesis and transfer. In Proceedings of the Annual Conference on Computer Graphics and Interactive Techniques ACM SIGGRAPH. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Efros, A. A. and Leung, T. K. 1999. Texture synthesis by non-parametric sampling. In ICCV (2). 1033--1038. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Gent, I., Jefferson, C., and Miguel, I. 2006. MINION: A fast, scalable, constraint solver. In Proceeding of the 17th European Conference on Artificial Intelligence. 98--102. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Goldberger, J., Gordon, S., and Greenspan, H. 2003. An efficient image similarity measure based on approximations of KL-divergence between two Gaussian mixtures. In Proceedings of the International Conference on Computer Vision (ICCV). 487--493. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Hastings, W. K. 1970. Monte carlo sampling methods using markov chains and their applications. Biometrika 57, 1, pp. 97--109.Google ScholarGoogle ScholarCross RefCross Ref
  12. Koller, D. and Friedman, N. 2009. Probabilistic Graphical Models. MIT Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Kschischang, F. R., Frey, B. J., and Loeliger, H.-A. 2001. Factor graphs and the sum-product algorithm. IEEE Trans. Inf. Theory 47, 498-- 519. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Kwatra, V., Schdl, A., Essa, I., Turk, G., and Bobick, A. 2003. Graphcut textures: Image and video synthesis using graph cuts. ACM Trans. Graph. 22, 3, 277--286. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Lagae, A., Kaplan, C. S., Fu, C.-W., Ostromoukhov, V., and Deussen, O. 2008. Tile-Based methods for interactive applications. In ACM SIGGRAPH Classes. ACM, New York, 93:1--93:267. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Loeliger, H. A. 2004. An introduction to factor graphs. IEEE Signal Process. Mag. 21, 1, 28--41.Google ScholarGoogle ScholarCross RefCross Ref
  17. Merrell, P. 2007. Example-Based model synthesis. In (I3D '07) Proceedings of the Symposium on Interactive 3D Graphics and Games. ACM, New York, 105--112. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Mira, A. and Tierney, L. 1997. On the use of auxiliary variables in Markov chain Monte Carlo sampling. Scand. J. Statist.Google ScholarGoogle Scholar
  19. Müller, P., Wonka, P., Haegler, S., Ulmer, A., and Gool, L. V. 2006. Procedural modeling of buildings. ACM Trans. Graph. 25, 3, 614-- 623. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Neal, R. 2000. Slice sampling. Ann. Statist. 31, 705--767.Google ScholarGoogle ScholarCross RefCross Ref
  21. Parish, Y. I. H. and Müller, P. 2001. Procedural modeling of cities. In Proceedings of the 28th Annual Conference on Computer Graphics and Interactive Techniques. ACM Press, New York, 301--308. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Paskin, M. 2002. Maximum-Entropy probabilistic logics. Tech. rep., University of California at Berkeley. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Poon, H. and Domingos, P. 2006. Sound and efficient inference with probabilistic and deterministic dependencies. In Proceedings of the 21st National Conference on Artificial Intelligence. AAAI Press, 458-- 463. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Prusinkiewicz, P. and Lindenmayer, A. 1996. The Algorithmic Beauty of Plants. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Son, G. B. and Co. 1976. Victorian Frames, Borders and Cuts: From the 1882 Type Catalog of George Bruce's Son and Co. Dover Publications.Google ScholarGoogle Scholar
  26. Wei, L.-Y., Lefebvre, S., Kwatra, V., and Turk, G. 2009. State of the art in example-based texture synthesis. In Eurographics State of the Art Report, EG-STAR. Eurographics Association.Google ScholarGoogle Scholar
  27. Wei, L.-Y. and Levoy, M. 2000. Fast texture synthesis using tree-structured vector quantization. In Computer Graphics Proceedings, K. Akeley, Ed., ACM Press Addison Wesley Longman, 479--488. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Wei, W., Erenrich, J., and Selman, B. 2004. Towards efficient sampling: Exploiting random walk strategies. In Proceedings of the 19th National Conference on Artifical Intelligence. AAAI Press/The MIT Press, 670--676. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Wong, M. T., Zongker, D. E., and Salesin, D. H. 1998. Computer-generated floral ornament. Comput. Graph. 32. Annual Conference Series, 423--434. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Yokoo, M. 1997. Why adding more constraints makes a problem easier for hill-climbing algorithms: Analyzing landscapes of csps. Principl. and Pract. Constr. Program.-CP97, 356--370.Google ScholarGoogle Scholar
  31. Zhu, S. C., Wu, Y., and Mumford, D. 1998. Filters, random fields and maximum entropy (frame) -- Towards a unified theory for texture modeling. Int. J. Comput. Vis. 27, 2, 1--20. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Synthesis of tiled patterns using factor graphs

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM Transactions on Graphics
        ACM Transactions on Graphics  Volume 32, Issue 1
        January 2013
        125 pages
        ISSN:0730-0301
        EISSN:1557-7368
        DOI:10.1145/2421636
        Issue’s Table of Contents

        Copyright © 2013 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 7 February 2013
        • Revised: 1 April 2012
        • Accepted: 1 April 2012
        • Received: 1 August 2011
        Published in tog Volume 32, Issue 1

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader