Premium
By–example synthesis of curvilinear structured patterns
Author(s) -
Zhou Shizhe,
Lasram Anass,
Lefebvre Sylvain
Publication year - 2013
Publication title -
computer graphics forum
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.578
H-Index - 120
eISSN - 1467-8659
pISSN - 0167-7055
DOI - 10.1111/cgf.12055
Subject(s) - computer science , curvilinear coordinates , classification of discontinuities , graphics , process (computing) , computer graphics , line segment , path (computing) , algorithm , simple (philosophy) , computer graphics (images) , line (geometry) , orientation (vector space) , theoretical computer science , artificial intelligence , geometry , mathematics , mathematical analysis , philosophy , epistemology , programming language , operating system
Many algorithms in Computer Graphics require to synthesize a pattern along a curve. This is for instance the case with line stylization, to decorate objects with elaborate patterns (chains, laces, scratches), or to synthesize curvilinear features such as mountain ridges, rivers or roads. We describe a simple yet effective method for this problem. Our method addresses the main challenge of maintaining the continuity of the pattern while following the curve. It allows some freedom to the synthesized pattern: It may locally diverge from the curve so as to allow for a more natural global result. This also lets the pattern escape areas of overlaps or fold‐overs. This makes our method particularly well suited to structured, detailed patterns following complex curves. Our synthesizer copies tilted pieces of the exemplar along the curve, following its orientation. The result is optimized through a shortest path search, with dynamic programming. We speed up the process by an efficient parallel implementation. Finally, since discontinuities may always remain we propose an optional post‐processing step optimally deforming neighboring pieces to smooth the transitions.