Inverse Procedural Modeling by Automatic Generation of L‐systems

We present an important step towards the solution of the problem of inverse procedural modeling by generating parametric context‐free L‐systems that represent an input 2D model. The L‐system rules efficiently code the regular structures and the parameters represent the properties of the structure transformations. The algorithm takes as input a 2D vector image that is composed of atomic elements, such as curves and poly‐lines. Similar elements are recognized and assigned terminal symbols of an L‐system alphabet. The terminal symbols' position and orientation are pair‐wise compared and the transformations are stored as points in multiple 4D transformation spaces. By careful analysis of the clusters in the transformation spaces, we detect sequences of elements and code them as L‐system rules. The coded elements are then removed from the clusters, the clusters are updated, and then the analysis attempts to code groups of elements in (hierarchies) the same way. The analysis ends with a single group of elements that is coded as an L‐system axiom. We recognize and code branching sequences of linearly translated, scaled, and rotated elements and their hierarchies. The L‐system not only represents the input image, but it can also be used for various editing operations. By changing the L‐system parameters, the image can be randomized, symmetrized, and groups of elements and regular structures can be edited. By changing the terminal and non‐terminal symbols, elements or groups of elements can be replaced.

[1]  Przemyslaw Prusinkiewicz,et al.  The Algorithmic Beauty of Plants , 1990, The Virtual Laboratory.

[2]  Takeo Igarashi,et al.  The Sketch L-System: Global Control of Tree Modeling Using Free-Form Strokes , 2006, Smart Graphics.

[3]  Wayne O. Cochran,et al.  Similarity Hashing: A Computer Vision Solution to the Inverse Problem of Linear Fractals , 1997 .

[4]  A. Lindenmayer Mathematical models for cellular interactions in development. II. Simple and branching filaments with two-sided inputs. , 1968, Journal of theoretical biology.

[5]  P. Prusinkiewicz,et al.  A Fractal Model of Mountains with Rivers , 2000 .

[6]  Hans-Peter Seidel,et al.  Symmetry Detection Using Line Features , 2009 .

[7]  Ligang Liu,et al.  Partial intrinsic reflectional symmetry of 3D shapes , 2009, ACM Trans. Graph..

[8]  Pascal Müller,et al.  Procedural modeling of cities , 2001, SIGGRAPH.

[9]  David S. Ebert,et al.  Texturing and Modeling , 1998 .

[10]  Radomír Mech,et al.  Realistic modeling and rendering of plant ecosystems , 1998, SIGGRAPH.

[11]  Luc Van Gool,et al.  Image-based procedural modeling of facades , 2007, ACM Trans. Graph..

[12]  Leonidas J. Guibas,et al.  Discovering structural regularity in 3D geometry , 2008, ACM Trans. Graph..

[13]  Hans-Peter Seidel,et al.  Symmetry Detection Using Feature Lines , 2009, Comput. Graph. Forum.

[14]  A. Lindenmayer Mathematical models for cellular interactions in development. I. Filaments with one-sided inputs. , 1968, Journal of theoretical biology.

[15]  Radomír Mech,et al.  Visual models of plants interacting with their environment , 1996, SIGGRAPH.

[16]  Colin Smith,et al.  L-System Description of Subdivision Curves , 2003, Int. J. Shape Model..

[17]  Michael Wimmer,et al.  Interactive visual editing of grammars for procedural architecture , 2008, ACM Trans. Graph..

[18]  Leonidas J. Guibas,et al.  Partial and approximate symmetry detection for 3D geometry , 2006, ACM Trans. Graph..

[19]  Luc Van Gool,et al.  Procedural modeling of buildings , 2006, SIGGRAPH 2006.

[20]  Pascal Müller Procedural modeling of cities , 2006, SIGGRAPH Courses.

[21]  Luc Van Gool,et al.  Image-based procedural modeling of facades , 2007, SIGGRAPH 2007.

[22]  Bobby Bodenheimer,et al.  Synthesis and evaluation of linear motion transitions , 2008, TOGS.

[23]  Przemyslaw Prusinkiewicz,et al.  Graphical applications of L-systems , 1986 .

[24]  Mark James,et al.  Synthetic topiary , 1994, SIGGRAPH.

[25]  Radomír Mech,et al.  An Example‐based Procedural System for Element Arrangement , 2008, Comput. Graph. Forum.

[26]  Kai Xu,et al.  Partial intrinsic reflectional symmetry of 3D shapes , 2009, SIGGRAPH 2009.

[27]  Hans-Peter Seidel,et al.  A Graph-Based Approach to Symmetry Detection , 2008, VG/PBG@SIGGRAPH.

[28]  Radomír Mech,et al.  Detecting Symmetries and Curvilinear Arrangements in Vector Art , 2009, Comput. Graph. Forum.

[29]  Aristid Lindenmayer,et al.  Mathematical Models for Cellular Interactions in Development , 1968 .

[30]  Jan-Olof Eklundh,et al.  Detecting Symmetry and Symmetric Constellations of Features , 2006, ECCV.

[31]  Daniel G. Aliaga,et al.  Ieee Transactions on Visualization and Computer Graphics 1 Style Grammars for Interactive Visualization of Architecture , 2022 .