Global Beautification of 2D and 3D Layouts with Interactive Ambiguity Resolution

IEEE Transactions on Visualization and Computer Graphics 2020


Pengfei Xu1    Guohang Yan1    Hongbo Fu2    Takeo Igarashi3    Chiew-Lan Tai4    Hui Huang1*

1Shenzhen University    2City University of Hong Kong    3University of Tokyo    4Hong Kong University of Science & Technology





Fig. 1. Our novel interface for global beautification of layouts (2D top, 3D bottom) with the power of interactive ambiguity resolution. Grids are visualized only for view reference purpose (i.e., not for editing).

Fig. 3. The elements in three layouts have the same projected positions. The visualized relations (dashed lines) help the perception of their relative positions in 3D.
Fig. 2. To refine a beautified layout, as previewed in right, the user may directly reposition (a-1) or resize (a-2) individual elements, or remove inferred (b-1) or add new (b-2) edge-alignment relationships, or remove inferred (c-1) or add new (c-2 and c-3) equal-spacing relationships.


Abstract

Specifying precise relationships among graphic elements is often a time-consuming process with traditional alignment tools. Automatic beautification of roughly designed layouts can provide a more efficient solution but often lead to undesired results due to ambiguity problems. To facilitate ambiguity resolution in layout beautification, we present a novel user interface for visualizing and editing inferred relationships through an automatic global layout beautification process. First, our interface provides a preview of the beautified layout with inferred constraints without directly modifying an input layout. In this way, the user can easily keep refining beautification results by interactively repositioning and/or resizing elements in the input layout. Second, we present a gestural interface for editing automatically inferred constraints by directly interacting with the visualized constraints via simple gestures. Our technique is applicable to both 2D and 3D global layout beautification, supported by efficient system implementation that provides instant user feedback. Our user study validates that our tool is capable of creating, editing and refining layouts of graphic elements, and is significantly faster than the standard snap-dragging or command-based alignment tools for both 2D and 3D layout tasks.




Fig. 8. Left in each box: input layouts. Right in each box: results by simultaneously enforcing all detected constraints (top) and results by automatically rejecting the highlighted constraints (bottom). Note that the constraint of keeping the aspect ratios of elements is enforced in (b) and (c) but not (a).




Fig. 9. Two layout refinement tasks used in study 1 and the resulting statistics. Error bars represent standard error of the mean.




Fig. 11. From left to right: 1(a)-(c): target layouts used in the layout creation scenario; 2(a)&(b): source layouts (left) and target layouts (right) in the layout editing scenario; 3(a)&(b): source (left) and target layouts (right) in the layout refinement scenario; average completion time (in seconds) of each task. Error bars represent standard error of the mean.




Fig. 13. Left: The target layouts used in Study 3. Right: The average completion time (in seconds) of each task. Error bars represent standard error of the mean.



Acknowledgement 

We thank the reviewers for their constructive comments and the user study participants for their time. This work was supported in parts by NSFC (61602310, 61761146002, 61861130365), GD Higher Education Innovation Key Program (2018KZDXM058), GD Science and Technology Program (2015A030312015), Shenzhen Innovation Program (JCYJ20170302154106666), LHTD (20170003), the Research Grants Council of HKSAR (HKUST16210718), a Gift from Adobe, the Center for Applied Computing and Interactive Media (ACIM) of School of Creative Media, CityU, and the National Engineering Laboratory for Big Data System Computing Technology, SZU.


Bibtex
@article{Layouts20,
title = {
Global Beautification of 2D and 3D Layouts with Interactive Ambiguity Resolution},
author = {Pengfei Xu and Guohang Yan and Hongbo Fu and Takeo Igarashi and Chiew-Lan Tai and Hui Huang},
journal = {IEEE Transactions on Visualization and Computer Graphics 2020},
volume = {},
number = {},
pages = {},  
year = {2020},



Downloads(faster for people in China)

Downloads(faster for people in other places)